/* ========== Zypheral landing — tokens & base ========== */
:root {
  --ink: #0B0E12;
  --ink-2: #1A1F26;
  --ink-3: #2A3038;
  --muted: #5B6470;
  --muted-2: #8A929D;
  --line: rgba(11, 14, 18, 0.10);
  --line-soft: rgba(11, 14, 18, 0.06);
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --surface-2: #FAF9F5;

  /* Dark surface tokens */
  --dark-bg: #0B0E12;
  --dark-surface: #12161C;
  --dark-line: rgba(255,255,255,0.10);
  --dark-line-soft: rgba(255,255,255,0.06);
  --dark-muted: #9AA3AE;

  /* Accent — overridable by Tweaks */
  --accent: #14E08A;            /* security mint */
  --accent-2: #0EAE69;
  --accent-soft: #D9FBE8;
  --accent-ink: #0A3B25;
  --accent-glow: rgba(20, 224, 138, 0.35);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 0 rgba(11,14,18,0.04), 0 1px 2px rgba(11,14,18,0.04);
  --shadow-md: 0 1px 2px rgba(11,14,18,0.06), 0 10px 30px -8px rgba(11,14,18,0.10);
  --shadow-lg: 0 1px 2px rgba(11,14,18,0.06), 0 20px 50px -10px rgba(11,14,18,0.16);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --container: 1240px;
  --hero-grid-opacity: 0.04;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; font-weight: 600; }
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; }
h3 { font-size: clamp(20px, 1.4vw, 22px); line-height: 1.2; font-weight: 600; }
p  { margin: 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow.on-dark { color: var(--dark-muted); }
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 0 4px rgba(20,224,138,0.18);
}

/* ========== Nav ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 48px; width: auto; display: block; }
.nav-brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; color: var(--ink-2); opacity: 0.82;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; appearance: none; align-items: center; gap: 9px; background: none; border: 0; padding: 8px 2px; min-height: 42px; cursor: pointer; color: var(--ink); }
.nav-burger .bars { display: grid; gap: 4px; width: 20px; }
.nav-burger .bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .18s ease; transform-origin: center; }
.nav.menu-open .nav-burger .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .nav-burger .bars i:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; overflow: hidden; max-height: 0; opacity: 0; border-top: 1px solid transparent; transition: max-height .38s cubic-bezier(.22,.61,.36,1), opacity .24s ease, border-color .3s ease; }
.nav.menu-open .mobile-menu { max-height: 520px; opacity: 1; border-top-color: var(--line-soft); }
.mobile-menu-inner { padding: 14px 20px 22px; display: grid; gap: 18px; }
.mm-links { display: grid; }
.mm-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px; min-height: 48px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mm-links a .arrow { width: 15px; height: 15px; opacity: 0.4; }
.mm-links a:active { opacity: 0.6; }
.mm-cta { display: grid; gap: 10px; }
.mm-cta .btn { width: 100%; justify-content: center; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: 12px;
  font-weight: 500; font-size: 14.5px;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 22px; font-size: 15.5px; border-radius: 14px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1A1F26; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary.on-dark { background: var(--accent); color: var(--accent-ink); }
.btn-primary.on-dark:hover { background: #2EF09A; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); border-color: rgba(11,14,18,0.18); }
.btn-ghost.on-dark { border-color: var(--dark-line); color: #fff; }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,0.05); border-color: var(--dark-line); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ========== Section base ========== */
section { position: relative; }
.section-pad { padding: clamp(80px, 9vw, 140px) 0; }
.section-pad-sm { padding: clamp(56px, 6vw, 88px) 0; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin: 0 auto 56px; align-items: center; text-align: center; }
.section-head p.lede { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 620px; }
.section-head.on-dark p.lede { color: var(--dark-muted); }

