/* ============================================================
   rethink.finance — stylesheet  (blue/cyan brand · v2)
   ============================================================ */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');

:root {
  /* color — deep blue-black base */
  --bg: #0C0D12;
  --bg-2: #0A0B10;
  --bg-3: #0F1118;
  --surface: #12141C;
  --surface-2: #171A24;
  --surface-3: #1D212D;
  --line: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.11);
  --line-3: rgba(255,255,255,0.17);

  --text: #ECEEF4;
  --text-dim: #969CAC;
  --text-faint: #808898;

  /* brand blue→cyan (from logo) */
  --blue: #1F5FFF;
  --blue-bright: #4E81FF;
  --blue-deep: #1747C9;
  --cyan: #16C8FF;
  --cyan-soft: #5BDDFF;
  --accent: var(--blue);
  --accent-ink: #FFFFFF;
  --grad: linear-gradient(118deg, #2FD7FF 0%, #2C8BFF 46%, #1F5FFF 100%);
  --grad-soft: linear-gradient(135deg, rgba(47,215,255,0.16), rgba(31,95,255,0.10));
  --accent-soft: rgba(31,95,255,0.13);
  --cyan-glow: rgba(22,200,255,0.55);
  --accent-line: rgba(64,140,255,0.32);

  --pos: #2FD7FF;
  --neg: #E66A60;

  /* type */
  --sans: 'Satoshi', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --t-hero: clamp(46px, 6.6vw, 96px);
  --t-h2: clamp(32px, 4vw, 60px);
  --t-h3: clamp(22px, 2vw, 28px);
  --t-lead: clamp(18px, 1.55vw, 23px);
  --t-body: 18px;
  --t-small: 15px;
  --t-label: 13px;

  /* layout */
  --maxw: 1240px;
  --gut: clamp(20px, 4.5vw, 80px);
  --sec-y: clamp(82px, 9vw, 156px);
  --radius: .25rem;
  --radius-sm: .25rem;
  --radius-lg: .25rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec-y); position: relative; }
.band { background: var(--bg-2); }

/* composed per-section backgrounds — a quiet stepped list */
.section { border-top: 1px solid var(--line); }
#opportunity { background: #0C0E15; }
#problem { background: #08090E; }
#solution { background: #0D1119; }
#product { background: #0A0C12; }
#security { background: #0C1019; }
#compare { background: #090A10; }
#use-cases { background: #0E1118; }
#pricing { background: #0A0C12; }
#faq { background: #0C0E15; }
#contact { background: var(--bg); }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.eyebrow.center::before { display: none; }

h1, h2, h3 { font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: var(--t-hero); font-weight: 900; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; }
.lead { font-size: var(--t-lead); color: var(--text-dim); line-height: 1.5; text-wrap: pretty; }

.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { max-width: 780px; margin-bottom: clamp(42px, 5vw, 76px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 22px; }

.accent { color: var(--cyan); }
.dim { color: var(--text-dim); }
.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600;
  padding: 13px 22px; border-radius: .25rem;
  border: 1px solid transparent;
  transition: transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 22px -8px rgba(31,95,255,0.7); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(31,95,255,0.8); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255,255,255,0.05); transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(12,13,18,0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--text-dim); transition: color .16s ease; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 168px; padding-bottom: clamp(78px, 9vw, 132px); overflow: hidden; }
.hero-aurora { position: absolute; inset: -25% -10% 0; z-index: 0; pointer-events: none; filter: blur(70px); opacity: 0.5; }
.hero-aurora span { position: absolute; border-radius: 50%; display: block; }
.hero-aurora .b1 { width: 560px; height: 440px; right: -40px; top: -120px; background: radial-gradient(circle, var(--blue) 0%, transparent 66%); animation: drift1 19s ease-in-out infinite; }
.hero-aurora .b2 { width: 520px; height: 420px; left: -120px; top: 40px; background: radial-gradient(circle, var(--cyan) 0%, transparent 66%); opacity: 0.7; animation: drift2 24s ease-in-out infinite; }
.hero-aurora .b3 { width: 420px; height: 360px; right: 30%; bottom: -160px; background: radial-gradient(circle, #6E4BFF 0%, transparent 66%); opacity: 0.45; animation: drift3 27s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,40px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,-30px)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,-50px)} }

.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(900px 620px at 70% 16%, #000 0%, transparent 76%);
  mask-image: radial-gradient(900px 620px at 70% 16%, #000 0%, transparent 76%);
  opacity: 0.55;
}
.hero-spot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx,70%) var(--my,30%), rgba(47,160,255,0.10), transparent 60%);
  transition: background .2s ease;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 84px); align-items: center; }
