/* ==========================================================================
   Pulse — home.css
   Hand-written stylesheet for home.html (no Tailwind)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --brand: #004fff;
  --brand-hover: #0046e6;
  --brand-deep: #0b3fd1;
  --brand-soft: #e6eeff;
  --brand-soft-2: #edf3ff;
  --ink: #0b1224;
  --ink-2: #1e293b;
  --muted: #5b6478;
  --line: #e5e9f2;
  --bg: #ffffff;
  --bg-tint: #f6f9ff;
  --bg-stone: #fafaf9;
  --ok: #047857;
  --ok-bg: #ecfdf5;
  --teal: #5eead4;
  --dark: #0b1020;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-card: 0 0 0 1.5px rgb(15 40 100 / 0.07), 0 2px 4px rgb(15 40 100 / 0.04), 0 20px 40px -22px rgb(15 40 100 / 0.22);
  --shadow-brand: 0 18px 36px -12px rgb(0 79 255 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.25);
  --shadow-pop: 0 22px 48px -18px rgb(8 32 110 / 0.38), 0 2px 6px rgb(8 32 110 / 0.08);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 68px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, blockquote, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
main:focus { outline: none; }

/* Inline icon helper: every small stroke icon */
.btn svg, .cta-arrow svg, .url svg, .side-stats svg, .hero-checks svg, .feature-link svg, .ribbon svg,
.step-icon svg, .text-link-teal svg, .copy-btn svg, .terminal-log svg, .glass-icon svg,
.uc-icon svg, .faq-icon svg, .compare summary svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.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: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.15s, box-shadow 0.15s, transform 0.15s var(--ease), color 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; transition: transform 0.15s; }
.btn:hover svg { transform: translateX(2px); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-lg { height: 58px; padding: 0 28px; font-size: 19px; border-radius: 18px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-hover); }

