

/* ---------- 1. Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Pretendard';
  src: url('fonts/pretendard-subset.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- 2. Tokens ---------- */
:root {

  --fg:            #000;
  --fg-80:         #000c;      /* rgba(0,0,0,.8) */
  --fg-60:         #0009;      /* rgba(0,0,0,.6) */
  --fg-44:         #00000070;
  --fg-12:         #0000001f;
  --fg-4:          #0000000a;
  --fg-2:          #00000005;
  --solid-4:       #f5f5f5;
  --solid-12:      #e0e0e0;
  --solid-44:      #8f8f8f;
  --solid-60:      #666;
  --solid-80:      #333;
  --tertiary:      #f1f1f1;
  --bg:            #fff;
  --inverse-bg:    #000;
  --inverse-fg:    #fff;
  --inverse-fg-60: #fff9;
  --inverse-fg-12: #ffffff1f;

  --font-kr: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  --font-sans: 'Geist', var(--font-kr), ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', Consolas, ui-monospace, monospace;

  --type-xl-size:   clamp(4rem, calc(4rem + 3 * ((100vw - 23.4375rem) / 66.5625)), 7rem);
  --type-xl-line:   clamp(4rem, calc(4rem + 3 * ((100vw - 23.4375rem) / 66.5625)), 7rem);
  --type-h1-size:   clamp(2rem, calc(2rem + 2 * ((100vw - 23.4375rem) / 66.5625)), 4rem);
  --type-h1-line:   clamp(2.28rem, calc(2.28rem + 1.72 * ((100vw - 23.4375rem) / 66.5625)), 4rem);
  --type-h2-size:   clamp(2rem, calc(2rem + 1 * ((100vw - 23.4375rem) / 66.5625)), 3rem);
  --type-h2-line:   clamp(2.28rem, calc(2.28rem + 1.2 * ((100vw - 23.4375rem) / 66.5625)), 3.48rem);
  --type-h25-size:  clamp(1.5rem, calc(1.5rem + .88 * ((100vw - 23.4375rem) / 66.5625)), 2.38rem);
  --type-h25-line:  clamp(1.725rem, calc(1.725rem + 1.012 * ((100vw - 23.4375rem) / 66.5625)), 2.737rem);
  --type-h3-size:   clamp(1.5rem, calc(1.5rem + .375 * ((100vw - 23.4375rem) / 66.5625)), 1.875rem);
  --type-h3-line:   clamp(1.98rem, calc(1.98rem + .495 * ((100vw - 23.4375rem) / 66.5625)), 2.475rem);
  --type-h4-size:   clamp(1.25rem, calc(1.25rem + .125 * ((100vw - 23.4375rem) / 66.5625)), 1.375rem);
  --type-h4-line:   clamp(1.5rem, calc(1.5rem + .2325 * ((100vw - 23.4375rem) / 66.5625)), 1.7325rem);
  --type-h5-size:   clamp(1rem, calc(1rem + .125 * ((100vw - 23.4375rem) / 66.5625)), 1.125rem);
  --type-h5-line:   clamp(1.25rem, calc(1.25rem + .235 * ((100vw - 23.4375rem) / 66.5625)), 1.485rem);

  --type-p1-size: 1.0625rem; --type-p1-line: 1.74994rem;   /* 17 / 28 */
  --type-p2-size: .875rem;   --type-p2-line: 1.435rem;     /* 14 / 23 */
  --type-meta:    .875rem;   --type-meta-line: 1.225rem;
  --type-cta:     .875rem;
  --type-nav:     .875rem;

  /* Tracking, openai.com --type-*-track */
  --track-h1:  -.03em;
  --track-h2:  -.03em;
  --track-h25: -.02em;
  --track-h3:  -.01em;
  --track-p:   -.01em;

  /* Layout */
  --container:  1440px;
  --measure:    68rem;
  --pad-x:      24px;
  --radius-sm:  .25rem;
  --radius-md:  .38rem;
  --radius-lg:  1rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Motion, openai.com --ease-curve-* / --transition-duration-* */
  --ease-a: cubic-bezier(0, 0, 1, 1);
  --ease-c: cubic-bezier(.4, 0, .2, 1);
  --ease-d: cubic-bezier(.6, 0, .4, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .2s;
  --dur-med: .4s;
  --dur-slow: .7s;

  --header-h: 72px;
}

@media (min-width: 768px) { :root { --pad-x: 32px; } }

/* ---------- 3. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  font-family: var(--font-sans);
  font-size: var(--type-p1-size);
  line-height: var(--type-p1-line);
  letter-spacing: var(--track-p);
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  font-feature-settings: "liga" on, "calt" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: #000; color: #fff; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }

html[lang="ko"] {
  --track-h1: -.02em; --track-h2: -.02em; --track-h25: -.015em;
  --track-h3: -.01em; --track-p: -.003em;
  --type-p1-line: 1.85rem;
}
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
html[lang="ko"] .t-h1, html[lang="ko"] .t-h2, html[lang="ko"] .t-h25,
html[lang="ko"] .t-h3, html[lang="ko"] .t-h4, html[lang="ko"] .t-h5,
html[lang="ko"] .mcard__title, html[lang="ko"] .acc__btn { font-weight: 600; }
html[lang="ko"] .hero__sub { line-height: 1.7; }
html[lang="ko"] .article p, html[lang="ko"] .article li { line-height: 1.85; }

html[lang="ko"] .eyebrow { font-family: var(--font-sans); text-transform: none; letter-spacing: .02em; font-size: .8125rem; font-weight: 500; }

.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--fg-12); border-radius: var(--radius-full);
  padding: 2px; background: var(--bg); flex: none;
}
.lang a {
  font-size: .75rem; font-weight: 500; line-height: 1; letter-spacing: .02em;
  padding: 7px 11px; border-radius: var(--radius-full); color: var(--fg-44);
  transition: background-color var(--dur-fast) var(--ease-c), color var(--dur-fast) var(--ease-c);
}
.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { background: var(--fg); color: var(--inverse-fg); }
@media (max-width: 599px) { .lang { display: none; } }
.mnav .lang { display: inline-flex; margin-top: 20px; align-self: flex-start; }
.mnav .lang a { font-size: .875rem; padding: 9px 14px; border-bottom: 0; }

/* ---------- 4. Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.measure { width: 100%; max-width: var(--measure); margin-inline: auto; }
.narrow { width: 100%; max-width: 720px; }
.section { padding-block: clamp(56px, 4vw + 40px, 112px); }
.section--tight { padding-block: clamp(40px, 3vw + 24px, 72px); }
.section--inverse { background: var(--inverse-bg); color: var(--inverse-fg); }
.section--soft { background: var(--solid-4); }
.rule { height: 1px; background: var(--fg-12); border: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 639px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0,1fr); } }

.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--end { justify-content: flex-end; }

/* ---------- 5. Type ---------- */
.t-xl  { font-size: var(--type-xl-size);  line-height: var(--type-xl-line);  font-weight: 500; letter-spacing: -.02em; }
.t-h1  { font-size: var(--type-h1-size);  line-height: var(--type-h1-line);  font-weight: 500; letter-spacing: var(--track-h1); }
.t-h2  { font-size: var(--type-h2-size);  line-height: var(--type-h2-line);  font-weight: 500; letter-spacing: var(--track-h2); }
.t-h25 { font-size: var(--type-h25-size); line-height: var(--type-h25-line); font-weight: 500; letter-spacing: var(--track-h25); }
.t-h3  { font-size: var(--type-h3-size);  line-height: var(--type-h3-line);  font-weight: 500; letter-spacing: var(--track-h3); }
.t-h4  { font-size: var(--type-h4-size);  line-height: var(--type-h4-line);  font-weight: 500; letter-spacing: -.01em; }
.t-h5  { font-size: var(--type-h5-size);  line-height: var(--type-h5-line);  font-weight: 500; letter-spacing: -.01em; }
.t-p1  { font-size: var(--type-p1-size);  line-height: var(--type-p1-line);  font-weight: 400; letter-spacing: var(--track-p); }
.t-p2  { font-size: var(--type-p2-size);  line-height: var(--type-p2-line);  font-weight: 400; letter-spacing: var(--track-p); }
.t-meta{ font-size: var(--type-meta);     line-height: var(--type-meta-line);font-weight: 500; letter-spacing: 0; }

.dim   { color: var(--fg-60); }
.dim-44{ color: var(--fg-44); }
.section--inverse .dim { color: var(--inverse-fg-60); }
.balance { text-wrap: balance; }
.pretty  { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem; line-height: 1; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-44);
}
.section--inverse .eyebrow { color: var(--inverse-fg-60); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: var(--type-cta); font-weight: 500; letter-spacing: 0; line-height: 1;
  padding: 12px 20px; border-radius: var(--radius-full);
  transition: background-color var(--dur-fast) var(--ease-c),
              color var(--dur-fast) var(--ease-c),
              border-color var(--dur-fast) var(--ease-c),
              transform var(--dur-fast) var(--ease-c);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary   { background: var(--fg); color: var(--inverse-fg); }
.btn--primary:hover { background: var(--solid-80); }
.btn--secondary { background: var(--fg-4); color: var(--fg); }
.btn--secondary:hover { background: var(--fg-12); }
.btn--ghost     { background: transparent; color: var(--fg); border: 1px solid var(--fg-12); }
.btn--ghost:hover { background: var(--fg-4); }
.btn--sm { padding: 8px 16px; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.section--inverse .btn--primary   { background: var(--inverse-fg); color: var(--fg); }
.section--inverse .btn--primary:hover { background: var(--solid-80); color: var(--inverse-fg); }
.section--inverse .btn--secondary { background: var(--inverse-fg-12); color: var(--inverse-fg); }
.section--inverse .btn--ghost     { border-color: var(--inverse-fg-12); color: var(--inverse-fg); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--type-cta); font-weight: 400; line-height: 1;
  padding: 10px 18px; border-radius: var(--radius-full);
  border: 1px solid var(--fg-12); background: var(--bg); color: var(--fg);
  transition: background-color var(--dur-fast) var(--ease-c), border-color var(--dur-fast) var(--ease-c);
}
.chip:hover { background: var(--fg-4); border-color: var(--fg-44); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 550; line-height: 1; letter-spacing: 0;
  padding: 7px 12px; border-radius: var(--radius-full);
  border: 1px solid var(--fg-12); color: var(--fg-60); background: var(--bg);
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--type-meta); font-weight: 500; letter-spacing: 0;
}
.arrow-link svg { transition: transform var(--dur-fast) var(--ease-c); }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- 7. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: transparent;
  transition: background-color var(--dur-med) var(--ease-c), border-color var(--dur-med) var(--ease-c),
              backdrop-filter var(--dur-med) var(--ease-c);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: color-mix(in srgb, #fff 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--fg-12);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.03em; }
.logo__mark { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: var(--type-nav); font-weight: 500; letter-spacing: 0; color: var(--fg);
  transition: color var(--dur-fast) var(--ease-c);
}
.nav a:hover { color: var(--fg-60); }
.nav a[aria-current="page"] { color: var(--fg-44); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius-full); align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--fg-4); }

