/* =====================================================================
   ServerBorn — marketing site stylesheet
   Industrial dark theme, matched to the Born Panel admin UI.
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --bg:        #07101a;
  --bg-2:      #0a1521;
  --bg-3:      #0d1828;
  --surface:   #121d2d;
  --surface-2: #16223a;
  --surface-3: #1d2a44;
  --border:    rgba(255, 255, 255, 0.07);
  --border-2:  rgba(255, 255, 255, 0.12);
  --border-3:  rgba(255, 255, 255, 0.18);
  --text:      #f0f6ff;
  --text-2:    #aab7cc;
  --text-3:    #6f7e98;
  --accent:    #2ed573;
  --accent-2:  #00d4ff;
  --accent-3:  #8b5cf6;
  --amber:     #f59e0b;
  --rose:      #f43f5e;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-2: 0 10px 24px rgba(0, 0, 0, .35);
  --shadow-3: 0 20px 60px rgba(0, 0, 0, .55);
  --grad-accent: linear-gradient(135deg, #2ed573 0%, #00d4ff 100%);
  --grad-fire:   linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
  --grad-cyber:  linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container: 1200px;
}

/* ---------- Base ---------- */
html, body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100vw;
  overflow-x: clip;
}
body {
  background:
    radial-gradient(1200px 600px at 80% -100px, rgba(46, 213, 115, .08), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(0, 212, 255, .05), transparent 60%),
    var(--bg);
}
/* Belt-and-suspenders against accidental horizontal scroll on mobile */
img, video, svg, picture, .terminal, .speed-card, .flow, .globe-wrap, .compare-wrap { max-width: 100%; }
/* Allow flex/grid items to actually shrink to their container width */
.hero-split > div, .split-2 > *, .feature-grid > *, .plan-grid > *, .bento-cell, .footer-grid > * { min-width: 0; }
.bento { max-width: 100%; }
.section, .marquee-section, .small-hero, .hero { max-width: 100vw; }
.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

::selection { background: rgba(46, 213, 115, .25); color: var(--text); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
p  { color: var(--text-2); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(46, 213, 115, .08); border: 1px solid rgba(46, 213, 115, .25);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s ease-in-out infinite; }
.eyebrow.eyebrow-cyan { color: var(--accent-2); background: rgba(0, 212, 255, .08); border-color: rgba(0, 212, 255, .25); }
.eyebrow.eyebrow-cyan::before { background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
.lead { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--text-2); line-height: 1.6; }
.gradient-text {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.gradient-text-cyber { background: var(--grad-cyber); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: .01em;
  border: 1px solid transparent; transition: all .2s ease;
  cursor: pointer; user-select: none; position: relative;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-primary {
  background: var(--accent); color: #04141d; border-color: transparent;
  box-shadow: 0 6px 18px rgba(46, 213, 115, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(46, 213, 115, .32); }
.btn-ghost {
  background: rgba(255, 255, 255, .02); color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-3); color: var(--text); }
.btn-outline {
  background: transparent; color: var(--accent); border-color: rgba(46, 213, 115, .35);
}
.btn-outline:hover { background: rgba(46, 213, 115, .08); border-color: var(--accent); }
.btn .arr { display: inline-block; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 14px 0;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease, padding .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.nav.is-stuck {
  background: rgba(7, 16, 26, .94);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border-2);
  padding: 10px 0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { flex-shrink: 0; width: 52px; height: 52px; transition: width .2s ease, height .2s ease; }
.nav.is-stuck .brand-mark { width: 44px; height: 44px; }
.brand-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1; }
.brand-text {
  font-family: 'JetBrains Mono', monospace; font-weight: 800; letter-spacing: 0.12em;
  font-size: 20px; color: var(--text); line-height: 1;
}
.brand-text-2 { color: var(--accent); }
.brand-slogan {
  font-family: 'JetBrains Mono', monospace; font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-3); white-space: nowrap;
}
.footer .brand-mark { width: 40px; height: 40px; }
.footer .brand-text { font-size: 16px; }
.footer .brand-slogan { font-size: 10px; }
@media (max-width: 540px) {
  .brand-slogan { display: block; font-size: 9px; letter-spacing: .14em; }
  .brand-text { font-size: 16px; }
  .brand-mark { width: 38px; height: 38px; }
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; color: var(--text-2); font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-links a.is-active {
  color: var(--accent);
  background: rgba(46, 213, 115, .05);
  box-shadow: inset 0 -1px 0 0 rgba(46, 213, 115, .35);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.link-ghost { font-size: 14px; color: var(--text-2); padding: 8px 12px; border-radius: 8px; }
.link-ghost:hover { color: var(--text); }
.nav-toggle {
  display: none; color: var(--text-2); padding: 8px; border-radius: 8px;
  /* Sits above the drawer's scrim (z:240) so the burger stays tappable to
     close even while the drawer is open. Position:relative so z-index applies
     (z-index has no effect on static-positioned elements). */
  position: relative; z-index: 260;
  /* Big enough hit target for touch (44px Apple HIG / 48dp Material). */
  min-width: 44px; min-height: 44px;
  display: none; align-items: center; justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(46, 213, 115, .25);
  touch-action: manipulation;
  border: 0; background: transparent;
}
/* Critical: prevents iOS Safari from making the inner SVG (or any of its
   <line> children) the click event target. Without this the delegated
   handler sometimes receives an SVGLineElement as e.target, whose `.closest`
   has implementation quirks across older WebKit builds — the burger then
   feels dead to the user. Forcing pointer-events:none means every tap lands
   on the button itself. */
.nav-toggle svg, .nav-toggle svg * { pointer-events: none; }
.nav-toggle:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-toggle:active { transform: scale(.94); }
.nav-toggle[aria-expanded="true"] { color: var(--accent); background: rgba(46,213,115,.08); }
@media (max-width: 880px) {
  /* Desktop nav row hides; the burger appears. The nav-links is still in the
     DOM — it's repositioned into a fixed full-width drawer below the header
     when `body.is-nav-open`. We keep `display: none` here for the closed
     state; the drawer state overrides it. */
  .nav-links { display: none; }
  .nav-cta .link-ghost { display: none; }
  /* Defensive: force the burger visible + tappable on mobile, no matter what
     downstream rule tries to override. Tested-in flex display so the SVG
     centers. */
  .nav-toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    pointer-events: auto !important;
    position: relative; z-index: 260;
  }
  .nav-inner { gap: 12px; position: relative; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { padding: 8px 14px; font-size: 12px; }
  .nav-cta .btn-primary .arr { display: none; }

  /* Drawer — pinned below the fixed header. position:fixed so the stacking
     context is always the viewport (no surprises from the hero on the
     homepage). z-index sits above the nav itself (200) so the drawer is
     never hidden behind a hero or sticky element. */
  body.is-nav-open .nav-links {
    display: flex;
    position: fixed;
    top: 64px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch;
    padding: 12px; gap: 4px;
    background: rgba(7, 16, 26, .96);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
            backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .55), 0 0 0 1px rgba(46, 213, 115, .08);
    z-index: 250;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    animation: navDropIn .18s ease-out;
  }
  body.is-nav-open .nav-links a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 9px;
  }
  body.is-nav-open .nav-links a.is-active {
    color: var(--accent);
    background: rgba(46, 213, 115, .08);
    box-shadow: inset 0 -1px 0 0 rgba(46, 213, 115, .35);
  }
  body.is-nav-open .nav-mobile-divider {
    height: 1px; background: var(--border); margin: 6px 0 4px;
  }
  body.is-nav-open .nav-mobile-extra.is-cta {
    color: var(--accent); font-weight: 700;
  }
  /* Scrim behind the drawer — taps outside the menu close it. */
  body.is-nav-open::before {
    content: "";
    position: fixed; inset: 0;
    background: rgba(7, 16, 26, .35);
    z-index: 240;
    animation: navScrimIn .18s ease-out;
  }
  /* Prevent the page from scrolling while the drawer is up. */
  body.is-nav-open { overflow: hidden; }
}
@keyframes navDropIn  { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes navScrimIn { from { opacity: 0; }                                 to { opacity: 1; } }
@media (max-width: 420px) {
  .container { padding-inline: 16px; }
  .nav-inner { gap: 10px; }
  .nav-cta .btn-primary { padding: 7px 12px; font-size: 11.5px; letter-spacing: 0; }
  .brand-text { font-size: 14px; }
  .brand-mark { width: 34px !important; height: 34px !important; }
  .brand { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 100px 0 70px; overflow: hidden;
  display: flex; align-items: center;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(46, 213, 115, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 213, 115, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-orb {
  position: absolute; pointer-events: none; border-radius: 50%;
  filter: blur(80px); opacity: .55;
}
.hero-orb.orb-1 { width: 520px; height: 520px; left: -180px; top: 20%; background: radial-gradient(circle, #2ed573 0%, transparent 70%); animation: floaty 18s ease-in-out infinite; }
.hero-orb.orb-2 { width: 420px; height: 420px; right: -120px; top: 30%; background: radial-gradient(circle, #00d4ff 0%, transparent 70%); animation: floaty 22s ease-in-out infinite reverse; opacity: .35; }
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { margin-top: 20px; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { margin-top: 18px; max-width: 620px; }
.hero-ctas { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 32px; display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-item .num { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 20px; color: var(--text); }
.hero-meta-item .lbl { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.hero-meta-divider { width: 1px; height: 28px; background: var(--border); }

/* Status pill (matches panel's "AUTHENTICATION / SYSTEM ONLINE" treatment) */
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(46, 213, 115, .08); border: 1px solid rgba(46, 213, 115, .22);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--accent);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(46, 213, 115, .55); animation: pulse 2s ease-in-out infinite;
}

/* ---------- Section ---------- */
.section { padding: 100px 0; position: relative; }
.section-tight { padding: 70px 0; }
.section > .container { position: relative; z-index: 1; }

/* Per-section ambient backdrop blobs — gives every section its own atmosphere.
   Colors rotate green → cyan → violet as you scroll for visual rhythm. */
.section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at var(--blob-x, 85%) var(--blob-y, 30%), var(--blob-c, rgba(46, 213, 115, .07)), transparent 60%),
    radial-gradient(700px 500px at var(--blob-x2, 15%) var(--blob-y2, 80%), var(--blob-c2, rgba(0, 212, 255, .04)), transparent 60%);
}
.section:nth-of-type(1)::before  { --blob-x: 92%; --blob-y: 20%; --blob-c: rgba(46, 213, 115, .09);  --blob-x2: 8%;  --blob-y2: 85%; --blob-c2: rgba(0, 212, 255, .05); }
.section:nth-of-type(2)::before  { --blob-x: 12%; --blob-y: 35%; --blob-c: rgba(0, 212, 255, .08);   --blob-x2: 88%; --blob-y2: 75%; --blob-c2: rgba(139, 92, 246, .05); }
.section:nth-of-type(3)::before  { --blob-x: 80%; --blob-y: 50%; --blob-c: rgba(139, 92, 246, .07);  --blob-x2: 20%; --blob-y2: 20%; --blob-c2: rgba(46, 213, 115, .05); }
.section:nth-of-type(4)::before  { --blob-x: 18%; --blob-y: 70%; --blob-c: rgba(46, 213, 115, .08);  --blob-x2: 82%; --blob-y2: 25%; --blob-c2: rgba(0, 212, 255, .06); }
.section:nth-of-type(5)::before  { --blob-x: 90%; --blob-y: 40%; --blob-c: rgba(0, 212, 255, .07);   --blob-x2: 10%; --blob-y2: 75%; --blob-c2: rgba(46, 213, 115, .04); }
.section:nth-of-type(6)::before  { --blob-x: 25%; --blob-y: 25%; --blob-c: rgba(46, 213, 115, .07);  --blob-x2: 75%; --blob-y2: 80%; --blob-c2: rgba(139, 92, 246, .04); }
.section:nth-of-type(7)::before  { --blob-x: 85%; --blob-y: 65%; --blob-c: rgba(139, 92, 246, .06);  --blob-x2: 15%; --blob-y2: 30%; --blob-c2: rgba(46, 213, 115, .05); }
.section:nth-of-type(8)::before  { --blob-x: 15%; --blob-y: 50%; --blob-c: rgba(0, 212, 255, .07);   --blob-x2: 85%; --blob-y2: 70%; --blob-c2: rgba(46, 213, 115, .05); }
.section:nth-of-type(9)::before  { --blob-x: 50%; --blob-y: 20%; --blob-c: rgba(46, 213, 115, .07);  --blob-x2: 50%; --blob-y2: 80%; --blob-c2: rgba(0, 212, 255, .04); }

/* Thin glowing accent line at the top of each main section — visual separator */
.section::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 700px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(46, 213, 115, .35), rgba(0, 212, 255, .25), transparent);
  opacity: .6;
}
.section:first-of-type::after { display: none; }  /* don't duplicate the hero's bottom line */

/* Subtle dot-grid texture across the entire page bg — adds depth without visual noise */
.dot-grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}

/* Animated drifting gradient — fixed-position, soft, subtle. inset:0 so it never
   tricks the browser into extending the document; scale gives the drift room. */
.ambient-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 500px at 20% 20%, rgba(46, 213, 115, .04) 0%, transparent 60%),
    radial-gradient(800px 600px at 85% 70%, rgba(0, 212, 255, .035) 0%, transparent 60%),
    radial-gradient(600px 500px at 70% 30%, rgba(139, 92, 246, .025) 0%, transparent 60%);
  animation: ambientDrift 30s ease-in-out infinite alternate;
  will-change: transform;
  transform-origin: center;
}
@keyframes ambientDrift {
  0%   { transform: scale(1.12) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-3%, -2%, 0); }
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 14px; }
.section-head.center { margin-inline: auto; text-align: center; }
.divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--border-2), transparent);
  margin: 80px 0;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  position: relative;
}
.stats-strip::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-accent);
}
.stat-cell {
  padding: 28px 24px; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell .icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(46, 213, 115, .08); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.stat-cell .num {
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 28px; color: var(--text);
  line-height: 1; letter-spacing: -.01em;
}
.stat-cell .num .unit { font-size: 14px; color: var(--text-3); margin-left: 2px; font-weight: 600; }
.stat-cell .lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
@media (max-width: 760px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 213, 115, .35), transparent);
  opacity: 0; transition: opacity .25s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-3); box-shadow: var(--shadow-3); }
.feature-card:hover::before { opacity: 1; }
.feature-card .feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(46, 213, 115, .08); color: var(--accent);
  border: 1px solid rgba(46, 213, 115, .18);
  margin-bottom: 18px;
}
.feature-card .feat-icon.cyan { background: rgba(0, 212, 255, .08); color: var(--accent-2); border-color: rgba(0, 212, 255, .18); }
.feature-card .feat-icon.amber { background: rgba(245, 158, 11, .08); color: var(--amber); border-color: rgba(245, 158, 11, .18); }
.feature-card .feat-icon.rose { background: rgba(244, 63, 94, .08); color: var(--rose); border-color: rgba(244, 63, 94, .18); }
.feature-card .feat-icon.violet { background: rgba(139, 92, 246, .08); color: var(--accent-3); border-color: rgba(139, 92, 246, .18); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.feature-card .feat-meta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; gap: 18px; flex-wrap: wrap;
}
.feature-card .feat-meta .mp {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em;
  color: var(--text-3); text-transform: uppercase;
}
.feature-card .feat-meta .mp .v { color: var(--accent); }

/* ---------- Plan cards ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; position: relative; isolation: isolate; }
.plan-grid::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: min(440px, 64vw); aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 14px; padding: 1.5px;
  background: conic-gradient(from 0deg, #2ed573, #00d4ff, #8b5cf6, #2ed573);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: -1; opacity: .55;
  animation: plan-diamond-spin 14s linear infinite;
}
@keyframes plan-diamond-spin {
  from { transform: translate(-50%, -50%) rotate(45deg); }
  to   { transform: translate(-50%, -50%) rotate(405deg); }
}

/* Turnstile widget — responsive container, scaled height but keeps full form width */
.turnstile-wrap { margin: 6px 0 10px; width: 100%; height: 56px; overflow: hidden; }
.turnstile-wrap .cf-turnstile { width: 116.3%; transform: scale(.86); transform-origin: left top; }
.turnstile-wrap iframe { max-width: 100% !important; border: 0 !important; outline: 0 !important; }
@media (max-width: 360px) {
  .turnstile-wrap { height: 51px; }
  .turnstile-wrap .cf-turnstile { width: 128.2%; transform: scale(.78); }
}
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .plan-grid::before { display: none; } }

