/* ============================================================
   OpenBITS — marketing site
   Design system + layout. Self-contained, no build step.
   ============================================================ */

:root {
  /* Palette */
  --bg:        #070b16;
  --bg-2:      #0a0f1f;
  --bg-3:      #0d1326;
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border:    rgba(255, 255, 255, 0.09);
  --border-2:  rgba(255, 255, 255, 0.16);

  --text:      #e8ebf5;
  --muted:     #97a0b8;
  --faint:     #6b7490;

  --indigo:    #6366f1;
  --blue:      #3b82f6;
  --cyan:      #22d3ee;
  --green:     #34d399;
  --amber:     #f5b54a;

  --grad-brand: linear-gradient(120deg, #6366f1 0%, #3b82f6 50%, #22d3ee 100%);
  --grad-green: linear-gradient(120deg, #34d399 0%, #22d3ee 100%);

  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1180px;
  --shadow:    0 18px 50px -20px rgba(0, 0, 0, 0.7);
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:      'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

html:lang(zh-Hant) {
  --font: 'Inter', 'Noto Sans TC', 'PingFang HK', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --mono: 'JetBrains Mono', 'Noto Sans TC', 'PingFang HK', 'Microsoft JhengHei', monospace;
}
html:lang(zh-Hans) {
  --font: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: 'JetBrains Mono', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', monospace;
}
html:lang(zh) body { line-height: 1.75; }
html:lang(zh) .eyebrow, html:lang(zh) .ctl-kicker, html:lang(zh) .product .badge { letter-spacing: 0.04em; }
html:lang(zh) .ctl-node p { font-style: normal; }
html:lang(zh) h1 .grad-text, html:lang(zh) h2 .grad-text, html:lang(zh) h2 .green-text { white-space: nowrap; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

/* Ambient background glows */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(620px 420px at 12% -5%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(560px 420px at 92% 4%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(700px 560px at 70% 100%, rgba(52, 211, 153, 0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h2.section-title { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); margin-bottom: 12px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 720px; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.green-text { background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 11px; font-weight: 600; font-size: 0.96rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(59, 130, 246, 0.8); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--cyan); transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }

/* ---------- 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.scrolled { background: rgba(7, 11, 22, 0.82); backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; }
.brand .logo { width: 32px; height: 32px; }
.brand .wordmark b { color: #4f86ff; font-weight: 700; }
.foot-brand .tagline { color: var(--muted); font-size: 0.82rem; font-style: italic; margin-bottom: 8px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 0.93rem; font-weight: 500; transition: color .15s ease; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-switch a {
  color: var(--muted); font-size: 0.86rem; font-weight: 500; line-height: 1;
  padding: 7px 9px; border: 1px solid transparent; border-radius: 8px; transition: color .15s ease, border-color .15s ease;
}
.lang-switch a:hover { color: var(--text); border-color: var(--border-2); }
.lang-switch a.is-active { color: var(--text); border-color: var(--border-2); background: var(--surface); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Nav dropdown (Insights) ---------- */
.nav-dd { position: relative; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 0.93rem; font-weight: 500; cursor: pointer; transition: color .15s ease; }
.nav-dd-toggle:hover { color: var(--text); }
.nav-dd-toggle .caret { width: 13px; height: 13px; transition: transform .2s ease; }
.nav-dd:hover .nav-dd-toggle .caret { transform: rotate(180deg); }
/* invisible hover bridge so the menu doesn't close in the gap */
.nav-dd::after { content: ''; position: absolute; top: 100%; left: -20px; right: -20px; height: 18px; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 290px; background: rgba(13, 19, 38, 0.97); backdrop-filter: blur(14px);
  border: 1px solid var(--border-2); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease; z-index: 120;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dd-menu a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--text); transition: background .15s ease; }
.nav-dd-menu a:hover { background: var(--surface-2); }
.nav-dd-menu a b { display: block; font-size: 0.92rem; font-weight: 600; }
.nav-dd-menu a span { display: block; font-size: 0.79rem; color: var(--muted); font-weight: 400; }
.nav-dd-menu .nav-dd-all { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 12px; color: var(--cyan); font-weight: 600; font-size: 0.86rem; }

/* ---------- Hero ---------- */
.hero { padding: 120px 0 56px; position: relative; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 75%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero.solo .container { display: block; max-width: 760px; }
.hero-copy { padding-top: 0; }
.hero h1 { font-size: clamp(2rem, 3.8vw, 3.05rem); margin-bottom: 14px; }
.hero .lead { margin-bottom: 20px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero.solo .lead { margin-bottom: 0; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; background: var(--surface);
}
.hero-pill em {
  font-style: normal; font-family: var(--mono); font-size: 0.7rem;
  color: var(--cyan); letter-spacing: 0.08em;
}

.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.boundary-col {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 22px 20px;
}
.boundary-col.is-ob {
  border-color: rgba(59,130,246,0.45);
  background: linear-gradient(180deg, rgba(59,130,246,0.12), rgba(255,255,255,0.02));
}
.boundary-col h3 { font-size: 1.12rem; margin-bottom: 14px; }
.boundary-col ul { list-style: none; display: grid; gap: 10px; }
.boundary-col li {
  color: var(--muted); font-size: 0.92rem; padding-left: 16px; position: relative;
}
.boundary-col li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  transform: translateY(-50%);
}
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--faint); font-size: 0.84rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .tick { color: var(--green); }

/* Hero visual: control-plane diagram */
.ctl-flow { display: flex; flex-direction: column; align-items: stretch; max-width: 420px; margin-left: auto; }
.ctl-node {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  padding: 10px 14px; box-shadow: var(--shadow);
}
.ctl-kicker {
  display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; font-weight: 600;
}
.ctl-node p { color: var(--muted); font-size: 0.88rem; font-style: italic; }
.ctl-node.is-ai { border-color: rgba(99,102,241,0.4); }
.ctl-node.is-ob { border-color: rgba(59,130,246,0.5); background: linear-gradient(180deg, rgba(59,130,246,0.1), rgba(255,255,255,0.02)); }
.ctl-node.is-sys { border-color: rgba(34,211,238,0.32); }
.ctl-node.is-evi { border-color: rgba(52,211,153,0.4); background: linear-gradient(180deg, rgba(52,211,153,0.08), rgba(255,255,255,0.015)); }
.ctl-node.is-ob .ctl-kicker { color: #93c5fd; }
.ctl-node.is-evi .ctl-kicker { color: var(--green); }
.ctl-node.is-evi p { font-style: normal; color: var(--text); font-weight: 600; font-size: 0.92rem; }
.ctl-node ul { list-style: none; display: grid; gap: 3px; }
.ctl-node li { font-size: 0.84rem; color: var(--muted); padding-left: 18px; position: relative; }
.ctl-node li.ok::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-size: 0.78rem; }
.ctl-node li.hold::before { content: '◷'; position: absolute; left: 0; color: #fbbf24; font-size: 0.78rem; }
.ctl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ctl-tags span {
  font-family: var(--mono); font-size: 0.7rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 8px;
}
.ctl-pipe {
  width: 2px; height: 12px; margin: 0 auto;
  background: linear-gradient(180deg, var(--border-2), rgba(59,130,246,0.5));
  position: relative;
}
.ctl-pipe.labeled { height: 28px; }
.ctl-pipe.labeled span {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.04em; color: var(--faint);
}

/* ---------- Chips ---------- */
.chip {
  font-family: var(--mono); font-size: 0.84rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; background: var(--surface);
}

/* ---------- Section frame ---------- */
section { padding: 64px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.bg-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 22px; transition: transform .22s ease, border-color .22s ease, background .22s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--grad-brand); }
.card .ico.green { background: var(--grad-green); }
.card .ico svg { width: 23px; height: 23px; color: #fff; }
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Insights cards ---------- */
.insight { display: flex; flex-direction: column; gap: 12px; }
.insight:hover { color: inherit; }
.insight .insight-cat {
  align-self: flex-start; font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; background: var(--surface);
}
.insight h3 { font-size: 1.14rem; margin: 0; }
.insight p { flex: 1 1 auto; margin: 0; }
.insight .insight-link { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); font-weight: 600; font-size: 0.9rem; margin-top: 4px; }
.insight .insight-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.insight:hover .insight-link svg { transform: translateX(4px); }

/* ---------- Article (insights detail) ---------- */
.article { padding: 128px 0 84px; }
.article .container { max-width: 768px; }
.article-back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.88rem; font-weight: 500; margin-bottom: 22px; transition: color .15s ease; }
.article-back:hover { color: var(--cyan); }
.article-back svg { width: 16px; height: 16px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--faint); font-size: 0.82rem; margin-bottom: 12px; }
.article-meta .cat { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; background: var(--surface); }
.article h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 6px 0 16px; }
.article > .container > .lead { margin-bottom: 8px; }
.article-body { margin-top: 30px; }
.article-body h2 { font-size: 1.45rem; margin: 36px 0 12px; }
.article-body h3 { font-size: 1.12rem; margin: 24px 0 8px; color: var(--text); }
.article-body p { color: var(--muted); font-size: 1rem; margin-bottom: 16px; }
.article-body ul { list-style: none; display: grid; gap: 10px; margin: 0 0 20px; padding: 0; }
.article-body ul li {
  display: block;
  list-style: none;
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.55;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-brand);
  transform: translateY(-50%);
}
.article-body blockquote {
  margin: 22px 0; padding: 18px 22px; border-left: 3px solid var(--cyan);
  background: var(--surface); border-radius: 0 12px 12px 0;
  color: var(--text); font-size: 1.05rem; font-weight: 600; line-height: 1.5;
}
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--cyan); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.article-body a.btn-primary { color: #fff; font-weight: 600; text-decoration: none; }
.article-body .callout { border: 1px solid var(--border-2); border-left: 3px solid var(--cyan); border-radius: 12px; background: var(--surface); padding: 18px 20px; margin: 22px 0; color: var(--text); font-size: 0.97rem; }
.article-body .code-card { margin: 24px 0; }
.article-cta { border: 1px solid var(--border-2); border-radius: var(--radius-lg); background: var(--bg-3); padding: 30px; margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.article-cta h3 { font-size: 1.2rem; margin-bottom: 4px; }
.article-cta p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Problem stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.stat { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 30px 26px; }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.stat .lbl { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

#problem { padding: 48px 0; }
.problem-split {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: stretch;
}
.problem-split .section-head { max-width: none; margin-bottom: 0; }
.problem-split .lead { max-width: none; }
.q-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden; height: 100%;
}
.q-card {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 10px 18px; border-bottom: 1px solid var(--border);
}
.q-card:last-child { border-bottom: 0; }
.q-card h3 { font-size: 0.9rem; margin-bottom: 2px; }
.q-card p { color: var(--muted); font-size: 0.8rem; line-height: 1.4; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.panel {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
}
.panel.bad { background: linear-gradient(180deg, rgba(245, 99, 99, 0.06), transparent); border-color: rgba(245,99,99,0.22); }
.panel.good { background: linear-gradient(180deg, rgba(52, 211, 153, 0.07), transparent); border-color: rgba(52,211,153,0.28); }
.panel h3 { font-size: 1.06rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.panel ul { list-style: none; display: grid; gap: 13px; }
.panel li { display: flex; gap: 11px; color: var(--muted); font-size: 0.94rem; }
.panel li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.panel.bad li svg { color: #f56363; }
.panel.good li svg { color: var(--green); }

/* ---------- Workflow steps ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.flow.six { grid-template-columns: repeat(3, 1fr); }
.flow.six .flow-step:nth-child(3) .arrow { display: none; }
.flow-step { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 16px 16px; position: relative; }
.flow-step .n {
  font-family: var(--mono); font-size: 0.8rem; color: var(--bg);
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--grad-brand); font-weight: 700; margin-bottom: 10px;
}
.flow-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 0.9rem; }
.flow-step .arrow { position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--faint); z-index: 2; }
.flow-step:last-child .arrow { display: none; }

/* ---------- Product suite ---------- */
.product {
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
  padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .22s ease, border-color .22s ease;
  position: relative; overflow: hidden; color: inherit; text-decoration: none;
}
.product::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); opacity: 0; transition: opacity .25s ease;
}
.product:hover { transform: translateY(-5px); border-color: var(--border-2); }
.product:hover::after { opacity: 1; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.product-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); }
.product-ico svg { width: 26px; height: 26px; }
.product .tag { font-family: var(--mono); font-size: 0.72rem; color: var(--cyan); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }
.product h3 { font-size: 1.3rem; }
.product .role { color: var(--faint); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-top: -8px; }
.product p { color: var(--muted); font-size: 0.94rem; }
.product .product-line { color: var(--text); font-weight: 600; font-size: 1rem; }
.product .badge {
  align-self: flex-start; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cyan); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 11px; background: var(--surface-2);
}
.product .feats { list-style: none; display: grid; gap: 9px; margin-top: 2px; }
.product .feats li { display: flex; gap: 9px; font-size: 0.88rem; color: var(--muted); }
.product .feats li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ---------- Platform architecture stack ---------- */
.arch-stack { display: flex; flex-direction: column; align-items: stretch; max-width: 640px; margin: 0 auto; }
.arch-box {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 14px 18px; text-align: center;
}
.arch-box.is-ai { border-color: rgba(99,102,241,0.4); }
.arch-box.is-ob {
  border-color: rgba(59,130,246,0.5);
  background: linear-gradient(180deg, rgba(59,130,246,0.12), rgba(255,255,255,0.02));
}
.arch-box.is-sys { border-color: rgba(34,211,238,0.32); }
.arch-box.is-interop { border-style: dashed; border-color: rgba(34,211,238,0.28); padding: 14px 22px; }
.arch-box p { color: var(--muted); font-size: 0.86rem; }
.arch-box.is-interop .ctl-kicker { margin-bottom: 0; color: var(--muted); }
.arch-plane { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin: 2px 0 10px; text-align: left; }
.arch-plane span { font-size: 0.88rem; color: var(--text); padding: 6px 8px; }
.arch-underlay {
  border-top: 1px solid var(--border); padding-top: 12px; margin-top: 2px;
  font-size: 0.8rem !important; letter-spacing: 0.02em;
}
.arch-v {
  width: 2px; height: 12px; margin: 0 auto;
  background: linear-gradient(180deg, var(--border-2), rgba(59,130,246,0.45));
}
.arch-v.labeled { height: 32px; position: relative; }
.arch-v.labeled span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint);
  background: var(--bg-2); padding: 0 10px;
}
.arch-note a { color: var(--cyan); font-weight: 600; }