@media (max-width: 899px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn--secondary { display: none; }
}

.mnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--bg); padding: 24px var(--pad-x) 48px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-c), transform var(--dur-med) var(--ease-c);
  overflow-y: auto;
}
.mnav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mnav a { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; padding: 12px 0; border-bottom: 1px solid var(--fg-12); }

/* ---------- 8. Hero ---------- */
.hero { padding-top: clamp(56px, 7vw, 120px); padding-bottom: clamp(40px, 5vw, 88px); }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero__title { max-width: 18ch; }
.hero__sub { max-width: 60ch; color: var(--fg-60); font-size: clamp(1.0625rem, .9rem + .5vw, 1.375rem); line-height: 1.55; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero--left .hero__inner { align-items: flex-start; text-align: left; }
.hero--left .hero__actions { justify-content: flex-start; }

/* ---------- 9. Cards ---------- */
.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--fg-12); border-radius: var(--radius-lg);
  background: var(--bg); overflow: hidden;
  transition: border-color var(--dur-med) var(--ease-c), transform var(--dur-med) var(--ease-c);
}
a.card:hover { border-color: var(--fg-44); transform: translateY(-2px); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__foot { padding: 0 24px 24px; }
.card--flat { border: 0; background: var(--solid-4); }
.card--dark { background: var(--inverse-bg); color: var(--inverse-fg); border-color: transparent; }
.card--dark .dim { color: var(--inverse-fg-60); }

.card__visual { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--solid-4); }
.card__visual > * { transition: transform var(--dur-slow) var(--ease-c); }
a.card:hover .card__visual > * { transform: scale(1.04); }

