:root {
  --bg: #05070d;
  --bg-2: #0a0e19;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f7;
  --text-2: #a4abc0;
  --text-3: #6b7390;
  --accent: #8b9bff;
  --accent-2: #3ee6c1;
  --warn: #ffb547;
  --danger: #ff6b7d;
  --grad: linear-gradient(100deg, #b4bfff 0%, #8b9bff 40%, #3ee6c1 100%);
  --radius: 18px;
  --wrap: 1200px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html:has(.subnav) { scroll-padding-top: 150px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 70%);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
main, .site-footer { position: relative; z-index: 1; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.2; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(139, 155, 255, .35); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 920px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.dim { color: var(--text-3); }
.ok { color: var(--accent-2); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.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: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--text); color: var(--bg); box-shadow: 0 0 0 0 rgba(139,155,255,0); }
.btn-primary:hover { box-shadow: 0 8px 40px -8px rgba(139,155,255,.65); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.02); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(5,7,13,.72); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 84px; }
.brand { display: inline-flex; align-items: center; font-size: 21px; font-weight: 500; letter-spacing: -0.03em; flex: none; }
.brand b { font-weight: 800; margin-left: .22em; }
.nav { flex: 1; display: flex; justify-content: space-evenly; max-width: 880px; margin-left: auto; align-self: stretch; }
.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; }
.nav-top {
  position: relative; height: 100%; display: flex; align-items: center; padding: 0 12px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0,0,0,.5); transition: color .2s;
}
.nav-top::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-item:hover .nav-top::after, .nav-top.active::after { transform: scaleX(1); }
/* mega menu: hovering the nav opens every column at once */
.sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 150px;
  list-style: none; margin: 0; padding: 22px 0 28px; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.sub li + li { margin-top: 12px; }
.sub a { font-size: 15px; color: var(--text-2); white-space: nowrap; transition: color .2s; }
.sub a:hover { color: var(--text); }
.site-header.mega-open .sub { opacity: 1; visibility: visible; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0; z-index: -1;
  background: rgba(5,7,13,.96); backdrop-filter: blur(14px); border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), border-color .3s;
}
.site-header.mega-open { background: rgba(5,7,13,.96); border-bottom-color: var(--line); }
.site-header.mega-open::after { height: var(--mega-h, 210px); border-bottom-color: var(--line); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--text); transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: grid; padding: 8px 16px 24px; background: rgba(5,7,13,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); max-height: calc(100svh - 72px); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.m-group { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.m-group a { font-size: 14px; color: var(--text-2); }
.m-group .m-top { width: 100%; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 72px; }
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  mask-image: radial-gradient(ellipse 70% 75% at 72% 45%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 72% 45%, #000 10%, transparent 75%);
}
.hero-glow { position: absolute; width: 900px; height: 900px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(139,155,255,.20), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; padding: 80px 0 120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(62,230,193,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62,230,193,0); } 100% { box-shadow: 0 0 0 0 rgba(62,230,193,0); } }
.hero-title { font-size: clamp(40px, 7vw, 92px); line-height: 1.08; letter-spacing: -0.05em; font-weight: 800; max-width: 14em; }
.hero-sub { margin-top: 28px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-status {
  margin-top: 56px; display: inline-grid; gap: 8px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(10,14,25,.6); backdrop-filter: blur(10px);
}
.status-row { display: flex; gap: 24px; justify-content: space-between; }
.status-row .k { color: var(--text-3); }
.status-row .v { color: var(--text); min-width: 17ch; text-align: right; }
.status-row .v.ok { color: var(--accent-2); }
.hero-ticker { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid var(--line); padding: 16px 0; overflow: hidden; background: linear-gradient(transparent, rgba(5,7,13,.8)); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 40s linear infinite; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--text-3); }
.ticker-track i { width: 5px; height: 5px; background: var(--accent); border-radius: 1px; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(96px, 12vw, 160px) 0; position: relative; overflow-x: clip; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2, .check-intro h2, .contact-intro h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.045em; }