/* ========== Hero ========== */
.hero {
  background: var(--dark-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 140px) 0 clamp(80px, 8vw, 120px);
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 10%, rgba(20,224,138,0.18), transparent 60%),
    radial-gradient(40% 40% at 0% 100%, rgba(20,224,138,0.10), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,var(--hero-grid-opacity)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,var(--hero-grid-opacity)) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(70% 60% at 30% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(40px, 4.5vw, 72px); align-items: center;
}
.hero-grid > .hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero h1 { color: #fff; font-size: clamp(38px, 4.4vw, 62px); max-width: 15ch; overflow-wrap: break-word; }
.hero h1 .underline {
  position: relative; white-space: nowrap;
}
.hero h1 .underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.34em;
  background: var(--accent); opacity: 0.32; border-radius: 4px; z-index: -1;
}
.hero .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px; border-radius: var(--radius-pill);
  border: 1px solid var(--dark-line);
  background: rgba(255,255,255,0.03);
  font-size: 13px; color: #D8DEE6;
  margin-bottom: 22px;
}
.hero .kicker .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 11px;
}
.hero .lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.3vw, 19px);
  color: #C8CDD5;
  max-width: 540px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .m { display: flex; align-items: center; gap: 10px; color: #C8CDD5; font-size: 13.5px; }
.hero-meta .m svg { color: var(--accent); }

/* ---- Hero visual (server card stack) ---- */
.hero-visual { position: relative; z-index: 1; height: 560px; min-width: 0; }
.h-card {
  position: absolute;
  background: var(--dark-surface);
  border: 1px solid var(--dark-line);
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  color: #fff;
  overflow: hidden;
}
.h-card .h-card-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--dark-line);
  font-family: var(--font-mono); font-size: 12px; color: #9AA3AE;
}
.h-card .h-card-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: #2A3038; }
.h-card .h-card-bar .dot.live { background: var(--accent); box-shadow: 0 0 0 3px rgba(20,224,138,0.2); }
.h-card .h-card-body { padding: 16px; }

