/* ══════════════════════════════════════════════════════════
   Cloud Industry — hosting platform
   Minimal, precise, engineered. One accent (ultramarine);
   green is reserved for operational-status semantics only.
   Display: Geist (heavy weights) · Body: Switzer · Data: JetBrains Mono
   ══════════════════════════════════════════════════════════ */

:root {
  --font-display: "Geist", "Switzer", system-ui, sans-serif;
  --font-body: "Switzer", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --bg: #f6f7f9;
  --bg-alt: #eef0f4;
  --panel: #ffffff;
  --ink: #0b1220;
  --muted: #5b6478;
  --hairline: #e3e7ee;
  --accent: #2547f4;
  --accent-ink: #ffffff;
  --accent-soft: rgba(37, 71, 244, 0.08);
  --status: #10b981;
  --status-soft: rgba(16, 185, 129, 0.12);
  --term-bg: #0b1220;
  --term-ink: #d7deec;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 12px 32px -16px rgba(11, 18, 32, 0.18);

  --container: 1440px;
  --radius: 14px;
  --nav-h: 68px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a0e19;
  --bg-alt: #0e1424;
  --panel: #111828;
  --ink: #e8ecf4;
  --muted: #8b94a8;
  --hairline: #1e2740;
  --accent: #6079ff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(96, 121, 255, 0.12);
  --status: #2dd4a0;
  --status-soft: rgba(45, 212, 160, 0.14);
  --term-bg: #0d1322;
  --term-ink: #ccd5e8;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ── reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.gsap-on { scroll-behavior: auto; } /* Lenis handles it */
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}
.container--narrow { max-width: 780px; }

/* Geist carries strength through weight and tight tracking */
:is(.hero__title, .section__title, .cta__title, .guarantee__title,
    .plan__name, .proof__item b, .support__stat b, .ledger__value,
    .plan__price b) {
  font-weight: 900;
  letter-spacing: -0.035em;
}

/* ── status dot (semantic green — operational only) ───── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 99px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.status-pill:hover { border-color: var(--status); color: var(--ink); }
.status-pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--status);
  box-shadow: 0 0 0 3px var(--status-soft);
  flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--status-soft); }
  50% { box-shadow: 0 0 0 6px var(--status-soft); }
}

/* ── nav ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }
.nav__inner {
  /* nav runs edge-to-edge: brand hugs the left, actions hug the right */
  width: calc(100% - 3rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}
.nav__logo-mark {
  margin-right: 0.45rem;
  color: var(--accent-ink);
  background: var(--accent);
  width: 26px; height: 26px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
}
.nav__logo-accent { color: var(--accent); }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(15deg); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 49;
  background: var(--panel);
  border-bottom: 1px solid var(--hairline);
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  font-size: 1.05rem;
}
.mobile-menu.is-open { display: flex; }

/* ── buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, var(--ink));
  border-color: color-mix(in srgb, var(--accent) 88%, var(--ink));
}
.btn--ghost { background: transparent; }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.88rem; }
.btn--big { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--full { width: 100%; }
.btn__arrow { transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── hero: full-viewport, cinematic dark in both themes ──
   Drop a Midjourney render at assets/hero-bg.jpg and it becomes the
   backdrop; without the file the ink + ultramarine glow layers show. */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  border-bottom: 1px solid var(--hairline);
  color: #e8ecf4;
  background:
    linear-gradient(to bottom, rgba(11, 18, 32, 0.62), rgba(11, 18, 32, 0.88)),
    url("../assets/hero-bg.png") center / cover no-repeat,
    radial-gradient(1000px 560px at 82% 10%, rgba(37, 71, 244, 0.32), transparent 70%),
    #0b1220;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #9aa5bb;
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.2vw, 5.6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero__title em { font-style: normal; color: #7d93ff; }
.section__title em, .cta__title em, .guarantee__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
  color: #a7b0c4;
  max-width: 38rem;
  margin-bottom: 2rem;
}
.hero__sub strong { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.1rem; }
.hero .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.hero .btn--ghost:hover { border-color: #7d93ff; }
.hero__assure {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #8b94a8;
  letter-spacing: 0.02em;
}

/* ── terminal (signature) ──────────────────────────────── */
.term {
  background: var(--term-bg);
  color: var(--term-ink);
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: var(--font-mono);
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  color: rgba(215, 222, 236, 0.55);
}
.term__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.term__bar span { margin-left: 0.5rem; }
.term__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--status);
  font-size: 0.7rem;
}
.term__body {
  padding: 1.3rem 1.3rem 0.9rem;
  min-height: 178px;
  font-size: 0.83rem;
  line-height: 1.9;
}
.term__body p { white-space: pre-wrap; word-break: break-word; }
.t-prompt { color: var(--status); }
.t-ok { color: var(--status); }
.t-dim { color: rgba(215, 222, 236, 0.5); }
.t-cursor { animation: blink 1s steps(1) infinite; color: var(--term-ink); }
@keyframes blink { 50% { opacity: 0; } }
.term__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.term__metric {
  padding: 0.9rem 1.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.term__metric:last-child { border-right: 0; }
.term__metric b {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.term__metric b i { font-style: normal; font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.term__metric small {
  font-size: 0.66rem;
  color: rgba(215, 222, 236, 0.5);
  letter-spacing: 0.03em;
}

/* ── stack panel (Tetra Cloud platform page) ───────────── */
.stack {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.2rem;
}
.stack__layer {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  position: relative;
}
.stack__layer--accent { border-color: var(--accent); background: rgba(96, 121, 255, 0.08); }
.stack__layer + .stack__layer::before {
  content: "▲▼";
  position: absolute;
  top: -1.05rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: rgba(215, 222, 236, 0.4);
}
.stack__tag {
  font-size: 0.64rem;
  color: rgba(215, 222, 236, 0.5);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.15rem;
}
.stack__layer b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
}
.stack__layer small {
  font-size: 0.68rem;
  color: rgba(215, 222, 236, 0.55);
  line-height: 1.5;
}

/* ── console mockup (Tetra Host page) ──────────────────── */
.console__body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 216px;
}
.console__side {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 1rem 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
}
.console__side span {
  padding: 0.4rem 0.6rem;
  border-radius: 7px;
  color: rgba(215, 222, 236, 0.55);
}
.console__side span.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.console__main { padding: 1rem 1.2rem; }
.console__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.console__kpi {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  padding: 0.6rem 0.75rem;
}
.console__kpi b {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.console__kpi b i { font-style: normal; font-size: 0.7rem; color: rgba(255, 255, 255, 0.6); }
.console__kpi small { font-size: 0.62rem; color: rgba(215, 222, 236, 0.5); }
.console__rows { font-size: 0.76rem; line-height: 2.1; }
.console__rows .t-ok { font-size: 0.6rem; vertical-align: 1px; }
@media (max-width: 560px) {
  .console__body { grid-template-columns: 1fr; }
  .console__side {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
}

/* ── proof: uptime ledger + stats ──────────────────────── */
.proof { border-bottom: 1px solid var(--hairline); background: var(--bg); }
.ledger { padding: 3rem 0 2.4rem; }
.ledger__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.ledger__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.ledger__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--status);
  font-variant-numeric: tabular-nums;
}
.ledger__ticks {
  display: flex;
  gap: 3px;
  height: 30px;
  align-items: flex-end;
}
.ledger__tick {
  flex: 1;
  height: 100%;
  border-radius: 2px;
  background: var(--status);
  opacity: 0.85;
  transform-origin: bottom;
  transition: opacity 0.2s ease;
}
.ledger__tick:hover { opacity: 1; }
.ledger__tick--warn { background: #f0a72b; }
@media (prefers-reduced-motion: no-preference) {
  .ledger__tick {
    transform: scaleY(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  }
  .ledger__ticks.is-on .ledger__tick { transform: scaleY(1); }
}
.ledger__d30 { display: none; }
.ledger__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 620px;
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
}
.proof__item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--hairline);
}
.proof__item:first-child { padding-left: 0; }
.proof__item:last-child { border-right: 0; }
.proof__item b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.proof__item small { color: var(--muted); font-size: 0.82rem; }

/* ── sections ──────────────────────────────────────────── */
.section { padding: clamp(6rem, 9vw, 9rem) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--hairline); }
.section__head { max-width: 760px; margin-bottom: clamp(3rem, 4vw, 4.5rem); }
.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section__sub { color: var(--muted); font-size: 1.02rem; }

/* ── services grid ─────────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.services--3 { grid-template-columns: repeat(3, 1fr); }
.svc {
  background: var(--panel);
  padding: 1.8rem 1.6rem;
  position: relative;
  transition: background 0.25s ease;
}
.svc::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.svc:hover::after { transform: scaleX(1); }
.svc:hover { background: color-mix(in srgb, var(--panel) 96%, var(--accent)); }
.svc__id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 1.1rem;
}
.svc h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
}
.svc p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.svc__spec { list-style: none; }
.svc__spec li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  padding: 0.32rem 0;
  border-top: 1px dashed var(--hairline);
}
.svc__spec li::before { content: "— "; color: var(--accent); }

/* ── migration steps ───────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.step {
  padding-top: 1.4rem;
  border-top: 2px solid var(--hairline);
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 44px; height: 2px;
  background: var(--accent);
}
.step__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.8rem;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.step p { color: var(--muted); font-size: 0.95rem; }
.steps__note {
  margin-top: 2.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── billing toggle ────────────────────────────────────── */