.mcard { display: flex; flex-direction: column; gap: 14px; }
.mcard__thumb { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--solid-4); position: relative; }
.mcard__thumb > * { transition: transform var(--dur-slow) var(--ease-c); }
.mcard:hover .mcard__thumb > * { transform: scale(1.04); }
.mcard__meta { display: flex; gap: 12px; color: var(--fg-44); font-size: var(--type-meta); font-weight: 500; }
.mcard__title { font-size: var(--type-h5-size); line-height: var(--type-h5-line); font-weight: 500; letter-spacing: -.01em; }

/* ---------- 10. Feature rows / steps ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--reverse > *:first-child { order: 2; }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0,1fr); } .split--reverse > *:first-child { order: 0; } }

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 28px 0; border-top: 1px solid var(--fg-12);
}
.step:last-child { border-bottom: 1px solid var(--fg-12); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 500;
  color: var(--fg-44); letter-spacing: .06em; padding-top: 4px;
}

.spec { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--fg-12); }
.spec:last-child { border-bottom: 1px solid var(--fg-12); }
.spec__k { font-size: var(--type-p2-size); font-weight: 500; color: var(--fg-44); }
@media (max-width: 639px) { .spec { grid-template-columns: minmax(0,1fr); gap: 6px; } }

.stat { padding: 28px 0; border-top: 1px solid var(--fg-12); }
.stat__n { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.stat__l { margin-top: 8px; color: var(--fg-60); font-size: var(--type-p2-size); }
.section--inverse .stat { border-top-color: var(--inverse-fg-12); }
.section--inverse .stat__l { color: var(--inverse-fg-60); }

/* ---------- 11. Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  font-size: var(--type-cta); font-weight: 500; line-height: 1;
  padding: 10px 18px; border-radius: var(--radius-full);
  border: 1px solid var(--fg-12); color: var(--fg-60); background: var(--bg);
  transition: all var(--dur-fast) var(--ease-c);
}
.tab:hover { border-color: var(--fg-44); color: var(--fg); }
.tab[aria-selected="true"] { background: var(--fg); color: var(--inverse-fg); border-color: var(--fg); }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fade-up var(--dur-med) var(--ease-out-expo) both; }

/* ---------- 12. Accordion ---------- */
.acc__item { border-top: 1px solid var(--fg-12); }
.acc__item:last-child { border-bottom: 1px solid var(--fg-12); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; text-align: left;
  font-size: var(--type-h5-size); line-height: var(--type-h5-line); font-weight: 500; letter-spacing: -.01em;
}
.acc__icon { flex: none; width: 20px; height: 20px; position: relative; }
.acc__icon::before, .acc__icon::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: var(--fg);
  transition: transform var(--dur-med) var(--ease-c);
}
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(0deg); }
.acc__panel { overflow: hidden; height: 0; transition: height var(--dur-med) var(--ease-c); }
.acc__inner { padding-bottom: 24px; max-width: 68ch; color: var(--fg-60); }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-size: var(--type-p2-size); font-weight: 500; color: var(--fg-44); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.mock {
  border: 1px solid var(--fg-12); border-radius: var(--radius-3xl); overflow: hidden;
  background: var(--bg); box-shadow: 0 1px 2px #0000000d, 0 24px 60px -30px #00000026;
}
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--fg-12); background: var(--solid-4); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--solid-12); }
.mock__title { margin-left: 8px; font-family: var(--font-mono); font-size: .75rem; color: var(--fg-44); letter-spacing: .02em; }
.mock__body { padding: 20px; display: grid; gap: 14px; }
.mock__grid { display: grid; grid-template-columns: 210px 1fr; min-height: 300px; }
@media (max-width: 639px) { .mock__grid { grid-template-columns: minmax(0,1fr); } .mock__side { display: none; } }
.mock__side { border-right: 1px solid var(--fg-12); padding: 16px; display: grid; gap: 8px; align-content: start; background: var(--fg-2); }
.mock__main { padding: 20px; display: grid; gap: 12px; align-content: start; }
.mock__row { display: flex; align-items: center; gap: 10px; font-size: .8125rem; color: var(--fg-60); }
.mock__key { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-44); }
.mock__bubble {
  border: 1px solid var(--fg-12); border-radius: 14px; padding: 12px 14px;
  font-size: .875rem; line-height: 1.5; color: var(--fg-80); background: var(--bg);
}
.mock__bubble--fill { background: var(--fg); color: var(--inverse-fg); border-color: var(--fg); margin-left: auto; max-width: 78%; }
.mock__pill { display: inline-flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 500; padding: 5px 9px; border-radius: var(--radius-full); background: var(--fg-4); color: var(--fg-60); }
.mock__skel { height: 9px; border-radius: 999px; background: var(--solid-12); }
.mock__skel--60 { width: 60%; } .mock__skel--80 { width: 80%; } .mock__skel--40 { width: 40%; }