.plan {
  position: relative; padding: 36px 30px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured {
  border-color: rgba(46, 213, 115, .35);
  box-shadow: 0 24px 80px rgba(46, 213, 115, .12);
  background:
    radial-gradient(800px 200px at 50% -80px, rgba(46, 213, 115, .14), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
}
.plan.featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; background: var(--grad-accent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan .ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #04141d;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 11px; letter-spacing: .18em;
  padding: 5px 14px; border-radius: 999px; text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(46, 213, 115, .35);
}
.plan-name { font-family: 'JetBrains Mono', monospace; font-weight: 700; letter-spacing: .12em; color: var(--text-2); text-transform: uppercase; font-size: 12px; margin-bottom: 6px; }
.plan-tag { color: var(--text-3); font-size: 14px; margin-bottom: 22px; min-height: 21px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan-price .amt { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 48px; letter-spacing: -.02em; color: var(--text); }
.plan-price .per { color: var(--text-3); font-size: 14px; font-weight: 500; }
.plan-billing { color: var(--text-3); font-size: 12.5px; margin-bottom: 24px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 28px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.plan-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.plan-features li.muted { color: var(--text-3); }
.plan-features li.muted svg { color: var(--text-3); }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.compare {
  width: 100%; border-collapse: collapse; min-width: 700px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
}
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare thead th { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; background: var(--bg-3); }
.compare tbody td { color: var(--text); }
.compare tbody td:first-child { color: var(--text-2); }
.compare tbody td.yes { color: var(--accent); font-weight: 600; }
.compare tbody td.no { color: var(--text-3); }
.compare tr:last-child td { border-bottom: 0; }
.compare .col-featured { background: rgba(46, 213, 115, .04); }

/* ---------- FAQ accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 600; font-size: 15px; color: var(--text); text-align: left;
}
.faq-q .chev {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--text-3);
  transition: transform .2s ease, color .2s ease;
}
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); color: var(--accent); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.faq-item.is-open .faq-a { padding: 4px 24px 22px; max-height: 400px; }

/* ---------- Flow diagram ---------- */
.flow {
  position: relative; padding: 40px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.flow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(46, 213, 115, .04) 1px, transparent 1px), linear-gradient(to bottom, rgba(46, 213, 115, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.flow-row { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: center; position: relative; }
.flow-node {
  background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 20px 16px; text-align: center; position: relative;
}
.flow-node .ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(46, 213, 115, .08); color: var(--accent); margin-bottom: 10px; border: 1px solid rgba(46, 213, 115, .18); }
.flow-node .ic.cy { background: rgba(0, 212, 255, .08); color: var(--accent-2); border-color: rgba(0, 212, 255, .18); }
.flow-node .ic.am { background: rgba(245, 158, 11, .08); color: var(--amber); border-color: rgba(245, 158, 11, .18); }
.flow-node .ic.vi { background: rgba(139, 92, 246, .08); color: var(--accent-3); border-color: rgba(139, 92, 246, .18); }
.flow-node .name { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.flow-node .sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); position: relative;
}
.flow-arrow .dash {
  width: 100%; height: 1px;
  background: repeating-linear-gradient(to right, var(--border-2) 0 6px, transparent 6px 12px);
  position: relative;
}
.flow-arrow .packet {
  position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
  animation: pkt 3.5s linear infinite;
}
.flow-arrow.cy .packet { background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); animation-delay: .9s; }
.flow-arrow.am .packet { background: var(--amber); box-shadow: 0 0 12px var(--amber); animation-delay: 1.6s; }
.flow-arrow.vi .packet { background: var(--accent-3); box-shadow: 0 0 12px var(--accent-3); animation-delay: 2.3s; }
@media (max-width: 980px) {
  .flow-row { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); padding: 10px 0; }
  .flow-arrow .dash { width: 32px; }
}

/* ---------- Speed bars ---------- */
.speed-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; position: relative; overflow: hidden;
}
.speed-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.speed-row + .speed-row { border-top: 1px dashed var(--border); }
.speed-label {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .04em;
  color: var(--text-2); width: 180px; flex-shrink: 0;
}
.speed-label .tag {
  display: inline-block; padding: 2px 6px; border-radius: 4px; font-size: 10px;
  background: var(--surface-3); color: var(--text-3); margin-left: 6px;
}
.speed-row.us .speed-label .tag { background: rgba(46, 213, 115, .14); color: var(--accent); }
.speed-bar { flex: 1; height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; position: relative; }
.speed-bar-fill { height: 100%; background: var(--surface-3); border-radius: inherit; transition: width 1.4s cubic-bezier(.2, .8, .2, 1); width: 0; position: relative; }
.speed-row.us .speed-bar-fill { background: var(--grad-accent); }
.speed-bar-fill::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 30px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35));
}
.speed-value {
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px; width: 78px; text-align: right;
  color: var(--text-2);
}
.speed-row.us .speed-value { color: var(--accent); }

/* ---------- Trust strip ---------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch;
}
@media (max-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } }
.trust-cell {
  padding: 22px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); display: flex; align-items: center; gap: 14px;
}
.trust-cell .ic { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(46, 213, 115, .08); color: var(--accent); flex-shrink: 0; }
.trust-cell .t { font-weight: 600; font-size: 14px; color: var(--text); }
.trust-cell .s { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-3) 60%, var(--surface) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 60px 56px; text-align: center;
}
.cta-banner::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  padding: 1px; background: linear-gradient(135deg, rgba(46, 213, 115, .35), rgba(0, 212, 255, .15) 50%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(46, 213, 115, .04) 1px, transparent 1px), linear-gradient(to bottom, rgba(46, 213, 115, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin: 14px 0 10px; }
.cta-banner .actions { margin-top: 26px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 600px) { .cta-banner { padding: 40px 24px; } }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 48px; border-top: 1px solid var(--border); margin-top: 0; background: linear-gradient(180deg, var(--bg) 0%, #04101a 100%); position: relative; }
/* When a .section precedes the footer, tighten the bridging space so the
   bottom doesn't look unfinished. */
.section + .footer { margin-top: -40px; }
.footer::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 700px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(46, 213, 115, .35), rgba(0, 212, 255, .25), transparent);
  opacity: .6;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand p { color: var(--text-3); font-size: 14px; line-height: 1.6; max-width: 340px; margin-top: 18px; }
.footer-status { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 999px; background: rgba(46, 213, 115, .06); border: 1px solid rgba(46, 213, 115, .18); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.footer h6 { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin: 0 0 18px 0; font-weight: 700; }
.footer a:not(.brand):not(.footer-status) { display: block; color: var(--text-2); font-size: 14px; padding: 6px 0; transition: color .15s ease, transform .15s ease; }
.footer a:not(.brand):not(.footer-status):hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 36px; margin-top: 72px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 12px; flex-wrap: wrap; align-items: center; }
.footer-meta { font-family: 'JetBrains Mono', monospace; letter-spacing: .06em; }
@media (max-width: 540px) {
  .footer { padding: 72px 0 36px; }
  .footer-bottom { margin-top: 48px; padding-top: 28px; flex-direction: column; align-items: flex-start; }
}

/* ---------- Small-hero (used by sub-pages) ---------- */
.small-hero {
  padding: 160px 0 80px; position: relative; overflow: hidden; isolation: isolate;
  background: var(--bg);
}
/* Image base layer */
.small-hero .hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: var(--bg);
}
.small-hero .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  /* Third-pass tuning to match the homepage's dimmer setting — sub-page heroes
     went from .35/.55 → .55/.78 → .42/.68 → now .36/.62. Photo still reads
     but doesn't compete with the centered headline. */
  opacity: .36;
  filter: saturate(1.08) brightness(.62) contrast(1.05);
}
/* Dark vignette over image — centered (text is full-width on sub-pages) */
.small-hero .hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* Centered radial — lifted so the brighter sub-page hero image reads
       through. The headline retains its own text-shadow for the worst
       contrast case (light area of the photo behind dark text). */
    radial-gradient(ellipse 85% 75% at 50% 50%, rgba(7, 16, 26, .08) 0%, rgba(7, 16, 26, .42) 60%, rgba(7, 16, 26, .82) 95%),
    linear-gradient(180deg,
      var(--bg) 0%,
      rgba(7, 16, 26, .42) 8%,
      transparent 24%,
      transparent 70%,
      rgba(7, 16, 26, .80) 92%,
      var(--bg) 100%);
}
/* Brand gradients on top */
.small-hero .hero-tint {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(1000px 600px at 8% 90%, rgba(46, 213, 115, .32) 0%, rgba(46, 213, 115, .12) 32%, transparent 60%),
    radial-gradient(900px 600px at 92% 12%, rgba(0, 212, 255, .22) 0%, rgba(0, 212, 255, .08) 32%, transparent 60%),
    linear-gradient(135deg, rgba(46, 213, 115, .08) 0%, transparent 35%, transparent 62%, rgba(0, 212, 255, .08) 100%);
  mix-blend-mode: screen;
}
/* Grid overlay (was ::before) — now at z:3 on top of image+gradients */
.small-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(46, 213, 115, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 213, 115, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
}
/* Bottom accent line — at z:3 above everything but content */
.small-hero::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 700px; height: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(46, 213, 115, .5), rgba(0, 212, 255, .35), transparent);
  opacity: .7; box-shadow: 0 0 18px rgba(46, 213, 115, .25);
}
.small-hero > .container { position: relative; z-index: 4; }
.small-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.small-hero p { margin-top: 18px; max-width: 720px; text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
@media (max-width: 720px) {
  .small-hero { padding: 130px 0 60px; }
}

/* ---------- Page-grid helpers ---------- */
.split-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split-2.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } .split-2.reverse > :first-child { order: 0; } }

/* ---------- Feature list (for /features page) ---------- */
.bul {
  list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px;
}
.bul li { display: flex; gap: 12px; align-items: flex-start; }
.bul li svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.bul li b { color: var(--text); font-weight: 600; }
.bul li span { color: var(--text-2); font-size: 14.5px; }

/* ---------- Spec list ---------- */
.spec-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
}
.spec-row { padding: 14px 18px; display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.spec-row:nth-last-child(-n+2) { border-bottom: 0; }
.spec-row .k { color: var(--text-3); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.spec-row .v { color: var(--text); font-weight: 600; }
@media (max-width: 700px) { .spec-list { grid-template-columns: 1fr; } .spec-row:nth-last-child(2) { border-bottom: 1px solid var(--border); } }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-card { background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; max-width: 100%; }
@media (max-width: 540px) { .contact-card { padding: 24px; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.field input, .field select, .field textarea {
  background: var(--bg-3); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font-size: 14.5px; transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%; max-width: 100%; box-sizing: border-box;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46, 213, 115, .15); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-side .info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 14px;
}
.info-card .h {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.info-card .val { font-size: 16px; font-weight: 600; color: var(--text); }
.info-card .sub { color: var(--text-3); font-size: 13px; margin-top: 2px; }

/* ---------- Reveal-on-scroll ---------- */
/* Default state: visible. Only hidden once JS marks the page as ready, so a JS
   error / slow load never leaves a page painted blank. */
.reveal { transition: opacity .7s ease, transform .7s ease; }
html.js-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(20px); }
html.js-ready .reveal-stagger:not(.is-in) > * { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal-stagger.is-in > * { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .hero-orb, .pulse-dot, .eyebrow::before, .flow-arrow .packet { animation: none !important; }
}

/* ---------- Keyframes ---------- */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, .55); }
  50%      { box-shadow: 0 0 0 8px rgba(46, 213, 115, 0); }
}
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(40px, -30px, 0); }
}
@keyframes pkt {
  0%   { left: -5%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

/* ---------- Toast (for contact form) ---------- */
.toast {
  position: fixed; bottom: 24px; right: 24px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  color: var(--text); font-size: 14px; box-shadow: var(--shadow-3);
  transform: translateY(20px); opacity: 0; transition: opacity .25s ease, transform .25s ease;
  z-index: 200; pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }

/* =====================================================================
   FLARE PACK — perspective grid, terminal, spotlight, marquee, bento, globe, scramble, sparks
   ===================================================================== */

/* ---- Scroll progress bar ---- */
.scrollbar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 999;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  transform-origin: 0 50%; transform: scaleX(0);
  will-change: transform; pointer-events: none;
  box-shadow: 0 0 12px rgba(46, 213, 115, .55), 0 0 2px rgba(46, 213, 115, .8);
}

/* ---- Film grain overlay ---- */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 998;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px;
}

/* Custom cursor dot removed by request — kept selector for legacy classes but hides the element if it slips back in. */
.cursor-dot { display: none !important; }

/* ---- Perspective grid floor (hero) ---- */
.grid-floor {
  position: absolute; left: 50%; bottom: -10%;
  width: 220vw; height: 75vh; pointer-events: none;
  transform: translateX(-50%) perspective(900px) rotateX(56deg);
  transform-origin: 50% 100%;
  background-image:
    linear-gradient(to right, rgba(46, 213, 115, .22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 213, 115, .14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 25%, transparent 75%);
  animation: grid-scroll 4.5s linear infinite;
}
.grid-floor::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 35%;
  background: linear-gradient(180deg, var(--bg), transparent);
}
@keyframes grid-scroll {
  to { background-position: 0 72px, 0 0; }
}

/* Horizon glow + sun */
.sun-glow {
  position: absolute; left: 50%; bottom: 28%; transform: translateX(-50%);
  width: 70%; max-width: 720px; height: 220px; pointer-events: none;
  background: radial-gradient(ellipse at center bottom, rgba(46, 213, 115, .42) 0%, rgba(0, 212, 255, .14) 35%, transparent 70%);
  filter: blur(28px); opacity: .9;
}

/* ---- Word-fade headline ---- */
.word-fade > span.w { display: inline-block; opacity: 0; transform: translateY(22px); filter: blur(6px); animation: wordIn .9s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }

/* Cursor-tracked card spotlight removed 2026-05-27 by request.
   The effect (radial gradient at --mx/--my under hovered cards) lives in
   ~/Desktop/cursor glow/ if it ever needs to come back. Button glows are
   unaffected — those use the static .btn / .btn-primary rules elsewhere. */

