/* ============================================================
   Sunaiva Core — shared design system
   Engineered & textured · dark · developer-native
   ============================================================ */

:root {
  /* surfaces */
  --bg:            #0A0A0F;
  --bg-2:          #0E0E15;
  --surface:       #12121A;
  --surface-2:     #16161F;
  --code-bg:       #1E1E2E;
  --code-bg-2:     #15151f;

  /* lines */
  --line:          rgba(232, 232, 240, 0.085);
  --line-2:        rgba(232, 232, 240, 0.14);
  --line-grid:     rgba(232, 232, 240, 0.035);

  /* text */
  --fg:            #E8E8F0;
  --fg-soft:       #C3C3D4;
  --muted:         #8A8A9E;
  --muted-2:       #62626f;

  /* brand */
  --accent:        #6B5FE0;
  --accent-bright: #8478f0;
  --accent-dim:    rgba(107, 95, 224, 0.13);
  --accent-line:   rgba(107, 95, 224, 0.45);
  --success:       #22C55E;
  --success-dim:   rgba(34, 197, 94, 0.13);
  --warning:       #F59E0B;
  --warning-dim:   rgba(245, 158, 11, 0.13);
  --danger:        #F2545B;
  --danger-dim:    rgba(242, 84, 91, 0.13);

  /* type */
  --display: "Space Grotesk", "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* metrics */
  --container: 1160px;
  --container-narrow: 800px;
  --radius: 12px;
  --radius-sm: 8px;
  --nav-h: 60px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* faint engineered grid */
  background-image:
    linear-gradient(var(--line-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
}

p { margin: 0; }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 28px;
}
.narrow { max-width: var(--container-narrow); }

.section { padding-block: 92px; position: relative; }
.section-sm { padding-block: 60px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--accent-line);
}

.lede { color: var(--fg-soft); font-size: 18px; line-height: 1.6; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 15.5px; }
.brand .mark {
  width: 21px; height: 21px;
  flex: none;
  display: block;
}
.brand b { font-weight: 600; }
.brand span { color: var(--muted); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 7px;
  transition: color .15s, background .15s;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  background: none; border: 0; font-family: inherit;
}
.nav-link:hover { color: var(--fg); background: var(--surface); }
.nav-link.active { color: var(--fg); }
.nav-spacer { flex: 1; }

.nav-cta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
  border: 1px solid var(--line-2);
  background: var(--surface);
  padding: 7px 13px;
  border-radius: 8px;
  transition: border-color .15s, background .15s;
}
.nav-cta:hover { border-color: var(--accent-line); background: var(--surface-2); }

/* dropdown */
.nav-dd { position: relative; }
.nav-dd .caret { width: 9px; height: 9px; opacity: .6; transition: transform .18s; }
.nav-dd.open .caret { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: -8px;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 7px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.7);
}
.nav-dd.open .dd-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-item { display: block; padding: 11px 12px; border-radius: 8px; transition: background .14s; }
.dd-item:hover { background: var(--surface-2); }
.dd-item .row { display: flex; align-items: center; gap: 9px; }
.dd-item .nm { font-family: var(--mono); font-size: 13.5px; color: var(--fg); font-weight: 500; }
.dd-item .desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.nav-toggle { display: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans);
  font-size: 14.5px; font-weight: 500;
  padding: 11px 18px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-bright); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--surface-2); }
.btn .arrow { transition: transform .16s; }
.btn:hover .arrow { transform: translateX(3px); }

.textlink {
  color: var(--accent-bright);
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 500;
}
.textlink .arrow { transition: transform .16s; }
.textlink:hover .arrow { transform: translateX(3px); }
.textlink:hover { color: var(--fg); }

/* contact-sales = plain text link, never a fake button */
.contact-link { color: var(--fg-soft); border-bottom: 1px dotted var(--muted-2); }
.contact-link:hover { color: var(--fg); border-bottom-color: var(--accent); }

