/* SEOUL SKIN MATCH landing, second draft (Figma 781:9178 / 835:9982, 2026-10-16).
   Tokens follow production_app/DESIGN.md and the Figma variables; type is Inter. */
@font-face {
  font-family: "Inter";
  src: url(fonts/InterVariable-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary: #4B5FF6;
  --primary-hover: #5467F6;
  --primary-pressed: #3D50D9;
  --on-primary: #FFFFFF;
  --secondary: #C8FF72;
  --on-secondary: #172019;
  --canvas: #FAFAF8;
  --background: #F4F5F7;
  --surface: #FFFFFF;
  --border: #E3E6EB;
  --border-strong: #8792A6;
  --fg: #171A21;
  --fg-2: #5F6673;
  --fg-3: #6A717E;
  --disabled: #B5BAC3;
  --sub-sky: #E9F7FB;
  --sub-lavender: #E5D5FF;
  --sub-lime: #E8FFB8;
  --font: "Inter", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1040px;
  interpolate-size: allow-keywords;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--fg); font: 16px/24px var(--font); letter-spacing: -0.02em; font-feature-settings: "cv11", "ss01"; }
img { display: block; max-width: 100%; }
a { color: var(--primary); }
a:hover { color: var(--primary-pressed); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.wrap { max-width: var(--container); margin: 0 auto; }
.band { padding: 64px 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; padding: 8px 12px; background: var(--surface); border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
/* Pre-launch: <html data-launch="soon"> swaps the chat links for their opening-soon versions. */
html[data-launch="soon"] .when-open { display: none !important; }
html:not([data-launch="soon"]) .when-soon { display: none !important; }
.badge { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 9999px; background: var(--sub-sky); color: var(--fg); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: default; }

/* Type roles (Figma text styles) */
.kicker { margin: 0; font-size: 14px; line-height: 21px; font-weight: 700; color: var(--primary); }
.h2 { margin: 16px 0 0; font-size: 42px; line-height: 56.7px; font-weight: 700; letter-spacing: 0; }
.h2 span { display: block; }
.body { margin: 0; font-size: 16px; line-height: 24px; color: var(--fg-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; line-height: 24px; text-decoration: none; color: var(--primary); }
.link-arrow:hover { text-decoration: underline; color: var(--primary-pressed); }

/* Buttons */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; border-radius: 9999px; font: inherit; font-size: 14px; line-height: 21px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: background .15s var(--ease), transform .15s var(--ease); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-primary:active { background: var(--primary-pressed); transform: scale(.98); }

/* Header */
.site-nav { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav .logo img { width: 200px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; line-height: 21px; color: var(--fg-2); text-decoration: none; }
.nav-link:hover { color: var(--fg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--background); padding: 0 16px 64px; }
.hero .blobs { position: absolute; inset: 0; pointer-events: none; }
.hero .blobs img { position: absolute; max-width: none; }
.blob-sig { left: -788px; top: -103px; width: 1040px; height: 960px; transform: rotate(30deg); }
.blob-primary { right: -360px; top: 40px; width: 720px; height: 720px; }
.blob-secondary { right: -420px; bottom: -190px; width: 760px; height: 720px; }
.blob-lavender { left: -400px; bottom: -298px; width: 760px; height: 720px; }
.hero > .wrap, .hero-body { position: relative; }
.hero-body { max-width: 760px; margin: 0 auto; padding-top: 32px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-mark { width: 112px; height: 112px; }
.hero-eyebrow { margin: 8px 0 0; font-size: 14px; line-height: 21px; color: var(--fg-2); }
.hero h1 { margin: 16px 0 0; font-size: 48px; line-height: 64.8px; font-weight: 700; letter-spacing: 0; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--primary); }
.hero .lede { margin: 16px 0 0; max-width: 560px; font-size: 16px; line-height: 24px; color: var(--fg-2); }
.composer-form { width: 100%; margin-top: 24px; }
.composer { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: 0 8px 32px rgba(23, 26, 33, .1); padding: 24px; display: flex; flex-direction: column; text-align: left; transition: border-color .2s, box-shadow .2s; }
.composer:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(75, 95, 246, .12), 0 8px 32px rgba(23, 26, 33, .1); }
.composer textarea { border: 0; outline: none; resize: none; background: transparent; font: inherit; font-size: 16px; line-height: 24px; color: var(--fg); width: 100%; height: 64px; padding: 2px; margin-bottom: 6px; }
.composer textarea::placeholder { color: var(--fg-3); }
.composer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; }
.composer-hint { font-size: 14px; line-height: 21px; color: var(--fg-2); }
.send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 9999px; background: var(--primary); color: var(--on-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s var(--ease), transform .15s var(--ease); }
.send:hover { background: var(--primary-hover); }
.send:active { background: var(--primary-pressed); transform: scale(.98); }
.send:disabled { background: var(--border); color: var(--disabled); cursor: default; transform: none; }
.status { margin: 12px 0 0; min-height: 21px; font-size: 14px; line-height: 21px; color: var(--fg-2); }
.status:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); font: inherit; font-size: 14px; line-height: 21px; cursor: pointer; transition: background .15s var(--ease); }
.chip:hover { background: var(--sub-sky); }