/* ---- Animated conic-gradient border (used on featured plan) ---- */
.conic-border { position: relative; isolation: isolate; }
.conic-border::before {
  content: ""; position: absolute; inset: -1px; padding: 1.5px; border-radius: inherit;
  background: conic-gradient(from 0deg, #2ed573, #00d4ff, #8b5cf6, #2ed573);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: conic-spin 8s linear infinite; z-index: -1;
}
@keyframes conic-spin { to { transform: rotate(360deg); } }

/* The existing .plan.featured uses ::before for a static border — turn it off so conic can shine */
.plan.featured.conic-border::before {
  background: conic-gradient(from 0deg, #2ed573, #00d4ff, #8b5cf6, #2ed573) !important;
  animation: conic-spin 8s linear infinite;
}

/* ---- Terminal mock ---- */
.terminal {
  background: #050b15; border: 1px solid var(--border-2); border-radius: 14px;
  overflow: hidden; box-shadow: 0 32px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(46, 213, 115, .04), inset 0 1px 0 rgba(255, 255, 255, .04);
  position: relative;
}
.terminal::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: linear-gradient(transparent 50%, rgba(46, 213, 115, .04) 50%);
  background-size: 100% 3px;
}
.terminal-head {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: linear-gradient(180deg, #0a131e, #050b15); border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-3);
  position: relative; z-index: 1;
}
.terminal-head .dots { display: flex; gap: 6px; }
.terminal-head .dots span { width: 11px; height: 11px; border-radius: 50%; }
.terminal-head .dots .r { background: #ff5f57; }
.terminal-head .dots .y { background: #febc2e; }
.terminal-head .dots .g { background: #28c840; }
.terminal-head .ttl { color: var(--text-2); }
.terminal-head .live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.terminal-body {
  padding: 16px 18px; font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.65;
  color: var(--text-2); min-height: 280px; max-height: 380px; overflow: hidden;
  position: relative; z-index: 1;
}
.terminal-line { white-space: pre-wrap; word-break: break-word; opacity: 0; }
.terminal-line.shown { opacity: 1; transition: opacity .25s ease; }
.terminal-line .pr  { color: var(--accent); font-weight: 600; }
.terminal-line .arg { color: var(--text); }
.terminal-line .ok  { color: var(--accent); font-weight: 600; }
.terminal-line .info{ color: var(--accent-2); }
.terminal-line .warn{ color: var(--amber); }
.terminal-line .err { color: var(--rose); }
.terminal-line .dim { color: var(--text-3); }
.terminal-line .b   { color: var(--text); font-weight: 700; }
.terminal-caret { display: inline-block; width: 8px; height: 15px; background: var(--accent); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(2) infinite; box-shadow: 0 0 8px var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* ---- Hero split layout (content + terminal) ---- */
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: stretch; position: relative; z-index: 2; }
.hero-split > div:first-child { display: flex; flex-direction: column; justify-content: center; }
.hero-split > div:last-child  { display: flex; flex-direction: column; justify-content: center; }
.hero-split .terminal { display: flex; flex-direction: column; flex: 1; max-height: 640px; }
.hero-split .terminal-body { flex: 1; min-height: 0; max-height: none; }
@media (max-width: 1080px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; align-items: center; }
  .hero-split .terminal { flex: 0 0 auto; max-height: none; }
  .hero-split .terminal-body { min-height: 320px; }
}

/* ---- Hero badge bar (online | version | NVMe | Tbps) ---- */
/* Each badge is its own rounded pill so wrapping looks clean on every screen size */
.hero-badge-bar {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
  background: transparent; border: 0; padding: 0; max-width: 100%;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.hero-badge-bar .b {
  padding: 6px 12px;
  background: rgba(7, 16, 26, .7);
  border: 1px solid var(--border-2); border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text-2);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  line-height: 1;
}
.hero-badge-bar .b.acc { color: var(--accent);    border-color: rgba(46, 213, 115, .28); background: rgba(46, 213, 115, .06); }
.hero-badge-bar .b.cy  { color: var(--accent-2);  border-color: rgba(0, 212, 255, .28);  background: rgba(0, 212, 255, .05); }
.hero-badge-bar .b.am  { color: var(--amber);     border-color: rgba(245, 158, 11, .28); background: rgba(245, 158, 11, .05); }
.hero-badge-bar .b .pulse-dot { vertical-align: middle; }
.hero-badge-bar .lbl-short { display: none; }
@media (max-width: 540px) {
  .hero-badge-bar { font-size: 9px; gap: 4px; }
  .hero-badge-bar .b { padding: 4px 8px; letter-spacing: .08em; }
  .hero-badge-bar .lbl-full  { display: none; }
  .hero-badge-bar .lbl-short { display: inline; }
}
@media (max-width: 380px) {
  .hero-badge-bar { font-size: 8.5px; gap: 3px; }
  .hero-badge-bar .b { padding: 4px 7px; }
}

/* ---- Marquee (tech logos strip) ---- */
.marquee-section { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(7, 16, 26, .4), transparent); overflow: hidden; }
.marquee { overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; will-change: transform; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-2); font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: .08em; font-weight: 600; white-space: nowrap;
  text-transform: uppercase;
}
.marquee-item .ic {
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.marquee-item:nth-child(3n) .ic { color: var(--accent-2); }
.marquee-item:nth-child(3n+1) .ic { color: var(--amber); }
.marquee-item:nth-child(3n+2) .ic { color: var(--accent-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Bento grid ---- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 16px; }
.bento-cell {
  position: relative; padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.bento-cell:hover { transform: translateY(-3px); border-color: var(--border-3); }
.bento-cell .be {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  background: rgba(46, 213, 115, .08); color: var(--accent); border: 1px solid rgba(46, 213, 115, .2);
}
.bento-cell .be.cy  { background: rgba(0, 212, 255, .08);  color: var(--accent-2); border-color: rgba(0, 212, 255, .2); }
.bento-cell .be.am  { background: rgba(245, 158, 11, .08); color: var(--amber);    border-color: rgba(245, 158, 11, .2); }
.bento-cell .be.vi  { background: rgba(139, 92, 246, .08); color: var(--accent-3); border-color: rgba(139, 92, 246, .2); }
.bento-cell h3 { font-size: 1.18rem; margin: 14px 0 8px; }
.bento-cell p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.bento-big {
  font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: clamp(38px, 4vw, 64px); letter-spacing: -.025em;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1;
  margin-top: 10px;
}
.bento-big.cyber { background: var(--grad-cyber); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bento-big.fire  { background: var(--grad-fire);  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bento-cell .footer-stamp { position: absolute; bottom: 18px; left: 26px; right: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.bento-cell .footer-stamp .mp { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
.bento-cell .footer-stamp .mp .v { color: var(--accent); }
.b-2x2 { grid-column: span 2; grid-row: span 2; }
.b-2x1 { grid-column: span 2; grid-row: span 1; }
.b-3x1 { grid-column: span 3; grid-row: span 1; }
.b-3x2 { grid-column: span 3; grid-row: span 2; }
.b-4x1 { grid-column: span 4; grid-row: span 1; }
.b-4x2 { grid-column: span 4; grid-row: span 2; }
.b-6x1 { grid-column: span 6; grid-row: span 1; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .b-2x2, .b-3x2, .b-4x2, .b-6x1 { grid-column: span 2; grid-row: span 2; }
  .b-2x1, .b-3x1, .b-4x1 { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .b-2x2, .b-3x2, .b-4x2, .b-6x1, .b-2x1, .b-3x1, .b-4x1 { grid-column: span 1; }
}

/* ---- Globe / POPs ---- */
.globe-wrap {
  position: relative; max-width: 920px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at center, rgba(46, 213, 115, .06), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.globe-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.globe-svg { width: 100%; height: 100%; display: block; position: relative; z-index: 1; }
.globe-svg .grid-line { stroke: rgba(255, 255, 255, .04); stroke-width: 1; fill: none; }
.globe-svg .equator { stroke: rgba(46, 213, 115, .18); stroke-width: 1; stroke-dasharray: 5 5; fill: none; }
.globe-svg .outer { stroke: rgba(46, 213, 115, .22); stroke-width: 1.5; fill: none; }
.globe-svg .conn  { stroke: rgba(46, 213, 115, .18); stroke-width: 1; fill: none; stroke-dasharray: 4 3; animation: dashflow 8s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -56; } }
.globe-svg .pop { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.globe-svg .pop.cy { fill: var(--accent-2); filter: drop-shadow(0 0 6px var(--accent-2)); }
.globe-svg .ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-origin: center; transform-box: fill-box; animation: ringPulse 3s ease-out infinite; }
.globe-svg .ring.cy { stroke: var(--accent-2); }
.globe-svg .ring.d2 { animation-delay: .75s; }
.globe-svg .ring.d3 { animation-delay: 1.5s; }
.globe-svg .ring.d4 { animation-delay: 2.25s; }
@keyframes ringPulse { 0% { r: 3; opacity: .9; } 100% { r: 28; opacity: 0; } }
.globe-svg .pop-label { fill: var(--text-3); font: 600 9px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }

/* Globe stat row underneath */
.globe-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.globe-stats > div { padding: 18px 20px; border-right: 1px solid var(--border); }
.globe-stats > div:last-child { border-right: 0; }
.globe-stats .k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; margin-bottom: 4px; }
.globe-stats .v { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; color: var(--text); }
.globe-stats .v.acc { color: var(--accent); }
.globe-stats .v.cy  { color: var(--accent-2); }
.globe-stats .v.am  { color: var(--amber); }
@media (max-width: 760px) { .globe-stats { grid-template-columns: 1fr 1fr; } .globe-stats > div:nth-child(2) { border-right: 0; } }

/* ---- Ember sparks (CTA banner) ---- */
.sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.spark {
  position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(46, 213, 115, .6);
  opacity: 0; animation: sparkRise linear infinite;
}
.spark.cy { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2), 0 0 16px rgba(0, 212, 255, .55); }
.spark.am { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
@keyframes sparkRise {
  0%   { transform: translate3d(0, 0, 0) scale(.5); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translate3d(var(--dx, 0px), -380px, 0) scale(0); opacity: 0; }
}

/* ---- Section divider with glow line ---- */
.line-div { position: relative; height: 1px; max-width: 880px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(46,213,115,.7), rgba(0,212,255,.5), transparent);
  box-shadow: 0 0 18px rgba(46, 213, 115, .35);
}

/* ---- Tilt 3D (subtle on cards) ---- */
.tilt { transform-style: preserve-3d; }
.tilt > * { transform: translateZ(0); }

/* Page-load fade removed — body animation was causing some browsers to reserve
   transform layout space, manifesting as phantom blank below the footer. */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .grid-floor, .marquee-track, .conic-border::before, .globe-svg .ring, .globe-svg .conn, .spark, .terminal-caret, .plan-grid::before { animation: none !important; }
  body { animation: none; }
  .word-fade > span.w { opacity: 1; transform: none; filter: none; animation: none; }
}

/* =====================================================================
   PERFORMANCE — pause off-screen animations, lazy-render below-fold sections
   ===================================================================== */

/* content-visibility: auto disabled — was reserving phantom layout space below the
   last section in some browsers (manifests as a big blank below the footer).
   Pause-when-off-screen via IntersectionObserver still gives us the bigger perf win. */

/* When a container is marked .is-paused (by JS, when scrolled off-screen),
   pause every continuous animation inside it. */
.is-paused .marquee-track,
.is-paused.conic-border::before,
.is-paused .globe-svg .ring,
.is-paused .globe-svg .conn,
.is-paused .flow-arrow .packet,
.is-paused .spark,
.is-paused .grid-floor {
  animation-play-state: paused !important;
}

/* =====================================================================
   HERO IMAGE BACKDROP — cinematic server-room/city image
   ===================================================================== */

.hero-with-image { padding: 100px 0 80px; isolation: isolate; }
@media (max-width: 1080px) {
  .hero-with-image { padding: 80px 0 56px; }
}
@media (max-width: 720px) {
  .hero-with-image { padding: 60px 0 48px; }
}
@media (max-width: 420px) {
  .hero-with-image { padding: 54px 0 40px; }
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  display: block;
  background: var(--bg);  /* match the site so the hero reads as continuous with the page */
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  /* Third-pass tuning, knocked down a notch on UX review. Original .42/.55
     (too dim) → .62/.78 (too bright) → .50/.68 (still slightly heavy) →
     .44/.62 keeps the photo readable but lets the headline and brand wash
     dominate. */
  opacity: .44;
  filter: saturate(1.08) brightness(.62) contrast(1.05);
}

/* Layer 1: heavy dark wash on the LEFT half (where text lives), clearer on the right
   (where the terminal panel covers anyway). Plus top & bottom fades to var(--bg). */
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* Left-leaning dark wash for text legibility — lifted a notch (was
       .94/.78/.50/.22) so the brighter hero image reads through it. The
       headline still has its own text-shadow as a final safety net. */
    linear-gradient(105deg,
      rgba(7, 16, 26, .82) 0%,
      rgba(7, 16, 26, .60) 28%,
      rgba(7, 16, 26, .32) 48%,
      rgba(7, 16, 26, .12) 68%,
      transparent 90%),
    /* Top & bottom fade to bg — same as before, hero needs the page-edge
       fade regardless of how bright the photo is. */
    linear-gradient(180deg,
      var(--bg) 0%,
      rgba(7, 16, 26, .60) 8%,
      transparent 24%,
      transparent 70%,
      rgba(7, 16, 26, .82) 92%,
      var(--bg) 100%);
}

/* When the hero stacks vertically (terminal under text), darken uniformly so
   the image doesn't compete with text from any angle. */
@media (max-width: 1080px) {
  .hero-vignette {
    /* Mobile stack — same vertical fade but a touch lighter so the photo
       reads through on phones too. */
    background:
      linear-gradient(180deg,
        var(--bg) 0%,
        rgba(7, 16, 26, .68) 10%,
        rgba(7, 16, 26, .48) 50%,
        rgba(7, 16, 26, .80) 92%,
        var(--bg) 100%);
  }
}

/* Layer 2: BOLD VISIBLE brand-color washes — this is the design statement.
   Big radial sweeps of green and cyan that read as intentional brand light. */
.hero-tint {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    /* Vibrant green spill from lower-left, behind the headline */
    radial-gradient(1100px 700px at 8% 90%, rgba(46, 213, 115, .42) 0%, rgba(46, 213, 115, .15) 30%, transparent 60%),
    /* Vibrant cyan spill from upper-right, behind the terminal */
    radial-gradient(950px 650px at 92% 12%, rgba(0, 212, 255, .32) 0%, rgba(0, 212, 255, .10) 32%, transparent 60%),
    /* Diagonal accent stripe for a premium-SaaS look */
    linear-gradient(135deg, rgba(46, 213, 115, .10) 0%, transparent 35%, transparent 62%, rgba(0, 212, 255, .10) 100%);
  mix-blend-mode: screen;
}

/* CRT-style scanlines for a tech-monitor feel */
.hero-scanlines {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, .03) 50%);
  background-size: 100% 3px;
  opacity: .5; mix-blend-mode: overlay;
}

/* Soft grid overlay on top of the image bottom-half for depth */
.hero-grid-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; height: 65%; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(46, 213, 115, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 213, 115, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  opacity: .75;
}

/* Push the split layout above all the overlays */
.hero-with-image .hero-split { position: relative; z-index: 4; }

/* Suppress the original neon orbs / grid floor when an image is in place */
.hero-with-image .grid-floor,
.hero-with-image .sun-glow,
.hero-with-image .hero-orb,
.hero-with-image .hero-grid-bg { display: none; }

/* Strong glow behind headline so the text never gets lost on busy areas */
.hero-with-image h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, .55), 0 0 80px rgba(7, 16, 26, .5);
}
.hero-with-image .lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }

/* Make the terminal panel sit above with a stronger shadow when on image.
   Body is frosted-glass translucent so the hero image shows through subtly;
   head stays solid for crisp traffic lights + title. */
.hero-with-image .terminal {
  background: transparent;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(46, 213, 115, .12), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.hero-with-image .terminal-head {
  background: linear-gradient(180deg, rgba(10, 19, 30, 0.78), rgba(5, 11, 21, 0.78));
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
}
.hero-with-image .terminal-body {
  background: rgba(5, 11, 21, 0.50);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
}

/* Glossy reflection line at the bottom — matches the image's reflective floor */
.hero-with-image::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 5;
  background: linear-gradient(90deg, transparent, rgba(46, 213, 115, .55), rgba(0, 212, 255, .4), transparent);
  box-shadow: 0 0 24px rgba(46, 213, 115, .35);
}

/* Mobile tweaks */
@media (max-width: 720px) {
  .hero-with-image { padding: 140px 0 80px; }
  .hero-bg img { object-position: 50% 50%; }
  .hero-with-image h1 { font-size: clamp(2.1rem, 7vw, 3rem); }
}

/* === mobile hero padding tighten === */
@media (max-width: 720px) { .hero { padding-top: 80px; padding-bottom: 56px; } .hero h1 { margin-top: 18px !important; } }
@media (max-width: 540px) { .hero { padding-top: 70px; padding-bottom: 44px; } .hero p.lead { margin-top: 16px; } }

/* === hero bg rotator (homepage) === */
/* 2-frame cycle: each frame is visible for half the cycle with a crossfade in
   between. Retimed from the original 18s/3-frame layout when the pricing hero
   was dropped — leaving the 3-frame timing in place would have produced a
   6-second blank gap once per loop. */
.hero-bg-rotator { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg-rotator .hero-bg-frame { position: absolute; inset: 0; opacity: 0; will-change: opacity; animation: sbHeroFade 14s ease-in-out infinite; }
.hero-bg-rotator .hero-bg-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg-rotator .hero-bg-frame:nth-child(1) { animation-delay: 0s; }
.hero-bg-rotator .hero-bg-frame:nth-child(2) { animation-delay: 7s; }
@keyframes sbHeroFade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  50%  { opacity: 1; }
  60%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-rotator .hero-bg-frame { animation: none; opacity: 0; }
  .hero-bg-rotator .hero-bg-frame:nth-child(1) { opacity: 1; }
}
/* ============================================================
   ServerBorn site enhancements v1 — appended to main.css
   ============================================================ */

/* ----- Typography hierarchy bumps ----- */
.hero h1, .small-hero h1 { font-weight: 900 !important; letter-spacing: -.02em; line-height: 1.05; }
.hero h1 .gradient-text, .small-hero h1 .gradient-text { letter-spacing: -.02em; }
h2 { font-weight: 800; letter-spacing: -.015em; }
h3 { font-weight: 700; letter-spacing: -.005em; }
.lead { line-height: 1.65; }
.eyebrow { font-weight: 700; letter-spacing: .18em; }

/* ----- Sticky CTA (bottom-left, away from chat widget on right) ----- */
.sb-sticky-cta {
  position: fixed;
  left: calc(22px + env(safe-area-inset-left, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 9000;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 18px;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  color: #04141d !important; text-decoration: none !important;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(46,213,115,.35), 0 0 0 1px rgba(46,213,115,.45), inset 0 1px 0 rgba(255,255,255,.30);
  opacity: 0; transform: translateY(80px) scale(.98);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s cubic-bezier(.16,.84,.44,1);
}
.sb-sticky-cta.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.sb-sticky-cta:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.06); }
.sb-sticky-cta-spark { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #04141d; box-shadow: 0 0 0 3px rgba(4,20,29,.18); animation: sb-cta-pulse 2s ease-in-out infinite; }
.sb-sticky-cta-arrow { display: inline-block; transition: transform .15s ease; }
.sb-sticky-cta:hover .sb-sticky-cta-arrow { transform: translateX(3px); }
.sb-sticky-cta-close { background: rgba(4,20,29,.15); border: 0; color: #04141d; cursor: pointer; padding: 0 6px; font-size: 16px; line-height: 1.4; border-radius: 999px; margin-left: 4px; }
.sb-sticky-cta-close:hover { background: rgba(4,20,29,.30); }
@keyframes sb-cta-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.7); } }
@media (max-width: 540px) {
  .sb-sticky-cta { left: calc(14px + env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); font-size: 12.5px; padding: 9px 12px 9px 16px; }
}
@media (prefers-reduced-motion: reduce) { .sb-sticky-cta-spark { animation: none; } }