.billing {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: 99px;
  background: var(--panel);
  margin-bottom: 2.6rem;
}
.billing__opt {
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.billing__opt em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--status);
  margin-left: 0.35rem;
}
.billing__opt.is-active {
  background: var(--ink);
  color: var(--bg);
}
.billing__opt.is-active em { color: var(--status); }

/* ── pricing plans ─────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--hot {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  padding-top: 3rem;
}
.plan__badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 99px;
}
.plan__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.plan__for { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.4rem; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}
.plan__was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}
.plan__price b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan__price b::before { content: "$"; font-size: 1.3rem; vertical-align: 0.5em; margin-right: 1px; }
.plan__per { color: var(--muted); font-size: 0.9rem; }
.plan__feat { list-style: none; margin-top: 1.5rem; }
.plan__feat li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem;
  position: relative;
}
.plan__feat li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--status);
  font-weight: 700;
}
.plans__note {
  margin-top: 2.4rem;
  max-width: 620px;
  color: var(--muted);
  font-size: 0.9rem;
}
.plans__note strong { color: var(--ink); }

/* ── support ───────────────────────────────────────────── */
.support__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.support__channels { list-style: none; margin-top: 2rem; }
.support__channels li {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--hairline);
}
.support__channels b {
  font-family: var(--font-display);
  font-weight: 700;
  min-width: 90px;
}
.support__channels span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.support__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.support__stat {
  background: var(--panel);
  padding: 1.8rem 1.5rem;
}
.support__stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.support__stat small { color: var(--muted); font-size: 0.8rem; }

/* ── testimonials ──────────────────────────────────────── */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.quote {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.quote blockquote {
  font-size: 0.98rem;
  line-height: 1.65;
}
.quote blockquote::before {
  content: "“ ";
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
}
.quote figcaption { margin-top: auto; }
.quote figcaption b { display: block; font-size: 0.9rem; }
.quote figcaption span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

/* ── guarantee band ────────────────────────────────────── */
.guarantee {
  border-block: 1px solid var(--hairline);
  background:
    radial-gradient(600px 300px at 12% 50%, var(--accent-soft), transparent 70%),
    var(--bg);
  padding: 4.5rem 0;
}
.guarantee__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
}
.guarantee__seal {
  width: 108px; height: 108px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
}
.guarantee__seal small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.guarantee__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.guarantee__sub { color: var(--muted); font-size: 0.98rem; max-width: 44rem; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq__item {
  border-bottom: 1px solid var(--hairline);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex: none;
  width: 28px; height: 28px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  color: var(--accent);
  border-color: var(--accent);
}
.faq__item p {
  padding: 0 3rem 1.4rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── CTA ───────────────────────────────────────────────── */
.cta { padding: 6.5rem 0; }
.cta__card {
  background: var(--term-bg);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  background-image: radial-gradient(600px 300px at 50% -20%, rgba(96, 121, 255, 0.25), transparent 70%);
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
}
.cta__title em { color: #8fa2ff; font-style: normal; }
.cta__sub {
  color: rgba(232, 236, 244, 0.72);
  max-width: 36rem;
  margin: 0 auto 2.2rem;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.cta__card .btn--ghost { border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.cta__card .btn--ghost:hover { border-color: #8fa2ff; }
.cta__card .hero__assure { color: rgba(232, 236, 244, 0.55); }

/* ── footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 4rem 0 2rem;
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; }
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem !important;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer__col a {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.28rem 0;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer__top:hover { color: var(--ink); }

/* ── reveal (IntersectionObserver fallback path) ───────── */
@media (prefers-reduced-motion: no-preference) {
  html:not(.gsap-on) .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  html:not(.gsap-on) .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

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

/* ── responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__panel { max-width: 560px; }
  .support__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav .status-pill, .nav .btn, .nav .theme-toggle { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--hot { order: -1; }
  .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__item { padding: 1.5rem 1rem; }
  .proof__item:nth-child(2n) { border-right: 0; }
  .proof__item:nth-child(-n + 2) { border-bottom: 1px solid var(--hairline); }
  .proof__item:first-child { padding-left: 1rem; }
  .guarantee__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 2rem; }
  .support__stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  /* narrow screens show the last 30 days so each bar stays legible */
  .ledger__tick:nth-child(-n + 60) { display: none; }
  .ledger__d90 { display: none; }
  .ledger__d30 { display: inline; }
  .section { padding: 4.5rem 0; }
  .services { grid-template-columns: 1fr; }
  .support__stats { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .term__metrics { grid-template-columns: 1fr 1fr; }
  .term__metric:nth-child(3) { border-top: 1px solid rgba(255, 255, 255, 0.07); grid-column: span 2; }
  .faq__item p { padding-right: 0; }
}
