/* ApexSI — design system
   White paper, black ink, one ultramarine accent. Swiss grid, hairline rules, square corners.
   Type: Archivo (display + text, width axis) and IBM Plex Mono (data). */

:root {
  --bg: #ffffff;
  --bg-2: #f6f6f4;
  --bg-3: #eeeeeb;
  --surface: #ffffff;
  --surface-2: #f4f4f2;
  --line: #e4e4e0;
  --line-2: #cfcfca;
  --ink: #0c0c0d;
  --ink-2: #45454a;
  --ink-3: #85858a;
  --ink-4: #b4b4b8;
  --accent: #3d5afe;
  --accent-soft: #eceffe;
  --green: #2ec4a0;
  --orange: #ff914d;
  --paper: #f4f3ef;
  --ok: #138a4b;
  --warn: #d14a00;

  /* legacy names kept so every page re-themes from one place */
  --champagne: var(--ink);
  --ember: var(--ink);
  --rose: var(--accent);
  --violet: var(--accent);
  --ice: var(--accent);
  --aurora: var(--ink);

  --display: "Archivo", "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif;
  --serif: var(--display);
  --sans: "Archivo", "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-sm: 2px;
  --r: 3px;
  --r-lg: 4px;
  --max: 1320px;
  --gutter: clamp(16px, 3.6vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 920px; }
.section { position: relative; padding: clamp(80px, 10vw, 144px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
main > .section:first-child, .page-head + .section { border-top: 0; }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.grid { display: grid; gap: 0 32px; }
.grid > * { border-top: 1px solid var(--line-2); }
.grid.gap { gap: 20px; border: 0; }
.grid.gap > * { border: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 96px; }
@media (max-width: 880px) { .sticky { position: static; } }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 14px/1.3 var(--mono);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before { display: none; }
.eyebrow.plain::before { display: none; }
.display, .h1, .h2, .h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; }
.display { font-size: clamp(2.9rem, 7.4vw, 7.2rem); line-height: .95; letter-spacing: -.045em; font-variation-settings: "wdth" 104; }
.h1 { font-size: clamp(2.5rem, 5.6vw, 5.2rem); line-height: .98; letter-spacing: -.04em; font-variation-settings: "wdth" 104; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.02; letter-spacing: -.035em; font-variation-settings: "wdth" 104; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; }
.h4 { font: 600 1.02rem/1.35 var(--sans); letter-spacing: -.01em; margin: 0; }
.display em, .h1 em, .h2 em, .h3 em { font-style: normal; color: var(--ink-3); }
.grad { color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; margin: 0; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.mono { font-family: var(--mono); }
.small { font-size: .875rem; }
.prose { color: var(--ink-2); font-size: 1.04rem; line-height: 1.72; max-width: 40em; }
.prose p { margin: 0 0 1.1em; }
.prose strong { color: var(--ink); font-weight: 600; }
.stack > * + * { margin-top: var(--s, 20px); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- nav: a tab bar ---------- */
.nav-left { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--ink-4); }
.lang a { color: var(--ink-3); padding: 6px 2px; transition: color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 64px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.2rem/1 var(--display); letter-spacing: -.03em; font-variation-settings: "wdth" 112; }
.brand-mark { width: 26px; height: 18px; flex: none; }
.brand b { font-weight: 700; color: var(--accent); }
.nav-links { display: flex; align-items: stretch; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.nav-links li { display: flex; }
.nav-links a {
  position: relative; display: flex; align-items: center; padding: 0 18px;
  font: 500 .9rem/1 var(--sans); color: var(--ink-3);
  transition: color .2s;
}
.nav-links a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .num { display: none; }
.nav-links .new { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: 7px; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; align-self: center; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; border-radius: var(--r); }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s var(--ease); }
@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .nav.open { height: auto; }
  .nav.open .nav-links { display: flex; flex-direction: column; grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 6px 0 14px; }
  .nav.open .nav-links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a::after { display: none; }
  .nav.open .nav-toggle span:first-child { transform: translateY(2.75px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  height: var(--h); padding: 0 18px; border-radius: var(--r);
  font: 500 .92rem/1 var(--sans); letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid var(--ink); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn.sm { --h: 38px; padding: 0 14px; font-size: .85rem; gap: 12px; }
.btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow.ul { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 26px; padding: 0 10px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: #fff;
  font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
  white-space: nowrap;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.dot.live { background: var(--accent); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- cards: flat cells ---------- */
.card {
  position: relative; overflow: hidden;
  background: #fff;
  padding: clamp(22px, 2.6vw, 34px);
  transition: background .25s;
}
.grid.gap > .card, .card.boxed { border: 1px solid var(--line); border-radius: var(--r); }
a.card:hover { background: var(--bg-2); }
.card .card-foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card.flex { display: flex; flex-direction: column; }
.icon-tile { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); background: #fff; }
.icon-tile svg { width: 18px; height: 18px; }

/* ---------- stats ---------- */
.stat-num { white-space: nowrap; font: 500 clamp(2rem, 3.7vw, 3.4rem)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 104; }
.stat-num small { font-size: .4em; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.stat-label { margin-top: 12px; color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
.stat-note { margin-top: 6px; font: 400 11.5px/1.5 var(--mono); color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.stats > div { padding: 26px 24px 26px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { border-right: 0; }
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { padding: 22px 14px; border-bottom: 1px solid var(--line); }
  .stats > div:nth-child(2n) { border-right: 0; }
  .stats > div:nth-child(2n+1) { padding-left: 0; }
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line-2); }
table.spec { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
table.spec th, table.spec td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { font: 500 11px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); background: transparent; }
table.spec td:first-child { color: var(--ink); font-weight: 500; width: 28%; }
table.spec td { color: var(--ink-2); }
table.spec td strong { color: var(--ink); font-weight: 600; }
table.spec .num { font-family: var(--mono); font-size: .88rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- code ---------- */
.code { position: relative; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line-2); background: #fff; }
.code-head .lights { display: none; }
.code-title { font: 500 11.5px/1 var(--mono); color: var(--ink-3); }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font: 400 13px/1.75 var(--mono); color: var(--ink); tab-size: 4; }
.code .c { color: var(--ink-3); }
.code .k { color: var(--accent); }
.code .s { color: #0f7a46; }
.code .f { color: #8a3ffc; }
.code .n { color: #b5490e; }
.copy-btn {
  height: 28px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff;
  color: var(--ink-2); font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-btn.done { color: var(--ok); border-color: var(--ok); }
code.inline { font: 400 .88em var(--mono); padding: 1px 6px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); }

/* ---------- tabs / segmented ---------- */
.seg { display: inline-flex; gap: 0; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; flex-wrap: wrap; overflow: hidden; }
.seg button {
  height: 38px; padding: 0 16px; border: 0; border-right: 1px solid var(--line-2); background: transparent; cursor: pointer; border-radius: 0;
  color: var(--ink-2); font: 500 .86rem/1 var(--sans); transition: color .2s, background .2s;
}
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--ink); background: var(--bg-2); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- hero / page head ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.hero-bg, .hero-orb, .scroll-cue { display: none !important; }
.hero > .container { position: relative; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-end; justify-content: space-between; margin-top: clamp(28px, 4vw, 48px); }
.page-head { position: relative; padding: clamp(72px, 10vw, 136px) 0 clamp(32px, 4vw, 56px); }
.page-head > .container { position: relative; }
.page-head .h1 { max-width: 16ch; }
.page-head .lede { margin-top: 24px; }

/* ---------- marquee → ticker ---------- */
.marquee { display: none; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marq 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font: 500 .95rem/1 var(--sans); color: var(--ink); white-space: nowrap; }
.marquee-item b { font: 500 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.marquee-item::after { content: "/"; color: var(--ink-4); margin-left: 36px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- model cards ---------- */
.model-card { min-height: 340px; }
.model-card .model-name { font: 500 clamp(2rem, 3.4vw, 2.9rem)/1 var(--display); letter-spacing: -.045em; margin: 34px 0 12px; font-variation-settings: "wdth" 104; }
.model-card .model-role { color: var(--ink-2); font-size: .98rem; max-width: 30em; margin: 0; }
.model-card .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin-top: 22px; font-size: .86rem; }
.model-card .kv dt { font: 500 10.5px/1.9 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.model-card .kv dd { margin: 0; color: var(--ink); font-family: var(--mono); font-size: .82rem; line-height: 1.9; }
.model-glyph { display: none; }

/* feature rows */
.feature { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature .idx { font: 500 12px/1.9 var(--mono); color: var(--ink-3); }
.feature p { margin: 8px 0 0; color: var(--ink-2); }

/* figure plates */
.plate { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(12px, 2vw, 24px); }
.plate img { width: 100%; height: auto; }
figure { margin: 0; }
figcaption { margin-top: 12px; color: var(--ink-3); font-size: .86rem; line-height: 1.55; }
figcaption b { color: var(--ink); font-weight: 600; }

/* charts */
.chart { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: clamp(16px, 2.4vw, 28px); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--mono); font-size: 11px; fill: var(--ink-3); }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis-line { stroke: var(--ink); stroke-width: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font: 500 11px/1 var(--mono); color: var(--ink-2); }
.legend i { display: inline-block; width: 16px; height: 2px; margin-right: 8px; vertical-align: middle; }
.tooltip {
  position: absolute; pointer-events: none; z-index: 5; min-width: 180px;
  padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--ink);
  background: #fff; box-shadow: 4px 4px 0 rgba(12, 12, 13, .08);
  font: 400 12px/1.6 var(--mono); color: var(--ink-2); opacity: 0; transition: opacity .12s;
}
.tooltip.on { opacity: 1; }
.tooltip b { color: var(--ink); font-weight: 600; }

/* CTA band: black block */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px); background: var(--paper); color: var(--ink); }
.cta-band .h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); }

/* ---------- footer ---------- */
.footer { position: relative; border-top: 1px solid var(--line); padding: 56px 0 32px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { margin: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--ink); font-size: .93rem; }
.footer ul a:hover { color: var(--accent); }
.footer-word { display: none; margin-top: 64px; font: 700 clamp(4.4rem, 17.5vw, 17rem)/.78 var(--display); letter-spacing: -.06em; font-variation-settings: "wdth" 112; color: var(--ink); user-select: none; white-space: nowrap; }
.footer-word b { color: var(--accent); font-weight: 700; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font: 400 11.5px/1.5 var(--mono); color: var(--ink-3); }

/* ---------- motion: quiet ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 35ms); }
.split-words.in .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split-words .w > span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; } .mt-5 { margin-top: 96px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-head { display: grid; grid-template-columns: 4fr 8fr; gap: 20px clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head > :last-child:not(:first-child) { justify-self: start; }
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; } }
.section-head .lede { max-width: 34em; }
.idx-num { font: 500 11.5px/1 var(--mono); color: var(--ink-3); }

/* benchmark table (model comparison) */
.bench-wrap { overflow-x: auto; }
table.bench { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .95rem; }
table.bench th, table.bench td { border: 1px solid var(--line-2); padding: 15px 14px; text-align: left; vertical-align: top; }
table.bench thead th { font-weight: 600; font-size: .9rem; line-height: 1.3; }
table.bench thead th small { display: block; font: 400 .76rem var(--mono); color: var(--ink-3); margin-top: 4px; }
table.bench td.rl b { display: block; font-weight: 600; }
table.bench td.rl span { color: var(--ink-3); font-size: .86rem; }
table.bench td.v { font-family: var(--mono); font-size: .9rem; font-variant-numeric: tabular-nums; }
table.bench td.v small { display: block; font-size: .72rem; color: var(--ink-3); margin-top: 2px; }
table.bench .hl { background: var(--accent-soft); font-weight: 600; }
table.bench thead th.hl { border-top: 2px solid var(--accent); }
.bench-note { margin-top: 16px; font-size: .84rem; line-height: 1.6; color: var(--ink-3); max-width: 64em; }
.bench-note a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- page template: model pages, models, logs, research, code ---------- */
  .intro { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
  .intro-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: end; margin-top: clamp(28px, 4vw, 48px); }
  @media (max-width: 960px) { .intro-grid { grid-template-columns: 1fr; } }
  .intro-name { white-space: nowrap; font: 600 clamp(4.2rem, 11vw, 11rem)/.82 var(--display); letter-spacing: -.065em; margin: 0; font-variation-settings: "wdth" 108; }
  .intro-sub { font: 500 clamp(1.15rem, 1.8vw, 1.5rem)/1.3 var(--display); letter-spacing: -.02em; margin: clamp(20px, 2.4vw, 28px) 0 0; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }

  .sheet { border: 1px solid var(--line-2); border-radius: var(--r); }
  .sheet dl { margin: 0; }
  .sheet .r { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
  .sheet dt { font-size: .86rem; color: var(--ink-3); }
  .sheet dd { margin: 0; font-size: .93rem; }
  .sheet .act { padding: 14px 16px; }
  .sheet .btn { width: 100%; }

  .read { max-width: 720px; margin: 0 auto; }
  .lead { font: 500 clamp(1.5rem, 2.5vw, 2.15rem)/1.24 var(--display); letter-spacing: -.03em; margin: 0; text-wrap: pretty; }
  .body { margin-top: 44px; font-size: 1.08rem; line-height: 1.72; color: var(--ink-2); }
  .body p { margin: 0 0 1.15em; }
  .body strong { color: var(--ink); font-weight: 600; }
  .body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

  details.more { margin-top: 28px; border-top: 1px solid var(--line); }
  details.more > summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; display: flex; justify-content: space-between; }
  details.more > summary::-webkit-details-marker { display: none; }
  details.more > summary::after { content: "+"; font: 400 1.3rem/1 var(--mono); color: var(--ink-3); }
  details.more[open] > summary::after { content: "−"; }

  .faq { border-top: 1px solid var(--line-2); }
  .faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
  .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; font: 500 1.15rem/1.35 var(--display); letter-spacing: -.015em; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font: 400 1.3rem/1 var(--mono); color: var(--ink-3); }
  .faq details[open] summary::after { content: "−"; }
  .faq details p { margin: 10px 0 0; color: var(--ink-2); max-width: 44em; }

/* Korean typography */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ko"] .display, html[lang="ko"] .h1, html[lang="ko"] .h2, html[lang="ko"] .lead, html[lang="ko"] .intro-sub { letter-spacing: -.02em; }
html[lang="ko"] .body, html[lang="ko"] .lede, html[lang="ko"] .prose { line-height: 1.8; }

/* business information, always at the very bottom */
.biz { background: #f7f7f9; border-top: 1px solid var(--line); padding: 28px 0 32px; font-size: .88rem; color: var(--ink-2); }
.biz p { margin: 0 0 8px; line-height: 1.6; }
.biz p:last-child { margin-bottom: 0; }
.biz b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.biz .co { font-size: .98rem; }
.biz .sep { color: var(--line-2); margin: 0 12px; }
.biz .gap { display: inline-block; width: 20px; }
.biz a { color: var(--ink-2); overflow-wrap: anywhere; }
.biz a:hover { color: var(--accent); }
.footer { padding-bottom: 0; }
.footer .footer-base { margin-bottom: 28px; }