/* ----- Tooltips ----- */
.sb-tip {
  position: relative; cursor: help;
  border-bottom: 1px dotted rgba(46,213,115,.55);
  color: inherit;
}
.sb-tip:hover, .sb-tip:focus { outline: none; }
.sb-tip::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: linear-gradient(180deg, #0e1a23 0%, #07101a 100%);
  color: #f3f7fb;
  border: 1px solid rgba(46,213,115,.30);
  padding: 9px 13px;
  border-radius: 10px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px; font-weight: 400; line-height: 1.55;
  letter-spacing: 0; text-transform: none;
  white-space: normal;
  width: max-content; max-width: 260px;
  pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
  box-shadow: 0 16px 40px rgba(0,0,0,.50), 0 0 0 1px rgba(255,255,255,.04);
  z-index: 1000;
}
.sb-tip::before {
  content: ""; position: absolute; bottom: calc(100% + 4px); left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: rgba(46,213,115,.30);
  pointer-events: none;
  opacity: 0; transition: opacity .15s ease;
  z-index: 1001;
}
.sb-tip:hover::after, .sb-tip:focus::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.sb-tip:hover::before, .sb-tip:focus::before { opacity: 1; }

/* ----- Live status indicator (in hero-meta) ----- */
.sb-live-status {
  display: inline-flex; align-items: center; gap: 10px;
  margin-left: 6px;
  padding: 8px 14px;
  background: rgba(46,213,115,.06);
  border: 1px solid rgba(46,213,115,.25);
  border-radius: 999px;
  text-decoration: none !important;
  color: var(--text-2) !important;
  transition: border-color .15s ease, background .15s ease;
}
.sb-live-status:hover { border-color: rgba(46,213,115,.50); background: rgba(46,213,115,.10); }
.sb-live-status .sb-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ed573; box-shadow: 0 0 8px #2ed573; animation: sb-cta-pulse 2s ease-in-out infinite; flex-shrink: 0; }
.sb-live-status .sb-live-stack { display: inline-flex; flex-direction: column; line-height: 1.1; }
.sb-live-status .sb-live-lbl { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-family: 'JetBrains Mono', monospace; }
.sb-live-status .sb-live-val { font-size: 12px; color: var(--accent); font-weight: 600; font-family: 'JetBrains Mono', monospace; }
/* ============================================================
   Pricing extras: calculator + comparison table
   ============================================================ */