/* server console card (largest, behind) */
.h-server {
  top: 0; right: 0; width: 460px; min-height: 360px;
  transform: rotate(2deg);
}
.h-server .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); font-size: 13.5px;
}
.h-server .row:last-child { border-bottom: 0; }
.h-server .row .k { color: #9AA3AE; }
.h-server .row .v { font-family: var(--font-mono); color: #E6EAF0; }
.h-server .row .v.ok { color: var(--accent); }
.h-server .meter {
  height: 6px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; width: 120px;
}
.h-server .meter > div { height: 100%; background: var(--accent); }

/* floating ssl card */
.h-ssl {
  left: -10px; top: 60px; width: 260px;
  transform: rotate(-4deg);
  background: #fff; color: var(--ink); border-color: var(--line);
}
.h-ssl .h-card-bar { color: var(--muted); border-bottom-color: var(--line-soft); }
.h-ssl .h-card-bar .dot { background: #E1E4E8; }
.h-ssl .h-card-bar .dot.live { background: var(--accent-2); box-shadow: 0 0 0 3px rgba(14,174,105,0.18); }

/* threats card */
.h-threats {
  right: -20px; bottom: 30px; width: 280px;
  transform: rotate(3deg);
  background: #fff; color: var(--ink); border-color: var(--line);
  padding: 16px 18px;
}
.h-threats .lbl { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.h-threats .num { font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; margin-top: 4px; }
.h-threats .delta { color: var(--accent-2); font-family: var(--font-mono); font-size: 12px; margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.h-threats .spark { margin-top: 12px; }

/* uptime card */
.h-uptime {
  left: 30px; bottom: 60px; width: 240px;
  background: var(--dark-surface); color: #fff; border-color: var(--dark-line);
  padding: 16px 18px; transform: rotate(-2deg);
}
.h-uptime .lbl { font-size: 12px; color: #9AA3AE; }
.h-uptime .num { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; margin-top: 4px; color: var(--accent); }
.h-uptime .bars { display: flex; gap: 3px; margin-top: 14px; }
.h-uptime .bars span { display: block; width: 5px; height: 18px; background: var(--accent); border-radius: 2px; opacity: 0.85; }
.h-uptime .bars span.down { background: rgba(255,255,255,0.10); }

/* Hero trust strip */
.trust-strip {
  position: relative; z-index: 1;
  margin-top: clamp(60px, 7vw, 96px);
  padding-top: 36px;
  border-top: 1px solid var(--dark-line-soft);
}
.trust-label {
  display: flex; align-items: center; gap: 12px; color: #9AA3AE; font-size: 13px;
  margin-bottom: 22px;
}
.trust-label::after { content: ''; flex: 1; height: 1px; background: var(--dark-line-soft); }
.trust-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; align-items: center;
}
.trust-row .t {
  color: #C8CDD5; font-family: var(--font-display); font-weight: 600; font-size: 18px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0.85;
}
.trust-row .t svg { color: var(--accent); }

/* ========== Value proposition ========== */
.value {
  background: var(--bg);
}
.value-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start;
}
.value h2 { max-width: 12ch; }
.value .lede { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 480px; margin-top: 24px; }
.value-bullets { display: grid; gap: 14px; }
.bullet {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.bullet:hover { border-color: rgba(11,14,18,0.18); }
.bullet .check {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center;
}
.bullet h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; margin-bottom: 2px; }
.bullet p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ========== Features grid ========== */
.features { background: var(--surface-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.feature-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  display: flex; flex-direction: column;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(11,14,18,0.14); }
.feature-card.span-3 { grid-column: span 3; }
.feature-card.span-2 { grid-column: span 2; }
.feature-card.span-4 { grid-column: span 4; }
.feature-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.feature-card .ico.alt { background: var(--ink); color: var(--accent); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.feature-card .vis { margin-top: 20px; }

/* visual: layered shield */
.vis-shield { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vis-shield .chip {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-2);
  padding: 6px 10px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.vis-shield .chip.live { color: var(--accent-2); background: var(--accent-soft); border-color: rgba(20,224,138,0.25); }

/* visual: perf bars */
.vis-perf { display: grid; gap: 10px; }
.vis-perf .b {
  display: grid; grid-template-columns: 90px 1fr 56px; gap: 12px; align-items: center;
  font-size: 12px; color: var(--muted);
}
.vis-perf .b .bar { height: 6px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.vis-perf .b .bar > div { height: 100%; background: var(--ink); border-radius: 4px; }
.vis-perf .b .bar > div.fast { background: var(--accent-2); }
.vis-perf .b .v { font-family: var(--font-mono); color: var(--ink); text-align: right; }

/* visual: ssl */
.vis-ssl { display: flex; align-items: center; gap: 12px; }
.vis-ssl .lock { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.vis-ssl .url { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); padding: 8px 12px; border-radius: 10px; flex: 1; }
.vis-ssl .url b { color: var(--accent-2); }

/* visual: backup */
.vis-backup { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vis-backup .day {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent-soft); border: 1px solid rgba(20,224,138,0.25);
  display: grid; place-items: center; color: var(--accent-ink);
  font-family: var(--font-mono); font-size: 11px;
}
.vis-backup .arrow { color: var(--muted); }
.vis-backup .restore {
  padding: 6px 10px; border-radius: 8px;
  background: var(--ink); color: var(--accent); font-family: var(--font-mono); font-size: 12px;
}

/* ========== How it works ========== */
.how { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 42px; left: 8%; right: 8%;
  height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  margin-bottom: 24px;
  color: var(--ink);
}
.step .num.active {
  background: var(--ink); color: var(--accent); border-color: var(--ink);
  box-shadow: 0 8px 20px -6px rgba(11,14,18,0.30);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 26ch; }
.timeline-note {
  margin-top: 56px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 14px;
}
.timeline-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(20,224,138,0.2); }
.timeline-note b { font-weight: 600; }

/* ========== Pricing (DARK) ========== */
.pricing {
  background: var(--dark-bg); color: #fff;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.pricing::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 50% at 100% 0%, rgba(20,224,138,0.14), transparent 60%),
    radial-gradient(40% 40% at 0% 100%, rgba(20,224,138,0.08), transparent 60%);
  pointer-events: none;
}
.pricing .container { position: relative; z-index: 1; }
.pricing h2 { color: #fff; }
.pricing .section-head .lede { color: var(--dark-muted); }
.plan-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.plan-grid.plan-grid-3 { grid-template-columns: repeat(3, 1fr); }
.plan {
  background: var(--dark-surface);
  border: 1px solid var(--dark-line);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan.featured {
  background: linear-gradient(180deg, #14181F 0%, #0E1218 100%);
  border-color: rgba(20,224,138,0.35);
  box-shadow: 0 30px 80px -30px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.04);
}
.plan .ribbon {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  background: rgba(20,224,138,0.10); border: 1px solid rgba(20,224,138,0.35);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.plan h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.plan .sub { color: var(--dark-muted); font-size: 14px; margin-top: 6px; }
.pricing-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;flex-wrap:wrap;margin-bottom:56px}
.pricing-head .section-head{margin-bottom:0;flex:1 1 460px;min-width:0}
.bill-toggle{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;padding:4px;border-radius:var(--radius-pill);background:rgba(255,255,255,0.05);border:1px solid var(--dark-line)}
.bill-toggle button{appearance:none;background:transparent;border:1px solid transparent;cursor:pointer;padding:9px 18px;border-radius:var(--radius-pill);font-family:var(--font-mono);font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--dark-muted);transition:color .2s ease,background .25s ease,border-color .25s ease;white-space:nowrap}
.bill-toggle button:hover{color:#fff}
.bill-toggle button.on{color:var(--accent);background:rgba(20,224,138,0.16);border-color:rgba(20,224,138,0.34)}
.plan .price { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; flex-wrap: wrap; animation: priceIn .32s cubic-bezier(.22,.61,.36,1) both; }
@keyframes priceIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.plan .price .was{font-family:var(--font-display);font-size:26px;font-weight:600;color:var(--dark-muted);text-decoration:line-through;text-decoration-thickness:2px;letter-spacing:-0.02em}
.plan .price .amt.custom-amt{font-size:38px}
.plan .price .amt { font-family: var(--font-display); font-size: 64px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan .price .per { color: var(--dark-muted); font-size: 15px; }
.plan .annual {
  margin-top: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--accent);
  display: inline-flex; gap: 8px; align-items: center;
}
.plan .annual .pill {
  background: rgba(20,224,138,0.14); border: 1px solid rgba(20,224,138,0.30);
  padding: 3px 8px; border-radius: var(--radius-pill);
}
.plan ul { margin: 28px 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.plan ul li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  font-size: 14.5px; color: #D6DBE2;
}
.plan ul li svg { color: var(--accent); margin-top: 3px; }
.plan .cta-row { margin-top: auto; }
.plan.soon { opacity: 0.92; }
.plan.soon .price .amt { color: var(--dark-muted); }
.plan.soon ul li { color: #C0C6CE; }

/* ========== Comparison table ========== */
.compare { background: var(--bg); }
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-row {
  display: grid; grid-template-columns: 1.2fr 1.6fr 2fr;
  padding: 28px 32px;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.compare-row:first-child { border-top: 0; }
.compare-row.header {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  padding: 18px 32px; background: var(--surface-2);
}
.compare-row .name { display: flex; align-items: center; gap: 12px; }
.compare-row .name .mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
}
.compare-row .name h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.compare-row .name p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.compare-row .it { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; max-width: 36ch; }
.compare-row .lim { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.compare-row.zypheral {
  background: linear-gradient(180deg, rgba(20,224,138,0.06), rgba(20,224,138,0));
}
.compare-row.zypheral .name .mark { background: var(--ink); color: var(--accent); border-color: var(--ink); overflow: hidden; padding: 6px; }
.compare-row.zypheral .name .mark .mark-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.compare-row.zypheral .lim { color: var(--ink); font-weight: 500; }
.compare-row.zypheral .outcome-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 11px;
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 8px;
  border: 1px solid rgba(20,224,138,0.30);
}

/* ========== Why security matters ========== */
.why { background: var(--surface-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 28px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.why-card .ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--ink); color: var(--accent);
  display: grid; place-items: center;
}
.why-card h3 { font-size: 18px; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ========== FAQ ========== */
.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq h2 { max-width: 14ch; }
.faq .lede { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 380px; line-height: 1.55; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: grid; grid-template-columns: 44px 1fr 32px; gap: 16px; align-items: center;
  width: 100%; text-align: left; font-family: var(--font-display); font-size: 18px; font-weight: 500;
  color: var(--ink); padding: 0;
}
.faq-q .idx { font-family: var(--font-mono); font-size: 13px; color: var(--muted); font-weight: 400; }
.faq-q .plus {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item.open .faq-q .plus { background: var(--ink); color: var(--accent); border-color: var(--ink); transform: rotate(45deg); }
.faq-a {
  display: grid; grid-template-columns: 44px 1fr 32px; gap: 16px;
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
}
.faq-a > div { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 60ch; }
.faq-item.open .faq-a { max-height: 240px; padding-top: 14px; }

/* ========== Roadmap ========== */
.roadmap { background: var(--surface-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.roadmap-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.roadmap h2 { max-width: 14ch; }
.roadmap p.copy { color: var(--muted); font-size: 17px; line-height: 1.65; margin-top: 24px; max-width: 52ch; }
.timeline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.timeline .tl-row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.timeline .tl-row:last-child { border-bottom: 0; }
.timeline .tag {
  font-family: var(--font-mono); font-size: 11px; padding: 4px 8px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
  height: 24px; display: inline-flex; align-items: center; align-self: start;
}
.timeline .tag.now { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(20,224,138,0.30); }
.timeline .tag.next { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.timeline h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ========== Final CTA ========== */
.final-cta { background: var(--bg); }
.cta-card {
  background: var(--ink); color: #fff;
  border-radius: 28px;
  padding: clamp(48px, 6vw, 80px) clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(20,224,138,0.20), transparent 60%),
    radial-gradient(30% 60% at 0% 100%, rgba(20,224,138,0.10), transparent 60%);
}
.cta-card h2 { color: #fff; max-width: 14ch; }
.cta-card p { color: #C8CDD5; margin-top: 16px; font-size: 17px; max-width: 44ch; }
.cta-card .ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.cta-side {
  background: rgba(255,255,255,0.04); border: 1px solid var(--dark-line);
  border-radius: 18px; padding: 22px 24px;
}
.cta-side h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin-bottom: 14px; color: #fff; }
.cta-side ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.cta-side ul li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: #C8CDD5; font-size: 13.5px; }
.cta-side ul li svg { color: var(--accent); margin-top: 2px; }

/* ========== Footer ========== */
footer.foot { background: var(--bg); padding: 56px 0 36px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.foot-brand img { height: 30px; width: auto; display: block; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 32ch; line-height: 1.55; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.foot-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); }
.foot-bot {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  color: var(--muted); font-size: 13px;
}
.foot-bot .legal { display: flex; gap: 22px; }

/* ========== Responsive ========== */
@media (max-width: 1180px) {
  .hero h1 { max-width: 100%; }
  .h-server { width: min(100%, 420px); }
  .h-ssl { width: 230px; left: 0; }
  .h-threats { width: 250px; right: 0; }
  .h-uptime { width: 220px; }
}
@media (max-width: 980px) {
  .hero-grid, .value-grid, .faq-grid, .roadmap-grid, .plan-grid, .cta-card { grid-template-columns: 1fr; }
  .plan-grid.plan-grid-3 { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; margin-top: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.span-3, .feature-card.span-2, .feature-card.span-4 { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .trust-row { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .why-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .nav-inner { gap: 14px; }
  .nav-cta { gap: 8px; margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
  .nav-brand img { height: 48px; }
  .pricing-head .section-head { flex: 1 1 70px; }
  .nav-burger { display: inline-flex; }
  .mobile-menu { display: block; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; }
  .compare-row.header { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .nav .nav-inner { padding-top: 10px; padding-bottom: 10px; }
  .nav-brand img { height: 38px; }
  .hero h1 { font-size: clamp(29px, 8.2vw, 44px); line-height: 1.08; max-width: 100%; }
  .hero h1 br { display: none; }
  .hero h1 .underline { white-space: normal; text-decoration: underline; text-decoration-color: rgba(20,224,138,0.55); text-decoration-thickness: 0.09em; text-underline-offset: 0.08em; }
  .hero h1 .underline::after { display: none; }
  .hero .lede { font-size: 16px; max-width: 100%; }
  .hero-meta { gap: 14px 22px; margin-top: 28px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
  .trust-row .t { font-size: 15px; align-items: flex-start; line-height: 1.3; }
  .trust-row .t svg { flex: 0 0 auto; margin-top: 3px; }
  .trust-label { font-size: 12.5px; }
  .hero-visual { height: 430px; margin-top: 28px; }
  .h-server { width: min(96%, 340px); min-height: 300px; }
  .h-ssl { width: min(62%, 210px); left: 0; top: 40px; }
  .h-threats { width: min(64%, 220px); right: 0; bottom: 20px; }
  .h-uptime { width: min(58%, 200px); left: 8px; bottom: 46px; }
  .h-threats .num { font-size: 30px; }
  .h-uptime .num { font-size: 26px; }
  .pricing-head { flex-direction: column; align-items: center; gap: 22px; margin-bottom: 40px; }
  .bill-toggle button { padding: 9px 16px; font-size: 12px; }
  .plan { padding: 30px 24px; }
  .plan .price .amt { font-size: 52px; }
  .plan .price .amt.custom-amt { font-size: 32px; }
  .plan .price .was { font-size: 22px; }
  .plan .ribbon { top: 22px; right: 22px; }
}
@media (max-width: 580px) {
  .plan ul li { font-size: 14px; }
  .plan .price .amt { font-size: 46px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.span-3, .feature-card.span-2, .feature-card.span-4 { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .trust-row .t { font-size: 14px; }
  .h-server { width: 100%; }
  .h-ssl { width: min(66%, 190px); }
  .h-threats { width: min(68%, 200px); }
  .h-uptime { width: min(62%, 180px); left: 0; }
  .plan .price .amt { font-size: 40px; }
  .plan .price .was { font-size: 20px; }
  .plan { padding: 26px 20px; }
}
@media (max-width: 360px) {
  .trust-row { grid-template-columns: 1fr; }
  .bill-toggle button { padding: 9px 14px; letter-spacing: 0.04em; }
}