.btn-soft { background: var(--brand-soft-2); color: #0b1b4d; }
.btn-soft:hover { background: #dfeaff; }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--bg-tint); }

.btn-white { background: #fff; color: var(--brand); box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.35); }
.btn-white:hover { background: #eef4ff; }

.btn-outline-light {
  background: rgb(2 8 40 / 0.3);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgb(2 8 40 / 0.5); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.25s, box-shadow 0.25s, backdrop-filter 0.25s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: #fff;
  transition: color 0.25s;
}
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgb(0 40 160 / 0.35)); }
.brand-dot { color: var(--teal); }
.is-scrolled .brand, .is-open .brand { color: var(--ink); }
.is-scrolled .brand-dot, .is-open .brand-dot { color: var(--brand); }

.nav { display: none; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.92);
  transition: background-color 0.15s, color 0.15s;
}
.nav a:hover { background: rgb(255 255 255 / 0.16); color: #fff; }
.is-scrolled .nav a { color: var(--ink-2); }
.is-scrolled .nav a:hover { background: var(--brand-soft-2); color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.link-login {
  display: none;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  border-radius: 10px;
}
.link-login:hover { background: rgb(255 255 255 / 0.16); }
.is-scrolled .link-login { color: var(--ink); }
.is-scrolled .link-login:hover { background: var(--brand-soft-2); }

.header-actions .btn-primary { display: none; }

.menu-toggle {
  width: 42px; height: 42px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 0; border-radius: 12px;
  background: rgb(255 255 255 / 0.2);
}
.menu-toggle span {
  width: 18px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform 0.2s, opacity 0.2s, background-color 0.2s;
}
.is-scrolled .menu-toggle, .is-open .menu-toggle { background: var(--brand-soft-2); }
.is-scrolled .menu-toggle span, .is-open .menu-toggle span { background: var(--ink); }
.is-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.is-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 20px 20px;
  background: #fff;
  box-shadow: 0 24px 40px -20px rgb(15 23 42 / 0.25);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a {
  padding: 14px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

@media (min-width: 960px) {
  .nav { display: flex; }
  .link-login { display: inline-flex; }
  .header-actions .btn-primary { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (min-width: 560px) and (max-width: 959px) {
  .header-actions .btn-primary { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 48px;
  text-align: center;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #1f74f7;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pulse-dot {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
}
.pulse-dot::after {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: #4ade80;
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.8); opacity: 0; } }

.hero-title {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 940px;
  font-size: clamp(34px, 6.4vw, 70px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.hero-title-line { text-shadow: 0 2px 22px rgb(6 40 140 / 0.35); }
.hero-title-pill-wrap { position: relative; display: inline-block; margin-top: 10px; }
.hero-title-pill {
  display: inline-block;
  padding: 2px 20px 10px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 40px -12px rgb(8 32 110 / 0.4);
}
.hero-swirl { position: absolute; pointer-events: none; display: none; }
.hero-swirl-left { right: 100%; top: 50%; width: 190px; height: 110px; transform: translateY(-46%); }
.hero-swirl-right { left: 100%; bottom: 14%; width: 200px; height: 100px; }
@media (min-width: 1100px) { .hero-swirl { display: block; } }

.hero-lead {
  margin-top: 22px;
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgb(255 255 255 / 0.94);
  text-shadow: 0 1px 14px rgb(6 40 140 / 0.35);
}

/* Hero actions (primary focus) */
.hero-actions {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-tray {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 640px) {
  .cta-tray { width: auto; max-width: none; flex-direction: row; gap: 12px; }
}

.cta-main,
.cta-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s, box-shadow 0.18s;
}
.cta-main:active, .cta-alt:active { transform: scale(0.97); }
.cta-main:focus-visible, .cta-alt:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 16px; }

/* Primary: rotating light border */
@property --cta-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

.cta-main {
  --cta-light: conic-gradient(
    from var(--cta-angle, 0deg),
    transparent 0deg,
    transparent 220deg,
    rgb(147 197 253 / 0.45) 280deg,
    #ffffff 328deg,
    #7dd3fc 344deg,
    transparent 360deg
  );
  position: relative;
  isolation: isolate;
  padding: 0 8px 0 24px;
  color: #fff;
  box-shadow: 0 12px 26px -10px rgb(0 79 255 / 0.7);
  animation: cta-spin 3.2s linear infinite;
}

/* Button fill + faint base edge */
.cta-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, #2a6bff 0%, #004fff 60%, #0046e6 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18), inset 0 1px 0 rgb(255 255 255 / 0.3);
  transition: background 0.18s;
}

/* The crisp moving line on the edge */
.cta-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--cta-light);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* Soft halo that follows the line outside the button */
.cta-glow {
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: var(--cta-light);
  filter: blur(8px);
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 0.2s;
}

.cta-main:hover { transform: translateY(-1px); }
.cta-main:hover::before { background: linear-gradient(180deg, #1f60f5 0%, #0046e6 60%, #003dcc 100%); }
.cta-main:hover .cta-glow { opacity: 1; }

@keyframes cta-spin {
  to { --cta-angle: 360deg; }
}

.cta-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  color: var(--brand);
}
.cta-arrow svg { width: 18px; height: 18px; stroke-width: 2.6; transition: transform 0.18s var(--ease); }
.cta-main:hover .cta-arrow svg { transform: translateX(2px); }

/* Secondary */
.cta-alt {
  padding: 0 22px 0 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px -14px rgb(8 32 110 / 0.45), 0 0 0 1px rgb(15 23 42 / 0.06);
}
.cta-alt:hover { transform: translateY(-1px); background: #f5f8ff; }
.cta-play {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background-color 0.18s, color 0.18s;
}
.cta-play svg { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; stroke: none; }
.cta-alt:hover .cta-play { background: var(--brand); color: #fff; }

/* Browser preview */
.preview-frame {
  margin-top: 44px;
  width: 100%;
  max-width: 820px;
  padding: 10px;
  border-radius: 30px;
  background: rgb(255 255 255 / 0.55);
  box-shadow: 0 30px 70px -24px rgb(8 32 110 / 0.45), inset 0 0 0 1.5px rgb(255 255 255 / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.preview-window {
  display: grid;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 1px 3px rgb(8 32 110 / 0.12);
}
@media (min-width: 768px) { .preview-window { grid-template-columns: minmax(0, 1fr) 240px; } }

.preview-main { padding: 14px 18px 18px; min-width: 0; }
@media (min-width: 640px) { .preview-main { padding: 14px 24px 22px; } }

.preview-bar { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f1f5f9;
  box-shadow: inset 0 0 0 1px #e2e8f0;
  font-size: 13.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
}
.url svg { width: 14px; height: 14px; color: #475569; stroke-width: 2.6; }
.url b { color: var(--ink); font-weight: 500; }

.preview-head {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.preview-kicker { font-size: 14px; font-weight: 600; color: var(--muted); }
.preview-metric { margin-top: 2px; display: flex; align-items: baseline; gap: 8px; }
.preview-metric strong {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.preview-metric span { font-size: 14px; color: var(--muted); }

.live-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: #fef2f2; color: #b91c1c;
  font-size: 12.5px; font-weight: 700;
}
.live-chip i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.preview-chart { margin-top: 14px; }
.preview-chart svg { width: 100%; height: 130px; overflow: visible; }
.chart-grid line { stroke: #eef2f7; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-line {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.6;
  stroke-linecap: round;
}
#chart-area { transition: d 0.6s var(--ease); }
.chart-axis {
  display: flex; justify-content: space-between;
  margin-top: 6px;
  font-family: var(--mono); font-size: 11px; color: #94a3b8;
}

.preview-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) { .preview-side { border-top: 0; border-left: 1px solid var(--line); padding: 22px; } }

.status-chip {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--ok-bg); color: var(--ok);
  font-size: 14px; font-weight: 600;
}
.status-chip i { width: 8px; height: 8px; border-radius: 50%; background: #10b981; }

.side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 768px) { .side-stats { grid-template-columns: 1fr; gap: 14px; } }
.side-stats li {
  display: grid;
  grid-template-columns: 22px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
}
.side-stats svg { grid-row: span 2; width: 22px; height: 22px; color: var(--brand); }
.side-stats span { font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.side-stats b { font-size: 15.5px; font-variant-numeric: tabular-nums; line-height: 1.3; }
.ok { color: var(--ok); }

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 10px rgb(6 40 140 / 0.45);
}
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg {
  width: 20px; height: 20px; padding: 3px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.25);
  color: #fff;
  stroke-width: 3.2;
}

/* ---------- Workloads strip ---------- */
.workloads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-block: 12px 40px;
}
.workloads p {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.workloads ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.workloads li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-tint);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- Sections (shared) ---------- */
.section { position: relative; padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 104px; } }
.section-tint { background: var(--bg-tint); overflow: hidden; isolation: isolate; }
.section-stone { background: var(--bg-stone); border-top: 1px solid var(--line); }

.blob { position: absolute; z-index: -1; border-radius: 50%; background: #e7efff; }
.blob-a { width: 480px; height: 480px; top: -200px; left: -180px; }
.blob-b { width: 540px; height: 540px; top: -260px; right: -160px; }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.section-head.center { margin-inline: auto; align-items: center; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.section-head p:not(.eyebrow) { font-size: 17px; color: var(--muted); text-wrap: pretty; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.section-head.light h2 { color: #fff; text-shadow: 0 2px 20px rgb(8 24 64 / 0.4); }
.section-head.light p:not(.eyebrow) { color: rgb(255 255 255 / 0.85); }
.section-head.light .eyebrow { color: #93c5fd; }

/* ---------- Platform / feature cards ---------- */
.feature-grid {
  margin-top: 48px;
  display: grid;
  gap: 28px 22px;
}
@media (min-width: 860px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 12px 12px 20px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px rgb(15 40 100 / 0.07), 0 30px 50px -24px rgb(0 60 200 / 0.3); }
.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
}
.feature-card.is-featured {
  background: linear-gradient(to bottom, #f1f6ff, #fff 55%);
  box-shadow: 0 0 0 2px var(--brand), 0 24px 48px -20px rgb(0 79 255 / 0.35);
}
.feature-card.is-featured img { mix-blend-mode: multiply; }

.ribbon {
  position: absolute;
  top: 0;
  left: 18px;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 14px -4px rgb(0 79 255 / 0.5);
}
.ribbon svg { width: 15px; height: 15px; fill: currentColor; stroke-width: 1.5; }

.feature-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 14px 10px 0; }
.feature-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.feature-title-row h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.feature-body > p { font-size: 16px; color: var(--muted); }

.tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.tag-solid { background: var(--brand); color: #fff; }

.feature-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--brand-soft-2);
  color: #0b1b4d;
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color 0.15s;
}
.feature-link:hover { background: #dfeaff; }
.feature-link svg { width: 16px; height: 16px; color: var(--brand); stroke-width: 2.6; transition: transform 0.15s; }
.feature-link:hover svg { transform: translateX(3px); }

/* ---------- How it works ---------- */
.section-how {
  background: linear-gradient(to bottom, #e9f1ff, #f3f7ff 55%, var(--bg));
  padding-top: 110px;
}
.wave-top { position: absolute; inset: 0 0 auto 0; width: 100%; height: 60px; fill: var(--bg-tint); }
@media (min-width: 768px) { .wave-top { height: 80px; } }

.how-layout { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1100px) { .how-layout { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; } }

.how-mascot {
  width: 120px;
  margin-top: 6px;
  filter: drop-shadow(0 14px 14px rgb(0 60 200 / 0.18));
  mix-blend-mode: multiply;
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px) rotate(-3deg); } }

.steps { display: grid; gap: 40px 22px; padding-top: 20px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 44px 22px 26px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 0 1.5px rgb(15 40 100 / 0.06), 0 2px 4px rgb(15 40 100 / 0.04), 0 22px 40px -22px rgb(0 60 200 / 0.28);
}
.step-num {
  position: absolute;
  top: -18px;
  left: 18px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 6px 12px -2px rgb(0 79 255 / 0.45);
}
.step-icon {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--brand-soft-2);
  color: var(--brand);
}
.step-icon svg { width: 22px; height: 22px; }
.step h3 { margin-top: 12px; font-size: 19px; font-weight: 800; letter-spacing: -0.025em; }
.step p { font-size: 14.5px; color: var(--muted); }

@media (min-width: 1100px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 100%;
    width: 22px;
    border-top: 2px dashed rgb(0 79 255 / 0.45);
  }
}

/* Terminal banner */
.terminal-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 72px;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: 26px;
  background: var(--dark);
  color: #fff;
}
.terminal-banner::before,
.terminal-banner::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
.terminal-banner::before {
  width: 340px; height: 340px; top: -110px; right: -70px;
  background: radial-gradient(closest-side, rgb(41 198 190 / 0.35), transparent);
}
.terminal-banner::after {
  width: 420px; height: 420px; bottom: -150px; left: -100px;
  background: radial-gradient(closest-side, rgb(0 79 255 / 0.55), transparent);
}
@media (min-width: 960px) {
  .terminal-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; padding: 36px; }
}

.terminal-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.terminal-copy h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.03em; }
.terminal-copy p:not(.chip-dark) { font-size: 15.5px; color: rgb(255 255 255 / 0.75); }
.chip-dark {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15);
  font-size: 13px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.85);
}
.text-link-teal { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--teal); }
.text-link-teal svg { width: 16px; height: 16px; transition: transform 0.15s; }
.text-link-teal:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link-teal:hover svg { transform: translateX(3px); }

.terminal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgb(0 0 0 / 0.4);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  min-width: 0;
}
.terminal-bar { display: flex; align-items: center; gap: 6px; padding-inline: 4px; }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.2); }
.terminal-bar span { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: rgb(255 255 255 / 0.45); }