/* ---- Calculator ---- */
.sb-calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; padding: 28px; background: linear-gradient(180deg, rgba(46,213,115,.04) 0%, rgba(0,212,255,.02) 100%); border: 1px solid rgba(46,213,115,.20); border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,.25); position: relative; overflow: hidden; }
.sb-calc::before { content: ""; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(0,212,255,.08), transparent 60%); pointer-events: none; }
.sb-calc-controls { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.sb-calc-field { display: flex; flex-direction: column; gap: 10px; }
.sb-calc-field label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.sb-calc-field input[type=range] { width: 100%; accent-color: #2ed573; height: 6px; }
.sb-calc-field select { background: #0e1a23; border: 1px solid rgba(255,255,255,.10); color: var(--text); padding: 11px 14px; border-radius: 10px; font-family: inherit; font-size: 14px; cursor: pointer; transition: border-color .15s ease; }
.sb-calc-field select:focus, .sb-calc-field select:hover { border-color: rgba(46,213,115,.50); outline: none; }
.sb-calc-out { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--accent); font-weight: 700; }
.sb-calc-out .sb-dim { color: var(--text-3); font-weight: 400; margin-left: 4px; }

.sb-calc-result { background: rgba(7,16,26,.85); border: 1px solid rgba(46,213,115,.35); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.sb-calc-pick-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.sb-calc-pick-name { font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -.02em; background: linear-gradient(135deg, #2ed573, #00d4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-calc-pick-name.is-launch { background: linear-gradient(135deg, #2ed573, #1eb95f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-calc-pick-name.is-pro { background: linear-gradient(135deg, #2ed573, #00d4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-calc-pick-name.is-studio { background: linear-gradient(135deg, #00d4ff, #9b6bff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-calc-pick-why { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.sb-calc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

@media (max-width: 720px) {
  .sb-calc { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .sb-calc-pick-name { font-size: 30px; }
}

/* ---- Comparison table ---- */
.sb-compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 48px rgba(0,0,0,.25); }
.sb-compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.sb-compare th, .sb-compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.sb-compare th:first-child, .sb-compare td:first-child { text-align: left; color: var(--text-2); width: 40%; }
.sb-compare thead th { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); padding: 22px 18px 18px; background: rgba(7,16,26,.4); position: relative; font-weight: 700; }
.sb-compare thead th.pop { color: var(--accent); }
.sb-compare thead th .popular-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-50%); background: linear-gradient(135deg, #2ed573, #00d4ff); color: #04141d; padding: 3px 10px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .18em; line-height: 1.2; white-space: nowrap; }
.sb-compare td { color: var(--text); font-weight: 500; }
.sb-compare tr.sb-compare-group td { background: rgba(46,213,115,.05); color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; text-align: left !important; padding: 14px 18px 10px; border-top: 1px solid var(--border-2); font-weight: 700; }
.sb-compare tbody tr:not(.sb-compare-group):hover { background: rgba(255,255,255,.02); }
.sb-compare td .sb-dash { color: var(--text-3); opacity: .55; }
.sb-compare th.pop, .sb-compare td:nth-child(3) { background: linear-gradient(180deg, rgba(46,213,115,.04), transparent); }
.sb-compare tbody tr:last-child td { padding: 22px 18px; }
/* === override: hide removed enhancements (sticky CTA + live status pill) === */
.sb-sticky-cta, .sb-live-status { display: none !important; }
/* ============================================================
   Bento v2 — purpose-built mini visualizations per cell
   Appended to main.css; overrides .bento cell defaults where needed
   ============================================================ */

.bento.bento-v2 .bento-cell { padding: 22px 24px; display: flex; flex-direction: column; }
.bento.bento-v2 .bento-cell::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(140% 90% at 100% 0%, rgba(46,213,115,.05), transparent 55%);
  pointer-events: none; z-index: 0;
}
.bento.bento-v2 .bento-cell > * { position: relative; z-index: 1; }
.bento.bento-v2 h3 { font-size: 1.06rem; margin: 10px 0 4px; line-height: 1.25; font-weight: 700; }
.bento.bento-v2 p  { font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin: 0; }

/* ---- Cell 1: NVMe big — bar chart ---- */
.bv-nvme { gap: 14px; justify-content: space-between; }
.bv-nvme .bv-head { display: flex; flex-direction: column; gap: 6px; }
.bv-nvme h3 { font-size: 1.32rem; }
.bv-nvme p { max-width: 92%; }
.bv-chart {
  background: rgba(7,16,26,.55);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 14px 16px 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.bv-chart-head { display: flex; justify-content: space-between; align-items: center; }
.bv-mono-lbl, .bv-mono-val {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.bv-mono-lbl { color: var(--text-3); }
.bv-mono-val { color: var(--text-2); }
.bv-bars { display: flex; flex-direction: column; gap: 9px; }
.bv-bar { display: grid; grid-template-columns: 64px 1fr 56px; align-items: center; gap: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.bv-bar-lbl { color: var(--text-2); letter-spacing: .08em; }
.bv-bar.is-us .bv-bar-lbl { color: var(--accent); font-weight: 700; }
.bv-bar-track { height: 8px; background: rgba(255,255,255,.04); border-radius: 999px; overflow: hidden; position: relative; }
.bv-bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; animation: bv-bar-grow 1.4s cubic-bezier(.16,.84,.44,1) forwards; }
.bv-bar-fill.is-dim { background: linear-gradient(90deg, #4a5663, #5e6a78); animation-delay: 0s; }
.bv-bar-fill.is-mid { background: linear-gradient(90deg, #f59e0b, #fbbf24); animation-delay: .15s; }
.bv-bar-fill.is-hot {
  background: linear-gradient(90deg, #2ed573, #00d4ff);
  box-shadow: 0 0 16px rgba(46,213,115,.45);
  animation-delay: .35s;
}
@keyframes bv-bar-grow { from { width: 0; } to { width: var(--w); } }
.bv-bar-val { text-align: right; color: var(--text-3); }
.bv-bar.is-us .bv-bar-val { color: var(--accent); font-weight: 700; }
.bv-stamp { display: flex; gap: 22px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.bv-stamp b { color: var(--accent); font-weight: 700; letter-spacing: .04em; text-transform: none; font-size: 11.5px; }
.bv-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); margin-right: 8px; animation: bv-pulse 2.4s ease-in-out infinite; }
.bv-dot.is-cy { background: var(--accent-2); box-shadow: 0 0 6px var(--accent-2); animation-delay: 1.2s; }
@keyframes bv-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.85); } }

/* ---- Shared row layout for 3x1 cells ---- */
.bv-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; height: 100%; }
.bv-row-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bv-row-text p { max-width: 360px; }

/* ---- Cell 2: DDoS shield rings ---- */
.bv-shield-art {
  position: relative; width: 132px; height: 132px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bv-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0,212,255,.22);
  animation: bv-ring 3.4s ease-out infinite;
}
.bv-ring.r1 { animation-delay: 0s; }
.bv-ring.r2 { inset: 14px; animation-delay: .7s; border-color: rgba(0,212,255,.32); }
.bv-ring.r3 { inset: 28px; animation-delay: 1.4s; border-color: rgba(0,212,255,.45); }
@keyframes bv-ring {
  0%   { transform: scale(.85); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
.bv-core {
  position: relative; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle, #0e1a23, #07101a);
  border: 1px solid rgba(0,212,255,.55);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(0,212,255,.35), inset 0 1px 0 rgba(255,255,255,.05);
}
.bv-attack {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--rose); box-shadow: 0 0 6px var(--rose);
  animation: bv-attack 2.4s ease-in infinite;
}
.bv-attack.a1 { top: 6%;  left: 12%; animation-delay: 0s; }
.bv-attack.a2 { top: 80%; left: 88%; animation-delay: .8s; }
.bv-attack.a3 { top: 18%; left: 86%; animation-delay: 1.6s; }
@keyframes bv-attack {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  70%  { transform: translate(calc(50px - var(--ax, 0px)), calc(50px - var(--ay, 0px))) scale(.6); opacity: .5; }
  100% { transform: translate(0,0) scale(0); opacity: 0; }
}

/* ---- Cell 3: Uptime gauge + strip ---- */
.bv-uptime .bv-row { grid-template-columns: 1fr 120px; }
.bv-uptime-strip { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; margin-top: 10px; max-width: 360px; }
.bv-uptime-strip span {
  height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(46,213,115,.85), rgba(46,213,115,.55));
  box-shadow: 0 0 4px rgba(46,213,115,.25);
}
.bv-uptime-strip span:last-child { background: linear-gradient(180deg, #2ed573, #1eb95f); box-shadow: 0 0 8px rgba(46,213,115,.55); }
.bv-uptime-cap { display: flex; justify-content: space-between; max-width: 360px; margin-top: 5px; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.bv-gauge { position: relative; width: 108px; height: 108px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bv-gauge svg { position: absolute; inset: 0; }
.bv-gauge-val {
  font-family: 'JetBrains Mono', monospace; font-weight: 800;
  font-size: 22px; letter-spacing: -.02em;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bv-gauge-val small { font-size: 12px; }

/* ---- Cell 4: Cache layered stack ---- */
.bv-cache .bv-stack { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.bv-stack-row { display: grid; grid-template-columns: 52px 1fr 36px; align-items: center; gap: 10px; }
.bv-stack-lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.bv-stack-bar {
  display: block; height: 10px; border-radius: 4px;
  width: var(--w);
  background: linear-gradient(90deg, rgba(139,92,246,.85), rgba(0,212,255,.85));
  box-shadow: 0 0 12px rgba(0,212,255,.25);
  animation: bv-bar-grow 1.2s cubic-bezier(.16,.84,.44,1) forwards;
}
.bv-stack-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .14em;
  color: var(--accent); border: 1px solid rgba(46,213,115,.35);
  padding: 2px 6px; border-radius: 4px; text-align: center;
}

/* ---- Cell 5: Backups calendar ---- */
.bv-backups .bv-cal {
  display: grid; grid-template-columns: repeat(15, 1fr); gap: 3px;
  margin-top: 12px;
}
.bv-cal i {
  display: block; aspect-ratio: 1; border-radius: 3px;
  background: linear-gradient(180deg, rgba(46,213,115,.75), rgba(46,213,115,.45));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 4px rgba(46,213,115,.15);
}
.bv-cal i.now {
  background: linear-gradient(180deg, #2ed573, #1eb95f);
  box-shadow: 0 0 10px rgba(46,213,115,.65), inset 0 1px 0 rgba(255,255,255,.12);
  animation: bv-pulse 2.4s ease-in-out infinite;
}
.bv-cal-cap { display: flex; gap: 14px; margin-top: 10px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.bv-cal-cap span::before { content: "● "; color: var(--accent); }

/* ---- Cell 6: Migrations step pipeline ---- */
.bv-migrate .bv-steps { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.bv-step { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; flex: 1; min-width: 0; }
.bv-step + .bv-step::before {
  content: ""; position: absolute; top: 7px; right: calc(50% + 8px); left: calc(-50% + 8px);
  height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: .55;
}
.bv-step-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.15);
  position: relative; z-index: 1;
}
.bv-step.done .bv-step-dot {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 8px rgba(46,213,115,.55);
}
.bv-step.now .bv-step-dot {
  background: radial-gradient(circle, #2ed573 30%, transparent 60%);
  border-color: var(--accent);
  animation: bv-pulse 1.8s ease-in-out infinite;
}
.bv-step-lbl { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.bv-step.done .bv-step-lbl, .bv-step.now .bv-step-lbl { color: var(--text-2); }
.bv-migrate-cap { margin-top: auto; padding-top: 12px; font-size: 12px; color: var(--text-3); }
.bv-migrate-cap b { color: var(--accent); font-weight: 700; }

/* ---- Cell 7: Security strip ---- */
.bv-security { padding: 18px 26px !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 24px; }
.bv-sec-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bv-sec-list { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.bv-sec-pip { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); margin-right: 4px; }
.bv-sec-right { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.bv-sec-metric { text-align: right; }
.bv-sec-num {
  font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 24px; letter-spacing: -.02em;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.bv-sec-sub { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }

/* ---- Mobile tuning ---- */
@media (max-width: 980px) {
  .bv-row { grid-template-columns: 1fr; gap: 14px; }
  .bv-uptime .bv-row { grid-template-columns: 1fr 96px; }
  .bv-shield-art { width: 110px; height: 110px; }
  .bv-security { flex-direction: column !important; align-items: flex-start; gap: 16px; }
  .bv-sec-right { width: 100%; justify-content: space-between; }
}
@media (max-width: 540px) {
  .bv-nvme h3 { font-size: 1.18rem; }
  .bv-stamp { gap: 14px; flex-wrap: wrap; }
  .bv-uptime-strip { max-width: 100%; }
  .bv-uptime-cap { max-width: 100%; }
  .bv-uptime .bv-row { grid-template-columns: 1fr; }
  .bv-gauge { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .bv-ring, .bv-attack, .bv-dot, .bv-cal i.now, .bv-step.now .bv-step-dot, .bv-bar-fill, .bv-stack-bar { animation: none !important; }
  .bv-bar-fill, .bv-stack-bar { width: var(--w); }
}
/* ============================================================
   Tooltip v2 — shared fixed-position popover (escapes overflow:hidden)
   Overrides the older ::after pseudo-tooltip in enhance.css
   ============================================================ */

/* Suppress old pseudo-element tooltip (kept for backward-compat fallback) */
.sb-tip::after, .sb-tip::before { content: none !important; display: none !important; }

/* Shared popover */
.sb-tip-pop {
  position: fixed;
  top: -9999px; left: -9999px;
  z-index: 99999;
  pointer-events: none;
  background: linear-gradient(180deg, #0e1a23 0%, #07101a 100%);
  color: #f3f7fb;
  border: 1px solid rgba(46,213,115,.30);
  padding: 9px 13px;
  border-radius: 10px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px; font-weight: 400; line-height: 1.55;
  letter-spacing: 0; text-transform: none;
  white-space: normal;
  width: max-content; max-width: 260px;
  box-shadow: 0 16px 40px rgba(0,0,0,.50), 0 0 0 1px rgba(255,255,255,.04);
  opacity: 0; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}
.sb-tip-pop.is-visible { opacity: 1; transform: translateY(0); }
.sb-tip-pop::before {
  content: ""; position: absolute;
  bottom: -6px; left: var(--arrow-x, 50%);
  transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: rgba(46,213,115,.30);
  pointer-events: none;
}
.sb-tip-pop.is-below::before {
  bottom: auto; top: -6px;
  border-top-color: transparent; border-bottom-color: rgba(46,213,115,.30);
}
/* ============================================================
   Comparison table v2 — comprehensive WordPress hosting
   Replaces .sb-compare ruleset in pricing-extras.css
   ============================================================ */

.sb-compare-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(7,16,26,.50) 0%, rgba(7,16,26,.85) 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.30);
  padding-top: 18px;
}
.sb-compare {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}
.sb-compare th, .sb-compare td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
}
.sb-compare th:first-child, .sb-compare td:first-child {
  text-align: left;
  color: var(--text-2);
  width: 38%;
  font-weight: 500;
}

/* ----- Column widths via colgroup ----- */
.sb-compare colgroup .cg-feature { width: 38%; }
.sb-compare colgroup .cg-launch,
.sb-compare colgroup .cg-pro,
.sb-compare colgroup .cg-studio { width: 20.6%; }

/* ----- Pro column highlight (continuous through whole table) ----- */
.sb-compare th.pop, .sb-compare td.pop {
  background: linear-gradient(180deg, rgba(46,213,115,.06) 0%, rgba(0,212,255,.04) 100%);
  position: relative;
}
.sb-compare th.pop {
  border-top: 2px solid rgba(46,213,115,.55);
  box-shadow: inset 0 0 0 1px rgba(46,213,115,.18);
}
.sb-compare tbody tr:last-child td.pop {
  border-bottom: 2px solid rgba(46,213,115,.45);
}
.sb-compare td.pop {
  border-left: 1px solid rgba(46,213,115,.10);
  border-right: 1px solid rgba(46,213,115,.10);
  color: var(--text);
  font-weight: 600;
}

/* ----- Head: plan name stack ----- */
.sb-compare thead th {
  padding: 30px 18px 22px;
  background: rgba(7,16,26,.45);
  border-bottom: 1px solid var(--border-2);
  position: relative;
}
.sb-compare-feat-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.sb-compare-plan-head {
  display: flex; flex-direction: column; gap: 4px;
  align-items: center;
}
.sb-compare-plan-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text);
}
.sb-compare-plan-name.is-accent {
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sb-compare-plan-tag {
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 400;
}

/* ----- Most popular badge: sits ABOVE header inside wrapper bounds ----- */
.popular-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  color: #04141d;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(46,213,115,.30), 0 0 0 1px rgba(46,213,115,.40);
  z-index: 2;
}

/* ----- Group headers ----- */
.sb-compare tr.sb-compare-group td {
  background: rgba(46,213,115,.04);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: left !important;
  padding: 18px 22px 14px;
  border-top: 1px solid var(--border-2);
  font-weight: 700;
}
.sb-compare-group-num {
  display: inline-block;
  margin-right: 12px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(46,213,115,.10);
  border: 1px solid rgba(46,213,115,.30);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--accent);
}

/* ----- Yes / no icons ----- */
.sb-yes, .sb-no {
  display: inline-flex;
  width: 18px; height: 18px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  position: relative;
}
.sb-yes {
  background: rgba(46,213,115,.10);
  border: 1px solid rgba(46,213,115,.35);
}
.sb-yes::before {
  content: "";
  width: 8px; height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translate(1px, -1px);
}
.sb-no {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
}
.sb-no::before {
  content: "";
  width: 8px; height: 1.5px;
  background: var(--text-3);
  opacity: .6;
}
.pop .sb-yes {
  background: rgba(46,213,115,.18);
  border-color: rgba(46,213,115,.55);
  box-shadow: 0 0 8px rgba(46,213,115,.20);
}
.pop .sb-yes::before { border-color: #2ed573; }

/* ----- Tier badge (e.g., Premium) ----- */
.sb-tier {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(46,213,115,.18), rgba(0,212,255,.14));
  color: var(--accent);
  border: 1px solid rgba(46,213,115,.40);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ----- Hover row ----- */
.sb-compare tbody tr:not(.sb-compare-group):not(.sb-compare-cta-row):hover td {
  background: rgba(255,255,255,.02);
}
.sb-compare tbody tr:not(.sb-compare-group):not(.sb-compare-cta-row):hover td.pop {
  background: linear-gradient(180deg, rgba(46,213,115,.10) 0%, rgba(0,212,255,.07) 100%);
}

/* ----- CTA row ----- */
.sb-compare-cta-row td {
  padding: 22px 18px !important;
  background: rgba(7,16,26,.55);
  border-bottom: none !important;
}

/* ----- Dash ----- */
.sb-compare td .sb-dash {
  color: var(--text-3);
  opacity: .45;
}

/* ----- Mobile ----- */
@media (max-width: 760px) {
  .sb-compare { font-size: 12.5px; min-width: 680px; }
  .sb-compare th, .sb-compare td { padding: 11px 12px; }
  .sb-compare-plan-name { font-size: 12.5px; }
  .sb-compare-plan-tag { font-size: 9.5px; }
  .popular-badge { font-size: 8.5px; padding: 3px 9px; top: -8px; }
}
/* ============================================================
   Bento v2 mobile fix — let cells expand to fit their visualizations
   ============================================================ */

/* Tablet: allow rows to grow past 160px */
@media (max-width: 980px) {
  .bento.bento-v2 { grid-auto-rows: minmax(170px, auto); }
  .bento.bento-v2 .b-3x2.bv-nvme { grid-row: span 2; }
}

/* Mobile single-column: each cell is auto-height */
@media (max-width: 540px) {
  .bento.bento-v2 { grid-auto-rows: auto; gap: 14px; }
  .bento.bento-v2 .bento-cell {
    min-height: 0;
    padding: 22px 22px 24px;
  }
  .bento.bento-v2 .b-3x2.bv-nvme,
  .bento.bento-v2 .b-2x1,
  .bento.bento-v2 .b-3x1,
  .bento.bento-v2 .b-6x1 { grid-row: auto; }

  /* Re-stack the row layouts so visuals drop below their text */
  .bv-row { grid-template-columns: 1fr !important; gap: 14px; }
  .bv-uptime .bv-row { grid-template-columns: 1fr !important; }
  .bv-shield-art { width: 110px; height: 110px; align-self: flex-start; }
  .bv-gauge { width: 96px; height: 96px; align-self: flex-start; }
  .bv-gauge svg { width: 96px; height: 96px; }
  .bv-uptime-strip { max-width: 100%; }
  .bv-uptime-cap { max-width: 100%; }

  /* Security strip: stack vertically, full-width metric */
  .bv-security {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px;
    padding: 22px !important;
  }
  .bv-sec-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
  }
  .bv-sec-list { font-size: 11.5px; gap: 8px 16px; }
  .bv-sec-num { font-size: 20px; }

  /* NVMe chart — tighten so the bars stay readable */
  .bv-nvme .bv-chart { padding: 12px 14px 10px; }
  .bv-bar { grid-template-columns: 56px 1fr 48px; gap: 10px; font-size: 10.5px; }
  .bv-stamp { flex-direction: column; gap: 6px; }

  /* Backups + migrations + cache need a bit more room for their grids */
  .bv-backups .bv-cal { max-width: 240px; }
  .bv-migrate .bv-steps { margin-top: 12px; }
}
/* ============================================================
   Cards v2 — extend the bento dashboard aesthetic to every block
   type sitewide. CSS-only; layers onto existing card selectors.
   ============================================================ */

/* ----- Reusable utilities ----- */
.sb-mono-lbl { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.sb-mono-val { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--accent); font-weight: 700; letter-spacing: .04em; }
.sb-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); animation: sb-pulse 2.4s ease-in-out infinite; }
.sb-pulse.is-cy { background: var(--accent-2); box-shadow: 0 0 6px var(--accent-2); animation-delay: 1.2s; }
.sb-pulse.is-am { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
@keyframes sb-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.85); } }
.sb-big-num {
  font-family: 'JetBrains Mono', monospace; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.sb-inset {
  background: rgba(7,16,26,.55);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 12px 14px;
}

/* ----- Radial-tint background layered onto all card surfaces ----- */
.feature-card,
.speed-card,
.info-card,
.contact-card,
.trust-cell,
.faq-item,
.flow,
.stat-cell,
.plan {
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(46,213,115,.05), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* ----- Plan: cleaner tier highlight, gradient on featured tier ----- */
.plan.featured {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(46,213,115,.10), transparent 55%),
    linear-gradient(180deg, rgba(46,213,115,.04) 0%, rgba(0,212,255,.02) 100%) !important;
  border-color: rgba(46,213,115,.35);
  box-shadow: 0 24px 60px rgba(46,213,115,.10), inset 0 1px 0 rgba(255,255,255,.05);
}
.plan .plan-name { font-family: 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.plan.featured .plan-name {
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.plan .plan-price {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.plan.featured .plan-price strong, .plan.featured .price-amount, .plan.featured .price-int, .plan.featured .price {
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.plan .plan-tag, .plan .plan-billing { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.plan .ribbon {
  font-family: 'JetBrains Mono', monospace !important;
  letter-spacing: .18em !important;
  background: linear-gradient(135deg, #2ed573, #00d4ff) !important;
  color: #04141d !important;
  box-shadow: 0 6px 18px rgba(46,213,115,.30), 0 0 0 1px rgba(46,213,115,.40);
}

/* ----- Feature card: glowing icon + mono meta footer ----- */
.feature-card { padding: 26px 26px 22px; }
.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13.5px; line-height: 1.55; }
.feature-card .feat-icon {
  width: 42px !important; height: 42px !important; border-radius: 11px !important;
  background: radial-gradient(circle, rgba(46,213,115,.18), rgba(46,213,115,.05) 70%) !important;
  border: 1px solid rgba(46,213,115,.40) !important;
  box-shadow: 0 0 16px rgba(46,213,115,.18), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative;
}
.feature-card .feat-icon.cyan {
  background: radial-gradient(circle, rgba(0,212,255,.18), rgba(0,212,255,.05) 70%) !important;
  border-color: rgba(0,212,255,.40) !important;
  box-shadow: 0 0 16px rgba(0,212,255,.18), inset 0 1px 0 rgba(255,255,255,.05);
}
.feature-card .feat-icon.amber {
  background: radial-gradient(circle, rgba(245,158,11,.18), rgba(245,158,11,.05) 70%) !important;
  border-color: rgba(245,158,11,.40) !important;
  box-shadow: 0 0 16px rgba(245,158,11,.18), inset 0 1px 0 rgba(255,255,255,.05);
}
.feature-card .feat-icon.rose {
  background: radial-gradient(circle, rgba(244,63,94,.18), rgba(244,63,94,.05) 70%) !important;
  border-color: rgba(244,63,94,.40) !important;
  box-shadow: 0 0 16px rgba(244,63,94,.18), inset 0 1px 0 rgba(255,255,255,.05);
}
.feature-card .feat-icon.violet {
  background: radial-gradient(circle, rgba(139,92,246,.18), rgba(139,92,246,.05) 70%) !important;
  border-color: rgba(139,92,246,.40) !important;
  box-shadow: 0 0 16px rgba(139,92,246,.18), inset 0 1px 0 rgba(255,255,255,.05);
}
.feature-card .feat-meta {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; gap: 18px; flex-wrap: wrap;
}
.feature-card .feat-meta .mp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.feature-card .feat-meta .mp::before {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 5px var(--accent);
  animation: sb-pulse 2.4s ease-in-out infinite;
}
.feature-card .feat-meta .mp:nth-child(2)::before { background: var(--accent-2); box-shadow: 0 0 5px var(--accent-2); animation-delay: 1.2s; }
.feature-card .feat-meta .mp .v {
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 700; letter-spacing: .02em;
}

/* ----- Stat cell: gradient big number, mono unit + label ----- */
.stat-cell .num {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 800 !important; letter-spacing: -.02em !important;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-cell .num .unit {
  background: none !important;
  -webkit-text-fill-color: var(--text-3) !important;
  font-family: 'JetBrains Mono', monospace;
}
.stat-cell .lbl { font-family: 'JetBrains Mono', monospace; letter-spacing: .16em; }
.stat-cell .icon {
  background: radial-gradient(circle, rgba(46,213,115,.18), rgba(46,213,115,.05) 70%) !important;
  border: 1px solid rgba(46,213,115,.40);
  box-shadow: 0 0 14px rgba(46,213,115,.15);
}

/* ----- Flow nodes: numbered with gradient + pulsing icon ----- */
.flow-node .ic {
  width: 46px !important; height: 46px !important; border-radius: 12px !important;
  background: radial-gradient(circle, rgba(46,213,115,.20), rgba(46,213,115,.05) 70%) !important;
  border: 1px solid rgba(46,213,115,.45) !important;
  box-shadow: 0 0 14px rgba(46,213,115,.18), inset 0 1px 0 rgba(255,255,255,.05) !important;
  position: relative;
}
.flow-node .ic.cy {
  background: radial-gradient(circle, rgba(0,212,255,.20), rgba(0,212,255,.05) 70%) !important;
  border-color: rgba(0,212,255,.45) !important;
  box-shadow: 0 0 14px rgba(0,212,255,.18), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.flow-node .ic.am {
  background: radial-gradient(circle, rgba(245,158,11,.20), rgba(245,158,11,.05) 70%) !important;
  border-color: rgba(245,158,11,.45) !important;
  box-shadow: 0 0 14px rgba(245,158,11,.18), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.flow-node .ic.vi {
  background: radial-gradient(circle, rgba(139,92,246,.20), rgba(139,92,246,.05) 70%) !important;
  border-color: rgba(139,92,246,.45) !important;
  box-shadow: 0 0 14px rgba(139,92,246,.18), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.flow-node .name { letter-spacing: .14em; font-size: 11px; }

/* ----- FAQ item: cleaner separator, accent border on open ----- */
.faq-item {
  border: 1px solid var(--border) !important;
  transition: border-color .25s ease, background .25s ease;
}
.faq-item.is-open {
  border-color: rgba(46,213,115,.35) !important;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(46,213,115,.07), transparent 55%),
    linear-gradient(180deg, rgba(46,213,115,.03), rgba(0,212,255,.02)) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.04);
}
.faq-item .faq-q {
  font-weight: 600;
  letter-spacing: -.005em;
}
.faq-item.is-open .faq-q { color: var(--text); }
.faq-item .faq-q .chev { transition: transform .25s ease, color .25s ease; }

/* ----- Speed card: mono labels and gradient on values ----- */
.speed-card .speed-num,
.speed-card .speed-time,
.speed-card strong[class*="num"],
.speed-card .stat-num {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 800 !important; letter-spacing: -.02em !important;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ----- Trust cell: glowing icon + tighter type ----- */
.trust-cell .ic {
  width: 40px; height: 40px; border-radius: 11px !important;
  background: radial-gradient(circle, rgba(46,213,115,.18), rgba(46,213,115,.05) 70%) !important;
  border: 1px solid rgba(46,213,115,.40);
  box-shadow: 0 0 12px rgba(46,213,115,.15);
}
.trust-cell .t { letter-spacing: -.005em; }
.trust-cell .s { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }

/* ----- Info / contact cards: top edge highlight + mono labels ----- */
.info-card .h, .contact-card .h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.info-card .val {
  font-weight: 700;
  letter-spacing: -.005em;
}
.info-card .sub, .contact-card .sub { font-size: 12.5px; }

/* ----- Section eyebrow: shared mono styling ----- */
.eyebrow, .eyebrow-cyan {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
}

/* ----- Hover lift consistency across card types ----- */
.feature-card:hover,
.speed-card:hover,
.info-card:hover,
.contact-card:hover,
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(46,213,115,.30) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* ----- CTA banner — match dashboard aesthetic ----- */
.cta-banner {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(46,213,115,.10), transparent 55%),
    linear-gradient(135deg, rgba(46,213,115,.04), rgba(0,212,255,.03)) !important;
  border: 1px solid rgba(46,213,115,.25);
  box-shadow: 0 24px 60px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04);
}

/* ----- Mobile tuning ----- */
@media (max-width: 640px) {
  .feature-card { padding: 22px 22px 20px; }
  .feature-card h3 { font-size: 1.02rem; }
  .feature-card .feat-meta { gap: 14px; }
}
/* ============================================================
   How we operate — 4 principle cards (homepage)
   Uses bento v2 visual language; standalone block type
   ============================================================ */
.sb-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.sb-principle {
  position: relative;
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(46,213,115,.06), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sb-principle:hover {
  transform: translateY(-4px);
  border-color: rgba(46,213,115,.30);
  box-shadow: 0 24px 60px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05);
}
.sb-principle::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, #2ed573 0%, #00d4ff 100%);
  opacity: .55;
}
.sb-principle:nth-child(2)::before { background: linear-gradient(180deg, #00d4ff 0%, #2ed573 100%); }
.sb-principle:nth-child(3)::before { background: linear-gradient(180deg, #f59e0b 0%, #2ed573 100%); }
.sb-principle:nth-child(4)::before { background: linear-gradient(180deg, #8b5cf6 0%, #00d4ff 100%); }

.sb-principle-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.sb-principle-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -.02em;
  line-height: 1;
  background: linear-gradient(135deg, rgba(46,213,115,.45), rgba(0,212,255,.20));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .85;
}
.sb-principle-badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(46,213,115,.10);
  color: var(--accent);
  border: 1px solid rgba(46,213,115,.30);
}
.sb-principle-badge.is-cy { background: rgba(0,212,255,.10); color: var(--accent-2); border-color: rgba(0,212,255,.30); }
.sb-principle-badge.is-am { background: rgba(245,158,11,.10); color: var(--amber);    border-color: rgba(245,158,11,.30); }
.sb-principle-badge.is-vi { background: rgba(139,92,246,.10); color: var(--accent-3); border-color: rgba(139,92,246,.30); }

.sb-principle h3 {
  font-size: 1.32rem;
  margin: 4px 0 10px;
  letter-spacing: -.01em;
  font-weight: 800;
  line-height: 1.2;
}
.sb-principle p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

.sb-principle-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; flex-wrap: wrap; gap: 18px;
}
.sb-principle-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.sb-principle-stat b {
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  font-size: 11.5px;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

@media (max-width: 760px) {
  .sb-principles { grid-template-columns: 1fr; gap: 14px; }
  .sb-principle { padding: 24px 22px 20px; }
  .sb-principle-num { font-size: 36px; }
  .sb-principle h3 { font-size: 1.18rem; }
  .sb-principle p { font-size: 13.5px; }
  .sb-principle-foot { gap: 14px; }
}
/* ============================================================
   Customer testimonials — scrolling marquee
   ============================================================ */
.sb-testimonial-track-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.sb-testimonial-track {
  display: flex;
  width: max-content;
}
@media (hover: hover) { .sb-testimonial-track-wrap:hover .sb-testimonial-set { animation-play-state: paused; } }
.sb-testimonial-set {
  display: flex;
  flex-shrink: 0;
  padding: 4px 0;
}

@keyframes sb-testimonial-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-100%, 0, 0); }
}

.sb-testimonial {
  flex: 0 0 340px;
  margin-right: 18px;
  display: flex; flex-direction: column;
  padding: 22px 22px 18px;
  border-radius: 14px;
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(46,213,115,.05), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 14px 32px rgba(0,0,0,.18);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sb-testimonial:hover {
  transform: translateY(-3px);
  border-color: rgba(46,213,115,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 40px rgba(0,0,0,.30);
}

.sb-testimonial-stars {
  display: inline-flex; gap: 3px;
  margin-bottom: 10px;
}
.sb-testimonial-stars span {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.86L12 17.77l-6.18 3.23L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.86L12 17.77l-6.18 3.23L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}

.sb-testimonial blockquote {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -.005em;
  flex: 1;
}

.sb-testimonial footer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.sb-testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  color: #04141d;
  background: linear-gradient(135deg, var(--av-a, #2ed573), var(--av-b, #00d4ff));
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 6px 14px rgba(0,0,0,.30);
  flex-shrink: 0;
}
.sb-testimonial-meta {
  display: flex; flex-direction: column; gap: 1px;
  min-width: 0;
}
.sb-testimonial-meta b {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.005em;
}
.sb-testimonial-meta small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .sb-testimonial { flex-basis: 280px; padding: 18px 18px 16px; }
  .sb-testimonial blockquote { font-size: 13.5px; }
  .sb-testimonial-set { animation-duration: 55s; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-testimonial-set { animation: none; }
}
/* ============================================================
   Perf patch — pause expensive animations when their containers
   scroll off-screen, and let the browser skip rendering off-screen
   sections entirely. No visual change.
   ============================================================ */

/* Expand the .is-paused pause set to include the heavy animations
   that were previously left running when off-screen. */
.is-paused .hero-orb,
.is-paused .hero-bg-frame,
.is-paused .bv-dot,
.is-paused .bv-ring,
.is-paused .bv-attack,
.is-paused .bv-cal i.now,
.is-paused .bv-step.now .bv-step-dot,
.is-paused .sb-pulse,
.is-paused .terminal-caret {
  animation-play-state: paused !important;
}

/* ============================================================
   Features page — dashboard-style sections
   ============================================================ */

/* ----- Performance: 6-tile grid ----- */
.ft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ft-tile {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(46,213,115,.05), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.ft-tile:hover { transform: translateY(-3px); border-color: rgba(46,213,115,.30); }
.ft-tile-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px;
}
.ft-tile-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(46,213,115,.08);
  border: 1px solid rgba(46,213,115,.30);
}
.ft-tile-tag.is-cy { color: var(--accent-2); background: rgba(0,212,255,.08); border-color: rgba(0,212,255,.30); }
.ft-tile-tag.is-am { color: var(--amber);   background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.30); }
.ft-tile-tag.is-vi { color: var(--accent-3); background: rgba(139,92,246,.08); border-color: rgba(139,92,246,.30); }
.ft-tile h3 {
  font-size: 1.08rem; font-weight: 700;
  margin: 4px 0 6px; letter-spacing: -.005em; line-height: 1.25;
}
.ft-tile p { font-size: 13px; color: var(--text-2); line-height: 1.55; margin: 0 0 12px; }
.ft-tile-foot {
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Bar comparison (Storage tile) */
.ft-bars { display: flex; flex-direction: column; gap: 6px; }
.ft-bar {
  display: grid; grid-template-columns: 64px 1fr 48px;
  align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
}
.ft-bar-lbl { color: var(--text-3); letter-spacing: .08em; }
.ft-bar.is-us .ft-bar-lbl { color: var(--accent); font-weight: 700; }
.ft-bar-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.04); overflow: hidden; }
.ft-bar-fill {
  display: block; height: 100%; width: 0;
  border-radius: 999px;
  animation: ft-bar-grow 1.4s cubic-bezier(.16,.84,.44,1) forwards;
}
.ft-bar-fill.is-dim { background: linear-gradient(90deg, #4a5663, #5e6a78); animation-delay: 0s; }
.ft-bar-fill.is-mid { background: linear-gradient(90deg, #f59e0b, #fbbf24); animation-delay: .15s; }
.ft-bar-fill.is-hot { background: linear-gradient(90deg, #2ed573, #00d4ff); box-shadow: 0 0 12px rgba(46,213,115,.45); animation-delay: .35s; }
@keyframes ft-bar-grow { from { width: 0; } to { width: var(--w); } }
.ft-bar-v { text-align: right; color: var(--text-3); }
.ft-bar.is-us .ft-bar-v {
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Pills (Web-server tile) */
.ft-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ft-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(7,16,26,.5);
  border: 1px solid rgba(255,255,255,.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .08em;
  color: var(--text-2);
}

/* Stat row (PHP tile) */
.ft-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.ft-stat {
  padding: 10px 8px;
  background: rgba(7,16,26,.55);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 8px;
  text-align: center;
}
.ft-stat-v {
  font-family: 'JetBrains Mono', monospace; font-weight: 800;
  font-size: 14px;
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ft-stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin-top: 3px;
}

/* Stack viz (Database tile) */
.ft-stack { display: flex; flex-direction: column; gap: 5px; }
.ft-stack-row {
  display: grid; grid-template-columns: 50px 1fr 40px;
  align-items: center; gap: 8px;
}
.ft-stack-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3);
}
.ft-stack-bar {
  display: block; height: 9px; border-radius: 4px;
  width: var(--w);
  background: linear-gradient(90deg, rgba(139,92,246,.85), rgba(0,212,255,.85));
  box-shadow: 0 0 10px rgba(0,212,255,.25);
  animation: ft-bar-grow 1.2s cubic-bezier(.16,.84,.44,1) forwards;
}
.ft-stack-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px; letter-spacing: .12em;
  color: var(--accent);
  border: 1px solid rgba(46,213,115,.35);
  border-radius: 4px;
  padding: 2px 5px;
  text-align: center;
}

/* Concentric rings (Caching tile) */
.ft-rings {
  position: relative;
  width: 100%; height: 88px;
  display: flex; align-items: center; justify-content: center;
}
.ft-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(46,213,115,.30);
  animation: ft-ring 3.4s ease-out infinite;
}
.ft-ring.r1 { width: 78px; height: 78px; animation-delay: 0s; }
.ft-ring.r2 { width: 60px; height: 60px; animation-delay: .8s; border-color: rgba(46,213,115,.40); }
.ft-ring.r3 { width: 42px; height: 42px; animation-delay: 1.6s; border-color: rgba(46,213,115,.55); }
@keyframes ft-ring {
  0%   { transform: scale(.85); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}
.ft-ring-core {
  position: relative; z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800; font-size: 12px; letter-spacing: .14em;
  color: var(--accent);
  background: #07101a;
  border: 1px solid rgba(46,213,115,.55);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(46,213,115,.30);
}

/* TTFB scale (Network tile) */
.ft-ttfb { margin-top: 4px; }
.ft-ttfb-track {
  position: relative; height: 8px;
  background: linear-gradient(90deg, #2ed573 0%, #00d4ff 25%, #f59e0b 60%, #f43f5e 100%);
  border-radius: 999px;
  margin-bottom: 6px;
}
.ft-ttfb-marker {
  position: absolute; top: -3px; left: var(--p, 50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2ed573;
  box-shadow: 0 0 0 3px rgba(7,16,26,.85), 0 0 14px rgba(46,213,115,.7);
  transform: translateX(-50%);
}
.ft-ttfb-scale {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .08em;
  color: var(--text-3);
}
.ft-ttfb-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .04em;
  color: var(--text-2);
  margin-top: 10px;
}
.ft-ttfb-cap b {
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* ----- Security: defense in depth layered cards ----- */
.ft-defense-track { display: flex; flex-direction: column; gap: 14px; }
.ft-layer {
  position: relative;
  display: grid; grid-template-columns: 92px 1fr;
  gap: 22px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(0,212,255,.05), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.ft-layer:hover { transform: translateY(-3px); border-color: rgba(0,212,255,.30); }
.ft-layer::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #2ed573, #00d4ff);
  opacity: .55;
}
.ft-layer:nth-child(2)::before { background: linear-gradient(180deg, #00d4ff, #8b5cf6); }
.ft-layer:nth-child(3)::before { background: linear-gradient(180deg, #f59e0b, #2ed573); }
.ft-layer:nth-child(4)::before { background: linear-gradient(180deg, #8b5cf6, #00d4ff); }
.ft-layer:nth-child(5)::before { background: linear-gradient(180deg, #2ed573, #00d4ff); }
.ft-layer-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800; font-size: 56px;
  letter-spacing: -.02em; line-height: 1;
  background: linear-gradient(135deg, rgba(46,213,115,.40), rgba(0,212,255,.15));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .85;
  align-self: center;
  text-align: center;
}
.ft-layer-body h3 {
  font-size: 1.20rem; font-weight: 800;
  margin: 6px 0 8px; letter-spacing: -.01em;
}
.ft-layer-body p {
  font-size: 13.5px; color: var(--text-2); line-height: 1.55; margin: 0 0 12px;
}
.ft-layer-body p code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(7,16,26,.55);
  padding: 1px 6px; border-radius: 4px;
  font-size: 12px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.06);
}
.ft-layer-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.ft-layer-meta span {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3);
}

/* ----- Reliability cards ----- */
.ft-reliability {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.ft-rel-card {
  position: relative;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(46,213,115,.05), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}
.ft-rel-card h3 { font-size: 1.10rem; font-weight: 700; margin: 6px 0 12px; }

.ft-rel-grid-card { grid-row: 1 / span 2; grid-column: 1; display: flex; flex-direction: column; }
.ft-rel-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ft-rel-headline { text-align: right; }
.ft-rel-pct { font-size: 32px; }
.ft-rel-pct small { font-size: 16px; opacity: .9; }
.ft-rel-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-top: 6px;
  display: inline-flex; align-items: center; gap: 7px;
  justify-content: flex-end;
}
.ft-rel-grid {
  display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px;
  margin-top: 18px; flex: 1;
}
.ft-rel-grid span {
  display: block; aspect-ratio: 1 / 4;
  background: linear-gradient(180deg, rgba(46,213,115,.85), rgba(46,213,115,.55));
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(46,213,115,.20);
}
.ft-rel-grid span.now {
  background: linear-gradient(180deg, #2ed573, #1eb95f);
  box-shadow: 0 0 10px rgba(46,213,115,.65);
}
.ft-rel-grid-cap {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3);
}

.ft-rel-budget-card { grid-row: 1; grid-column: 2; }
.ft-budget { display: flex; flex-direction: column; gap: 8px; }
.ft-budget-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,.05);
}
.ft-budget-row:last-child { border-bottom: none; }
.ft-budget-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3);
}
.ft-budget-v {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--text);
}
.ft-budget-v.is-good {
  background: linear-gradient(135deg, #2ed573, #00d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ft-budget-v.is-accent { color: var(--accent); }
.ft-budget-bar {
  margin-top: 14px;
  height: 6px;
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  overflow: hidden;
}
.ft-budget-bar-fill {
  height: 100%; width: var(--p, 0%);
  background: linear-gradient(90deg, #2ed573, #00d4ff);
  border-radius: 999px;
  transition: width 1.6s cubic-bezier(.16,.84,.44,1);
}
.ft-budget-cap {
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .08em;
  color: var(--text-3);
  display: inline-flex; align-items: center; gap: 8px;
}

.ft-rel-pillars-card { grid-row: 2; grid-column: 2; }
.ft-pillars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ft-pillars li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.5;
  color: var(--text-2);
}
.ft-pillars li b { color: var(--text); font-weight: 700; }
.ft-pillar-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(46,213,115,.12);
  border: 1px solid rgba(46,213,115,.40);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .ft-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-reliability { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .ft-rel-grid-card { grid-row: 1; grid-column: 1; }
  .ft-rel-budget-card { grid-row: 2; grid-column: 1; }
  .ft-rel-pillars-card { grid-row: 3; grid-column: 1; }
}
@media (max-width: 640px) {
  .ft-grid { grid-template-columns: 1fr; gap: 14px; }
  .ft-layer { grid-template-columns: 60px 1fr; gap: 14px; padding: 20px; }
  .ft-layer-num { font-size: 40px; }
  .ft-layer-body h3 { font-size: 1.06rem; }
  .ft-rel-grid { grid-template-columns: repeat(15, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ft-bar-fill, .ft-stack-bar, .ft-ring { animation: none !important; width: var(--w); }
}
/* ============================================================
   Features reliability — Live status card (replaces the fake
   90-day uptime grid). Links to the real Uptime Kuma status page.
   ============================================================ */

/* Drop the old grid-card classes if any remain */
.ft-rel-grid-card { display: none; }

.ft-rel-live-card {
  grid-row: 1 / span 2;
  grid-column: 1;
  display: flex; flex-direction: column;
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(140% 100% at 100% 0%, rgba(46,213,115,.08), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(0,212,255,.06), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid rgba(46,213,115,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 48px rgba(0,0,0,.25);
}
.ft-rel-live-card::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #2ed573, #00d4ff);
  opacity: .65;
}

.ft-rel-live-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 14px;
  flex-wrap: wrap;
}
.ft-rel-live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(46,213,115,.10);
  border: 1px solid rgba(46,213,115,.40);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  box-shadow: 0 0 14px rgba(46,213,115,.15);
}

.ft-rel-live-card h3 {
  font-size: 1.5rem !important;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.18;
  margin: 4px 0 10px !important;
}
.ft-rel-live-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 520px;
}
.ft-rel-live-card p code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(7,16,26,.55);
  padding: 1px 7px; border-radius: 5px;
  font-size: 12.5px;
  color: var(--accent);
  border: 1px solid rgba(46,213,115,.25);
}

.ft-rel-live-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  background: rgba(7,16,26,.55);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
}
.ft-rel-live-metric { text-align: center; }
.ft-rel-live-num {
  font-size: 30px;
  letter-spacing: -.02em;
  line-height: 1;
}
.ft-rel-live-num small { font-size: 16px; opacity: .85; }
.ft-rel-live-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-top: 8px;
}

.ft-rel-live-cta {
  margin-top: auto;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.ft-rel-live-foot {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .08em;
  color: var(--text-3);
  display: inline-flex; align-items: center; gap: 7px;
}

@media (max-width: 980px) {
  .ft-rel-live-card { grid-row: 1; grid-column: 1; }
}
@media (max-width: 540px) {
  .ft-rel-live-card { padding: 22px 22px; }
  .ft-rel-live-card h3 { font-size: 1.22rem !important; }
  .ft-rel-live-metrics { grid-template-columns: repeat(3, 1fr); padding: 12px; gap: 6px; }
  .ft-rel-live-num { font-size: 22px; }
  .ft-rel-live-num small { font-size: 13px; }
  .ft-rel-live-lbl { font-size: 8.5px; }
}
/* ============================================================
   About page — Layered architecture diagram
   Replaces the flat 14-row spec list with a 5-layer stack viz
   ============================================================ */

.sb-stack-diagram {
  position: relative;
  display: flex; flex-direction: column;
  gap: 12px;
}

.sb-stack-layer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) 1.4fr;
  gap: 28px;
  padding: 22px 26px;
  border-radius: 14px;
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(46,213,115,.04), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sb-stack-layer:hover {
  transform: translateY(-2px);
  border-color: rgba(46,213,115,.30);
  box-shadow: 0 18px 40px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.05);
}
.sb-stack-layer::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #2ed573, #00d4ff);
  opacity: .65;
}
.sb-stack-layer.is-edge::before     { background: linear-gradient(180deg, #00d4ff, #2ed573); }
.sb-stack-layer.is-security::before { background: linear-gradient(180deg, #f59e0b, #2ed573); }
.sb-stack-layer.is-app::before      { background: linear-gradient(180deg, #2ed573, #00d4ff); }
.sb-stack-layer.is-data::before     { background: linear-gradient(180deg, #8b5cf6, #00d4ff); }
.sb-stack-layer.is-hw::before       { background: linear-gradient(180deg, #2ed573, #8b5cf6); }

/* Add a soft tint top-right matching the layer color */
.sb-stack-layer.is-edge     { background-image: radial-gradient(140% 90% at 100% 0%, rgba(0,212,255,.07), transparent 55%), linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%); }
.sb-stack-layer.is-security { background-image: radial-gradient(140% 90% at 100% 0%, rgba(245,158,11,.05), transparent 55%), linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%); }
.sb-stack-layer.is-data     { background-image: radial-gradient(140% 90% at 100% 0%, rgba(139,92,246,.06), transparent 55%), linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%); }

.sb-stack-side {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.sb-stack-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(135deg, rgba(46,213,115,.55), rgba(0,212,255,.15));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .9;
  flex-shrink: 0;
}
.sb-stack-layer.is-edge .sb-stack-num     { background: linear-gradient(135deg, rgba(0,212,255,.65), rgba(46,213,115,.20)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-stack-layer.is-security .sb-stack-num { background: linear-gradient(135deg, rgba(245,158,11,.65), rgba(46,213,115,.20)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-stack-layer.is-data .sb-stack-num     { background: linear-gradient(135deg, rgba(139,92,246,.65), rgba(0,212,255,.20)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.sb-stack-name {
  display: flex; flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.sb-stack-name h3 {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin: 4px 0 2px;
}
.sb-stack-name p {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0;
}

.sb-stack-chips {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  align-content: center;
  align-self: center;
}
.sb-chip {
  display: inline-flex; align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(7,16,26,.55);
  border: 1px solid rgba(255,255,255,.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: .04em;
  white-space: nowrap;
}
.sb-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
  flex-shrink: 0;
}
.sb-chip-dot.is-cy { background: var(--accent-2); box-shadow: 0 0 5px var(--accent-2); }
.sb-chip-dot.is-am { background: var(--amber); box-shadow: 0 0 5px var(--amber); }
.sb-chip-dot.is-vi { background: var(--accent-3); box-shadow: 0 0 5px var(--accent-3); }

/* ----- Side flow indicator (Request ↓ Response) ----- */
.sb-stack-flow {
  position: absolute;
  right: -42px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  display: flex; flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  pointer-events: none;
}
.sb-stack-flow-arrow {
  width: 2px;
  height: 240px;
  background: linear-gradient(180deg, rgba(46,213,115,.55) 0%, rgba(0,212,255,.55) 100%);
  position: relative;
  border-radius: 1px;
}
.sb-stack-flow-arrow::before,
.sb-stack-flow-arrow::after {
  content: ""; position: absolute;
  left: 50%; transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}
.sb-stack-flow-arrow::before {
  top: -6px;
  border-bottom: 7px solid #2ed573;
}
.sb-stack-flow-arrow::after {
  bottom: -6px;
  border-top: 7px solid #00d4ff;
}

/* ----- Responsive ----- */
@media (max-width: 920px) {
  .sb-stack-flow { display: none; }
  .sb-stack-layer { grid-template-columns: 1fr; gap: 16px; padding: 20px 22px; }
}
@media (max-width: 540px) {
  .sb-stack-side { gap: 14px; }
  .sb-stack-num { font-size: 36px; }
  .sb-stack-name h3 { font-size: 1.06rem; }
  .sb-chip { font-size: 10.5px; padding: 6px 10px; }
}
/* ============================================================
   Features hero stats-strip v2 — dashboard tile polish
   ============================================================ */

.stats-strip.stats-strip-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats-strip-v2 .stat-cell {
  position: relative;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 18px 14px;
  border-radius: 14px;
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(46,213,115,.06), transparent 55%),
    linear-gradient(180deg, rgba(14,26,35,.78) 0%, rgba(7,16,26,.78) 100%) !important;
  border: 1px solid var(--border) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.stats-strip-v2 .stat-cell:hover {
  transform: translateY(-3px);
  border-color: rgba(46,213,115,.35) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 36px rgba(0,0,0,.30) !important;
}

/* Top stripe accent per card */
.stats-strip-v2 .stat-cell::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sc-acc, #2ed573), transparent);
  opacity: .85;
}

/* Per-card accents (set CSS var per variant) */
.stats-strip-v2 .sc-green  { --sc-acc: #2ed573; --sc-acc-rgb: 46,213,115; }
.stats-strip-v2 .sc-cyan   { --sc-acc: #00d4ff; --sc-acc-rgb: 0,212,255; }
.stats-strip-v2 .sc-amber  { --sc-acc: #f59e0b; --sc-acc-rgb: 245,158,11; }
.stats-strip-v2 .sc-violet { --sc-acc: #8b5cf6; --sc-acc-rgb: 139,92,246; }

.stats-strip-v2 .sc-cyan   { background-image: radial-gradient(140% 90% at 100% 0%, rgba(0,212,255,.07), transparent 55%), linear-gradient(180deg, rgba(14,26,35,.78), rgba(7,16,26,.78)) !important; }
.stats-strip-v2 .sc-amber  { background-image: radial-gradient(140% 90% at 100% 0%, rgba(245,158,11,.06), transparent 55%), linear-gradient(180deg, rgba(14,26,35,.78), rgba(7,16,26,.78)) !important; }
.stats-strip-v2 .sc-violet { background-image: radial-gradient(140% 90% at 100% 0%, rgba(139,92,246,.07), transparent 55%), linear-gradient(180deg, rgba(14,26,35,.78), rgba(7,16,26,.78)) !important; }

/* Eyebrow at the top */
.stats-strip-v2 .sc-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700;
  color: var(--sc-acc);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(var(--sc-acc-rgb), .10);
  border: 1px solid rgba(var(--sc-acc-rgb), .30);
  align-self: flex-start;
  margin-bottom: 6px;
}

/* Glowing icon well */
.stats-strip-v2 .stat-cell .icon {
  width: 34px !important; height: 34px !important;
  border-radius: 10px !important;
  background: radial-gradient(circle, rgba(var(--sc-acc-rgb), .22), rgba(var(--sc-acc-rgb), .04) 70%) !important;
  border: 1px solid rgba(var(--sc-acc-rgb), .45) !important;
  color: var(--sc-acc) !important;
  box-shadow: 0 0 12px rgba(var(--sc-acc-rgb), .20), inset 0 1px 0 rgba(255,255,255,.06) !important;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: absolute;
  top: 14px; right: 14px;
}

/* Big numeric value */
.stats-strip-v2 .stat-cell .num {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  line-height: 1.1 !important;
  margin-top: 4px;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.stats-strip-v2 .stat-cell .num b {
  font-weight: 800;
  background: linear-gradient(135deg, var(--sc-acc), color-mix(in srgb, var(--sc-acc) 50%, #00d4ff)) !important;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-strip-v2 .stat-cell .num .unit {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 13px !important;
  color: var(--text-3) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  background: none !important;
  -webkit-text-fill-color: var(--text-3) !important;
  margin-left: 2px;
}

/* Label */
.stats-strip-v2 .stat-cell .lbl {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10.5px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--text-2) !important;
  font-weight: 600 !important;
  margin-top: 2px;
  display: inline-flex; align-items: center; gap: 8px;
}
.stats-strip-v2 .stat-cell .sc-pulse {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sc-acc);
  box-shadow: 0 0 6px var(--sc-acc);
  animation: sb-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* Sub-spec line */
.stats-strip-v2 .stat-cell .sc-spec {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--text-3);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,.05);
  width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .stats-strip.stats-strip-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stats-strip.stats-strip-v2 { grid-template-columns: 1fr; gap: 10px; }
  .stats-strip-v2 .stat-cell { padding: 14px 16px 12px; }
  .stats-strip-v2 .stat-cell .num { font-size: 22px !important; }
  .stats-strip-v2 .stat-cell .icon { top: 12px; right: 12px; width: 30px !important; height: 30px !important; }
}
/* ============================================================
   Features stats-strip — subtle polish only.
   Same layout, icons, and content. Just nicer visual finish.
   ============================================================ */

.stats-strip {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(46,213,115,.04), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 40px rgba(0,0,0,.20);
}

/* Soften the inter-cell dividers — short verticals instead of full-height borders */
.stats-strip .stat-cell { border-right: 0 !important; position: relative; transition: background .25s ease; }
.stats-strip .stat-cell + .stat-cell::before {
  content: ""; position: absolute;
  left: 0; top: 24%; bottom: 24%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.08), transparent);
}

/* Hover state per cell */
.stats-strip .stat-cell:hover {
  background: radial-gradient(120% 100% at 50% 0%, rgba(46,213,115,.06), transparent 60%);
}

/* Icon — soft radial well + glow */
.stats-strip .stat-cell .icon {
  background: radial-gradient(circle, rgba(46,213,115,.22), rgba(46,213,115,.04) 70%) !important;
  border: 1px solid rgba(46,213,115,.40) !important;
  box-shadow: 0 0 14px rgba(46,213,115,.18), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* Value: gradient on the bold portion only */
.stats-strip .stat-cell .num {
  background: linear-gradient(135deg, #f3f7fb 0%, #2ed573 70%, #00d4ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(46,213,115,.05));
}
/* Keep the unit muted (override the gradient clip) */
.stats-strip .stat-cell .num .unit {
  background: none !important;
  -webkit-background-clip: initial !important; background-clip: initial !important;
  -webkit-text-fill-color: var(--text-3) !important;
  color: var(--text-3) !important;
}
/* ============================================================
   Homepage — Request pipeline (replaces .flow / .flow-row)
   ============================================================ */

.sb-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  position: relative;
}

/* ----- Step tile ----- */
.sb-pipe-step {
  flex: 1 1 0;
  min-width: 160px;
  position: relative;
  display: flex; flex-direction: column;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(46,213,115,.05), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sb-pipe-step:hover {
  transform: translateY(-3px);
  border-color: rgba(46,213,115,.30);
  box-shadow: 0 14px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.05);
}
.sb-pipe-step::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, #2ed573, #00d4ff);
  border-radius: 3px 0 0 3px;
  opacity: .7;
}
.sb-pipe-step.is-edge::before   { background: linear-gradient(180deg, #00d4ff, #2ed573); }
.sb-pipe-step.is-shield::before { background: linear-gradient(180deg, #f59e0b, #2ed573); }
.sb-pipe-step.is-app::before    { background: linear-gradient(180deg, #8b5cf6, #00d4ff); }
.sb-pipe-step.is-data::before   { background: linear-gradient(180deg, #2ed573, #00d4ff); }

.sb-pipe-step.is-edge   { background-image: radial-gradient(140% 90% at 100% 0%, rgba(0,212,255,.06), transparent 55%), linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%); }
.sb-pipe-step.is-shield { background-image: radial-gradient(140% 90% at 100% 0%, rgba(245,158,11,.05), transparent 55%), linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%); }
.sb-pipe-step.is-app    { background-image: radial-gradient(140% 90% at 100% 0%, rgba(139,92,246,.06), transparent 55%), linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%); }

.sb-pipe-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 12px;
}
.sb-pipe-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800; font-size: 28px;
  line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(135deg, rgba(46,213,115,.50), rgba(0,212,255,.20));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .85;
}
.sb-pipe-step.is-edge .sb-pipe-num   { background: linear-gradient(135deg, rgba(0,212,255,.55), rgba(46,213,115,.20)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-pipe-step.is-shield .sb-pipe-num { background: linear-gradient(135deg, rgba(245,158,11,.55), rgba(46,213,115,.20)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-pipe-step.is-app .sb-pipe-num    { background: linear-gradient(135deg, rgba(139,92,246,.55), rgba(0,212,255,.20)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.sb-pipe-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(46,213,115,.22), rgba(46,213,115,.04) 70%);
  border: 1px solid rgba(46,213,115,.40);
  box-shadow: 0 0 14px rgba(46,213,115,.18), inset 0 1px 0 rgba(255,255,255,.05);
  color: var(--accent);
  margin-bottom: 10px;
}
.sb-pipe-step.is-edge .sb-pipe-ic {
  background: radial-gradient(circle, rgba(0,212,255,.22), rgba(0,212,255,.04) 70%);
  border-color: rgba(0,212,255,.40);
  box-shadow: 0 0 14px rgba(0,212,255,.18), inset 0 1px 0 rgba(255,255,255,.05);
  color: var(--accent-2);
}
.sb-pipe-step.is-shield .sb-pipe-ic {
  background: radial-gradient(circle, rgba(245,158,11,.22), rgba(245,158,11,.04) 70%);
  border-color: rgba(245,158,11,.40);
  box-shadow: 0 0 14px rgba(245,158,11,.18), inset 0 1px 0 rgba(255,255,255,.05);
  color: var(--amber);
}
.sb-pipe-step.is-app .sb-pipe-ic {
  background: radial-gradient(circle, rgba(139,92,246,.22), rgba(139,92,246,.04) 70%);
  border-color: rgba(139,92,246,.40);
  box-shadow: 0 0 14px rgba(139,92,246,.18), inset 0 1px 0 rgba(255,255,255,.05);
  color: var(--accent-3);
}

.sb-pipe-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 2px 0 6px;
  letter-spacing: -.005em;
  line-height: 1.25;
}
.sb-pipe-step p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0 0 10px;
  flex: 1;
}

.sb-pipe-stamp {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ----- Animated link between tiles ----- */
.sb-pipe-link {
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  width: 56px;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.sb-pipe-link::before {
  content: ""; position: absolute;
  left: 50%; top: 24px; bottom: 24px;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(46,213,115,.4), rgba(0,212,255,.4), transparent);
  border-radius: 1px;
}
.sb-pipe-link-packet {
  position: absolute; top: 24px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: sb-pipe-packet 2.6s linear infinite;
}
@keyframes sb-pipe-packet {
  0%   { transform: translate(-50%, 0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(-50%, calc(100% - 56px)); opacity: 0; }
}
.sb-pipe-link-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  position: relative; z-index: 1;
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* ----- Footer total ----- */
.sb-pipe-footer {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.sb-pipe-footer-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-pipe-foot-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(7,16,26,.55);
  border: 1px solid rgba(255,255,255,.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-2);
}
.sb-pipe-footer-total {
  display: flex; align-items: center; gap: 12px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.05);
}
.sb-pipe-total-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.sb-pipe-total-val { font-size: 26px; }
.sb-pipe-total-val small { font-size: 13px; opacity: .85; }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .sb-pipeline { flex-direction: column; }
  .sb-pipe-step { flex: 0 0 auto; width: 100%; }
  .sb-pipe-link { width: 100%; height: 44px; flex-direction: row; }
  .sb-pipe-link::before { left: 24px; right: 24px; top: 50%; bottom: auto; transform: translateY(-50%); width: auto; height: 2px; background: linear-gradient(90deg, transparent, rgba(46,213,115,.4), rgba(0,212,255,.4), transparent); }
  .sb-pipe-link-packet { top: 50%; left: 24px; animation-name: sb-pipe-packet-h; }
  @keyframes sb-pipe-packet-h {
    0%   { transform: translate(0, -50%); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translate(calc(100vw - 96px), -50%); opacity: 0; }
  }
  .sb-pipe-footer-total { padding-left: 0; border-left: none; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.05); width: 100%; justify-content: space-between; }
}
@media (max-width: 540px) {
  .sb-pipe-num { font-size: 24px; }
  .sb-pipe-step h3 { font-size: 1rem; }
  .sb-pipe-step p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-pipe-link-packet { animation: none !important; }
}

/* ============================================================
   Infrastructure flow — remove infinite animations, polish look
   Keeps the 5-node layout intact, just cleans up perf + visuals
   ============================================================ */

/* Kill the animated packets — and hide the dots entirely (they look
   weird without motion). */
.flow-arrow .packet {
  display: none !important;
  animation: none !important;
}

/* Replace the dashed connector with a soft gradient line + small
   arrow head, so the "flow" direction is still visually clear. */
.flow-arrow .dash {
  background: linear-gradient(to right,
    transparent 0%,
    rgba(46,213,115,.35) 30%,
    rgba(0,212,255,.35) 70%,
    transparent 100%) !important;
  height: 2px !important;
  border-radius: 1px;
  position: relative;
}
.flow-arrow .dash::after {
  content: "";
  position: absolute;
  right: -1px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid rgba(0,212,255,.55);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.flow-arrow.cy .dash {
  background: linear-gradient(to right,
    transparent 0%,
    rgba(0,212,255,.35) 30%,
    rgba(245,158,11,.35) 70%,
    transparent 100%) !important;
}
.flow-arrow.cy .dash::after { border-left-color: rgba(245,158,11,.55); }
.flow-arrow.am .dash {
  background: linear-gradient(to right,
    transparent 0%,
    rgba(245,158,11,.35) 30%,
    rgba(139,92,246,.35) 70%,
    transparent 100%) !important;
}
.flow-arrow.am .dash::after { border-left-color: rgba(139,92,246,.55); }
.flow-arrow.vi .dash {
  background: linear-gradient(to right,
    transparent 0%,
    rgba(139,92,246,.35) 30%,
    rgba(46,213,115,.35) 70%,
    transparent 100%) !important;
}
.flow-arrow.vi .dash::after { border-left-color: rgba(46,213,115,.55); }

/* Polish the flow-node tiles: subtle radial overlay + hover lift */
.flow-node {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(46,213,115,.05), transparent 55%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--bg-3) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .25s ease, border-color .25s ease;
}
.flow-node:hover {
  transform: translateY(-3px);
  border-color: rgba(46,213,115,.30) !important;
}

/* Polish icon container — glowing radial well */
.flow-node .ic {
  background: radial-gradient(circle, rgba(46,213,115,.22), rgba(46,213,115,.04) 70%) !important;
  border: 1px solid rgba(46,213,115,.40) !important;
  box-shadow: 0 0 14px rgba(46,213,115,.18), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.flow-node .ic.cy {
  background: radial-gradient(circle, rgba(0,212,255,.22), rgba(0,212,255,.04) 70%) !important;
  border-color: rgba(0,212,255,.40) !important;
  box-shadow: 0 0 14px rgba(0,212,255,.18), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.flow-node .ic.am {
  background: radial-gradient(circle, rgba(245,158,11,.22), rgba(245,158,11,.04) 70%) !important;
  border-color: rgba(245,158,11,.40) !important;
  box-shadow: 0 0 14px rgba(245,158,11,.18), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.flow-node .ic.vi {
  background: radial-gradient(circle, rgba(139,92,246,.22), rgba(139,92,246,.04) 70%) !important;
  border-color: rgba(139,92,246,.40) !important;
  box-shadow: 0 0 14px rgba(139,92,246,.18), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* Hide pulsing dots inside principles card stats (perf + clean look) */
.sb-principle-stat .sb-pulse { display: none !important; }
.sb-principle-stat { gap: 0 !important; }

/* Keep accent dots visible, but stop the infinite pulse animations
   sitewide (perf — many of these are always running). */
.sb-pulse, .bv-dot, .pulse-dot,
.sb-principle-stat .sb-pulse {
  display: inline-block !important;
  animation: none !important;
}
.sb-principle-stat { gap: 8px !important; }

/* ========================================================================
   Mobile nav v3 — pure CSS checkbox-hack. ZERO JavaScript. The <input
   id="navtoggle"> lives right after <body>; <label class="nav-toggle"
   for="navtoggle"> is in the header; <label class="nav-scrim"
   for="navtoggle"> is also in the header. Tapping the burger toggles the
   checkbox; CSS reads :checked to show/hide the drawer. Tapping the scrim
   (or any link inside the drawer — links navigate, resetting state)
   closes it. No event listeners, no race conditions, no SVG pointer
   quirks, no inline scripts to break.

   Why this replaces the earlier `body.is-nav-open` + JS approach: too many
   moving parts (delegated click listener, SVGLineElement.closest quirks on
   older iOS WebKit, the CSP not blocking inline JS but ad-blockers
   sometimes stripping it). The checkbox-hack works in every browser back
   to IE9 and cannot fail.
   ======================================================================== */
#navtoggle { position: absolute; opacity: 0; pointer-events: none; }
/* Scrim is invisible by default + non-tappable; only the burger is. */
.nav-scrim { display: none; }

@media (max-width: 880px) {
  /* Burger visible + tappable. */
  .nav-toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;          /* 44px = iOS HIG min */
    padding: 8px; border-radius: 8px;
    color: var(--text-2); cursor: pointer;
    background: transparent; border: 0;
    position: relative; z-index: 260;   /* above scrim */
    -webkit-tap-highlight-color: rgba(46, 213, 115, .25);
    touch-action: manipulation;
  }
  .nav-toggle:active { transform: scale(.94); }
  .nav-toggle svg, .nav-toggle svg * { pointer-events: none; }

  /* Closed drawer state — exact same as before. */
  .nav-links { display: none; }
  .nav-cta .link-ghost { display: none; }

  /* Open drawer state — driven entirely by the checkbox. */
  #navtoggle:checked ~ header .nav-links,
  #navtoggle:checked ~ .nav .nav-links {
    display: flex;
    position: fixed;
    top: 64px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch;
    padding: 12px; gap: 4px;
    background: rgba(7, 16, 26, .96);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
            backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .55),
                0 0 0 1px rgba(46, 213, 115, .08);
    z-index: 250;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    animation: navDropIn .18s ease-out;
  }
  #navtoggle:checked ~ header .nav-links a {
    padding: 12px 14px; font-size: 15px; border-radius: 9px;
  }
  /* Scrim — visible only when drawer open. The scrim is itself a <label>
     for the checkbox so tapping it OUTSIDE the drawer flips the box and
     closes the drawer. */
  #navtoggle:checked ~ header .nav-scrim {
    display: block;
    position: fixed; inset: 0;
    background: rgba(7, 16, 26, .35);
    z-index: 240;
    animation: navScrimIn .18s ease-out;
    cursor: pointer;
  }
  /* Burger icon flips to accent colour when checked — visual confirmation. */
  #navtoggle:checked ~ header .nav-toggle {
    color: var(--accent);
    background: rgba(46, 213, 115, .08);
  }
  /* Lock body scroll while drawer is open. */
  #navtoggle:checked ~ * { overscroll-behavior: contain; }
  html:has(#navtoggle:checked) { overflow: hidden; }
}
@keyframes navDropIn  { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes navScrimIn { from { opacity: 0; }                                 to { opacity: 1; } }

/* Client Login button: SVG chevron-arrow override. The previous text-arrow
   (→) read as a long-line-then-arrowhead in Inter and was hard to see at
   button font sizes. Replaced with a chunky chevron SVG inline. */
.btn .arr-svg {
  vertical-align: -3px;
  margin-left: 4px;
  transition: transform .2s ease;
}
.btn:hover .arr-svg { transform: translateX(3px); }
/* Override the mobile `display:none` that the older .arr rule sets — the
   chevron is short enough that even the compact mobile button has room. */
@media (max-width: 880px) {
  .nav-cta .btn-primary .arr-svg { display: inline-block !important; }
}

/* ============================================================ *
 *  Panel storefront (checkout flow on panel.serverborn.com)    *
 *  — merged from the old static/store.css so the panel and the *
 *  marketing site share one CSS file. .stepper / .order-grid / *
 *  .card-box etc. are checkout-only; loading them on serverborn *
 *  pages costs ~9 KB of unused selectors which is fine vs. the *
 *  maintainability win of one source of truth.                 *
 * ============================================================ */
/* Storefront -- guided cart, on the ServerBorn design system (sb-base.css). */
body { font-family:'Inter',sans-serif; }
main { padding-top: 96px; padding-bottom: 64px; min-height: 70vh; }
.store-wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.store-narrow { max-width: 760px; }
.store-head { text-align:center; margin-bottom: 28px; }
.store-head h1 { font-size: clamp(1.9rem,4vw,2.8rem); }
.store-head .grad { background: var(--grad-accent); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.store-head p { color: var(--text-2); margin-top: 8px; }

/* Stepper -- circle-above-label progress bar. Completed steps get a brand
   gradient fill plus a checkmark, the current step pulses softly, upcoming
   steps sit dim. Connector lines align with circle centres and brighten
   segment by segment as the user advances. */
.stepper {
  display: flex; justify-content: center; align-items: flex-start;
  margin: 0 auto 30px; gap: 0; flex-wrap: wrap;
}
.stepper .st {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--text-3);
  transition: color .18s ease;
  min-width: 86px;
}
.stepper .st b {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--border-2);
  background: var(--bg-2);
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 800; line-height: 1;
  position: relative;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

/* Completed -- gradient fill, number swapped for an inline-SVG checkmark */
.stepper .st.on { color: var(--text); }
.stepper .st.on b {
  background: linear-gradient(135deg, #2ed573 0%, #00d4ff 100%);
  border-color: transparent;
  color: transparent;
  box-shadow: 0 6px 18px -8px rgba(46, 213, 115, .55),
              0 0 0 4px rgba(46, 213, 115, .05);
}
.stepper .st.on b::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2304141d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 56%;
}

/* Current -- first non-.on right after a .on (or the very first step if nothing
   is on yet). Accent outline, soft expanding pulse. */
.stepper .st.on + .sep + .st:not(.on) b,
.stepper .st:first-child:not(.on) b {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: rgba(46, 213, 115, .06);
  animation: step-pulse 2.4s ease-in-out infinite;
}
.stepper .st.on + .sep + .st:not(.on),
.stepper .st:first-child:not(.on) { color: var(--text); }

@keyframes step-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, .42),
                0 4px 14px -6px rgba(46, 213, 115, .25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(46, 213, 115, 0),
                0 4px 14px -6px rgba(46, 213, 115, .25);
  }
}

/* Connector line, sits at circle-centre height (36 / 2 = 18 - 1 stroke = 17) */
.stepper .sep {
  width: 48px; height: 2px; margin: 17px 4px 0;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(46, 213, 115, .42), rgba(0, 212, 255, .28));
  font-size: 0; flex-shrink: 0;
}
.stepper .st:not(.on) + .sep,
.stepper .sep:has(+ .st:not(.on)) {
  background: var(--border-2);
  opacity: .55;
}

/* Plan cards */
.plan-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr)); gap:18px; }
.plan-card { background: linear-gradient(180deg,var(--surface),var(--bg-3)); border:1px solid var(--border);
  border-radius:16px; padding:26px; position:relative; overflow:hidden; display:flex; flex-direction:column; }
.plan-card::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; background: var(--grad-accent); opacity:.6; }
.plan-card.featured { border-color: rgba(46,213,115,.4); box-shadow: var(--shadow-2); }
.plan-card h3 { font-size:18px; margin-bottom:6px; }
.plan-card .price { font-size:34px; font-weight:800; letter-spacing:-.02em; margin:8px 0; }
.plan-card .price small { font-size:14px; color: var(--text-3); font-weight:500; }
.plan-card ul { list-style:none; padding:0; margin:14px 0 20px; color: var(--text-2); font-size:14px; }
.plan-card li { padding:6px 0; border-bottom:1px solid var(--border); display:flex; gap:8px; }
.plan-card li::before { content:"\2713"; color: var(--accent); }
.plan-card .btn { margin-top:auto; justify-content:center; }

/* Order / configure layout */
.order-grid { display:grid; grid-template-columns: 1fr 320px; gap:24px; align-items:start; }
.summary { position:sticky; top:96px; }
.card-box { background: linear-gradient(180deg,var(--surface),var(--bg-3)); border:1px solid var(--border);
  border-radius:16px; padding:24px; margin-bottom:18px; position:relative; overflow:hidden; }
.card-box::before { content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg,transparent,rgba(46,213,115,.45),rgba(0,212,255,.3),transparent); }
.card-box h2 { font-size:15px; margin-bottom:4px; display:flex; align-items:center; gap:10px; }
.card-box h2 .n { width:24px; height:24px; border-radius:50%; background: rgba(46,213,115,.1);
  color: var(--accent); display:grid; place-items:center; font-family:'JetBrains Mono',monospace; font-size:12px; border:1px solid rgba(46,213,115,.3); }
.card-box .sub { color: var(--text-3); font-size:13px; margin:2px 0 16px 34px; }
label { display:block; margin-bottom:14px; font-size:13px; color: var(--text-2); font-weight:500; }
/* 16px so iOS Safari doesn't zoom the page on input focus */
input, select, textarea { display:block; width:100%; margin-top:6px; padding:11px 13px; background: var(--bg);
  color: var(--text); border:1px solid var(--border-2); border-radius:10px; font-family:inherit; font-size:16px; }
input:focus, select:focus { outline:none; border-color: var(--accent); box-shadow:0 0 0 3px rgba(46,213,115,.12); }

/* domain mode chooser */
.modes { display:grid; gap:10px; margin-bottom:14px; }
.mode { display:flex; gap:12px; align-items:flex-start; padding:13px 15px; border:1px solid var(--border-2);
  border-radius:12px; cursor:pointer; transition: border-color .15s, background .15s; }
.mode:hover { border-color: var(--border-3); }
.mode input { width:auto; margin:3px 0 0; accent-color: var(--accent); flex-shrink:0; }
.mode > span { display:block; min-width:0; }
.mode .t { display:block; font-weight:600; font-size:14px; color: var(--text); }
.mode .d { display:block; color: var(--text-3); font-size:12.5px; margin-top:3px; line-height:1.45; }
.mode-body { margin: 0 0 14px 27px; }
.suffix { color: var(--text-3); font-family:'JetBrains Mono',monospace; font-size:13px; }
.inline { display:flex; gap:10px; align-items:center; }
.inline input { margin-top:0; }

.summary .row { display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--border); font-size:14px; }
.summary .row.total { border-bottom:0; font-weight:800; font-size:18px; padding-top:14px; }
.muted { color: var(--text-3); } .ok { color: var(--accent); } .err { color: var(--rose); background: rgba(244,63,94,.08); border:1px solid rgba(244,63,94,.25); padding:10px 13px; border-radius:10px; margin-bottom:14px; }
.dchk { font-family:'JetBrains Mono',monospace; font-size:13px; margin-top:8px; }
.dchk.ok { color: var(--accent); } .dchk.no { color: var(--rose); }
.nslist { list-style:none; padding:0; } .nslist li { margin:6px 0; }
code { background: var(--bg-3); padding:2px 7px; border-radius:6px; }

/* keep the domain input + suffix from overflowing */
.mode-body .inline { flex-wrap: wrap; }
.mode-body .inline input { flex: 1 1 160px; min-width: 0; }

@media (max-width: 820px) {
  .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  main { padding-top: 80px; }
}
@media (max-width: 720px) {
  /* no hamburger on the storefront nav -- show brand + Sign in only, never overflow */
  .nav-links { display: none; }
  .store-wrap { padding: 0 16px; }
  .plan-grid { grid-template-columns: 1fr; }
  /* Stepper compacts on phones */
  .stepper .st { font-size: 10px; min-width: 62px; gap: 7px; letter-spacing: .1em; }
  .stepper .st b { width: 28px; height: 28px; font-size: 11px; }
  .stepper .sep { width: 18px; margin: 13px 2px 0; }
  @keyframes step-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, .42); }
    50% { box-shadow: 0 0 0 6px rgba(46, 213, 115, 0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .stepper .st b { animation: none !important; }
}

/* ============================================================ *

/* ============================================================ *
 *  Cloudflare Turnstile widget — same rules used on the panel  *
 *  login page, merged here so the storefront order form gets    *
 *  the same fitted/rounded styling via cross-origin main.css.   *
 * ============================================================ */
.ts-wrap {
  margin: 0 0 16px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  clip-path: inset(0 round 14px);
  background: #fafafa;
  position: relative;
}
.ts-wrap .cf-turnstile {
  position: absolute;
  top: 0; left: 0;
  width: 138.9% !important;
  transform: scale(.72);
  transform-origin: top left;
  display: block;
}
.ts-wrap iframe {
  border: 0 !important;
  display: block;
  width: 100%;
}
@media (max-width: 540px) {
  /* Same rationale as panel: CF's flexible-mode width detection breaks
     when its host is position:absolute + width:138.9% on narrow viewports.
     Let it render naturally on mobile. */
  .ts-wrap {
    margin-bottom: 12px;
    height: auto;
    border-radius: 12px;
    clip-path: inset(0 round 12px);
    position: static;
  }
  .ts-wrap .cf-turnstile {
    position: static;
    width: 100% !important;
    transform: none;
    display: block;
  }
}

/* Client Login inside the mobile hamburger drawer — hidden on desktop (the
   .nav-cta button covers that); a prominent accent button in the open drawer. */
.nav-login-mobile { display: none; }
@media (max-width: 880px) {
  .nav-login-mobile {
    display: block !important; margin-top: 8px; padding: 13px 14px !important;
    border-radius: 10px; text-align: center; font-size: 15px !important;
    background: var(--grad-accent); color: #04120a !important; font-weight: 800;
    box-shadow: 0 8px 22px rgba(46, 213, 115, .28);
  }
}

/* Mobile brand step-downs: the 52px mark must shrink on phones or the nav CTA wraps. */
.nav-cta .btn { white-space: nowrap; }
@media (max-width: 880px) {
  .brand-mark { width: 44px; height: 44px; }
  .nav.is-stuck .brand-mark { width: 40px; height: 40px; }
  .brand-text { font-size: 18px; }
}
@media (max-width: 540px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-text { font-size: 16px; }
}
@media (max-width: 420px) {
  .brand-mark { width: 36px; height: 36px; }
  .brand-text { font-size: 14px; }
}