.hero-copy { max-width: 660px; }
.hero h1 { margin: 0 0 26px; }
.hero .lead { max-width: 552px; margin-bottom: 6px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-trust { display: inline-flex; align-items: center; gap: 11px; margin-top: 30px; font-size: 14px; color: var(--text-dim); font-family: var(--mono); letter-spacing: .02em; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(22,200,255,0.14); animation: blip 2.6s ease-in-out infinite; }
@keyframes blip { 0%,100%{box-shadow:0 0 0 4px rgba(22,200,255,0.14)} 50%{box-shadow:0 0 0 7px rgba(22,200,255,0.04)} }

/* ---------- stack diagram ---------- */
.stack { position: relative; display: flex; flex-direction: column; gap: 0; padding: 6px; }
.stack-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 24px 60px -34px rgba(0,0,0,0.9);
}
.stack-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-soft);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s ease;
}
.stack-card:hover::after { opacity: 1; }
.stack-card .sc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.stack-card .sc-title { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 17px; }
.stack-card .sc-ic { width: 34px; height: 34px; border-radius: .25rem; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; place-items: center; color: var(--cyan); }
.stack-card .sc-ic svg { width: 17px; height: 17px; }
.stack-card .sc-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-faint); text-align: right; }
.sc-nodes { display: flex; flex-wrap: wrap; gap: 7px; }
.node { font-family: var(--mono); font-size: 12px; color: var(--text-dim); background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: .25rem; padding: 5px 10px; white-space: nowrap; flex: none; }
.node.live { color: var(--cyan); border-color: var(--accent-line); }
.node.live::before { content:"●"; font-size: 7px; margin-right: 6px; vertical-align: middle; }
.node.exec { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--text); border-color: var(--line-2); padding: 8px 11px; }
.node.exec svg { width: 14px; height: 14px; color: var(--cyan); flex: none; }
.node.exec:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.sc-nodes.exec-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.sc-nodes.exec-row .node.exec { font-size: 12.5px; }
@media (max-width: 400px) { .sc-nodes.exec-row .node.exec { font-size: 11.5px; padding: 8px 6px; } }

.stack-connector { position: relative; z-index: 0; height: 20px; width: 1px; background: var(--line-2); margin: 0 auto; }
.stack-connector::after {
  content: ""; position: absolute; left: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 9px var(--cyan-glow);
  animation: pulseDown 2.6s cubic-bezier(.6,0,.4,1) infinite;
}
.stack-connector.d2::after { animation-delay: .55s; }
@keyframes pulseDown { 0%{top:-2px;opacity:0} 18%{opacity:1} 82%{opacity:1} 100%{top:18px;opacity:0} }

/* depositors emitter + fired pulses */
.stack-pulse { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.pball { fill: var(--cyan); filter: drop-shadow(0 0 4px var(--cyan-glow)); }
.pline { stroke: var(--line-2); stroke-width: 1.2; fill: none; }
.reach-svg .branch { display: none; }
.stack-connector::after { display: none; }
.depositors { position: relative; z-index: 3; align-self: center; display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--accent-line); border-radius: .25rem; background: linear-gradient(180deg, var(--surface-2), var(--surface)); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); box-shadow: 0 0 0 4px rgba(31,95,255,0.05), 0 10px 30px -16px rgba(31,95,255,0.7); }
.dep-ic { color: var(--cyan); display: grid; place-items: center; }
.depositors::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--cyan); opacity: 0; pointer-events: none; animation: depEmit 1.2s ease-out infinite; }
@keyframes depEmit { 0% { opacity: .3; transform: scale(1); } 60% { opacity: 0; } 100% { opacity: 0; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .depositors::after { animation: none; } }
.dep-ic svg { width: 16px; height: 16px; }
.dep-conn { height: 16px; }
@media (prefers-reduced-motion: reduce) { .stack-pulse { display: none; } }
@media (prefers-reduced-motion: reduce) { .stack-connector::after, .hero-aurora span { animation: none; } }

/* ---------- reach: execution distributes outward ---------- */
.reach { margin-top: 2px; position: relative; z-index: 5; }
.reach-nodes { position: relative; z-index: 5; display: flex; margin-top: -2px; }
.reach-svg { width: 100%; height: 54px; display: block; overflow: visible; }
.reach-svg .branch { stroke: var(--line-2); stroke-width: 1.2; }
.reach-svg .spark { fill: var(--cyan); filter: drop-shadow(0 0 4px var(--cyan-glow)); }
.reach-nodes { display: flex; margin-top: -2px; }
.rnode { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; }
.orb {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; position: relative;
  color: var(--cyan);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--accent-line);
  box-shadow: 0 0 0 4px rgba(31,95,255,0.03);
  animation: orbBreathe 4.5s ease-in-out infinite;
}
.rnode:nth-child(2) .orb { animation-delay: .5s; }
.rnode:nth-child(3) .orb { animation-delay: 1s; }
.orb svg { width: 24px; height: 24px; }
.orb::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--cyan); opacity: 0; pointer-events: none; animation: orbRadiate 3.6s ease-out infinite; }
.rnode:nth-child(1) .orb::after { animation-delay: 0.95s; }
.rnode:nth-child(2) .orb::after { animation-delay: 2.15s; }
.rnode:nth-child(3) .orb::after { animation-delay: 3.35s; }
@keyframes orbRadiate { 0% { transform: scale(1); opacity: .32; } 100% { transform: scale(1.5); opacity: 0; } }
.rnode b { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .03em; color: var(--text-dim); }
@keyframes orbBreathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(31,95,255,0.03); }
  50% { box-shadow: 0 0 0 6px rgba(31,95,255,0.015); }
}
@media (prefers-reduced-motion: reduce) { .orb, .orb::after { animation: none; } .reach-svg .spark { display: none; } }