.terminal-cmd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0d1117;
  box-shadow: inset 0 0 0 1px rgb(94 234 212 / 0.25), 0 0 24px -6px rgb(94 234 212 / 0.25);
}
.terminal-cmd code {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: #e6edf3;
  overflow-wrap: anywhere;
}
.t-dim { color: rgb(255 255 255 / 0.4); }
.t-teal { color: var(--teal); }

.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.08);
  font-size: 12px; font-weight: 600;
  transition: background-color 0.15s, border-color 0.15s;
}
.copy-btn:hover { background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.2); }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn.is-copied { color: var(--teal); border-color: rgb(94 234 212 / 0.5); }

.terminal-log { display: flex; flex-direction: column; gap: 6px; padding: 0 4px 4px; font-family: var(--mono); font-size: 12.5px; color: rgb(255 255 255 / 0.8); }
.terminal-log li { display: flex; align-items: center; gap: 8px; }
.terminal-log svg { width: 14px; height: 14px; color: var(--teal); stroke-width: 2.6; }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--teal); animation: blink 1.1s steps(1) infinite; }

/* ---------- Traffic profiles ---------- */
.profile-grid { margin-top: 48px; display: grid; gap: 18px; }
@media (min-width: 640px) { .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .profile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px rgb(0 79 255 / 0.35), 0 26px 44px -24px rgb(0 60 200 / 0.35); }
.spark {
  width: 100%;
  height: 84px;
  margin-bottom: 8px;
  padding: 12px 10px 0;
  border-radius: 14px;
  background: linear-gradient(to bottom, #f5f8ff, #fff);
  box-shadow: inset 0 0 0 1px #eef2fb;
  overflow: visible;
}
.spark-fill { fill: #e6eeff; }
.spark-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.profile-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.profile-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.profile-card a { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--brand); }
.profile-card a span { display: inline-block; transition: transform 0.15s; }
.profile-card a:hover span { transform: translateX(4px); }

/* ---------- Capacity ---------- */
.capacity {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 88px 120px;
  color: #fff;
  background: var(--brand-deep);
}
@media (min-width: 768px) { .capacity { padding-block: 110px 160px; } }
.capacity-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.capacity-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(6 32 110 / 0.85) 0%, rgb(8 48 160 / 0.55) 55%, rgb(11 63 209 / 0.1) 100%);
}
.capacity-grid { margin-top: 44px; display: grid; gap: 16px; }
@media (min-width: 800px) { .capacity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.glass-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: 26px;
  background: rgb(10 47 158 / 0.5);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: #fff;
  color: var(--brand);
}
.glass-icon svg { width: 22px; height: 22px; }
.glass-label { font-weight: 500; color: rgb(255 255 255 / 0.85); }
.glass-value { font-size: 48px; font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.glass-text { font-size: 15px; color: rgb(255 255 255 / 0.85); }

/* ---------- Pricing ---------- */
.price-grid { margin-top: 52px; display: grid; gap: 28px 20px; align-items: stretch; }
@media (min-width: 880px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.price-card.is-featured {
  background: linear-gradient(to bottom, #f1f6ff, #fff 60%);
  box-shadow: 0 0 0 2px var(--brand), 0 30px 60px -24px rgb(0 79 255 / 0.4);
}
@media (min-width: 880px) { .price-card.is-featured { transform: translateY(-10px); } }
.price-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.price-desc { margin-top: 4px; font-size: 15px; color: var(--muted); }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; color: var(--muted); font-weight: 500; }
.price span { font-size: 52px; font-weight: 800; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.price-list { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.compare {
  margin-top: 40px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.compare summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.compare summary::-webkit-details-marker { display: none; }
.compare summary svg { width: 20px; height: 20px; color: var(--brand); transition: transform 0.25s var(--ease); }
.compare[open] summary svg { transform: rotate(180deg); }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.compare table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: #fbfcff; }
.compare tbody th { font-weight: 600; }
.compare td { font-variant-numeric: tabular-nums; }
.compare .col-hl { background: #f3f7ff; color: var(--brand); font-weight: 700; }

/* ---------- Use cases ---------- */
.usecases {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 96px;
  color: #fff;
  background: #050b3a;
}
.usecases-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.usecases-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(4 10 60 / 0.95) 0%, rgb(4 10 60 / 0.82) 45%, rgb(4 10 60 / 0.25) 100%);
}
@media (max-width: 899px) { .usecases-overlay { background: rgb(4 10 60 / 0.82); } }
.usecases-inner { display: flex; flex-direction: column; gap: 36px; }
.usecase-list { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.usecase-list li {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.07);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.2s, transform 0.25s var(--ease);
}
.usecase-list li:hover { background: rgb(255 255 255 / 0.12); transform: translateX(4px); }
.uc-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6, #004fff);
  box-shadow: 0 8px 20px -6px rgb(0 79 255 / 0.8);
}
.uc-icon svg { width: 22px; height: 22px; color: #fff; }
.usecase-list h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.usecase-list p { margin-top: 2px; font-size: 14.5px; color: rgb(255 255 255 / 0.75); }

/* ---------- Testimonials ---------- */
.quote-grid { margin-top: 44px; display: grid; gap: 20px; }
@media (min-width: 960px) { .quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #ebebeb;
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}
.quote-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgb(15 40 100 / 0.25); }
.quote-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.quote-tag {
  padding: 4px 12px; border-radius: 999px;
  background: #eff6ff; color: #002583;
  font-size: 12.5px; font-weight: 600;
}
.quote-company {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: #f9f9f9; border: 1px solid #ebebeb;
  font-size: 12.5px; font-weight: 600; color: #262626;
}
.quote-company img { width: 16px; height: 16px; border-radius: 4px; }

.quote-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 14px;
  background: var(--bg-tint);
  box-shadow: inset 0 0 0 1px #e8eefb;
}
.quote-stats div { padding: 10px 12px; }
.quote-stats div + div { border-left: 1px solid #e8eefb; }
.quote-stats dt { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.quote-stats dd { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }

.quote-card blockquote { flex: 1; font-size: 17px; line-height: 1.55; color: rgb(0 0 0 / 0.68); text-wrap: pretty; }
.quote-card blockquote strong { color: #0a0a0a; font-weight: 600; }

.quote-person { display: flex; align-items: center; gap: 12px; }
.quote-person img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06); }
.quote-person p { font-weight: 700; font-size: 17px; line-height: 1.3; }
.quote-person small { font-size: 14px; color: #737373; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .faq-layout { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.faq-aside { display: flex; flex-direction: column; gap: 28px; }

.faq-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: 24px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 24px 60px -28px rgb(0 79 255 / 0.6);
}
.faq-cta img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 80%;
}
.faq-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgb(0 40 190 / 0.88), rgb(0 79 255 / 0.4));
}
.faq-cta > p { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.faq-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.faq-cta-link { font-size: 14.5px; font-weight: 600; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.5); text-underline-offset: 4px; }
.faq-cta-link:hover { text-decoration-color: #fff; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border-radius: 18px;
  border: 1px solid #ebebeb;
  background: #f9f9f9;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { background: #fff; box-shadow: 0 2px 14px rgb(0 0 0 / 0.05); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
@media (min-width: 640px) { .faq-item summary { padding: 18px 24px; font-size: 18px; } }
.faq-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid #ebebeb;
  background: #fff;
}
.faq-icon svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.faq-item[open] .faq-icon svg { transform: rotate(180deg); }
.faq-item[open] .faq-icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.faq-body {
  max-width: 44em;
  padding: 0 20px 22px;
  font-size: 16px;
  line-height: 1.65;
  color: #5c5c5c;
}
@media (min-width: 640px) { .faq-body { padding: 0 24px 24px; } }
.faq-item[open] .faq-body { animation: fade-down 0.3s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Final CTA ---------- */
.final-cta { padding-bottom: 88px; }
.final-cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 40px 28px;
  border-radius: 32px;
  background: #0626c9;
  color: #fff;
  box-shadow: 0 40px 80px -40px rgb(0 40 200 / 0.7);
}
.final-cta-card > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%;
}
.final-cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(4 20 170 / 0.85) 0%, rgb(4 20 170 / 0.45) 50%, transparent 75%);
}
@media (max-width: 767px) { .final-cta-card::before { background: rgb(4 20 170 / 0.7); } }
@media (min-width: 768px) { .final-cta-card { padding: 64px; min-height: 440px; } }