/* ============================================================
   Code block — first-class CTA
   ============================================================ */
.codeblock {
  position: relative;
  display: flex; align-items: center;
  gap: 14px;
  font-family: var(--mono);
  background: var(--code-bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 14px 14px 14px 18px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
}
.codeblock:hover { border-color: var(--accent-line); background: var(--code-bg-2); }
.codeblock .prompt { color: var(--accent-bright); flex: none; }
.codeblock code {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  flex: 1;
}
.codeblock .copy {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 9px;
  background: rgba(255,255,255,0.02);
  transition: color .14s, border-color .14s, background .14s;
}
.codeblock:hover .copy { color: var(--fg-soft); border-color: var(--line-2); }
.codeblock .copy svg { width: 13px; height: 13px; }
.codeblock.copied { border-color: var(--success); }
.codeblock.copied .copy { color: var(--success); border-color: var(--success); }

/* hero variant — accent border, prominent */
.codeblock.hero-cta {
  border-color: var(--accent-line);
  background: var(--code-bg);
  padding: 17px 16px 17px 20px;
}
.codeblock.hero-cta code { font-size: 16.5px; }
.codeblock.hero-cta:hover { background: var(--code-bg-2); border-color: var(--accent-bright); }

.codeblock.sm { padding: 11px 11px 11px 14px; }
.codeblock.sm code { font-size: 13.5px; }
.codeblock.sm .copy { padding: 4px 7px; }

/* inline code */
code.inline {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--fg-soft);
}

/* ============================================================
   Verdict ledger — box-drawing signature motif
   ============================================================ */
.ledger {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-2);            /* dim frame + dashes */
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
  tab-size: 2;
}
.ledger .tt { color: var(--fg); font-weight: 500; letter-spacing: .04em; }
.ledger .ll { color: var(--muted); }       /* row label */
.ledger .vv { color: var(--fg-soft); }     /* row value */
.ledger .pass   { color: var(--success); }
.ledger .block  { color: var(--danger); }
.ledger .amber  { color: var(--warning); }
.ledger .accent { color: var(--accent-bright); }
@media (max-width: 720px) { .ledger { font-size: 11.5px; } }

/* semantic verdict inline tokens */
.exit { font-family: var(--mono); font-weight: 600; }
.exit.green { color: var(--success); }
.exit.amber { color: var(--warning); }
.exit.red   { color: var(--danger); }

.badge.block { color: var(--danger); background: var(--danger-dim); border-color: rgba(242,84,91,.30); }
.badge.block .dot { background: var(--danger); }

/* ============================================================
   Badges
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid transparent;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; }
.badge.live { color: var(--success); background: var(--success-dim); border-color: rgba(34,197,94,.28); }
.badge.live .dot { background: var(--success); box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: pulse 2.4s infinite; }
.badge.early { color: var(--accent-bright); background: var(--accent-dim); border-color: rgba(107,95,224,.32); }
.badge.early .dot { background: var(--accent-bright); }
.badge.roadmap { color: var(--muted); background: rgba(255,255,255,0.035); border-color: var(--line); font-weight: 400; }
.badge.roadmap .dot { background: var(--muted-2); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, border-color .2s, background .2s;
}
.card.lift:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }

/* product ladder card */
.pcard { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.pcard .pcard-top { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pcard .pcard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard .pkg { font-family: var(--mono); font-size: 14px; color: var(--fg); font-weight: 500; }
.pcard h3 { font-size: 19px; }
.pcard .one { color: var(--fg-soft); font-size: 14.5px; line-height: 1.55; }
.pcard .spec {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  line-height: 1.7; letter-spacing: -0.01em;
  padding-top: 4px;
}
.pcard .pcard-foot {
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg-2);
}

/* ============================================================
   Notice / callout (▎ blocks)
   ============================================================ */
.notice {
  position: relative;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--fg-soft);
  line-height: 1.6;
}
.notice.warn { border-left-color: var(--warning); }
.notice strong { color: var(--fg); font-weight: 600; }
.notice .ntitle { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }

/* feature / step list */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { display: flex; gap: 18px; padding: 18px 22px; background: var(--surface); align-items: flex-start; }
.step .num {
  counter-increment: step;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  color: var(--accent-bright);
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  width: 28px; height: 28px; flex: none;
  display: grid; place-items: center;
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step .stxt { font-size: 14.5px; color: var(--fg-soft); line-height: 1.55; padding-top: 3px; }
.step .stxt b { color: var(--fg); font-weight: 600; }

/* generic feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); padding: 20px;
}
.feat .ftitle { font-size: 15px; font-weight: 600; margin-bottom: 7px; display:flex; align-items:center; gap:9px; }
.feat .ftitle .fi { color: var(--accent-bright); font-family: var(--mono); font-size: 12px; }
.feat p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ============================================================
   Pricing table
   ============================================================ */
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.ptable th, .ptable td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; background: var(--bg-2);
}
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover td { background: rgba(255,255,255,0.018); }
.ptable .tier { font-weight: 600; color: var(--fg); white-space: nowrap; }
.ptable .price { font-family: var(--mono); color: var(--fg); white-space: nowrap; }
.ptable .price .per { color: var(--muted); font-size: 12px; }
.ptable .free { color: var(--success); }
.ptable .annual { font-family: var(--mono); color: var(--fg-soft); white-space: nowrap; }
.ptable td.get { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.ptable .dash { color: var(--muted-2); }

/* founder-rate pricing (60-day launch offer) */
.ptable .price .founder { color: var(--accent-bright); font-weight: 600; }
.ptable .price .reg { color: var(--muted-2); text-decoration: line-through; font-size: 12px; margin-left: 6px; }
.founder-badge {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--accent-bright); background: var(--accent-dim);
  border: 1px solid var(--accent-line); padding: 2px 7px; border-radius: 4px; margin-top: 7px;
}
.ptable td .upgrade-btn {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: #fff;
  background: var(--accent); border: 1px solid var(--accent); border-radius: 8px;
  padding: 7px 14px; transition: background .15s;
}
.ptable td .upgrade-btn:hover { background: var(--accent-bright); }
.ptable td .upgrade-btn .arrow { transition: transform .16s; }
.ptable td .upgrade-btn:hover .arrow { transform: translateX(3px); }

/* dashboard showcase */
.dash-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.dash-showcase .shot {
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: 0 8px 30px rgba(0,0,0,.28);
}
.dash-showcase .shot img { display: block; width: 100%; height: auto; }
.dash-showcase.single { grid-template-columns: 1fr; max-width: 720px; }
@media (max-width: 760px) { .dash-showcase { grid-template-columns: 1fr; } }