/* ---------- trust strip (static) ---------- */
.strip { padding-block: clamp(36px, 4vw, 56px); }
.strip-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); text-align: center; margin-bottom: 32px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(26px, 4vw, 54px); }
.lg-img { width: auto; opacity: 0.78; }
.trust-div { width: 1px; height: 36px; background: var(--line-2); }
.lg-compat { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.lg-compat .compat-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; }
.lg-compat .lg-img { opacity: 0.72; }
@media (max-width: 620px) { .trust-div { display: none; } .lg-compat { align-items: center; } }

/* ---------- generic card grid ---------- */
.grid { display: grid; gap: 20px; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: background .22s ease, transform .22s ease;
  overflow: hidden;
}
.card > * { position: relative; z-index: 1; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(31,95,255,0.10), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover::before { opacity: 1; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(47,200,255,0.5), rgba(31,95,255,0.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { background: var(--surface-2); transform: translateY(-2px); }
.card:hover::after { opacity: 1; }
.card .c-ic { width: 46px; height: 46px; border-radius: .25rem; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--cyan); display: grid; place-items: center; margin-bottom: 22px; }
.card .c-ic svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: var(--t-small); line-height: 1.55; }

/* ---------- problem stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.stat { position: relative; }
.stat .stag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--neg); margin-bottom: 22px; padding: 5px 12px 5px 10px; border: 1px solid rgba(230,106,96,0.32); border-radius: .25rem; background: rgba(230,106,96,0.10); }
.stat .stag svg { width: 13px; height: 13px; }
.stat .sv { font-family: var(--mono); font-size: clamp(44px, 5vw, 66px); font-weight: 500; letter-spacing: -0.03em; color: var(--neg); line-height: 1; }
.stat .sk { margin-top: 14px; font-weight: 600; font-size: 16px; color: var(--text); }
.stat .sd { margin-top: 10px; color: var(--text-dim); font-size: var(--t-small); line-height: 1.55; }

#problem .eyebrow { color: var(--neg); }
#problem .eyebrow::before { background: linear-gradient(90deg, var(--neg), transparent); }

.fail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 54px; }
.fail { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; background: var(--bg-3); }
.fail .ftag { font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--neg); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 9px; }
.fail .ftag .x { width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.fail .ftag .x svg { width: 10px; height: 10px; }
.fail h3 { font-size: 21px; margin-bottom: 10px; }
.fail p { color: var(--text-dim); font-size: var(--t-small); line-height: 1.55; }

/* ---------- product two-col ---------- */
.prod-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prod-col { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(30px, 3vw, 46px); overflow: hidden; }
.prod-col.feature { background: linear-gradient(180deg, rgba(31,95,255,0.08), var(--surface) 58%); border-color: var(--accent-line); }
.prod-col.feature::before { content:""; position:absolute; top:-40%; right:-20%; width:340px; height:340px; background: radial-gradient(circle, rgba(47,200,255,0.18), transparent 65%); filter: blur(30px); pointer-events:none; }
.prod-col .pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; position: relative; }
.prod-col .pc-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.prod-col > h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 28px; letter-spacing: -0.02em; position: relative; }
.feat-list { display: flex; flex-direction: column; gap: 2px; position: relative; }
.feat { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.feat:first-child { border-top: none; }
.feat .fi { width: 32px; height: 32px; border-radius: .25rem; background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--cyan); margin-top: 2px; }
.feat .fi svg { width: 16px; height: 16px; }
.feat .ft { font-weight: 600; font-size: 16.5px; margin-bottom: 4px; }
.feat .fd { color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }

/* ---------- product capabilities (animated configurator) ---------- */
.caps { margin-top: 22px; }
.caps-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.caps-title { font-size: clamp(20px,2vw,28px); }
.caps-board { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: clamp(24px,3vw,40px); }
.caps-board::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(640px 360px at 80% -10%, #000, transparent 72%); mask-image: radial-gradient(640px 360px at 80% -10%, #000, transparent 72%); opacity: .5; }
.caps-board > * { position: relative; z-index: 1; }
.caps-row { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.caps-row:first-child { border-top: none; padding-top: 4px; }
.caps-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.caps-no { color: var(--cyan); font-size: 11px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: var(--radius); padding: 3px 7px; }
.caps-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.caps-items { display: flex; flex-wrap: wrap; gap: 10px; }

/* interconnected system map */
.sysmap { display: flex; flex-direction: column; align-items: stretch; }
.sys-card { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 22px clamp(20px,2.4vw,30px) 24px; box-shadow: 0 24px 60px -38px rgba(0,0,0,0.9); }
.sys-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad); opacity: .55; }
.sys-h { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.sys-ic { flex: none; width: 40px; height: 40px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--cyan); display: grid; place-items: center; }
.sys-ic svg { width: 20px; height: 20px; }
.sys-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.sys-tag { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.sys-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.sys-node { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.sys-node:hover { border-color: var(--accent-line); background: rgba(31,95,255,0.06); transform: translateY(-2px); }
.sn-ic { flex: none; width: 30px; height: 30px; border-radius: var(--radius); display: grid; place-items: center; color: var(--cyan); background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); margin-top: 1px; }
.sn-ic svg { width: 16px; height: 16px; }
.sn-tx b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.sn-tx i { font-style: normal; font-family: var(--mono); font-size: 11.5px; line-height: 1.45; color: var(--text-faint); letter-spacing: .01em; }
.sys-conn { width: 2px; height: 26px; margin: 0 auto; background: linear-gradient(var(--accent-line), var(--accent-line)); position: relative; }
.sys-conn::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan-glow); }
.capi {
  flex: 1 1 200px; min-width: 180px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 14px 16px; background: rgba(255,255,255,0.02);
  transition: color .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease, transform .35s ease;
}
.capi b { display: block; font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.capi span { font-family: var(--mono); font-size: 12.5px; color: var(--text-faint); line-height: 1.45; letter-spacing: .01em; }
.capi.active {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(31,95,255,0.18), rgba(22,200,255,0.06));
  box-shadow: 0 0 0 1px rgba(22,200,255,0.4), 0 8px 26px -10px var(--cyan-glow);
  transform: translateY(-2px);
}
.capi.active span { color: var(--cyan-soft); }