/* ---------- Architecture (legacy layers) ---------- */
.arch { display: grid; gap: 10px; max-width: 920px; margin: 0 auto; }
.arch-layer {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px;
  background: var(--surface); display: flex; align-items: center; gap: 18px; transition: border-color .2s ease, background .2s ease;
}
.arch-layer:hover { border-color: var(--border-2); background: var(--surface-2); }
.arch-layer .lyr-label { font-weight: 600; font-size: 0.98rem; min-width: 210px; display: flex; align-items: center; gap: 11px; }
.arch-layer .lyr-label svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; }
.arch-layer .lyr-desc { color: var(--muted); font-size: 0.87rem; }
.arch-layer.accent-ai { border-color: rgba(99,102,241,0.34); background: linear-gradient(90deg, rgba(99,102,241,0.08), transparent); }
.arch-layer.accent-tee { border-color: rgba(34,211,238,0.32); background: linear-gradient(90deg, rgba(34,211,238,0.07), transparent); }
.arch-layer.accent-evi { border-color: rgba(52,211,153,0.30); background: linear-gradient(90deg, rgba(52,211,153,0.07), transparent); }
.arch-layer.accent-opt { border-style: dashed; border-color: rgba(34,211,238,0.28); background: linear-gradient(90deg, rgba(34,211,238,0.05), transparent); }
.arch-note { text-align: center; color: var(--faint); font-size: 0.86rem; margin-top: 22px; }
.research-note {
  text-align: center; color: var(--faint); font-size: 0.82rem; line-height: 1.55;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border);
}
.research-note a { color: var(--cyan); font-weight: 600; }