.caret { display: inline-block; width: 1.5px; height: 1em; background: var(--fg); vertical-align: -.12em; animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.footer { padding-block: 96px 40px; border-top: 1px solid var(--fg-12); }
.footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 32px 16px; }
@media (max-width: 1023px) { .footer__cols { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 639px)  { .footer__cols { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 16px; } }
.footer__h { font-size: var(--type-p2-size); font-weight: 400; color: var(--fg-44); margin-bottom: 16px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { font-size: var(--type-p2-size); font-weight: 400; color: var(--fg); transition: color var(--dur-fast) var(--ease-c); display: inline-flex; align-items: center; gap: 4px; }
.footer__col a:hover { color: var(--fg-60); }
.footer__bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--fg-12); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__copy { font-size: var(--type-p2-size); color: var(--fg-44); }
.footer__social { display: flex; gap: 14px; }
.footer__social a { color: var(--fg-44); transition: color var(--dur-fast) var(--ease-c); }
.footer__social a:hover { color: var(--fg); }

/* ---------- 16. Article ---------- */
.article { max-width: 720px; margin-inline: auto; }
.article > * + * { margin-top: 24px; }
.article h2 { font-size: var(--type-h3-size); line-height: var(--type-h3-line); font-weight: 500; letter-spacing: -.01em; margin-top: 56px; }
.article h3 { font-size: var(--type-h4-size); line-height: var(--type-h4-line); font-weight: 500; margin-top: 40px; }
.article p { color: var(--fg-80); }
.article ul { display: grid; gap: 10px; }
.article li { position: relative; padding-left: 20px; color: var(--fg-80); }
.article li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--fg-44); }
.article blockquote { border-left: 2px solid var(--fg); padding-left: 20px; font-size: var(--type-h5-size); line-height: 1.5; font-weight: 500; letter-spacing: -.01em; }
.article code { font-family: var(--font-mono); font-size: .875em; background: var(--fg-4); padding: 2px 6px; border-radius: 5px; }
.article hr { margin-block: 48px; }
.note { border: 1px solid var(--fg-12); border-radius: var(--radius-lg); padding: 20px 22px; background: var(--fg-2); font-size: var(--type-p2-size); color: var(--fg-60); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--type-p2-size); }
table.cmp th, table.cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--fg-12); vertical-align: top; }
table.cmp thead th { font-weight: 500; color: var(--fg-44); border-bottom-color: var(--fg-44); white-space: nowrap; }
table.cmp tbody th { font-weight: 500; color: var(--fg-44); width: 200px; }
table.cmp td { color: var(--fg-80); }
table.cmp .is-pick { background: var(--fg-2); }

