/* ==========================================================================
   AXS Systems — marketing site
   Design tokens, layout primitives, components.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink-000: #04070d;
  --ink-050: #070b14;
  --ink-100: #0b111d;
  --ink-200: #111a2a;
  --ink-300: #17233a;
  --ink-400: #1e2c47;
  --line:    #1c2942;
  --line-2:  #26375a;
  --line-soft: #16203a;

  --txt:     #e8eefc;
  --txt-2:   #a8b6d4;
  --txt-3:   #7183a6;

  --blue:    #4d8dff;
  --blue-d:  #2f6ae0;
  --blue-s:  rgba(77, 141, 255, .13);
  --cyan:    #22d3ee;
  --cyan-s:  rgba(34, 211, 238, .12);
  --violet:  #a78bfa;
  --violet-s:rgba(167, 139, 250, .12);
  --green:   #34d399;
  --green-s: rgba(52, 211, 153, .12);
  --amber:   #fbbf24;
  --amber-s: rgba(251, 191, 36, .12);
  --red:     #f87171;
  --red-s:   rgba(248, 113, 113, .12);

  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --r-xl: 22px;

  --wrap: 1200px;
  --nav-h: 66px;

  --shadow: 0 1px 2px rgba(0,0,0,.4);
  --shadow-l: 0 24px 60px -20px rgba(0,0,0,.75);
  --glow-b: 0 0 0 1px rgba(77,141,255,.35), 0 12px 40px -12px rgba(77,141,255,.45);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--txt);
  background: var(--ink-050);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.022em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.1vw, 3.55rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.35rem); letter-spacing: -.028em; }
h3 { font-size: 1.18rem; }
h4 { font-size: .98rem; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }
li { margin-bottom: .38em; }
code, kbd, samp, pre { font-family: var(--mono); font-size: .875em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

/* ---------- utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--txt-2); }
.dim { color: var(--txt-3); }
.small { font-size: .875rem; }
.xsmall { font-size: .8rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.hide { display: none !important; }
.grow { flex: 1 1 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--r-s);
  font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* gradient text */
.gt {
  background: linear-gradient(96deg, #ffffff 0%, #b9d0ff 38%, var(--cyan) 72%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.eyebrow.no-line::before { display: none; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 11, 20, .82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; color: var(--txt); font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto;
  background: linear-gradient(140deg, var(--blue) 0%, var(--cyan) 55%, var(--violet) 100%);
  display: grid; place-items: center; box-shadow: 0 0 18px -4px rgba(77,141,255,.7);
}
.brand-mark svg { width: 17px; height: 17px; }
.brand-name { color: #fff; }
.brand-sep { color: var(--txt-3); font-weight: 400; }
.brand-product { color: var(--txt-2); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  color: var(--txt-2); font-size: .9rem; font-weight: 500;
  padding: 8px 11px; border-radius: var(--r-s); white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.055); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; background: rgba(77,141,255,.16); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-s); border: 1px solid transparent;
  font-weight: 600; font-size: .93rem; line-height: 1.2; cursor: pointer;
  background: var(--ink-300); color: var(--txt); text-decoration: none;
  transition: transform .12s ease, background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 100%);
  color: #fff; box-shadow: 0 8px 24px -10px rgba(77,141,255,.9);
}
.btn-primary:hover { box-shadow: 0 12px 30px -10px rgba(77,141,255,1); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--txt); }
.btn-ghost:hover { border-color: var(--blue); color: #fff; background: var(--blue-s); }
.btn-cyan { background: linear-gradient(135deg, var(--cyan) 0%, #0ea5c4 100%); color: #04222a; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 84px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 780px; z-index: -2;
  background:
    radial-gradient(48% 42% at 22% 12%, rgba(77,141,255,.30), transparent 70%),
    radial-gradient(42% 40% at 78% 6%,  rgba(34,211,238,.22), transparent 70%),
    radial-gradient(50% 46% at 55% 30%, rgba(167,139,250,.18), transparent 72%);
  filter: blur(14px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,160,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(72% 60% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(72% 60% at 50% 30%, #000 0%, transparent 78%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-lede { font-size: 1.14rem; color: var(--txt-2); max-width: 56ch; margin-bottom: 30px; }
.hero-sub { color: var(--txt-3); font-size: .9rem; margin-top: 18px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--txt-2);
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.pill.b i { background: var(--blue); }
.pill.c i { background: var(--cyan); }
.pill.v i { background: var(--violet); }

/* hero terminal */
.term {
  background: linear-gradient(180deg, var(--ink-200), var(--ink-100));
  border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: var(--shadow-l); overflow: hidden;
  font-family: var(--mono); font-size: .805rem; line-height: 1.7;
}
.term-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: rgba(255,255,255,.028); border-bottom: 1px solid var(--line);
}
.term-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.term-bar .t { margin-left: 8px; font-size: .74rem; color: var(--txt-3); letter-spacing: .04em; }
.term-body { padding: 16px 18px 20px; overflow-x: auto; }
.term-body .ln { white-space: pre; }
.c-prompt { color: var(--cyan); }
.c-cmd { color: #fff; font-weight: 600; }
.c-ok { color: var(--green); }
.c-dim { color: var(--txt-3); }
.c-key { color: var(--violet); }
.c-val { color: var(--txt); }
.c-warn { color: var(--amber); }
.term-caret { display: inline-block; width: 8px; height: 15px; background: var(--cyan); vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 0%,49% { opacity: 1 } 50%,100% { opacity: 0 } }

/* ---------- logo strip ---------- */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,.012); padding: 22px 0; }
.strip-label { text-align: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--txt-3); margin-bottom: 16px; }
.strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.strip-item {
  font-family: var(--mono); font-size: .82rem; color: var(--txt-2);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255,255,255,.022); white-space: nowrap;
}
.strip-item:hover { border-color: var(--blue); color: #fff; text-decoration: none; }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 88px 0; }
.sec-tight { padding: 60px 0; }
.sec-alt { background: var(--ink-100); border-block: 1px solid var(--line-soft); }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--txt-2); font-size: 1.04rem; margin-bottom: 0; }
.sec-head.no-eyebrow-line .eyebrow::before { display: none; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, var(--ink-200), var(--ink-100));
  border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 26px; position: relative; overflow: hidden;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.card.hover:hover { border-color: rgba(77,141,255,.5); transform: translateY(-3px); box-shadow: var(--shadow-l); }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--txt-2); font-size: .95rem; }