/* ---------- Guardrails (split feature) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rules { display: grid; gap: 14px; }
.rules.cols-2 { grid-template-columns: 1fr 1fr; }
.feature .rules { display: grid; gap: 14px; }
.rule { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: var(--surface); display: flex; gap: 13px; align-items: flex-start; }
.rule .badge { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 6px; flex-shrink: 0; margin-top: 2px; }
.rule.can .badge { background: rgba(52,211,153,0.15); color: var(--green); border: 1px solid rgba(52,211,153,0.3); }
.rule.cant .badge { background: rgba(245,99,99,0.13); color: #f56363; border: 1px solid rgba(245,99,99,0.3); }
.rule p { font-size: 0.9rem; color: var(--muted); }
.rule p b { color: var(--text); font-weight: 600; }

.feature-list { display: grid; gap: 20px; }
.fl-item { display: flex; gap: 15px; }
.fl-item .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); flex-shrink: 0; }
.fl-item .ico svg { width: 21px; height: 21px; color: var(--cyan); }
.fl-item h4 { font-size: 1.04rem; margin-bottom: 4px; }
.fl-item p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Comparison table ---------- */
.compare { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 16px 20px; font-size: 0.92rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); background: var(--bg-3); }
.compare thead th.hl { color: var(--cyan); }
.compare td:first-child { font-weight: 600; color: var(--text); width: 24%; }
.compare td.muted { color: var(--muted); }
.compare td.win { color: var(--text); }
.compare td.win::before { content: '✓ '; color: var(--green); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.compare .colhl { background: rgba(99,102,241,0.05); }

/* ---------- Evidence pack code ---------- */
.evi-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.code-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #060a14; box-shadow: var(--shadow); }
.code-head { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--bg-3); }
.code-head .dot3 { width: 11px; height: 11px; border-radius: 50%; }
.code-head .d1 { background: #f56363; } .code-head .d2 { background: #f5b54a; } .code-head .d3 { background: #34d399; }
.code-head .fname { font-family: var(--mono); font-size: 0.78rem; color: var(--faint); margin-left: 8px; }
.code-card pre { padding: 20px; overflow-x: auto; font-family: var(--mono); font-size: 0.8rem; line-height: 1.7; }
.code-card .k { color: #c4b5fd; } .code-card .s { color: #6ee7b7; } .code-card .n { color: #7dd3fc; } .code-card .c { color: var(--faint); }
.evi-list { display: grid; gap: 14px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.advisor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.person { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 26px; display: flex; gap: 18px; align-items: flex-start; transition: border-color .2s ease, transform .2s ease; }
.person:hover { border-color: var(--border-2); transform: translateY(-3px); }
.avatar { width: 58px; height: 58px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; font-size: 1.25rem; color: #fff; background: var(--grad-brand); letter-spacing: -0.02em; }
.person.adv .avatar { background: linear-gradient(120deg, #475569, #334155); }
.person .name { font-size: 1.1rem; font-weight: 700; }
.person .title { color: var(--cyan); font-size: 0.84rem; font-weight: 600; margin-bottom: 8px; }
.person.adv .title { color: var(--amber); }
.person .bio { color: var(--muted); font-size: 0.88rem; }
.socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.socials a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.79rem; font-weight: 600; color: var(--muted);
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}
.socials a svg { width: 14px; height: 14px; }
.socials a:hover { color: var(--text); border-color: var(--cyan); background: var(--surface-2); transform: translateY(-1px); }

/* ---------- CTA / Pilot ---------- */
.cta {
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(99,102,241,0.18), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(34,211,238,0.12), transparent 60%),
    var(--bg-3);
  padding: 56px; text-align: center; position: relative; overflow: hidden;
}
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.cta .lead { margin: 0 auto 18px; }
.pilot-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 30px; }
.pilot-meta .chip { background: var(--surface); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.form { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-2);
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 0.94rem; transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--faint); margin-top: 6px; }
.contact-side .ci { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-side .ci .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); flex-shrink: 0; }
.contact-side .ci .ico svg { width: 19px; height: 19px; color: var(--cyan); }
.contact-side .ci h4 { font-size: 0.98rem; }
.contact-side .ci p, .contact-side .ci a { color: var(--muted); font-size: 0.9rem; }
.contact-side .ci a:hover { color: var(--cyan); }

/* ---------- Form success ---------- */
.form-success {
  border: 1px solid rgba(52,211,153,0.3); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(52,211,153,0.08), transparent);
  padding: 36px 30px; text-align: center;
}
.form-success .success-ico {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; background: var(--grad-green); color: #06281e;
}
.form-success .success-ico svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.25rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 0.92rem; }
.form-success a { color: var(--cyan); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 7, 14, 0.72); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
  animation: fadeIn .2s ease;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 460px;
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  background: var(--bg-3); padding: 34px; box-shadow: var(--shadow);
  animation: popIn .24s cubic-bezier(.2,.8,.2,1);
}
.modal .field input { background: var(--bg); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border-radius: 9px; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: color .15s ease, border-color .15s ease;
}
.modal-close:hover { color: var(--text); border-color: var(--border-2); }
.modal-close svg { width: 18px; height: 18px; }
.modal .form-success { padding: 20px 6px 6px; border: 0; background: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 56px 0 36px; background: var(--bg-2); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--muted); font-size: 0.9rem; max-width: 300px; }
.foot-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; transition: color .15s ease; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom p { color: var(--faint); font-size: 0.82rem; }
.disclaimer { color: var(--faint); font-size: 0.78rem; line-height: 1.7; margin-top: 18px; max-width: 100%; }