/* ---------- security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; transition: background .2s, transform .2s; overflow: hidden; }
.sec-card > * { position: relative; z-index: 1; }
.sec-card::before { content:""; position:absolute; inset:0; border-radius:inherit; z-index:0; background: radial-gradient(320px circle at var(--mx,50%) var(--my,0%), rgba(31,95,255,0.09), transparent 60%); opacity:0; transition:opacity .3s ease; }
.sec-card:hover::before { opacity: 1; }
.sec-card::after { content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; background: linear-gradient(135deg, rgba(47,200,255,0.45), rgba(31,95,255,0.06)); -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:0; transition:opacity .3s; }
.sec-card:hover { background: var(--surface-2); transform: translateY(-2px); }
.sec-card:hover::after { opacity: 1; }
.sec-card .si { width: 42px; height: 42px; border-radius: .25rem; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--cyan); display: grid; place-items: center; }
.sec-card .si svg { width: 21px; height: 21px; }
.sec-card h3 { font-size: 18px; }
.sec-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }
.sec-card .partner { margin-top: auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-faint); padding-top: 8px; }

/* ---------- comparison table ---------- */
.cmp { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.cmp-row { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.05fr; align-items: stretch; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-head { background: var(--bg-3); }
.cmp-head .ch { padding: 26px 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.cmp-head .feature-h { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.cmp-head .col-h { text-align: center; border-left: 1px solid var(--line); align-items: center; }
.cmp-head .col-h .cn { font-weight: 700; font-size: 16px; }
.cmp-head .col-h .cs { font-family: var(--mono); font-size: 11px; color: var(--text-faint); margin-top: 6px; letter-spacing: .02em; }
.cmp-head .col-h.us { background: linear-gradient(180deg, rgba(31,95,255,0.18), transparent); border-left: 1px solid var(--accent-line); }
.cmp-head .col-h.us .cn { color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.cmp-head .col-h.us .cn::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow); }
.cmp-cell { padding: 22px 26px; font-weight: 500; font-size: 15.5px; color: var(--text); display: flex; align-items: center; }
.cc-stack { display: flex; flex-direction: column; gap: 5px; }
.cc-sub { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .03em; color: var(--text-faint); text-transform: uppercase; }
.cmp-mark { padding: 18px 0; text-align: center; border-left: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.cmp-mark.us { background: rgba(31,95,255,0.06); border-left: 1px solid var(--accent-line); }
.cmp-row:not(.cmp-head):hover { background: rgba(255,255,255,0.018); }
.mk { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.mk.yes { color: #7f8ca0; }
.mk.yes svg { width: 18px; height: 18px; }
.mk.yes.strong { width: 24px; height: 24px; background: none; color: var(--cyan); }
.mk.yes.strong svg { width: 19px; height: 19px; }
.mk.no { color: #4a5260; }
.mk.no svg { width: 15px; height: 15px; }
.mk svg { width: 15px; height: 15px; }
.cmp-mark .note { font-family: var(--mono); font-size: 11px; color: var(--cyan); margin-left: 8px; }

/* ---------- opportunity band ---------- */
.market-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,40px); }
.mk-item { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.mk-item::before { content:""; position:absolute; top:-50%; right:-30%; width:240px; height:240px; background: radial-gradient(circle, rgba(31,95,255,0.14), transparent 65%); filter: blur(20px); }
.mk-item .mk-v { position: relative; font-family: var(--mono); font-size: clamp(38px,4.4vw,58px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.mk-item .mk-v .u { color: var(--cyan); }
.mk-item .mk-l { position: relative; margin-top: 14px; color: var(--text); font-size: 15.5px; line-height: 1.45; }
.mk-item .mk-s { position: relative; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); letter-spacing: .03em; }

/* ---------- use cases ---------- */
.ucase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: clamp(48px,6vw,72px); }
.ucase { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px 22px 24px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.ucase:hover { border-color: var(--accent-line); background: var(--surface-2); transform: translateY(-2px); }
.ucase h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.ucase p { font-size: 13.5px; line-height: 1.5; color: var(--text-dim); }
.uc-examples-head { margin-bottom: 26px; }
.uc-examples-head .eyebrow { margin-bottom: 14px; }
.uc-examples-head h3 { font-size: clamp(20px,2.2vw,26px); }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uc-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; transition: transform .22s ease, border-color .22s ease; }
.uc-card:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.uc-cover { position: relative; height: 150px; display: flex; align-items: flex-end; padding: 18px; overflow: hidden; background-size: cover; background-position: center; }
.uc-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(120px 90px at 80% 20%, #000, transparent 75%); mask-image: radial-gradient(120px 90px at 80% 20%, #000, transparent 75%); }
.uc-cover.oa { background: radial-gradient(420px 200px at 20% 10%, rgba(31,95,255,0.4), transparent 70%), linear-gradient(150deg, #14233f, var(--bg-3)); }
.uc-cover.cf { background: radial-gradient(420px 200px at 20% 10%, rgba(47,200,255,0.34), transparent 70%), linear-gradient(150deg, #0f2c33, var(--bg-3)); }
.uc-cover.sn { background: radial-gradient(420px 200px at 20% 10%, rgba(124,92,255,0.38), transparent 70%), linear-gradient(150deg, #221b3d, var(--bg-3)); }
.uc-cover[style]::before { display: none; }
.uc-mono { position: relative; font-family: var(--mono); font-weight: 500; font-size: clamp(16px,1.5vw,19px); letter-spacing: -0.01em; color: var(--text); white-space: nowrap; }
.uc-badge { position: absolute; top: 16px; left: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--accent-line); background: rgba(9,12,16,0.5); border-radius: .25rem; padding: 5px 11px; backdrop-filter: blur(6px); white-space: nowrap; }
.uc-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.uc-body h3 { font-size: 19px; margin-bottom: 12px; letter-spacing: -0.01em; }
.uc-body > p { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; margin-bottom: 20px; }
.uc-body > p b { color: var(--text); font-weight: 600; }
.uc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.uc-tags span { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--text-dim); border: 1px solid var(--line-2); border-radius: .25rem; padding: 5px 11px; white-space: nowrap; }
.uc-read { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--cyan); }
.uc-read svg { width: 16px; height: 16px; transition: transform .2s ease; }
.uc-card:hover .uc-read svg { transform: translateX(3px); }
.uc-soon { border: 1px dashed var(--line-2); border-radius: var(--radius-lg); display: grid; place-items: center; padding: 30px; background: rgba(255,255,255,0.012); }
.uc-soon-in { text-align: center; max-width: 280px; }
.uc-plus { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--cyan); font-size: 26px; font-weight: 300; margin-bottom: 18px; }
.uc-soon-in h3 { font-size: 18px; margin-bottom: 10px; }
.uc-soon-in p { color: var(--text-dim); font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.uc-soon-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.uc-soon-link svg { width: 15px; height: 15px; }
.uc-soon-link:hover { color: var(--cyan); }

/* ---------- collaborate (open / network) ---------- */
.collab { padding-block: clamp(40px, 6vw, 90px); border-top: 1px solid var(--line); background: #0B0D13; }
.collab-panel { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(36px,5vw,64px); background: var(--surface); }
.collab-gridbg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(520px 360px at 82% 24%, #000, transparent 80%); mask-image: radial-gradient(520px 360px at 82% 24%, #000, transparent 80%); opacity: 0.4; }
.collab-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.collab-left .eyebrow { margin-bottom: 22px; }
.collab-left h2 { font-size: clamp(32px,4vw,52px); margin-bottom: 22px; line-height: 1.05; }
.collab-lead { font-size: clamp(17px,1.5vw,21px); color: var(--text-dim); line-height: 1.55; max-width: 460px; margin-bottom: 34px; text-wrap: pretty; }
.collab-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.collab-viz { position: relative; }
.cv-svg { width: 100%; height: auto; display: block; overflow: visible; }
.cv-edges line { opacity: .5; animation: cvEdge 5s ease-in-out infinite; }
.cv-edges line:nth-child(2n) { animation-delay: 1.2s; }
.cv-edges line:nth-child(3n) { animation-delay: 2.4s; }
@keyframes cvEdge { 0%,100% { opacity: .28; } 50% { opacity: .65; } }
.cvn { fill: #11203a; stroke: var(--accent-line); stroke-width: 1.5; animation: cvNode 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.cvn.md { fill: #14294a; }
.cvn.lg { fill: var(--blue); stroke: var(--blue-bright); }
.cvn.core { fill: var(--cyan); stroke: var(--cyan-soft); filter: drop-shadow(0 0 8px var(--cyan-glow)); }
.cvn:nth-child(2n) { animation-delay: .8s; }
.cvn:nth-child(3n) { animation-delay: 1.7s; }
.cvn:nth-child(5n) { animation-delay: 2.6s; }
@keyframes cvNode { 0%,100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .cv-edges line, .cvn { animation: none; } }

/* ---------- faq ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line-2); border-radius: .25rem; background: var(--surface); overflow: hidden; transition: border-color .2s, background .2s; }
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font-size: 17px; font-weight: 600; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }
.faq-chev { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--cyan); border: 1px solid var(--accent-line); background: var(--accent-soft); transition: transform .3s ease; }
.faq-chev svg { width: 15px; height: 15px; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 24px 24px; }
.faq-a p { color: var(--text-dim); font-size: 15px; line-height: 1.6; max-width: 760px; }
.faq-item[open] .faq-a { animation: faqOpen .32s ease; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- pricing ---------- */
.free-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  border: 1px solid var(--accent-line); border-radius: var(--radius-lg); padding: clamp(28px,3.5vw,44px);
  background: radial-gradient(600px 200px at 12% 0%, rgba(31,95,255,0.16), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--bg-3));
  margin-bottom: 24px; }
.fb-text { max-width: 620px; }
.fb-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 999px; padding: 5px 12px; }
.fb-pill .d { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan-glow); animation: blip 2.6s ease-in-out infinite; }
.fb-big { font-family: var(--mono); font-weight: 500; font-size: clamp(46px, 6vw, 74px); letter-spacing: -0.04em; line-height: 1; margin: 16px 0 14px; }
.fb-big span { font-size: 0.34em; color: var(--text-dim); letter-spacing: 0; font-weight: 400; }
.fb-text p { color: var(--text-dim); font-size: var(--t-small); line-height: 1.55; max-width: 480px; }

.layer { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(26px,3vw,40px); margin-top: 20px; }
.layer-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.layer-no { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: .25rem; padding: 7px 13px; margin-top: 3px; }
.layer-no.l2 { color: var(--cyan-soft); }
.layer-titles h3 { font-size: clamp(22px,2.3vw,28px); margin-bottom: 10px; }
.beta-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--cyan); border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 999px; padding: 6px 13px; }
.beta-pill .d { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan-glow); animation: blip 2.6s ease-in-out infinite; }
.ft-head em { font-style: normal; color: var(--text-faint); text-transform: none; letter-spacing: 0; }
.layer-titles p { color: var(--text-dim); font-size: var(--t-small); line-height: 1.55; max-width: 720px; }
.layer-titles .off { color: var(--cyan); font-weight: 600; }

/* generic fee tables */
.ftable { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.ft-row { display: grid; align-items: center; }
.ftable.f3 .ft-row { grid-template-columns: 1.3fr 1fr 1.5fr; }
.ftable.f4 .ft-row { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.ft-row + .ft-row { border-top: 1px solid var(--line); }
.ft-head { background: var(--bg-3); }
.ft-head span { padding: 14px 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.ft-row span { padding: 16px 20px; }
.ft-k { font-weight: 600; font-size: 15px; }
.ft-r { font-family: var(--mono); font-size: 16px; color: var(--cyan); font-weight: 500; }
.ft-r em { color: var(--text-faint); font-style: normal; font-size: 12px; }
.ft-a { color: var(--text-dim); font-size: 14px; }
.ft-rep { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--cyan); }
.beta-divider { display: flex; align-items: center; gap: 16px; margin: 4px 0 22px; }
.beta-divider::before, .beta-divider::after { content: ""; flex: 1; height: 1px; background: var(--accent-line); }
.beta-divider span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.beta-divider span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan-glow); }
.ft-a.dim, .ft-r.dim { color: var(--text-faint); }
.liq .ft-row span + span { border-left: 1px solid var(--line); }

/* product comparison table */
.sub { margin-top: 30px; }
.sub-head { margin-bottom: 16px; }
.sub-head h4 { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.sub-head p { color: var(--text-faint); font-size: 13.5px; }
.ptable { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.pt-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center; }
.pt-row + .pt-row { border-top: 1px solid var(--line); }
.pt-head { background: var(--bg-3); }
.pt-head .pt-col { padding: 16px 14px; text-align: center; font-weight: 700; font-size: 15px; border-left: 1px solid var(--line); }
.pt-head .pt-col.mid { color: var(--text); background: rgba(31,95,255,0.10); border-left: 1px solid var(--accent-line); }
.pt-head .pt-col.mid + .pt-col { border-left: 1px solid var(--accent-line); }
.pt-feat { padding: 15px 20px; font-size: 14.5px; color: var(--text); font-weight: 500; }
.pt-v { padding: 15px 14px; text-align: center; font-family: var(--mono); font-size: 14px; color: var(--text); border-left: 1px solid var(--line); }
.pt-v.sm { font-family: var(--sans); font-size: 13.5px; color: var(--text-dim); }
.pt-v.mid { background: rgba(31,95,255,0.07); border-left: 1px solid var(--accent-line); }
.pt-v.mid + .pt-v { border-left: 1px solid var(--accent-line); }
.pt-v.free { color: var(--cyan); font-weight: 600; }
.pt-v em { color: var(--text-faint); font-style: normal; font-size: 11.5px; }
.pt-v .mk { margin: 0 auto; }

/* legal stages */
.stages { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.stage { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); padding: 24px 22px; }
.stage:nth-child(2) { border-color: var(--line); }
.st-no { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.st-name { font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.st-price { font-family: var(--mono); font-size: 14px; color: var(--text-dim); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.st-price b { font-size: 22px; color: var(--text); font-weight: 500; }
.st-price span { color: var(--text-faint); }
.stage ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.stage li { display: flex; flex-direction: column; gap: 3px; }
.stk { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.stv { font-size: 13.5px; color: var(--text-dim); line-height: 1.4; }
.stv.dim { color: var(--text-faint); }
.stv.save { color: var(--cyan); }

/* ---------- final CTA ---------- */
.cta { position: relative; overflow: hidden; border: 1px solid var(--accent-line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--bg-3)); padding: clamp(54px, 7vw, 104px) var(--gut); text-align: center; }
.cta-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(60px); opacity: 0.55; }
.cta-aurora span { position: absolute; border-radius: 50%; }
.cta-aurora .c1 { width: 480px; height: 320px; left: 50%; top: -160px; transform: translateX(-50%); background: radial-gradient(circle, var(--blue), transparent 65%); animation: drift1 20s ease-in-out infinite; }
.cta-aurora .c2 { width: 360px; height: 280px; left: 18%; bottom: -140px; background: radial-gradient(circle, var(--cyan), transparent 65%); opacity: 0.5; animation: drift2 24s ease-in-out infinite; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 20px; }
.cta .lead { margin: 0 auto 38px; max-width: 580px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 64px 40px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.foot-brand img { height: 34px; margin-bottom: 18px; }
.foot-brand p { color: var(--text-dim); font-size: 14px; max-width: 290px; line-height: 1.55; }
.foot-addr { margin-top: 16px; font-style: normal; font-size: 13px; line-height: 1.6; color: var(--text-faint); }
.foot-social { display: flex; gap: 14px; margin-top: 18px; }
.foot-social a { display: inline-grid; place-items: center; width: 22px; height: 22px; border: none; border-radius: 0; color: var(--text-faint); margin: 0; background: none; transition: color .15s, transform .15s; }
.foot-social a:hover { color: var(--text); background: none; transform: translateY(-1px); }
.foot-social svg { width: 19px; height: 19px; }
.foot-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; font-weight: 500; }
.foot-col a { display: block; color: var(--text-dim); font-size: 14.5px; margin-bottom: 11px; transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 14px; }
.foot-bottom .copy { font-size: 13px; color: var(--text-faint); }
.foot-bottom .legal { display: flex; gap: 22px; font-size: 13px; color: var(--text-faint); }
.foot-bottom .legal a:hover { color: var(--text-dim); }

/* ---------- article / case study pages ---------- */
.article { padding-top: 82px; }
.art-back { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(12,13,18,0.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.art-back .nav-inner { height: 64px; }
.art-back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); transition: color .16s; }
.art-back-link:hover { color: var(--text); }
.art-back-link svg { width: 16px; height: 16px; }

.art-hero { max-width: 820px; margin: 0 auto; padding: clamp(40px,6vw,80px) var(--gut) clamp(28px,3vw,40px); text-align: center; }
.art-cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 24px; }
.art-hero h1 { font-size: clamp(34px,5vw,60px); margin-bottom: 24px; }
.art-dek { font-size: clamp(18px,1.6vw,22px); color: var(--text-dim); line-height: 1.5; max-width: 680px; margin: 0 auto; text-wrap: pretty; }
.art-meta { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.art-meta .m { padding: 16px clamp(16px,2vw,26px); border-left: 1px solid var(--line); text-align: center; min-width: 132px; }
.art-meta .m:first-child { border-left: none; }
.art-meta .mk { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.art-meta .mv { font-size: 15px; font-weight: 600; }

.art-cover { max-width: 720px; margin: clamp(20px,3vw,44px) auto 0; height: clamp(180px,24vw,300px); border-radius: var(--radius-lg); position: relative; overflow: hidden; border: 1px solid var(--line-2); display: grid; place-items: center; background-size: cover; background-position: center; }
.art-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(420px 280px at 50% 40%, #000, transparent 78%); mask-image: radial-gradient(420px 280px at 50% 40%, #000, transparent 78%); }
.art-cover.oa { background: radial-gradient(600px 300px at 50% 0%, rgba(31,95,255,0.4), transparent 70%), linear-gradient(160deg, #14233f, var(--bg-3)); }
.art-cover.cf { background: radial-gradient(600px 300px at 50% 0%, rgba(47,200,255,0.32), transparent 70%), linear-gradient(160deg, #0f2c33, var(--bg-3)); }
.art-cover.sn { background: radial-gradient(600px 300px at 50% 0%, rgba(124,92,255,0.34), transparent 70%), linear-gradient(160deg, #221b3d, var(--bg-3)); }
.art-cover[style]::before { display: none; }
.art-cover .cover-mono { position: relative; font-family: var(--mono); font-weight: 500; font-size: clamp(26px,4vw,46px); letter-spacing: -0.02em; color: var(--text); }

.prose { max-width: 720px; margin: 0 auto; padding: clamp(44px,6vw,80px) var(--gut); }
.prose h2 { font-size: clamp(24px,2.6vw,32px); margin: 48px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 18px; line-height: 1.7; color: var(--text-dim); margin-bottom: 20px; text-wrap: pretty; }
.prose p b, .prose li b { color: var(--text); font-weight: 600; }
.prose ul { list-style: none; margin: 0 0 22px; display: flex; flex-direction: column; gap: 12px; }
.prose li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.6; color: var(--text-dim); }
.prose li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 1px; transform: rotate(45deg); background: var(--cyan); }
.prose .prose-link { color: var(--cyan); border-bottom: 1px solid var(--accent-line); }
.prose .prose-link:hover { border-bottom-color: var(--cyan); }
.prose.legal h2 { font-size: clamp(20px,2.2vw,26px); margin-top: 40px; }
.pull { margin: 40px 0; padding: 28px 32px; border-left: 2px solid var(--cyan); background: linear-gradient(90deg, rgba(31,95,255,0.07), transparent); border-radius: 0 var(--radius) var(--radius) 0; }
.pull p { font-size: clamp(20px,2vw,25px); line-height: 1.45; color: var(--text); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
.pull cite { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12.5px; font-style: normal; letter-spacing: .04em; color: var(--cyan); }
.prose-fig { margin: 36px 0; }
.prose-fig img { width: 100%; display: block; border: 1px solid var(--line-2); border-radius: var(--radius); }
.prose-fig figcaption { margin-top: 12px; font-size: 13px; color: var(--text-faint); text-align: center; }
.guide-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

.facts { max-width: 1100px; margin: 0 auto; padding: 0 var(--gut); }
.facts-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.fact { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px 24px; }
.fact .fv { font-family: var(--mono); font-size: clamp(26px,3vw,38px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.fact .fv .u { color: var(--cyan); }
.fact .fl { margin-top: 12px; font-size: 13.5px; color: var(--text-dim); line-height: 1.45; }

.art-cta { max-width: 1100px; margin: clamp(50px,6vw,90px) auto 0; padding: 0 var(--gut); }
.related { max-width: 1100px; margin: clamp(50px,6vw,80px) auto clamp(60px,7vw,100px); padding: 0 var(--gut); }
.related .rel-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 20px; }

@media (max-width: 860px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .art-meta { flex-direction: column; }
  .art-meta .m { border-left: none; border-top: 1px solid var(--line); }
  .art-meta .m:first-child { border-top: none; }
}
@media (max-width: 560px) { .facts-grid { grid-template-columns: 1fr; } }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), filter .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } }

/* ---------- premium polish ---------- */
/* hero credibility pill */
.hero-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,0.025); font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--text-dim); transition: border-color .2s ease, background .2s ease, color .2s ease; backdrop-filter: blur(6px); white-space: nowrap; }
.hero-pill:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--text); }
.hero-pill .hp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(22,200,255,0.12); animation: blip 2.6s ease-in-out infinite; }
.hero-pill .hp-sep { color: var(--text-faint); }
@media (prefers-reduced-motion: reduce) { .hero-pill .hp-dot { animation: none; } }
@media (max-width: 560px) { .hero-pill { font-size: 11px; gap: 7px; } }

/* subtle page grain for depth */
body::after { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.022; mix-blend-mode: overlay; background-image: 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='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* animated nav underline */
.nav-links a::after { content: none; }

/* anchor scroll offset so sticky nav never covers headings */
section[id], main[id] { scroll-margin-top: 92px; }

/* crisp keyboard focus states (institutional/dev polish) */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 100%; }
  .stack { max-width: 540px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 82px; left: 0; right: 0;
    background: rgba(12,13,18,0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 16px var(--gut) 24px;
  }
  .nav-links.open a { padding: 12px 0; font-size: 17px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; color: var(--text); }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 860px) {
  .g-3, .sec-grid, .stat-row, .market-grid { grid-template-columns: 1fr; }
  .g-2, .prod-cols, .fail-grid { grid-template-columns: 1fr; }
  .caps-row { grid-template-columns: 1fr; gap: 12px; }
  .uc-grid { grid-template-columns: 1fr; }
  .ucase-grid { grid-template-columns: 1fr 1fr; }
  .ptable { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ptable .pt-row { min-width: 520px; }
  .pt-v.mid, .pt-head .pt-col.mid { background: none; border-left-color: var(--line); }
  .pt-v.mid + .pt-v, .pt-head .pt-col.mid + .pt-col { border-left-color: var(--line); }
  .ftable { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ftable.f3 .ft-row { min-width: 420px; }
  .ftable.f4 .ft-row { min-width: 520px; }
  .layer-head { flex-direction: column; gap: 12px; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-left: none; border-top: 1px solid var(--line); }
  .tier:first-child { border-top: none; }
  .stages { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1.4fr 1fr 1fr 1.05fr; }
  .cmp-cell { padding: 16px; font-size: 13.5px; }
  .cmp-head .ch { padding: 18px 12px; }
  .cmp-head .col-h .cn { font-size: 13px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  :root { --t-body: 16px; }
  .foot-top { grid-template-columns: 1fr; }
  .cmp-cell .long { display: none; }
  .cmp-head .col-h .cs { display: none; }
}
