:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #666666;
  --line: #dedede;
  --surface: #f5f5f5;
  --focus: #1769aa;
  --page-width: 1080px;
  --page-gutter: 32px;
  --motion-fast: 160ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--line);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.site-shell {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.language-link,
.site-nav {
  color: var(--muted);
  font-size: 14px;
}

.language-link {
  text-decoration: none;
}

.language-link:hover,
.site-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  column-gap: 84px;
  row-gap: 48px;
  padding: 72px 0 0;
}

.hero-copy {
  max-width: 540px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 7vw, 84px);
  font-weight: 750;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-lede {
  margin: 30px 0 32px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.product-preview {
  display: grid;
  min-width: 0;
  justify-items: stretch;
  align-content: center;
  gap: 16px;
  margin: 0;
}

.product-carousel-viewport {
  position: relative;
  min-width: 0;
  height: 300px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 14px;
  background: #111111;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  cursor: grab;
  isolation: isolate;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y;
}

.product-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.product-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.product-carousel-track {
  display: flex;
  height: 100%;
}

.product-slide {
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
  place-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.product-slide-usage {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px 28px 12px;
}

.product-slide-app {
  padding: 20px;
}

.product-slide img {
  display: block;
  max-width: 100%;
  height: auto;
}

.product-slide-usage .preview-menubar {
  width: min(82%, 338px);
}

.product-slide-usage .preview-popover {
  width: min(82%, 330px);
  max-height: 240px;
  object-fit: contain;
}

.product-slide-app img {
  width: min(86%, 380px);
  border-radius: 10px;
}

.product-preview-copy {
  min-height: 106px;
  color: var(--muted);
  text-align: left;
}

.product-preview-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.product-preview-copy p {
  max-width: 58ch;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.product-carousel-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 44px;
}

.product-carousel-count {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.product-carousel-dots,
.product-carousel-buttons {
  display: flex;
  align-items: center;
}

.product-carousel-dots {
  justify-content: center;
}

.product-carousel-dots button {
  width: 28px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-carousel-dots button::before {
  display: block;
  width: 6px;
  height: 6px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--line);
  content: "";
  transition: width var(--motion-fast) ease, background-color var(--motion-fast) ease;
}

.product-carousel-dots button[aria-current="true"]::before {
  width: 18px;
  background: var(--ink);
}

.product-carousel-buttons {
  justify-content: flex-end;
  gap: 8px;
}

.product-carousel-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  transition: background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.product-carousel-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.product-carousel-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (min-width: 821px) {
  .product-carousel-controls {
    transform: translateY(-20px);
  }
}

.primary-action,
.secondary-action,
.text-action,
.dialog-close {
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 56px;
  padding: 15px 24px 13px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
}

.primary-action:hover {
  background: var(--muted);
}

.platform-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.provider-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.provider-line strong {
  color: var(--ink);
  font-weight: 650;
}

.hero-origin-note {
  grid-column: 1 / -1;
  align-self: stretch;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.simple-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  align-items: start;
  gap: 84px;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.guide-copy h2,
.privacy-page h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.guide-copy p {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  text-wrap: pretty;
}

.status-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.status-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.status-list strong {
  font-size: 17px;
}

.status-list li > span:last-child {
  color: var(--muted);
}

.faq,
.release-notes {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
}

.faq h2,
.release-notes h2 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-list {
  margin: 0;
}

.faq-list > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list dt {
  font-weight: 700;
}

.faq-list dd {
  margin: 0;
  color: var(--muted);
}

.release-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

.release-table th,
.release-table td {
  border-bottom: 1px solid var(--line);
}

.release-table th {
  padding: 14px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.release-table td {
  padding: 20px 0;
  font-size: 15px;
}

.release-table th:first-child,
.release-table td:first-child {
  width: 56%;
}

.release-table th:nth-child(2),
.release-table td:nth-child(2) {
  width: 28%;
}

.release-table th:last-child,
.release-table td:last-child {
  width: 16%;
}

.site-footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.download-dialog {
  width: min(92vw, 520px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.download-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.dialog-bar {
  display: flex;
  justify-content: flex-end;
  padding: 14px 16px 0;
}

.dialog-close {
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.dialog-close:hover {
  background: var(--surface);
  color: var(--ink);
}

.dialog-panel {
  padding: 20px 40px 42px;
}

.dialog-panel h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.24;
  letter-spacing: -0.03em;
  text-align: center;
}

.dialog-panel p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.dialog-actions .secondary-action,
.dialog-actions .primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 50px;
  padding: 12px 18px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.secondary-action,
.text-action {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.secondary-action:hover,
.text-action:hover {
  background: var(--surface);
}

.text-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  text-decoration: none;
}

.privacy-page {
  padding: 80px 0 110px;
}

.section-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-page .updated-at {
  margin: 18px 0 64px;
  color: var(--muted);
}

.privacy-page section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.privacy-page h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.privacy-page p {
  margin: 0;
  color: var(--muted);
}

.language-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.language-gate-inner {
  width: min(100%, 560px);
  text-align: center;
}

.language-gate h1 {
  margin: 0 0 12px;
  font-size: 52px;
  letter-spacing: -0.04em;
}

.language-gate p {
  color: var(--muted);
}

.language-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 820px) {
  :root {
    --page-gutter: 22px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 54px 0 0;
    text-align: center;
  }

  .hero-copy {
    order: 0;
    margin: 0 auto;
  }

  .product-preview {
    order: 1;
    width: min(100%, 560px);
    gap: 14px;
    margin: 0 auto;
    text-align: left;
  }

  .product-preview-copy {
    min-height: 100px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 72px);
  }

  .hero-lede {
    margin: 22px 0 28px;
    font-size: 18px;
  }

  .simple-guide {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 72px 0;
    text-align: left;
  }

  .guide-copy h2 {
    font-size: 38px;
  }

  .status-list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 0;
  }

  .faq-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .provider-line {
    justify-content: center;
  }

  .hero-origin-note {
    order: 2;
    font-size: 14px;
  }

  .site-footer {
    align-items: flex-start;
    padding: 28px 0;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  .dialog-panel {
    padding: 18px 24px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .product-carousel-viewport {
    scroll-behavior: auto;
  }
}

@media (max-width: 480px) {
  .product-carousel-viewport {
    height: 254px;
  }

  .product-slide-usage {
    gap: 8px;
    padding: 12px 16px 10px;
  }

  .product-slide-usage .preview-menubar {
    width: min(88%, 338px);
  }

  .product-slide-usage .preview-popover {
    width: min(88%, 330px);
    max-height: 202px;
  }

  .product-slide-app {
    padding: 14px;
  }

  .product-slide-app img {
    width: min(94%, 380px);
  }

  .product-preview-copy {
    min-height: 122px;
  }

  .product-preview-copy h2 {
    font-size: 18px;
  }

  .product-preview-copy p {
    font-size: 13px;
  }
}