/* ---------- Distribution surfaces ---------- */
.how-attest { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--border); }
.surfaces-map { display: flex; flex-direction: column; align-items: center; margin-top: 36px; }
.sf-node { width: 100%; max-width: 600px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-align: center; padding: 16px 22px; }
.sf-kicker { display: block; font-weight: 700; color: var(--text); font-size: 1rem; }
.sf-sub { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 3px; }
.sf-pipe { width: 2px; height: 26px; background: linear-gradient(var(--border-2), var(--cyan)); }
.sf-trust { border-color: var(--border-2); background: linear-gradient(180deg, rgba(34,211,238,0.07), rgba(255,255,255,0.02)); box-shadow: 0 0 44px rgba(34,211,238,0.08); }
.sf-trust-head { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; }
.sf-trust-head h3 { font-size: 1.18rem; margin: 0; }
.sf-trust-head p { color: var(--muted); font-size: 0.86rem; margin: 2px 0 0; }
.sf-trust-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.sf-trust-tags span { font-family: var(--mono); font-size: 0.73rem; color: var(--cyan); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; background: var(--bg); }
.sf-ico { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--surface-2); }
.sf-ico svg { width: 22px; height: 22px; }
.sf-ico.ai { color: #818cf8; } .sf-ico.web3 { color: var(--cyan); } .sf-ico.evi { color: var(--green); }
.sf-fork { width: 50%; max-width: 440px; height: 24px; display: flex; }
.sf-fork span { flex: 1; border-top: 2px solid var(--cyan); }
.sf-fork span:first-child { border-left: 2px solid var(--cyan); border-top-left-radius: 12px; }
.sf-fork span:last-child { border-right: 2px solid var(--cyan); border-top-right-radius: 12px; }
.sf-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.sf-channel { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 24px; transition: border-color .15s ease, transform .15s ease; }
.sf-channel:hover { border-color: var(--border-2); transform: translateY(-3px); }
.sf-channel.ch-ai { border-top: 2px solid rgba(129,140,248,0.6); }
.sf-channel.ch-web3 { border-top: 2px solid rgba(34,211,238,0.6); }
.sf-ch-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.sf-ch-top h4 { font-size: 1.05rem; margin: 0; }
.sf-ch-role { color: var(--muted); font-size: 0.8rem; font-family: var(--mono); margin-top: 2px; }
.sf-channel > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; }
.sf-channel ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sf-channel li { position: relative; padding-left: 20px; color: var(--text); font-size: 0.88rem; }
.sf-channel li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.sf-channel.ch-ai li::before { background: #818cf8; }
.sf-channel code { font-family: var(--mono); font-size: 0.84em; color: var(--cyan); background: var(--bg); padding: 1px 5px; border-radius: 5px; }
.sf-stage { display: inline-block; margin-top: 16px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }
.sf-stage.live { color: var(--green); border-color: rgba(52,211,153,0.4); }
.sf-continuity { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 820px; margin-top: 24px; padding: 20px 24px; border: 1px solid rgba(52,211,153,0.28); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(52,211,153,0.06), rgba(255,255,255,0.015)); }
.sf-continuity p { color: var(--muted); font-size: 0.95rem; }
.sf-continuity strong { color: var(--text); }

