/* ============================================================
   Wontopos (WOS) — B2B landing
   Single theme: warm A4-paper light. Editorial, official.
   ============================================================ */

:root {
  /* blue accent — used for data, links, the recall graph */
  --accent:        #3F6FB2;
  --accent-strong: #2F5A98;
  --accent-soft:   rgba(63,111,178,0.10);

  /* dark "ink" — wordmark + primary buttons (editorial, paper-friendly) */
  --ink:           #23201A;
  --accent-btn:    #23201A;
  --accent-btn-h:  #3A352B;

  /* A4 warm paper */
  --bg:        #F1ECDF;   /* paper */
  --bg-2:      #ECE6D6;   /* slightly deeper bands */
  --surface:   #FAF7EF;   /* cards — lighter sheet */
  --surface-2: #F0EADB;
  --border:    #E1D9C6;
  --border-2:  #D2C8B0;
  --text:      #23201A;   /* warm near-black ink */
  --text-2:    #5A5345;
  --muted:     #918873;
  --code-bg:   #211E18;   /* code stays dark for contrast on paper */
  --grid-line: rgba(60,50,25,0.05);
  --shadow:    0 1px 0 rgba(255,255,255,0.6), 0 14px 36px -22px rgba(80,65,30,0.22);
  --glow:      radial-gradient(60% 60% at 50% 0%, rgba(63,111,178,0.08), transparent 70%);
  /* subtle paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* paper grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

/* serif display */
.serif {
  font-family: "Newsreader", "Noto Serif KR", Georgia, serif;
  font-weight: 400;
}
[data-lang="ko"] .serif { font-family: "Noto Serif KR", "Newsreader", serif; font-weight: 500; }

.mono {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-feature-settings: "liga" 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---- layout ---- */
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 132px) 0; position: relative; }
.eyebrow {
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .6;
}
.h2 {
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 0 18px; max-width: 18ch;
}
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-2); max-width: 56ch; margin: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  border-top: 2px solid var(--ink);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 70px; position: relative; transition: height .3s ease; }
.nav.scrolled .nav-inner { height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.spark { width: 24px; height: 24px; color: var(--ink); flex: none; }
.brand b { font-weight: 700; }
.brand .wordmark { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 220px; opacity: 1; transition: max-width .35s ease, opacity .25s ease; }
.brand .mid { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 120px; opacity: 1; vertical-align: bottom; transition: max-width .35s ease, opacity .2s ease; }
.brand .tag {
  display: inline-block;
  font-size: 10px; letter-spacing: .14em; color: var(--text-2);
  border: 1px solid var(--border-2); border-radius: 5px; padding: 2px 6px; margin-left: 2px;
  font-weight: 600; overflow: hidden; white-space: nowrap;
  max-width: 60px; opacity: 1; transition: max-width .35s ease, opacity .2s ease, padding .3s ease, margin .3s ease, border-width .3s ease;
}
.nav.scrolled .brand .mid { max-width: 0; opacity: 0; }
.nav.scrolled .brand .tag { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; margin-left: 0; border-width: 0; }
.nav-links { display: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* "more" menu trigger + dropdown panel */
.menu-wrap { position: relative; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: inherit;
  font-size: 14.5px; font-weight: 600; color: var(--text); background: none;
  border: 1px solid var(--border-2); border-radius: 10px; padding: 11px 16px; line-height: 1;
  transition: border-color .2s, color .2s;
}
.menu-btn:hover { border-color: var(--ink); }
.menu-btn .bars { display: grid; gap: 3px; }
.menu-btn .bars i { width: 16px; height: 1.8px; background: currentColor; display: block; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1){ transform: translateY(4.8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2){ opacity: 0; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3){ transform: translateY(-4.8px) rotate(-45deg); }

.menu-panel {
  position: absolute; top: calc(100% + 12px); right: 0; width: 300px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(60,45,20,0.35); padding: 18px;
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .22s, transform .22s;
  z-index: 60;
}
.menu-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.menu-group + .menu-group { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.menu-group h6 { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.menu-group a {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px; margin: 0 -8px; border-radius: 9px;
  font-size: 15.5px; font-weight: 500; color: var(--text); font-family: "Newsreader", Georgia, serif;
  transition: background .15s, color .15s;
}
[data-lang="ko"] .menu-group a { font-family: "Pretendard", system-ui, sans-serif; }
.menu-group a:hover { background: var(--surface-2); color: var(--accent); }
.menu-group a .ext { margin-left: auto; width: 14px; height: 14px; color: var(--muted); flex: none; }
.menu-group a.cta-line { color: var(--accent); font-weight: 600; }

.toggle {
  display: inline-flex; align-items: center; border: 1px solid var(--border-2);
  border-radius: 999px; padding: 3px; background: var(--surface);
}
.toggle button {
  border: 0; background: none; color: var(--muted); cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  transition: all .2s; line-height: 1;
}
.toggle button.on { background: var(--ink); color: var(--bg); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14.5px; line-height: 1;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .15s ease, background .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-btn); color: var(--bg); box-shadow: none; }
.btn-primary:hover { background: var(--accent-btn-h); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 24px; font-size: 15.5px; border-radius: 12px; }

.icon { width: 16px; height: 16px; flex: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%);
}

.hero-switch {
  display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--border-2);
  border-radius: 999px; background: var(--surface); margin: 0 auto 30px; position: relative; z-index: 2;
}
.hero-switch button {
  border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit;
  font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; transition: all .2s;
}
.hero-switch button.on { background: var(--accent-soft); color: var(--accent); }
.hero-switch .lab { color: var(--muted); font-size: 11px; align-self: center; padding: 0 10px 0 6px; letter-spacing: .04em; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2);
  border: 1px solid var(--border-2); background: var(--surface); border-radius: 999px;
  padding: 6px 14px 6px 8px; margin-bottom: 26px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #5fb87a; box-shadow: 0 0 0 3px rgba(95,184,122,.18); }
.pill b { color: var(--text); font-weight: 600; }

h1.hero-title {
  font-size: clamp(38px, 6vw, 76px); line-height: 1.03; letter-spacing: -0.022em;
  margin: 0 0 30px; font-weight: 400;
}
[data-lang="ko"] h1.hero-title { word-break: keep-all; line-height: 1.26; padding-bottom: 6px; }
[data-lang="ko"] .h2, [data-lang="ko"] .priv-statement,
[data-lang="ko"] .cta-final h2 { word-break: keep-all; }
.hero[data-variant="A"] h1.hero-title { font-size: clamp(34px, 5vw, 60px); }
h1.hero-title .em { color: var(--accent); font-style: italic; }
[data-lang="ko"] h1.hero-title .em { font-style: normal; }
[data-lang="ko"] .priv-statement .em, [data-lang="ko"] .h2 .em { font-style: normal; }
.hero-sub { font-size: clamp(17px, 1.7vw, 21px); color: var(--text-2); max-width: 50ch; margin: 0 0 18px; }
.hero-promise {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 9px 15px; border-radius: 10px; margin-bottom: 30px;
}
.hero-promise b { color: var(--text); font-weight: 600; }
.hero-promise .icon { color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.hero-note code { color: var(--text-2); }

/* hero layout variants */
.hero-stage { position: relative; z-index: 2; }

/* A: centered statement */
.hero[data-variant="A"] .hero-stage { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero[data-variant="A"] .hero-sub,
.hero[data-variant="A"] h1.hero-title { margin-left: auto; margin-right: auto; }
.hero[data-variant="A"] .viz-wrap { width: min(880px, 100%); height: 300px; margin: 14px auto -10px; }
.hero[data-variant="A"] .hero-cta { justify-content: center; }
.hero[data-variant="A"] .demo-card { display: none; }

/* B: split — text left, viz right */
.hero[data-variant="B"] .hero-stage { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 44px; align-items: center; }
.hero[data-variant="B"] h1.hero-title { font-size: clamp(34px, 4.6vw, 60px); }
.hero[data-variant="B"] .viz-wrap { height: 540px; margin-right: -3vw; }
.hero[data-variant="B"] .demo-card { display: none; }

/* C: developer-forward — text left, live demo card right */
.hero[data-variant="C"] .hero-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero[data-variant="C"] .viz-wrap { display: none; }
.hero[data-variant="C"] .demo-card { display: block; }
.hero[data-variant="C"] h1.hero-title { font-size: clamp(34px, 4.6vw, 58px); }

@media (max-width: 880px) {
  .hero[data-variant="B"] .hero-stage,
  .hero[data-variant="C"] .hero-stage { grid-template-columns: 1fr; }
  .hero .viz-wrap { height: 300px !important; order: 2; }
  .nav-links { display: none; }
}

.viz-wrap { position: relative; }
.viz-wrap canvas { width: 100%; height: 100%; display: block; }

/* live recall demo card (variant C) */
.demo-card {
  display: none;
  background: var(--code-bg); border: 1px solid var(--border-2); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow); font-size: 13.5px;
}
.demo-head { display: flex; align-items: center; gap: 8px; padding: 11px 15px; border-bottom: 1px solid #ffffff14; }
.demo-head .dots { display: flex; gap: 6px; }
.demo-head .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ffffff1f; display: block; }
.demo-head .ttl { font-size: 12px; color: #b9b1a0; margin-left: 4px; }
.demo-body { padding: 16px 18px; color: #d9d2c4; }
.demo-body .ln { white-space: pre-wrap; word-break: break-word; }
.tok-k { color: #c98a6d; } .tok-s { color: #9ec78f; } .tok-c { color: #6f6857; } .tok-n { color: #c0b6ff; }
.demo-out { margin-top: 12px; border-top: 1px dashed #ffffff1a; padding-top: 12px; }
.demo-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; opacity: 0; transform: translateY(4px); }
.demo-row.show { opacity: 1; transform: none; transition: all .4s ease; }
.demo-row .score { margin-left: auto; color: #9ec78f; font-size: 12px; }
.demo-row .bullet { color: var(--accent); }

/* ============================================================
   LOGOS / trust strip
   ============================================================ */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; }
.trust-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.trust .lbl { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.trust .langs { display: flex; gap: 22px; flex-wrap: wrap; }
.trust .langs span { font-size: 15px; color: var(--text-2); font-weight: 500; }

/* ============================================================
   FEATURES (3 differentiators)
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
@media (max-width: 860px){ .feat-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.card .num { font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: .1em; }
.card h3 { font-size: 21px; margin: 14px 0 10px; letter-spacing: -0.01em; }
.card p { color: var(--text-2); font-size: 15px; margin: 0; }
.card .glyph {
  width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 4px;
}
.card .glyph svg { width: 22px; height: 22px; }
.card .kpi { margin-top: 16px; font-size: 13px; color: var(--muted); }
.card .kpi b { color: var(--text); font-weight: 600; }

/* ============================================================
   STATS / latency
   ============================================================ */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
@media (max-width: 760px){ .stat-band { grid-template-columns: repeat(2,1fr); } }
.stat { padding: 30px 26px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
@media (max-width:760px){ .stat:nth-child(2){border-right:0;} .stat:nth-child(1),.stat:nth-child(2){border-bottom:1px solid var(--border);} }
.stat .big { font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.02em; line-height: 1; }
.stat .big small { font-size: 18px; color: var(--muted); font-weight: 400; }
.stat .cap { font-size: 13.5px; color: var(--text-2); margin-top: 10px; }
.stat .accent { color: var(--accent); }

/* latency bar */
.lat { margin-top: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.lat-head { display:flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.lat-head .t { font-size: 15px; font-weight: 600; }
.lat-head .v { font-size: 13px; color: var(--muted); }
.lat-track { margin-top: 18px; height: 46px; position: relative; background: var(--code-bg); border-radius: 10px; overflow: hidden; }
.lat-range { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, var(--accent-soft), color-mix(in srgb,var(--accent) 26%, transparent)); }
.lat-p50 { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--accent); }
.lat-p50::after { content: "p50 · 320ms"; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--accent); white-space: nowrap; font-weight:600; }
.lat-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; }

/* ============================================================
   BENCHMARK
   ============================================================ */
.bench {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center;
}
@media (max-width: 900px){ .bench { grid-template-columns: 1fr; } }
.bench-score {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 34px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.bench-score .ver { display:flex; gap:6px; margin-bottom: 18px; flex-wrap: wrap; }
.bench-score .ver span { font-size: 11px; color: var(--muted); border:1px solid var(--border-2); border-radius: 6px; padding: 3px 7px; }
.bench-score .ver span.cur { color: var(--accent); border-color: var(--accent); }
.bench-score .pct { font-size: clamp(56px, 9vw, 88px); line-height: .9; letter-spacing: -0.03em; }
.bench-score .pct .u { font-size: .4em; color: var(--muted); }
.bench-score .pct-cap { color: var(--text-2); font-size: 14.5px; margin-top: 12px; }
.bench-score .meta { margin-top: 22px; display: grid; gap: 9px; }
.bench-score .meta div { display:flex; justify-content: space-between; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 9px; }
.bench-score .meta b { color: var(--text-2); font-weight: 500; }

.bench-bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 200px 1fr 52px; align-items: center; gap: 14px; }
@media (max-width: 520px){ .bar-row { grid-template-columns: 120px 1fr 44px; } }
.bar-row .lbl { font-size: 13.5px; color: var(--text-2); }
.bar-row .track { height: 9px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar-row .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-strong), var(--accent)); border-radius: 999px; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.bar-row .val { font-size: 13px; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.bench-foot { font-size: 13px; color: var(--muted); margin-top: 22px; }
.bench-foot b { color: var(--text-2); }

/* ============================================================
   CODE
   ============================================================ */
.code-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 900px){ .code-wrap { grid-template-columns: 1fr; } }
.code-block { background: var(--code-bg); border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.code-tabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid #ffffff12; overflow-x: auto; }
.code-tabs button {
  border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit;
  font-size: 13px; font-weight: 500; padding: 9px 13px; border-radius: 8px 8px 0 0; white-space: nowrap;
}
.code-tabs button.on { color: var(--text); background: #ffffff0d; }
.code-body { padding: 18px 20px; overflow-x: auto; }
.code-body pre { margin: 0; }
.code-body code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; line-height: 1.7; color: #d9d2c4; }
.code-body .k { color: #c98a6d; } .code-body .s { color: #9ec78f; } .code-body .c { color: #6f6857; }
.code-body .p { color: #b9b1a0; } .code-body .f { color: #c0b6ff; } .code-body .n { color: #d9b08c; }
.code-side .feat-mini { display:flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.code-side .feat-mini:last-child { border-bottom: 0; }
.code-side .feat-mini .ic { width: 30px; height: 30px; flex:none; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display:grid; place-items:center; }
.code-side .feat-mini .ic svg { width: 17px; height: 17px; }
.code-side .feat-mini h4 { margin: 0 0 3px; font-size: 15px; }
.code-side .feat-mini p { margin: 0; font-size: 13.5px; color: var(--text-2); }

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.priv-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 820px){ .priv-grid { grid-template-columns: 1fr; } }
.priv-card { border: 1px solid var(--border); border-radius: 14px; padding: 24px; background: var(--surface); transition: border-color .25s, transform .25s; }
.priv-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.priv-card .x { display:flex; align-items:center; gap: 10px; margin-bottom: 12px; }
.priv-card .x .ic { width: 30px; height: 30px; border-radius: 8px; display:grid; place-items:center; background: var(--accent-soft); color: var(--accent); }
.priv-card .x .ic svg { width: 17px; height:17px; }
.priv-card h4 { margin:0; font-size: 16px; }
.priv-card p { margin: 0; color: var(--text-2); font-size: 14px; }
.priv-statement { font-size: clamp(22px, 3vw, 34px); line-height: 1.3; max-width: 24ch; letter-spacing: -0.01em; }
.priv-statement .em { color: var(--accent); }

/* ============================================================
   DOWNLOAD (llms.txt for AI)
   ============================================================ */
.dl {
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow);
}
@media (max-width: 860px){ .dl { grid-template-columns: 1fr; } }
.dl h3 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; letter-spacing: -0.01em; }
.dl p { color: var(--text-2); margin: 0 0 22px; font-size: 15.5px; }
.dl-file {
  background: var(--code-bg); border: 1px solid var(--border-2); border-radius: 12px; padding: 16px; font-size: 12.5px;
}
.dl-file .row { display:flex; align-items:center; gap: 10px; color: #b9b1a0; }
.dl-file .row .doc { color: var(--accent); }
.dl-file pre { margin: 12px 0 0; color: #8f8775; font-size: 11.5px; line-height: 1.6; max-height: 150px; overflow: hidden; white-space: pre-wrap; }
.dl-file pre .h { color: #c9c0ad; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta-final { text-align:center; }
.cta-final h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 auto 18px; max-width: 16ch; font-weight: 400; }
.cta-final p { color: var(--text-2); max-width: 48ch; margin: 0 auto 30px; }
.cta-final .hero-cta { justify-content: center; }

footer { background: #16140F; color: #EDEAE1; border-top: none; padding: 64px 0 64px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot .brand { font-size: 16px; color: #FAF7EF; }
.foot .brand .spark { color: #FAF7EF; }
.foot .brand .tag { color: rgba(250,247,239,0.65); border-color: rgba(250,247,239,0.25); }
.foot small { color: rgba(237,234,225,0.5); font-size: 13px; display:block; margin-top: 12px; max-width: 34ch; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(237,234,225,0.55); margin: 0 0 14px; }
.foot-col a { display:block; font-size: 14px; color: rgba(237,234,225,0.78); margin-bottom: 9px; transition: color .2s; }
.foot-col a:hover { color: #FFFFFF; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } }

.lang-ko { display: none; }
[data-lang="ko"] .lang-ko { display: inline; }
[data-lang="ko"] .lang-en { display: none; }
/* block-level swaps */
[data-lang="ko"] .lang-en.blk { display: none; }
.lang-ko.blk { display: none; }
[data-lang="ko"] .lang-ko.blk { display: block; }