.final-cta-copy { max-width: 520px; display: flex; flex-direction: column; gap: 14px; }
.final-cta-copy h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.045em; }
.final-cta-copy p { font-size: 18px; color: rgb(255 255 255 / 0.88); }
.final-cta-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 28px; background: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 800px) { .footer-brand { grid-column: auto; } }
.footer-brand .brand { color: var(--ink); }
.footer-brand .brand-dot { color: var(--brand); }
.footer-brand p { color: var(--muted); font-size: 15px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav p { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.site-footer nav a { font-size: 15px; color: var(--muted); transition: color 0.15s; }
.site-footer nav a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.footer-bottom a:hover { color: var(--brand); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .price-card.is-featured.reveal.is-visible { transform: none; }
@media (min-width: 880px) {
  .js .price-card.is-featured.reveal.is-visible { transform: translateY(-10px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* The CTA edge light is a slow, subtle rotation: keep it, just slower */
  .cta-main { animation: cta-spin 6s linear infinite !important; }
}

/* ---------- Long-form document pages (guides, legal, contact) ---------- */
.doc { max-width: 760px; }
.doc .crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.doc .crumbs a:hover { color: var(--brand); }
.doc h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 800; margin-top: 14px; max-width: 26ch; }
.doc .lead { margin-top: 16px; font-size: 18px; line-height: 1.6; color: #38415a; max-width: 70ch; }
.doc .meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.doc h2 { font-size: 25px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; margin-top: 40px; }
.doc h3 { font-size: 18px; font-weight: 700; margin-top: 26px; }
.doc p { margin-top: 14px; color: #333d55; }
.doc ul, .doc ol { margin-top: 14px; display: grid; gap: 8px; }
.doc ul li { position: relative; padding-left: 20px; color: #333d55; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.doc ol { counter-reset: n; gap: 10px; }
.doc ol li { position: relative; padding-left: 30px; counter-increment: n; color: #333d55; }
.doc ol li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.doc a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { font-weight: 650; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 15px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
.doc th, .doc td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: #fbfcff; }
.doc tbody tr:last-child th, .doc tbody tr:last-child td { border-bottom: 0; }
.doc .table-scroll { overflow-x: auto; margin-top: 22px; }
.doc .table-scroll table { margin-top: 0; min-width: 560px; }
.doc .callout { margin-top: 24px; padding: 20px 22px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); border-left: 4px solid var(--brand); }
.doc .callout h3 { margin-top: 0; }
.doc .identity { margin-top: 26px; padding: 16px 20px; border-radius: 16px; background: #f9fbff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.75; color: #3d4761; }
.doc .identity strong { color: var(--ink); }
.doc details { margin-top: 10px; padding: 0 20px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.doc summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
.doc details[open] summary::after { content: "\2013"; }
.doc .answer { padding: 0 0 16px; color: #46506a; font-size: 15.5px; }
.doc .form { display: grid; gap: 16px; margin-top: 24px; max-width: 680px; }
.doc .field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.doc .field input, .doc .field select, .doc .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; font: inherit; font-size: 15px; font-weight: 400; background: #fff; color: var(--ink); }
.doc .field textarea { min-height: 120px; resize: vertical; }
.doc .hint, .doc .note { font-size: 13px; font-weight: 400; color: var(--muted); }
.doc .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .doc .row { grid-template-columns: 1fr 1fr; } }

/* ---------- Homepage copy additions ---------- */
.section-note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }
.section-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.quote-foot { margin-top: 14px; font-size: 13px; color: var(--muted); }
.footer-legal-note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: rgb(255 255 255 / 0.55); max-width: 80ch; }

/* ---------- Small composites used on the landing ---------- */
.rating-line { margin-top: 12px; font-size: 14px; color: var(--muted); }
.rating-line span { color: #f59e0b; letter-spacing: 2px; margin-right: 6px; }