/* ---------- Platform capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.cap {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  padding: 22px 20px;
}
.cap h3 { font-size: 1.02rem; margin-bottom: 8px; }
.cap p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Why OpenBITS ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.why-item {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  padding: 16px 14px; height: 100%;
}
.why-item h3 { font-size: 0.95rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.84rem; }

.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.uc {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 16px 18px; color: inherit; text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.uc:hover { transform: translateY(-2px); border-color: var(--border-2); background: var(--surface-2); }
.uc h3 { font-size: 0.98rem; margin-bottom: 6px; }
.uc p { color: var(--muted); font-size: 0.84rem; margin: 0; line-height: 1.5; }
.uc .uc-kicker {
  display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; font-weight: 600;
}
.uc.is-perspective { border-color: rgba(34,211,238,0.28); }

/* ---------- Open by design ---------- */
.open-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.open-col {
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
  padding: 22px 20px; height: 100%;
}
.open-col h3 { font-size: 1.12rem; margin-bottom: 14px; letter-spacing: -0.01em; }
.open-item { padding: 10px 0; border-top: 1px solid var(--border); }
.open-item:first-of-type { border-top: 0; padding-top: 0; }
.open-item h4 { font-size: 0.98rem; margin-bottom: 6px; }
.open-item p { color: var(--muted); font-size: 0.9rem; }
.open-close { text-align: center; max-width: 720px; margin: 28px auto 0; }
.open-close h3 { font-size: 1.45rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.open-close p { color: var(--muted); font-size: 0.98rem; margin-bottom: 10px; }
.open-close strong { color: var(--text); }
.open-close .open-line { color: var(--text); font-weight: 600; margin-top: 8px; }

/* ---------- One rail, many workflows ---------- */
.rail-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.rail-tag { display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 15px 22px; min-width: 215px; color: var(--text); font-weight: 600; font-size: 0.98rem; transition: border-color .15s ease, transform .15s ease; }
a.rail-tag:hover { border-color: var(--cyan); transform: translateY(-3px); }
.rail-tag span { color: var(--muted); font-size: 0.8rem; font-weight: 400; font-family: var(--mono); }
.rail-tag.rail-more { color: var(--muted); align-items: center; justify-content: center; border-style: dashed; min-width: 150px; }

/* ---------- Insights subheads + use-case role ---------- */
.insights-subhead { text-align: center; margin: 30px 0 18px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.uc-role { display: inline-block; margin-left: 8px; font-size: 0.72rem; font-weight: 500; font-family: var(--mono); color: var(--muted); vertical-align: middle; }

/* ---------- Section tagline banner ---------- */
.tagline-banner { text-align: center; max-width: 880px; margin: 24px auto 0; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.32; letter-spacing: -0.01em; color: var(--text); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .rules.cols-2 { grid-template-columns: 1fr; }
  .problem-split { grid-template-columns: 1fr; gap: 28px; }
  .hero .container { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: 0; max-width: 100%; margin: 0; }
  .ctl-flow { margin: 0; max-width: 100%; }
  .cols-3, .cols-4, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .flow, .flow.six { grid-template-columns: repeat(2, 1fr); }
  .flow-step .arrow { display: none; }
  .feature, .evi-wrap, .contact-wrap, .split, .open-pair, .boundary-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-grid, .advisor-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(7,11,22,0.97); backdrop-filter: blur(14px); padding: 22px 24px; gap: 18px;
    border-bottom: 1px solid var(--border); align-items: flex-start;
  }
  /* Dropdown becomes an inline, always-open group on mobile */
  .nav-dd { width: 100%; }
  .nav-dd::after { display: none; }
  .nav-dd-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; background: none; backdrop-filter: none; border: 0; box-shadow: none;
    padding: 10px 0 0; margin-top: 10px;
  }
  .nav-dd-toggle .caret { display: none; }
  .nav-dd-menu a { padding: 8px 0; }
}
@media (max-width: 720px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  section { padding: 48px 0; }
  .cols-2, .cols-3, .cols-4, .stat-row, .flow, .flow.six, .team-grid, .rules.cols-2, .cap-grid, .why-grid, .open-pair, .uc-grid { grid-template-columns: 1fr; }
  .sf-channels { grid-template-columns: 1fr; }
  .sf-fork { display: none; }
  .sf-continuity { flex-direction: column; text-align: center; }
  .stat-row { gap: 14px; }
  .cta { padding: 36px 22px; }
  .foot-top { grid-template-columns: 1fr; }
  .hero { padding: 96px 0 40px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .nav-cta .btn-ghost { display: none; }
  .ctl-pipe.labeled span { display: none; }
  .code-card pre { font-size: 0.7rem; padding: 14px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .product { padding: 18px 16px; }
  .disclaimer { font-size: 0.72rem; }
}