.lead-statement { font-size: clamp(22px, 2.8vw, 36px); line-height: 1.5; font-weight: 500; letter-spacing: -0.03em; color: var(--text-2); max-width: 30em; margin-bottom: 72px; }
.lead-statement em { font-style: normal; color: var(--danger); }
.lead-statement strong { color: var(--text); font-weight: 700; }

.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 32px; overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, -20%), rgba(139,155,255,.10), transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 22px; margin: 12px 0 10px; }
.card p { color: var(--text-2); font-size: 16px; }
.tag { color: var(--accent); }
.card-top { display: flex; justify-content: space-between; }
.idx { color: var(--text-3); }
.icon { width: 48px; height: 48px; fill: none; stroke: var(--text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin: 28px 0 16px; }
.icon .warn { stroke: var(--danger); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* risks: editorial rows instead of cards */
.risks { position: relative; display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.risks::before {
  content: ""; position: absolute; inset: -80px -10vw; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 65% 50%, rgba(255,60,80,.10), transparent 70%);
}
.risks-title { position: sticky; top: 112px; }
.risks-title h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.35; color: var(--text-2); }
.risks-title em { font-style: normal; color: var(--danger); text-shadow: 0 0 24px rgba(255,107,125,.5); }
.threat-level { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--danger); }
.threat-level i { width: 8px; height: 8px; background: var(--danger); border-radius: 50%; animation: alarm 1.1s steps(2, jump-none) infinite; box-shadow: 0 0 10px var(--danger); }
@keyframes alarm { 50% { opacity: .15; } }
.risk-list { position: relative; list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,107,125,.35); }
.risk {
  position: relative; display: grid; grid-template-columns: 72px 1fr 220px; gap: 24px; align-items: baseline;
  padding: 36px 16px 36px 0; border-bottom: 1px solid var(--line-2); transition: background .3s;
}
.risk::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--danger), rgba(255,107,125,0)); transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease) .3s;
}
.risk.in::before { transform: scaleX(1); }
.risk:hover { background: linear-gradient(90deg, rgba(255,107,125,.06), transparent 70%); }
.risk-num { position: relative; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--danger); font-variant-numeric: tabular-nums; text-shadow: 0 0 28px rgba(255,107,125,.45); }
.risk-num::before, .risk-num::after { content: attr(data-n); position: absolute; left: 0; top: 0; opacity: 0; }
.risk-num::before { color: #3ee6ff; }
.risk-num::after { color: #ff2d55; }
.risk:hover .risk-num::before { animation: glitch-a .35s steps(2) 3; }
.risk:hover .risk-num::after { animation: glitch-b .35s steps(2) 3; }
@keyframes glitch-a { 0% { opacity: .8; transform: translate(-3px, 1px); clip-path: inset(10% 0 55% 0); } 100% { opacity: .8; transform: translate(2px, -1px); clip-path: inset(60% 0 5% 0); } }
@keyframes glitch-b { 0% { opacity: .8; transform: translate(3px, -1px); clip-path: inset(50% 0 20% 0); } 100% { opacity: .8; transform: translate(-2px, 1px); clip-path: inset(5% 0 70% 0); } }
.trace { max-width: none !important; margin-top: 18px !important; min-height: 1.6em; font-family: var(--mono); font-size: 12.5px !important; letter-spacing: .02em; color: rgba(255,107,125,.75) !important; white-space: pre-wrap; }
.trace .caret { display: inline-block; width: .6em; height: 1.1em; vertical-align: -0.2em; background: var(--danger); animation: alarm .9s steps(2, jump-none) infinite; }
.trace .alert { color: #fff; background: var(--danger); padding: 1px 6px; border-radius: 3px; font-weight: 500; animation: alarm 1.1s steps(2, jump-none) 4; }
.risk-body h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.035em; }
.risk-body h3 small { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--text-3); }
.risk-body p { margin-top: 14px; color: var(--text-2); max-width: 32em; }
.risk-fix { font-size: 15px; font-weight: 600; color: var(--text); text-align: right; }
.risk-fix::before { content: "해법"; display: block; margin-bottom: 4px; font-size: 13px; font-weight: 400; color: var(--accent-2); }

/* statement */
.statement { padding: 40px 0 0; overflow: hidden; }
.statement-text { font-size: clamp(48px, 10vw, 150px); font-weight: 800; letter-spacing: -0.055em; line-height: 1; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento-a { grid-column: span 7; }
.bento-b { grid-column: span 5; }
.bento-c { grid-column: span 5; }
.bento-d { grid-column: span 7; }
.bento h3 { font-size: clamp(22px, 2.2vw, 28px); }
.fingerprints { display: grid; grid-template-columns: repeat(3, minmax(0, 128px)); gap: 16px; margin-top: 32px; }
.fingerprints figure { margin: 0; }
.fp { width: 100%; aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.25); }
.fingerprints figcaption { margin-top: 8px; color: var(--text-3); font-size: 11px; }
.keylife { margin-top: 32px; display: grid; gap: 14px; }
.kl-row { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 12px; }
.kl-row .mono { font-size: 11px; }
.kl-row .mono:last-child { text-align: right; }
.kl-bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.kl-bar i { display: block; height: 100%; width: var(--w); background: var(--grad); }
.kl-bar.live i { animation: keylive 3.2s var(--ease) infinite; }
@keyframes keylive { 0% { width: 0; } 40%, 60% { width: 100%; } 100% { width: 0; margin-left: 100%; } }
.lattice { margin-top: 24px; height: 180px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: rgba(0,0,0,.25); }
.lattice-canvas { width: 100%; height: 100%; }
.boundary { margin-top: 32px; display: grid; gap: 10px; }
.layer { border-radius: 12px; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.layer.sw { border: 1px dashed var(--line-2); color: var(--text-3); }
.layer.hw { border: 1px solid rgba(62,230,193,.45); background: linear-gradient(90deg, rgba(62,230,193,.08), rgba(139,155,255,.08)); justify-content: space-between; box-shadow: inset 0 0 40px rgba(62,230,193,.06); }
.layer.hw span { color: var(--accent-2); font-size: 11px; }
.layer.hw b { font-weight: 500; color: var(--text); }

/* architecture */
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.arch-stage { position: sticky; top: 112px; }
.stage-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 24px; }
.stage-top { display: flex; justify-content: space-between; color: var(--text-3); }
.stage-top #stage-label { color: var(--accent); }
.stage-top b { color: var(--text); font-weight: 500; }
.chain { width: 100%; max-height: 52vh; margin: 12px auto; }
.chain-line { stroke: var(--line-2); stroke-width: 2; }
.chain-line-on { stroke: url(#chainGrad); stroke-width: 2; stroke-dasharray: 360; stroke-dashoffset: 360; transition: stroke-dashoffset .6s var(--ease); }
.chain .node rect { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1; transition: all .4s var(--ease); }
.chain .node text { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; fill: var(--text-3); text-anchor: middle; dominant-baseline: middle; transition: fill .4s; }
.chain .node.past rect { stroke: rgba(139,155,255,.5); }
.chain .node.past text { fill: var(--text-2); }
.chain .node.on rect { fill: rgba(139,155,255,.14); stroke: var(--accent); filter: drop-shadow(0 0 12px rgba(139,155,255,.55)); }
.chain .node.on text { fill: var(--text); }
.stage-bar { height: 3px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.stage-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.arch-steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); padding-left: 32px; opacity: .3; transition: opacity .4s; }
.step.on { opacity: 1; }
.step .mono { color: var(--accent); font-size: 13px; }
.step h3 { margin-top: 14px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; font-weight: 600; }

/* compare */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.c-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.c-row:first-child { border-top: 0; }
.c-row > span { padding: 20px 24px; display: flex; align-items: center; gap: 10px; }
.c-row > span:first-child { font-weight: 600; }
.c-row > span:nth-child(2) { color: var(--text-2); }
.c-head > span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.qc { background: linear-gradient(180deg, rgba(139,155,255,.10), rgba(62,230,193,.06)); }
.c-head .qc { color: var(--accent); font-weight: 600; }
.b { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.b.yes { background: var(--text-2); }
.b.part { border: 2px solid var(--warn); }
.b.no { border: 2px solid var(--text-3); position: relative; }
.b.core { background: var(--accent-2); box-shadow: 0 0 12px rgba(62,230,193,.7); }
.quote { margin: 96px 0 0; text-align: center; font-size: clamp(26px, 3.6vw, 46px); font-weight: 700; line-height: 1.3; letter-spacing: -0.04em; }

/* products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--surface-2), var(--surface)); display: flex; flex-direction: column; transition: border-color .3s; }
.product:hover { border-color: var(--line-2); }
.product-visual { padding: 40px 32px; background: radial-gradient(ellipse at 50% 120%, rgba(139,155,255,.25), transparent 65%), var(--bg-2); border-bottom: 1px solid var(--line); }
.product-visual svg { width: 100%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.dev-body { fill: #11162a; stroke: rgba(255,255,255,.16); }
.dev-panel { fill: #05070d; stroke: rgba(139,155,255,.35); }
.dev-text { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; fill: var(--accent); }
.leds circle { fill: var(--accent-2); animation: blink 2.4s infinite; }
.leds circle:nth-child(2) { animation-delay: .4s; } .leds circle:nth-child(3) { animation-delay: .9s; fill: var(--accent); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.vents rect { fill: rgba(255,255,255,.08); }
.ports rect { fill: #05070d; stroke: rgba(255,255,255,.22); }
.product-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 32px; margin: 10px 0 12px; }
.product-body p { color: var(--text-2); }
.chips { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.product-body .btn { margin-top: auto; align-self: flex-start; }

/* use cases */
.usecase .icon { margin-top: 0; margin-bottom: 40px; }
.usecase h3 { font-size: 20px; }
.usecase p.mono { font-size: 12px; }

/* check */
.check { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.check-intro { position: sticky; top: 112px; }
.score { margin-top: 40px; display: flex; align-items: center; gap: 24px; }
.score-ring { position: relative; width: 120px; height: 120px; flex: none; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 8; }
.ring-fg { fill: none; stroke: url(#chainGrad); stroke: var(--accent-2); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .6s var(--ease), stroke .3s; }
.score-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--mono); }
.score-num b { font-size: 34px; font-weight: 500; line-height: 1; }
.score-num span { color: var(--text-3); font-size: 13px; }
#score-msg { color: var(--text-2); max-width: 22em; }
.questions { display: grid; gap: 12px; }
.q { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; background: var(--surface); }
.q legend { float: left; width: 100%; font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.q legend .mono { color: var(--accent); margin-right: 8px; }
.opts { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts button { text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 15px; color: var(--text-2); transition: all .2s; }
.opts button:hover { border-color: rgba(255,255,255,.3); color: var(--text); }
.opts button[aria-pressed="true"][data-v="1"] { border-color: var(--accent-2); background: rgba(62,230,193,.08); color: var(--text); }
.opts button[aria-pressed="true"][data-v="0"] { border-color: var(--warn); background: rgba(255,181,71,.08); color: var(--text); }

/* roadmap */
.roadmap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.roadmap::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent-2) 50%, var(--line-2) 50%); }
.rm { position: relative; padding: 48px 16px 0 0; }
.rm::before { content: ""; position: absolute; top: 9px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.rm.done::before { background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 0 14px rgba(62,230,193,.6); }
.rm.wip::before { border-color: var(--warn); animation: wip 2s infinite; }
@keyframes wip { 50% { box-shadow: 0 0 0 6px rgba(255,181,71,.15); } }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.done .badge { color: var(--accent-2); background: rgba(62,230,193,.1); }
.wip .badge { color: var(--warn); background: rgba(255,181,71,.1); }
.rm h3 { font-size: 22px; margin: 14px 0 6px; }
.rm p { color: var(--text-3); font-size: 14px; }

/* contact */
.contact { border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(139,155,255,.12), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-intro h2 { font-size: clamp(40px, 6vw, 76px); line-height: 1.05; }
.contact-intro p:last-child { margin-top: 24px; color: var(--text-2); font-size: 18px; }
.form { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10,14,25,.7); padding: 32px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; color: var(--text-2); }
.field input[type="text"], .field input[type="email"] {
  height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139,155,255,.15); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; min-height: 0; }
.err:empty { display: none; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { margin-bottom: 8px; width: 100%; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); transition: all .2s; }
.topics input:checked + span { border-color: var(--accent); background: rgba(139,155,255,.14); color: var(--text); }
.topics input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-ok { color: var(--accent-2); text-align: center; }

/* placeholders the client still has to fill in */
.todo { color: var(--warn); border-bottom: 1px dashed rgba(255,181,71,.6); }
/* blocks waiting on real company info stay hidden on the live site; drop the attribute once filled in */
[data-pending] { display: none !important; }
.news-empty { padding: 72px 0; text-align: center; color: var(--text-3); border-block: 1px solid var(--line); }

/* ---------- sub pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: 190px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero .hero-canvas { mask-image: radial-gradient(ellipse 60% 90% at 85% 40%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 40%, #000 0%, transparent 75%); opacity: .8; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.05em; font-weight: 800; }
.page-hero p:last-child { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); }
.crumb { margin-bottom: 20px; font-size: 14px; color: var(--text-3); display: flex; gap: 10px; }
.crumb a:hover { color: var(--text); }
.subnav { position: sticky; top: 84px; z-index: 40; background: rgba(5,7,13,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav a { position: relative; flex: none; padding: 18px 16px; font-size: 16px; font-weight: 500; color: var(--text-3); transition: color .2s; }
.subnav a:hover, .subnav a.on { color: var(--text); }
.subnav a.on::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--accent); }
.page-hero ~ .section:first-of-type, .subnav + .section { padding-top: clamp(80px, 9vw, 120px); }

.split { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.045em; }
.body-lg { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); line-height: 1.75; }
.info-table { margin: 40px 0 0; border-top: 1px solid var(--line-2); }
.info-table div { display: grid; grid-template-columns: 140px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-table dt { color: var(--text-3); }
.info-table dd { margin: 0; }
.eyebrow.center { display: flex; justify-content: center; }
.center { text-align: center; }
.vision { border-block: 1px solid var(--line); background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139,155,255,.10), transparent 70%); }
.vision .statement-text { font-size: clamp(40px, 7vw, 96px); }
.pillars { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.pillar { padding: 32px 32px 0 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar span { color: var(--accent); font-weight: 600; font-size: 14px; }
.pillar h3 { font-size: 22px; margin: 12px 0 10px; }
.pillar p { color: var(--text-2); }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.t-year { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; align-self: start; width: max-content; }
.timeline p + p { margin-top: 8px; }
.map-box { height: 280px; border-radius: var(--radius); border: 1px dashed var(--line-2); display: grid; place-items: center; background: var(--surface); }

.product-detail.alt { background: linear-gradient(180deg, transparent, rgba(139,155,255,.04), transparent); border-block: 1px solid var(--line); }
.pd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.product-detail.alt .product-visual { order: 2; }
.product-detail .product-visual { border: 1px solid var(--line); border-radius: var(--radius); padding: 80px 40px; }
.pd-body h2 { font-size: clamp(36px, 4.5vw, 56px); letter-spacing: -0.045em; margin: 14px 0 16px; }
.pd-body > p { color: var(--text-2); font-size: 18px; }
.feature-list { list-style: none; margin: 32px 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.feature-list li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: var(--accent-2); }
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.uc { padding: 32px 28px 8px 0; }
.uc + .uc { padding-left: 28px; border-left: 1px solid var(--line); }
.uc-en { font-size: 13px; color: var(--accent); }
.uc h3 { font-size: 21px; margin: 10px 0 8px; }
.uc p { color: var(--text-3); font-size: 14px; }

.explore { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-2); }
.explore-item { display: flex; flex-direction: column; padding: 40px 32px 36px 0; transition: background .3s; }
.explore-item + .explore-item { padding-left: 32px; border-left: 1px solid var(--line); }
.ex-label { font-size: 14px; font-weight: 600; color: var(--accent); }
.explore-item h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 14px 0 12px; line-height: 1.3; }
.explore-item p { color: var(--text-2); flex: 1; }
.ex-more { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ex-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
.explore-item:hover .ex-more svg { transform: translateX(4px); }
.explore-item:hover h3 { color: #fff; }

.cta-band { border-top: 1px solid var(--line); padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(ellipse 60% 70% at 15% 0%, rgba(139,155,255,.14), transparent 70%); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.cta-inner h2 { font-size: clamp(40px, 6vw, 76px); line-height: 1.05; letter-spacing: -0.05em; }
.cta-inner p { color: var(--text-2); font-size: 18px; margin-bottom: 28px; }

.news-filter { display: flex; gap: 8px; margin-bottom: 24px; }
.news-filter button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: none; cursor: pointer; color: var(--text-2); font-size: 15px; }
.news-filter button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.sample-note { margin-bottom: 24px; font-size: 14px; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.news-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-item[hidden] { display: none; }
.n-cat { font-size: 14px; color: var(--accent); }
.n-title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; transition: color .2s; }
.n-title:hover { color: var(--accent); }
.n-date { font-size: 14px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--bg-2); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p.dim { margin-top: 10px; font-size: 14px; }
.footer-map { display: grid; grid-template-columns: repeat(4, auto); gap: 24px 64px; }
.footer-map div { display: grid; gap: 10px; align-content: start; }
.footer-map a { font-size: 14px; color: var(--text-3); }
.footer-map a:hover { color: var(--text); }
.footer-map .fm-top { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.footer-info { padding-top: 28px; font-size: 13px; color: var(--text-3); display: grid; gap: 6px; }
.sep { display: inline-block; width: 1px; height: 10px; background: var(--line-2); margin: 0 10px; }
.copy { margin-top: 14px !important; font-size: 11px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .usecases { grid-template-columns: repeat(2, 1fr); }
  .uc:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-map { grid-template-columns: repeat(2, auto); }
  .bento-a, .bento-b, .bento-c, .bento-d { grid-column: span 12; }
  .roadmap { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .roadmap::before { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { height: 72px; }
  .subnav { top: 72px; }
  .page-hero { padding: 140px 0 56px; }
  .split, .pd-grid, .cta-inner, .explore, .pillars { grid-template-columns: 1fr; gap: 32px; }
  .explore, .pillars { gap: 0; }
  .explore-item, .explore-item + .explore-item, .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .product-detail.alt .product-visual { order: 0; }
  .product-detail .product-visual { padding: 48px 24px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .info-table div, .timeline li { grid-template-columns: 100px 1fr; }
  .menu-btn { display: block; }
  .grid-3, .products, .check, .contact-grid, .risks { grid-template-columns: 1fr; }
  .risks { gap: 32px; }
  .risks-title { position: static; }
  .risk { grid-template-columns: 56px 1fr; row-gap: 16px; padding: 28px 0; }
  .risk-num { font-size: 32px; }
  .risk-fix { grid-column: 2; text-align: left; }
  .check { gap: 40px; }
  .check-intro { position: static; }
  .arch-grid { grid-template-columns: 1fr; gap: 24px; }
  .arch-stage { top: 72px; z-index: 2; }
  .stage-card { padding: 14px 16px; background: rgba(10,14,25,.92); backdrop-filter: blur(10px); }
  .chain { display: none; }
  .stage-top { margin-bottom: 10px; }
  .step { min-height: 52vh; padding-left: 20px; }
  .br-md { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .usecases, .feature-list { grid-template-columns: 1fr; }
  .uc, .uc + .uc { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .footer-map { grid-template-columns: 1fr 1fr; gap: 28px; }
  .card { padding: 24px; }
  .opts { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr 1fr; }
  .c-row { grid-template-columns: 1.2fr 1fr 1fr; font-size: 14px; }
  .c-row > span { padding: 14px 12px; gap: 6px; }
  .c-head > span { font-size: 10px; }
  .hero-status { display: grid; width: 100%; }
  .status-row .v { min-width: 0; }
  .score { flex-direction: column; align-items: flex-start; }
  .form { padding: 22px; }
  .kl-row { grid-template-columns: 92px 1fr 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