:root {
  --pastel-blue-20:#eaf1fe; --pastel-blue-40:#cedffe;
  --pastel-pink-20:#fcdad6; --pastel-pink-40:#f5bacc;
  --pastel-yellow-20:#fff4c2; --pastel-yellow-40:#ffea8f;
  --pastel-green-20:#d8ecbd; --pastel-green-40:#beeb96;
  --pastel-orange-20:#ffedde; --pastel-orange-40:#ffbda1;
  --pastel-gray-20:#f0f1f2; --pastel-gray-40:#dddee1;
  --pastel-sky-20:#f0f9ff;  --pastel-sky-40:#bfe9ff;

  --hue-red:#f53255; --hue-blue:#29bdfd; --hue-magenta:#eb56c5;
  --hue-yellow:#ffaf00; --hue-lime:#9dca1c; --hue-sky:#00a5ef;
}

.pv {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--pv-a, var(--pastel-gray-20)) 0%, var(--pv-b, var(--pastel-gray-40)) 100%);
  isolation: isolate;
}
.pv--tall { aspect-ratio: 4 / 3; }
.pv--wide { aspect-ratio: 21 / 9; }
.pv--square { aspect-ratio: 1 / 1; }

.pv::before {
  content: ''; position: absolute; inset: -30%;
  background: radial-gradient(45% 45% at 70% 18%, #ffffffcc 0%, #ffffff00 62%),
              radial-gradient(40% 40% at 18% 88%, var(--pv-glow, #ffffff99) 0%, #ffffff00 66%);
  z-index: -1;
}

.pv--blue   { --pv-a: var(--pastel-blue-20);   --pv-b: var(--pastel-blue-40);   --pv-ink: var(--hue-blue); }
.pv--pink   { --pv-a: var(--pastel-pink-20);   --pv-b: var(--pastel-pink-40);   --pv-ink: var(--hue-magenta); }
.pv--yellow { --pv-a: var(--pastel-yellow-20); --pv-b: var(--pastel-yellow-40); --pv-ink: var(--hue-yellow); }
.pv--green  { --pv-a: var(--pastel-green-20);  --pv-b: var(--pastel-green-40);  --pv-ink: var(--hue-lime); }
.pv--orange { --pv-a: var(--pastel-orange-20); --pv-b: var(--pastel-orange-40); --pv-ink: #ff7a3d; }
.pv--sky    { --pv-a: var(--pastel-sky-20);    --pv-b: var(--pastel-sky-40);    --pv-ink: var(--hue-sky); }
.pv--gray   { --pv-a: var(--pastel-gray-20);   --pv-b: var(--pastel-gray-40);   --pv-ink: var(--fg); }

.pv--sunrise{ --pv-a: var(--pastel-pink-40);   --pv-b: var(--pastel-yellow-40); --pv-ink: var(--hue-red); }

.pv__tile {
  position: relative; z-index: 1;
  width: clamp(58px, 22%, 96px); aspect-ratio: 1;
  border-radius: 26%;
  background: #fffefa;
  display: grid; place-items: center;
  box-shadow: 0 1px 2px #00000012, 0 14px 30px -14px #00000033;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}
.pv__tile svg { width: 54%; height: 54%; color: var(--pv-ink); }
a:hover .pv__tile, .mcard:hover .pv__tile { transform: scale(1.06) rotate(-2deg); }

.pv__deco { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.pv__deco circle, .pv__deco path, .pv__deco rect { vector-effect: non-scaling-stroke; }

.section--pastel { background: linear-gradient(180deg, var(--pv-a, var(--pastel-gray-20)) 0%, #fff 100%); }
.band {
  border-radius: var(--radius-3xl); padding: clamp(32px, 4vw, 64px);
  background: linear-gradient(150deg, var(--pv-a) 0%, var(--pv-b) 100%);
}

.showcase {
  border-radius: var(--radius-3xl); overflow: hidden; position: relative;
  padding: clamp(24px, 3.5vw, 56px);
  background: linear-gradient(150deg, var(--pv-a, var(--pastel-sky-20)) 0%, var(--pv-b, var(--pastel-sky-40)) 100%);
}
.showcase .mock { box-shadow: 0 2px 4px #0000000f, 0 30px 70px -30px #00000040; }

.quote {
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px; border: 1px solid var(--fg-12); border-radius: var(--radius-lg);
  background: var(--bg); height: 100%;
  transition: border-color var(--dur-med) var(--ease-c);
}
.quote:hover { border-color: var(--fg-44); }
.quote__text { font-size: var(--type-h5-size); line-height: 1.6; font-weight: 500; letter-spacing: -.01em; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .875rem; font-weight: 600; letter-spacing: .01em;
  background: linear-gradient(150deg, var(--pv-a, var(--pastel-gray-20)) 0%, var(--pv-b, var(--pastel-gray-40)) 100%);
  color: #0009;
}
.avatar--lg { width: 56px; height: 56px; font-size: 1rem; }
.quote__name { font-size: var(--type-p2-size); font-weight: 500; line-height: 1.35; }
.quote__role { font-size: var(--type-p2-size); color: var(--fg-44); line-height: 1.35; }
.quote__logo { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-44); }
.quote--feature { padding: clamp(28px, 4vw, 48px); }
.quote--feature .quote__text { font-size: var(--type-h3-size); line-height: var(--type-h3-line); }

.result { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 4px; }
.result__i { display: flex; flex-direction: column; gap: 2px; }
.result__n { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.result__l { font-size: var(--type-p2-size); color: var(--fg-44); }

.placeholder-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 500; letter-spacing: .01em;
  padding: 7px 12px; border-radius: var(--radius-full);
  background: var(--pastel-yellow-20); color: #6b5600; border: 1px solid #0000000f;
}

[data-reveal] { opacity: 0; transform: translateY(14px); }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-slow) var(--ease-out-expo), transform var(--dur-slow) var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 18. Utilities ---------- */
.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}
.mt-32{margin-top:32px}.mt-40{margin-top:40px}.mt-56{margin-top:56px}.mt-72{margin-top:72px}
.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-40{margin-bottom:40px}.mb-56{margin-bottom:56px}
.tc{text-align:center}.mx-auto{margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:8px;z-index:100}
.skip:focus{left:16px;padding:8px 16px;background:var(--fg-4);border-radius:var(--radius-full);font-size:.8125rem;font-weight:500}