/* pricing toggle */
.pricing-toggle { display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--line-2); border-radius: 100px; padding: 3px; background: var(--surface); }
.pricing-toggle button {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 7px 16px; border-radius: 100px; transition: color .15s, background .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.pricing-toggle button.active { color: var(--fg); background: var(--surface-2); border: 1px solid var(--line-2); padding: 6px 15px; }
.pricing-toggle .save { font-family: var(--mono); font-size: 10.5px; color: var(--success); background: var(--success-dim); padding: 2px 6px; border-radius: 4px; }

/* ============================================================
   Forms
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--fg-soft); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, .textarea {
  font-family: var(--sans); font-size: 15px; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.input.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.err-msg { color: #f87171; font-size: 12.5px; display: none; }
.err-msg.show { display: block; }

.checks { display: flex; flex-direction: column; gap: 10px; }
.check {
  display: flex; gap: 13px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 16px; cursor: pointer; background: var(--surface);
  transition: border-color .15s, background .15s;
}
.check:hover { border-color: var(--line-2); }
.check.checked { border-color: var(--accent-line); background: var(--accent-dim); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  width: 19px; height: 19px; flex: none; margin-top: 1px;
  border: 1.5px solid var(--line-2); border-radius: 5px;
  display: grid; place-items: center; transition: border-color .15s, background .15s;
}
.check.checked .box { background: var(--accent); border-color: var(--accent); }
.check .box svg { width: 12px; height: 12px; opacity: 0; transition: opacity .12s; }
.check.checked .box svg { opacity: 1; }
.check .ctxt { display: flex; flex-direction: column; gap: 2px; }
.check .ctxt .ct { font-size: 14.5px; font-weight: 500; color: var(--fg); }
.check .ctxt .cd { font-size: 12.5px; color: var(--muted); }

.form-success {
  display: none;
  border: 1px solid var(--success); background: var(--success-dim);
  border-radius: var(--radius); padding: 26px; text-align: center;
}
.form-success.show { display: block; animation: rise .4s ease; }
.form-success .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--success); display: grid; place-items: center; margin: 0 auto 14px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 44px; margin-top: 40px; background: var(--bg-2); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding-inline: 28px; display: flex; flex-direction: column; gap: 26px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--muted); transition: color .14s; }
.footer-links a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-tag { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .01em; }
.footer-copy { font-size: 12.5px; color: var(--muted-2); }

/* ============================================================
   Page hero / headers
   ============================================================ */
.page-head { padding-block: 64px 30px; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); }
.page-head .lede { margin-top: 18px; max-width: 660px; }

.prod-head { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.prod-head .ph-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.prod-head .pkg { font-family: var(--mono); font-size: 14px; color: var(--accent-bright); }
.prod-head h1 { font-size: clamp(28px, 4vw, 42px); max-width: 760px; }

/* prose for legal pages */
.prose { max-width: var(--container-narrow); }
.prose h2 { font-size: 22px; margin-top: 44px; margin-bottom: 14px; }
.prose h3 { font-size: 16px; margin-top: 26px; margin-bottom: 8px; color: var(--fg-soft); }
.prose p { color: var(--fg-soft); margin-bottom: 14px; font-size: 15px; }
.prose ul { color: var(--fg-soft); margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; font-size: 15px; }
.prose a { color: var(--accent-bright); border-bottom: 1px dotted var(--accent-line); }
.prose .updated { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* section eyebrow header block */
.shead { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; max-width: 720px; }
.shead h2 { font-size: clamp(24px, 3.2vw, 34px); }
.shead p { color: var(--muted); font-size: 16px; }

/* small meta row */
.metarow { display:flex; flex-wrap:wrap; gap: 10px 26px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.metarow .mk { color: var(--muted-2); }
.metarow b { color: var(--fg-soft); font-weight: 500; }

/* status page */
.status-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; border:1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; }
.status-row .sname { display:flex; align-items:center; gap:11px; font-size:14.5px; }
.status-row .sname .ep { font-family: var(--mono); font-size:12.5px; color:var(--muted); }
.status-op { color: var(--success); font-family: var(--mono); font-size:12.5px; display:flex; align-items:center; gap:8px; }

/* ============================================================
   Responsive
   ============================================================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line-2);
    padding: 12px; margin: 0;
  }
  .nav-links.mobile-open .nav-link { padding: 12px; border-radius: 8px; }
  .nav-links.mobile-open .dd-panel { position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; width:100%; border:0; padding: 4px 0 4px 14px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
}
@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .grid-4, .grid-2, .feat-grid { grid-template-columns: 1fr; }
  .container { padding-inline: 20px; }
  .ptable { font-size: 13px; }
  .ptable th, .ptable td { padding: 12px 12px; }
  .ptable .get { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* utility */
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.row { display: flex; align-items: center; }
.wrap { flex-wrap: wrap; }
.mt-8{margin-top:8px} .mt-16{margin-top:16px} .mt-24{margin-top:24px} .mt-32{margin-top:32px} .mt-40{margin-top:40px} .mt-48{margin-top:48px}
.center { text-align: center; }
.maxw-680 { max-width: 680px; }