.card-ico {
  width: 42px; height: 42px; border-radius: var(--r-m); display: grid; place-items: center;
  margin-bottom: 18px; border: 1px solid transparent;
}
.card-ico svg { width: 21px; height: 21px; }
.ico-blue { background: var(--blue-s); border-color: rgba(77,141,255,.3); color: var(--blue); }
.ico-cyan { background: var(--cyan-s); border-color: rgba(34,211,238,.3); color: var(--cyan); }
.ico-violet { background: var(--violet-s); border-color: rgba(167,139,250,.3); color: var(--violet); }
.ico-green { background: var(--green-s); border-color: rgba(52,211,153,.3); color: var(--green); }
.ico-amber { background: var(--amber-s); border-color: rgba(251,191,36,.3); color: var(--amber); }

.card-num {
  font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  color: var(--txt-3); margin-bottom: 12px;
}

/* feature card with accent rail */
.card-rail { padding-left: 30px; }
.card-rail::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}
.card-rail.c::before { background: linear-gradient(180deg, var(--cyan), var(--violet)); }
.card-rail.v::before { background: linear-gradient(180deg, var(--violet), #f0abfc); }
.card-rail.g::before { background: linear-gradient(180deg, var(--green), var(--cyan)); }
.card-rail.a::before { background: linear-gradient(180deg, var(--amber), var(--orange, #fb923c)); }

/* ---------- stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.stat { background: var(--ink-100); padding: 28px 24px; }
.stat-v { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 6px; }
/* The counted value stays full size — it is the headline number.
   The unit (%, s, GB) is de-emphasised. These must be separate classes:
   an earlier rule styled `.stat-v span`, which matched the value and
   inverted the whole thing, rendering "99%" as a shrunken 99 beside a
   full-size percent sign. */
.stat-v .unit { font-size: .55em; font-weight: 600; color: var(--txt-2); letter-spacing: 0; margin-left: .08em; }
.stat-v .unit-pre { margin-right: .04em; }
.stat-l { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-3); }
.stat-d { font-size: .84rem; color: var(--txt-2); margin-top: 8px; }

/* ---------- comparison table ---------- */
.tbl-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--ink-100); }
table.cmp { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 720px; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.cmp thead th {
  background: var(--ink-300); font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--txt-2);
  position: sticky; top: 0; white-space: nowrap;
}
table.cmp thead th.hl { color: var(--cyan); background: linear-gradient(180deg, rgba(34,211,238,.12), rgba(34,211,238,.05)); }
table.cmp tbody th { font-weight: 600; color: var(--txt); width: 26%; }
table.cmp td { color: var(--txt-2); }
table.cmp td.hl { color: var(--txt); background: rgba(34,211,238,.045); font-weight: 500; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover td { background: rgba(255,255,255,.018); }
.yes { color: var(--green); font-weight: 600; }
.no { color: var(--txt-3); }
.caption { font-size: .82rem; color: var(--txt-3); margin-top: 12px; }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { margin-bottom: .55em; }
.split .lead { font-size: 1.06rem; color: var(--txt-2); }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 13px; color: var(--txt-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--green-s); border: 1px solid rgba(52,211,153,.4);
}
.checks li::after {
  content: ""; position: absolute; left: 5.5px; top: 11px; width: 6px; height: 3px;
  border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green);
  transform: rotate(-45deg);
}
.checks li b, .checks li strong { color: #fff; font-weight: 650; }
.checks.x li::before { background: var(--blue-s); border-color: rgba(77,141,255,.4); }
.checks.x li::after { border-color: var(--blue); }

/* ---------- diagram ---------- */
.diagram {
  background: linear-gradient(180deg, var(--ink-200), var(--ink-050));
  border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 30px; overflow-x: auto; font-family: var(--mono); font-size: .78rem; line-height: 1.55;
  color: var(--txt-2);
}
.diagram pre { margin: 0; white-space: pre; }
.dg-box { color: #fff; }
.dg-blue { color: var(--blue); }
.dg-cyan { color: var(--cyan); }
.dg-violet { color: var(--violet); }
.dg-green { color: var(--green); }
.dg-amber { color: var(--amber); }
.dg-ok { color: var(--green); }
.dg-keyword { color: var(--violet); }
.dg-dim { color: var(--txt-3); }

/* ---------- accordion (FAQ) ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--ink-100); }
.acc details { border-bottom: 1px solid var(--line-soft); }
.acc details:last-child { border-bottom: 0; }
.acc summary {
  cursor: pointer; padding: 20px 24px 20px 56px; position: relative;
  font-weight: 600; font-size: 1rem; color: var(--txt); list-style: none;
  transition: background .14s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: rgba(255,255,255,.026); }
.acc summary::before {
  content: "?"; position: absolute; left: 22px; top: 18px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: .74rem; font-weight: 700;
  background: var(--blue-s); border: 1px solid rgba(77,141,255,.35); color: var(--blue);
}
.acc summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; margin-top: -5px;
  width: 10px; height: 10px; border-right: 2px solid var(--txt-3); border-bottom: 2px solid var(--txt-3);
  transform: rotate(45deg); transition: transform .18s;
}
.acc details[open] summary::after { transform: rotate(-135deg); }
.acc details[open] summary { color: #fff; }
.acc .acc-body { padding: 0 24px 22px 56px; color: var(--txt-2); }
.acc .acc-body p:last-child { margin-bottom: 0; }
.acc .acc-body code { background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 4px; color: var(--cyan); }
.acc .acc-body ul { margin-bottom: 0; }

.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.search-box { position: relative; flex: 1 1 300px; max-width: 420px; }
.search-box input {
  width: 100%; padding: 11px 14px 11px 40px; border-radius: var(--r-s);
  background: var(--ink-200); border: 1px solid var(--line); color: var(--txt); font-size: .93rem;
}
.search-box input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-s); }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--txt-3); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-family: var(--mono); font-size: .75rem; padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--line); background: transparent; color: var(--txt-2); cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: #fff; }
.chip[aria-pressed="true"] { background: var(--blue-s); border-color: var(--blue); color: #fff; }
.faq-count { font-family: var(--mono); font-size: .8rem; color: var(--txt-3); margin-left: auto; }

/* ---------- pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; align-items: start; }
.plan {
  background: linear-gradient(180deg, var(--ink-200), var(--ink-100));
  border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px;
  display: flex; flex-direction: column; height: 100%; position: relative;
}
.plan.featured {
  border-color: rgba(34,211,238,.45);
  box-shadow: 0 0 0 1px rgba(34,211,238,.2), 0 26px 60px -24px rgba(34,211,238,.4);
  background: linear-gradient(180deg, rgba(34,211,238,.09), var(--ink-100) 40%);
}
.plan-badge {
  position: absolute; top: -11px; left: 24px; font-family: var(--mono); font-size: .68rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px; background: var(--cyan); color: #04222a;
}
.plan-name { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.plan-desc { color: var(--txt-2); font-size: .9rem; min-height: 42px; margin-bottom: 20px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price .amt { font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price .per { color: var(--txt-3); font-size: .82rem; }
.plan-sub { font-family: var(--mono); font-size: .78rem; color: var(--txt-3); margin-bottom: 22px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1 1 auto; }
.plan ul li { position: relative; padding-left: 24px; font-size: .88rem; color: var(--txt-2); margin-bottom: 9px; }
.plan ul li::before { content: "▸"; position: absolute; left: 6px; color: var(--cyan); font-size: .8rem; }
.plan ul li.off { color: var(--txt-3); }
.plan ul li.off::before { content: "–"; color: var(--txt-3); }
.plan .btn { width: 100%; }

/* ---------- cost model ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc-panel {
  background: linear-gradient(180deg, var(--ink-200), var(--ink-100));
  border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px;
}
.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.field label .val { font-family: var(--mono); font-size: .84rem; color: var(--cyan); font-weight: 600; }
.field .hint { font-size: .78rem; color: var(--txt-3); margin-top: 6px; }
.field input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; background: transparent; height: 22px; cursor: pointer; }
.field input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--pct,50%), var(--ink-400) var(--pct,50%)); }
.field input[type="range"]::-moz-range-track { height: 5px; border-radius: 3px; background: var(--ink-400); }
.field input[type="range"]::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--blue); }
.field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; margin-top: -7px;
  background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.field input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue);
}
.field select {
  width: 100%; padding: 10px 12px; border-radius: var(--r-s);
  background: var(--ink-300); border: 1px solid var(--line); color: var(--txt); font-size: .9rem;
}
.field select:focus { border-color: var(--blue); outline: none; }

.result { background: var(--ink-050); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; }
.result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.result-row:last-of-type { border-bottom: 0; }
.result-row .k { font-size: .89rem; color: var(--txt-2); }
.result-row .k small { display: block; color: var(--txt-3); font-size: .76rem; }
.result-row .v { font-family: var(--mono); font-size: 1.02rem; font-weight: 700; white-space: nowrap; }
.result-total { margin-top: 20px; padding: 20px; border-radius: var(--r-m); background: linear-gradient(135deg, rgba(77,141,255,.14), rgba(34,211,238,.09)); border: 1px solid rgba(77,141,255,.3); }
.result-total .lbl { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-2); }
.result-total .big { font-size: 2.2rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-top: 4px; }
.result-total .sub { font-size: .8rem; color: var(--txt-2); }
.pos { color: var(--green); }
.neg { color: var(--red); }

/* ---------- forms ---------- */
.form-panel {
  background: linear-gradient(180deg, var(--ink-200), var(--ink-100));
  border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg.full { grid-column: 1 / -1; }
.fg label { font-size: .86rem; font-weight: 600; color: var(--txt); }
.fg label .req { color: var(--red); margin-left: 2px; }
.fg label .opt { color: var(--txt-3); font-weight: 400; font-size: .8rem; }
.fg input[type="text"], .fg input[type="email"], .fg input[type="tel"], .fg input[type="number"], .fg select, .fg textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-s);
  background: var(--ink-050); border: 1px solid var(--line); color: var(--txt); font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.fg textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-s);
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--txt-3); }
.fg.invalid input, .fg.invalid select, .fg.invalid textarea { border-color: var(--red); }
.fg .err { font-size: .78rem; color: var(--red); min-height: 0; }
.fg .err:empty { display: none; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--txt-2); }
.checkbox input { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; flex: 0 0 auto; }
/* Bot trap. Not `display:none` — some bots skip those, whereas a field
   positioned far off-screen with zero opacity reads as a real input to them
   while remaining invisible and unreachable by keyboard or screen reader. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-note { font-size: .8rem; color: var(--txt-3); margin-top: 14px; }
.alert { padding: 14px 18px; border-radius: var(--r-m); font-size: .9rem; margin-bottom: 20px; border: 1px solid transparent; }
.alert-ok { background: var(--green-s); border-color: rgba(52,211,153,.4); color: #a7f3d0; }
.alert-err { background: var(--red-s); border-color: rgba(248,113,113,.4); color: #fecaca; }
.alert-info { background: var(--blue-s); border-color: rgba(77,141,255,.35); color: #bfdbfe; }
.alert-warn { background: var(--amber-s); border-color: rgba(251,191,36,.4); color: #fde68a; }
.alert:empty { display: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background:
    radial-gradient(90% 140% at 12% 0%, rgba(77,141,255,.24), transparent 62%),
    radial-gradient(80% 130% at 88% 10%, rgba(34,211,238,.18), transparent 62%),
    linear-gradient(180deg, var(--ink-200), var(--ink-100));
  padding: 60px 48px; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(120,160,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120,160,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 75%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--txt-2); max-width: 60ch; margin-inline: auto; margin-bottom: 30px; }

/* ---------- timeline / roadmap ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--cyan), var(--violet)); opacity: .45; }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--ink-050); border: 2.5px solid var(--blue);
}
.tl-item.now::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 5px var(--cyan-s); }
.tl-item.future::before { border-color: var(--txt-3); }
.tl-when { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.tl-item.future .tl-when { color: var(--txt-3); }
.tl-item h4 { margin-bottom: .35em; font-size: 1.05rem; }
.tl-item p { color: var(--txt-2); font-size: .93rem; margin-bottom: 0; }

/* ---------- misc components ---------- */
.tag {
  display: inline-block; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 100px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); color: var(--txt-2);
}
.tag-b { border-color: rgba(77,141,255,.4); color: #bfdbfe; background: var(--blue-s); }
.tag-c { border-color: rgba(34,211,238,.4); color: #a5f3fc; background: var(--cyan-s); }
.tag-v { border-color: rgba(167,139,250,.4); color: #ddd6fe; background: var(--violet-s); }
.tag-g { border-color: rgba(52,211,153,.4); color: #bbf7d0; background: var(--green-s); }
.tag-a { border-color: rgba(251,191,36,.4); color: #fde68a; background: var(--amber-s); }

.note {
  border-left: 3px solid var(--amber); background: var(--amber-s);
  padding: 16px 20px; border-radius: 0 var(--r-m) var(--r-m) 0; font-size: .9rem; color: #fde68a;
}
.note.blue { border-color: var(--blue); background: var(--blue-s); color: #bfdbfe; }
.note p:last-child { margin-bottom: 0; }

.inline-code {
  display: inline-block; font-family: var(--mono); font-size: .82rem;
  background: var(--ink-300); border: 1px solid var(--line); padding: 1px 7px; border-radius: 5px; color: var(--cyan);
}

.kbd {
  font-family: var(--mono); font-size: .74rem; padding: 2px 7px; border-radius: 5px;
  background: var(--ink-300); border: 1px solid var(--line); border-bottom-width: 2px; color: var(--txt);
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-000); padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; margin-bottom: 40px; }
.footer-col h5 { font-family: var(--mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--txt-3); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--txt-2); font-size: .89rem; }
.footer-col a:hover { color: #fff; }
.footer-about p { color: var(--txt-3); font-size: .88rem; margin-top: 14px; max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--txt-3); }
.footer-bottom a { color: var(--txt-3); }
.footer-bottom a:hover { color: #fff; }
/* Trademark disambiguation. Present but deliberately quiet — "AXS" collides
   with the AXS ticketing platform and AXS TV, and a procurement team that
   finds the wrong thing when they search the vendor name is a real problem. */
.footer-note { color: var(--txt-3); opacity: .8; font-size: .76rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--ink-050); border-bottom: 1px solid var(--line); padding: 12px;
    gap: 2px; box-shadow: var(--shadow-l); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; font-size: .96rem; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: auto;
    background: transparent; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--txt); cursor: pointer;
  }
  .nav-actions .btn { display: none; }
  .split, .calc { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .sec { padding: 64px 0; }
}
@media (max-width: 680px) {
  .wrap { padding-inline: 18px; }
  .hero { padding: 56px 0 52px; }
  .g2, .g3, .g4, .g5, .plan-grid, .form-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 22px; }
  .form-panel, .calc-panel, .result { padding: 22px; }
  .diagram { padding: 20px; font-size: .7rem; }
  .acc summary { padding: 18px 18px 18px 50px; font-size: .95rem; }
  .acc summary::before { left: 18px; top: 17px; }
  .acc summary::after { right: 18px; }
  .acc .acc-body { padding: 0 18px 20px 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .btn, .hero::before, .hero::after { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .plan, .result, .calc-panel { border: 1px solid #ccc; background: #fff; }
}