/* Section 3: a match starts with you */
.routine { background: var(--canvas); }
.routine-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.routine-head .kicker { padding-top: 16px; }
.routine-head .body { margin-top: 16px; }
.routine-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.routine-card figure { margin: 0; }
.routine-card picture { display: block; }
.routine-card img { display: block; width: 100%; height: auto; aspect-ratio: 336 / 280; border-radius: 16px; object-fit: cover; background: var(--background); }
.routine-card .label { margin: 16px 0 0; font-size: 14px; line-height: 21px; color: var(--fg-3); }
.routine-card h3 { margin: 4px 0 0; font-size: 24px; line-height: 32.4px; font-weight: 700; letter-spacing: 0; }
.routine-card p.body { margin-top: 8px; font-size: 14px; line-height: 21px; }

/* Section 4: clarity */
.clarity { background: var(--surface); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.points article { padding: 24px 0; border-bottom: 1px solid var(--border); }
.points article:first-child { padding-top: 0; }
.points article:last-child { border-bottom: 0; padding-bottom: 0; }
.points h3 { margin: 0; font-size: 24px; line-height: 32.4px; font-weight: 700; letter-spacing: 0; }
.points p { margin: 8px 0 0; }

/* Section 5: FAQ. All closed by default; each opens on its own. */
.faq-band { background: var(--canvas); }
.faq-intro .body { margin-top: 16px; }
.faq h2.h2 { margin-top: 0; }
.faq-list { align-self: start; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 64px; padding: 24px 0; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--fg); transition: color .15s var(--ease); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--primary); }
.faq-list summary:focus-visible { outline-offset: 0; border-radius: 4px; }
.faq-list .icon { flex: none; width: 16px; height: 24px; display: grid; place-items: center; color: var(--primary); }
.faq-list .icon svg { width: 16px; height: 16px; overflow: visible; }
.faq-list .icon .bar-v { transform-origin: 8px 8px; transition: transform .25s var(--ease); }
.faq-list details[open] .icon .bar-v { transform: rotate(90deg); }
.faq-list .answer { padding: 0 32px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.faq-list .answer p { margin: 0; font-size: 16px; line-height: 24px; color: var(--fg-2); }
.faq-list .answer a { color: var(--primary); text-decoration: underline; }
.faq-list details::details-content { height: 0; overflow: clip; transition: height .25s var(--ease), content-visibility .25s allow-discrete; }
.faq-list details[open]::details-content { height: auto; }

/* Section 6: closing call to action */
.closing-band { background: var(--canvas); }
.closing { position: relative; overflow: hidden; background: var(--fg); border-radius: 16px; min-height: 320px; display: flex; flex-direction: column; }
.closing .rule { height: 4px; background: linear-gradient(90deg, #4B5FF6, #C8FF72); flex: none; }
.closing .glow { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; }
.closing .glow-1 { right: -40px; width: 220px; height: 220px; }
.closing .glow-2 { right: 120px; width: 180px; height: 180px; }
.closing-body { position: relative; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px; flex-wrap: wrap; }
.closing-copy { max-width: 580px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.closing .pill { padding: 4px 12px; border-radius: 9999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; line-height: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.closing h2 span { display: block; }
.closing h2 { margin: 0; font-size: 34px; line-height: 1.35; font-weight: 700; letter-spacing: 0; color: #fff; }
.closing p { margin: -4px 0 0; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.closing .btn-primary { min-height: 52px; padding: 12px 24px; font-size: 16px; line-height: 1.5; }

/* Footer */
.site-footer { background: var(--background); padding: 64px 16px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top img { width: 200px; height: auto; }
.footer-mid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 24px; flex-wrap: wrap; }
.footer-mid p { margin: 0; font-size: 14px; line-height: 21px; color: var(--fg-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 21px; }
.footer-links a { color: var(--primary); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.fineprint { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; line-height: 21px; color: var(--fg-2); }

/* Legal pages */
.doc-header { border-bottom: 1px solid var(--border); padding: 0 16px; background: var(--surface); }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 16px 96px; }
.doc h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 42px); line-height: 1.2; letter-spacing: 0; }
.doc .meta { margin: 0 0 40px; color: var(--fg-3); font-size: 14px; }
.doc h2 { margin: 48px 0 12px; font-size: 24px; line-height: 1.35; letter-spacing: 0; }
.doc h3 { margin: 28px 0 8px; font-size: 18px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: #2E333D; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc .table-wrap { overflow-x: auto; margin: 16px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--border); line-height: 1.5; }
.doc th { background: var(--background); font-weight: 700; }
.doc .callout { background: var(--sub-sky); border-radius: 16px; padding: 16px 20px; }
.doc .callout p { margin: 0; }

@media (max-width: 900px) {
  .h2 { font-size: 34px; line-height: 1.3; }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .routine-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .closing-body { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .band { padding: 48px 16px; }
  .nav-links .nav-link { display: none; }
  .site-nav .logo img { width: 168px; }
  .hero h1 { font-size: 38px; line-height: 1.3; }
  .closing h2 { font-size: 28px; }
}
/* Below ~400px the example text wraps to three lines; give the box room for all of them. */
@media (max-width: 400px) {
  .composer textarea { height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
