/* ============================================================
   HYVE — RP Server Forge · marketing site
   Neon-synthwave brand system (from the commissioned identity sheet).
   ============================================================ */

:root {
  /* ── Brand palette — Vice City synthwave (matches the desktop app rebrand) ──
     The site is variable-driven, so retuning these cascades through every
     component. Source of truth = packages/desktop/src/index.css @theme block. */
  --ink: #070812;        /* deepest midnight-blue background */
  --ink-2: #090b14;      /* card / panel base */
  --panel: #14182a;      /* elevated surface */
  --panel-2: #1f2540;    /* hover / elevated */
  --line: #232a44;       /* dividers, hairlines */

  --hot: #ff2bd6;        /* hot-pink magenta — the brand's signature */
  --magenta: #ff5db0;    /* pink mid-stop */
  --orange: #ff9b21;     /* sunset orange — primary CTA (echoes the logo sunset) */
  --amber: #ffd447;      /* molten gold — warnings */
  --violet: #8b5cff;     /* violet mid-stop */
  --teal: #20e7ff;       /* electric cyan — the secondary "RP" accent */
  --steel: #667085;

  --text: #f7fbff;
  --muted: #99a3b8;
  --muted-2: #6b7494;

  /* Signature gradients — pink → cyan duotone (was pink → orange → amber).
     This is the single biggest visual shift toward the new design language. */
  --g-wordmark: linear-gradient(100deg, #ff2bd6 0%, #ff5db0 35%, #20e7ff 100%);
  --g-head: linear-gradient(105deg, #ff2bd6 0%, #8b5cff 50%, #20e7ff 100%);
  --g-teal: linear-gradient(100deg, #20e7ff 0%, #2aa7ff 100%);

  --radius: 16px;
  --maxw: 1180px;
  --glow-hot: 0 0 40px rgba(255, 43, 214, 0.38);
  --glow-teal: 0 0 36px rgba(32, 231, 255, 0.32);

  /* Display type — Arial Black / Impact, matching the desktop app's
     `--font-display`. Chakra Petch kept as a graceful fallback. */
  --font-display: 'Arial Black', 'Impact', 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient neon backdrop */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(139, 59, 240, 0.18), transparent 60%),
    radial-gradient(800px 600px at 100% 0%, rgba(255, 45, 155, 0.14), transparent 55%),
    radial-gradient(900px 700px at 50% 120%, rgba(31, 227, 200, 0.1), transparent 60%);
}
/* Faint hex grid */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0 L56 16 L56 50 L28 66 L0 50 L0 16 Z M28 66 L56 82 L56 116 M28 66 L0 82 L0 116' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

section { padding: 96px 0; position: relative; }

/* ---- Type ---- */
h1, h2, h3, .display { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--teal);
}

.gradient-text {
  background: var(--g-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark-grad {
  background: var(--g-wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.teal { color: var(--teal); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; font-style: italic; text-transform: uppercase; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700;
  padding: 13px 22px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--g-wordmark); color: #1a0a12;
  box-shadow: var(--glow-hot);
}
.btn-primary:hover { box-shadow: 0 0 56px rgba(255, 45, 155, 0.55); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-teal { background: var(--g-teal); color: #04201c; box-shadow: var(--glow-teal); }

/* ---- Nav ---- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 7, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand-lockup { display: flex; align-items: center; gap: 11px; }
/* `.mark` is the real brand-mark image (assets/hyve-mark.png) — the cut-out
   molten-H hexagon. The legacy `svg` selector is preserved for any caller
   that still inlines the old vector mark. */
.brand-lockup svg, .brand-lockup .mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(255,45,155,0.4)); object-fit: contain; }
.brand-lockup .name { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; letter-spacing: 0.02em; }
.brand-lockup .name .rp { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-security {
  color: var(--teal);
  font-weight: 600;
  border: 1px solid rgba(31, 227, 200, 0.3);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(31, 227, 200, 0.04);
}
.nav-links a.nav-security:hover {
  border-color: rgba(31, 227, 200, 0.6);
  background: rgba(31, 227, 200, 0.1);
  color: var(--teal);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ---- Hero ---- */
.hero { padding: 120px 0 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to bottom, rgba(8,7,13,0.35), rgba(8,7,13,0.9) 70%, var(--ink)), url('assets/hero-bg.png');
  background-size: cover; background-position: center;
  opacity: 0.9;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 86px); font-weight: 800; font-style: italic; text-transform: uppercase; }
.hero .sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); margin: 22px 0 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: 13px; color: var(--muted);
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.03); margin-bottom: 26px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.hero-badge { display: flex; justify-content: center; }
.hero-badge svg, .hero-badge .mark { width: min(360px, 80%); height: auto; aspect-ratio: 1 / 1; object-fit: contain; filter: drop-shadow(0 0 50px rgba(255,45,155,0.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---- Stat strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink-2); padding: 26px 22px; text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: 30px; background: var(--g-wordmark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ---- Cards / pillars ----
   `auto-fit + minmax` lets us add a 4th (Frameworks) card without a media-query
   refactor: 4 cards fit at desktop widths, fold to 2 wide on tablet, stack on phone. */
/* 5 feature cards in a 3+2 layout at desktop: 3 wide cards on top,
   2 wider cards on bottom. Cards stay ~380px wide so the embedded
   screenshots remain readable. Tablet: 2 cols. Mobile: 1 col. */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,45,155,0.4); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(255,45,155,0.12); border: 1px solid rgba(255,45,155,0.25); }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15px; }

/* Card preview thumbnail — source 1600x900 PNG (16:9). The container's
   aspect-ratio matches source exactly so object-fit never crops; at 3-up the
   card is ~400px wide on a 1280px viewport = a clean 2x retina downscale.
   NB: do NOT add `image-rendering: -webkit-optimize-contrast` here — it forces
   Chrome to nearest-neighbor at non-integer scale and is the root cause of the
   perceived blur reported during the May 28 review. Default `auto` lets the
   browser pick bicubic/bilinear, which is what we want. */
.card-media {
  margin: -28px -28px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
  image-rendering: auto;
}
.card:hover .card-media img { transform: scale(1.02); }

/* ---- Feature showcase (alternating image rows) ---- */
.showrow { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-bottom: 64px; }
.showrow:last-child { margin-bottom: 0; }
.showrow.reverse .show-media { order: 2; }
.show-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.show-media img { width: 100%; }
.show-copy h3 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; font-style: italic; text-transform: uppercase; margin-bottom: 14px; }
.show-copy p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks li::before { content: '◆'; color: var(--teal); font-size: 12px; margin-top: 4px; }

/* ---- Content forge ---- */

/* Legacy single-grid layout (kept for backward compatibility — unused by the 4-cluster page). */
.forge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* 4-cluster layout: each cluster has a head + its own 3-up tile grid. */
.clusters { display: grid; gap: 56px; }
.cluster {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
  border-top: 1px solid rgba(255,45,155,0.15);
  padding-top: 28px;
}
.cluster:first-child { border-top: 0; padding-top: 0; }
.cluster-head { margin-bottom: 20px; max-width: 720px; }
.cluster-eyebrow {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; font-size: 11px;
  background: var(--g-wordmark); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cluster-title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(20px, 2.3vw, 26px); margin: 6px 0 6px; }
.cluster-sub { color: var(--muted); font-size: 15px; }
.cluster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.forge-item {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; transition: border-color 0.2s, transform 0.2s;
}
.forge-item:hover { border-color: var(--teal); transform: translateY(-3px); }
.forge-item .fi-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.forge-item .fi-ico { font-size: 22px; }
.forge-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.forge-item p { color: var(--muted-2); font-size: 13px; }

/* ============================================================
   FOUNDERS BETA PRE-SALE block
   ============================================================ */

.founders-band {
  background: linear-gradient(140deg, rgba(255,45,155,0.10), rgba(139,59,240,0.07) 50%, rgba(31,227,200,0.05));
  border: 1px solid rgba(255,45,155,0.35);
  border-radius: 18px; padding: 36px;
  box-shadow: var(--glow-hot);
}
.founders-head { text-align: center; margin-bottom: 26px; }
.founders-eyebrow {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; font-size: 11px;
  color: var(--hot);
}
.founders-title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(24px, 3.6vw, 38px); margin: 8px 0 10px; }
.founders-sub { color: var(--muted); font-size: 15.5px; max-width: 760px; margin: 0 auto; line-height: 1.65; }

.founders-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }

/* LEFT: price card */
.founders-price-card {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; display: flex; flex-direction: column;
}
.founders-tag { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; color: var(--teal); }
.founders-price { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; margin: 8px 0 4px; background: var(--g-wordmark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founders-strike { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.founders-strike s { opacity: 0.7; }
.founders-incl { list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--text); margin-bottom: 22px; }
.founders-incl li { color: var(--muted); }
.founders-incl li::first-letter { color: var(--teal); margin-right: 4px; }

/* Countdown */
.countdown { margin-top: auto; }
.cd-label { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd-cell { background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px; text-align: center; }
.cd-n { font-family: var(--font-display); font-weight: 800; font-size: 24px; background: var(--g-wordmark); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.cd-u { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 4px; }
.cd-closed { background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-align: center; color: var(--muted); font-size: 13px; }

/* RIGHT: required disclosure + buy block */
.founders-buy-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.founders-buy-title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 18px; color: var(--text); }
.disclosure {
  background: rgba(255, 93, 143, 0.06);
  border: 1px solid rgba(255, 93, 143, 0.35);
  border-radius: 12px;
  padding: 16px;
  font-size: 13.5px; line-height: 1.65;
  color: var(--text);
}
.disclosure ul { padding-left: 18px; margin: 8px 0; color: var(--muted); }
.disclosure li { margin: 4px 0; }
.disclosure .dangerous {
  font-size: 13px; line-height: 1.55;
  background: rgba(255, 45, 155, 0.10);
  border-left: 3px solid var(--hot);
  padding: 10px 12px; margin: 10px 0 0;
  border-radius: 0 8px 8px 0;
  color: var(--text);
}
.disclosure .dangerous strong { color: var(--hot); letter-spacing: 0.04em; }

.ack {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  font-size: 13.5px; line-height: 1.55; color: var(--muted);
  padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.ack:hover { border-color: rgba(31,227,200,0.5); }
.ack input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--teal); cursor: pointer;
}
.ack input[type="checkbox"]:checked + span { color: var(--text); }

.btn-buy {
  font-size: 17px; padding: 14px 24px;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-buy:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-buy:not(:disabled):hover { transform: translateY(-1px); }
.buy-foot { font-size: 12px; color: var(--muted); text-align: center; }

/* Two-tier pricing (Founders + Standard) */
.tiers.tiers-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
.pricing-foot { text-align: center; color: var(--muted); margin-top: 24px; font-size: 13.5px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---- Editors grid (12-tile bigger forge for the visual + AI creator views) ---- */
.editor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.editor {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: 14px;
  padding: 22px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.editor:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--glow-teal); }
.editor .ed-ico { font-size: 26px; margin-bottom: 10px; }
.editor h4 { font-family: var(--font-display); font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.editor p { color: var(--muted-2); font-size: 13.5px; }
.editor p em { color: var(--muted); font-style: italic; font-size: 12.5px; }

/* Editor preview — small thumb at top of the card. Same 16:9 retina source. */
.editor-media {
  margin: -22px -22px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.editor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
  image-rendering: auto;
}
.editor:hover .editor-media img { transform: scale(1.02); }

/* ---- Required free software (Setup honesty) ---- */
.needs { display: grid; gap: 48px; }
.need-group-title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; margin-bottom: 6px; }
.need-group-sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; max-width: 720px; }
.need-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.need {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.need:hover { border-color: var(--teal); transform: translateY(-2px); }
.need-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.need-name { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; }
.need-badge {
  font-family: var(--font-display); font-weight: 700; font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
/* ok = green-leaning teal (truly cross-platform free); soft = orange (free but with a caveat — Windows-only or free tier) */
.need-badge.ok   { background: rgba(31,227,200,0.12); color: var(--teal); border: 1px solid rgba(31,227,200,0.35); }
.need-badge.soft { background: rgba(251,106,47,0.12); color: var(--orange); border: 1px solid rgba(251,106,47,0.35); }
.need p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.need-link { color: var(--teal); font-size: 12.5px; text-decoration: none; margin-top: auto; }
.need-link:hover { text-decoration: underline; }
.setup-foot { text-align: center; color: var(--muted); margin-top: 36px; font-size: 14.5px; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 40px;
  background: var(--g-wordmark); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 8px;
}
.step h4 { font-family: var(--font-display); font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---- Pricing ---- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.tier {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--hot); box-shadow: var(--glow-hot); }
.tier .tag { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; color: var(--teal); }
.tier .price { font-family: var(--font-display); font-weight: 800; font-size: 42px; margin: 12px 0 2px; }
.tier .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.tier .yr { color: var(--muted-2); font-size: 13px; margin-bottom: 18px; }
.tier ul { list-style: none; display: grid; gap: 11px; margin-bottom: 24px; flex: 1; }
.tier li { font-size: 14px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.tier li::before { content: '✦'; color: var(--teal); font-size: 12px; margin-top: 3px; }
.tier .btn { width: 100%; justify-content: center; }
.featured-badge { display: inline-block; background: var(--g-wordmark); color: #1a0a12; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---- Waitlist / CTA ---- */
.cta-band {
  background: linear-gradient(135deg, rgba(255,45,155,0.12), rgba(139,59,240,0.12));
  border: 1px solid var(--line); border-radius: 24px; padding: 56px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; font-style: italic; text-transform: uppercase; }
.cta-band p { color: var(--muted); font-size: 18px; margin: 16px auto 30px; max-width: 600px; }
.waitlist { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.waitlist input {
  flex: 1; min-width: 240px; padding: 14px 18px; border-radius: 12px;
  background: rgba(0,0,0,0.4); border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-body); font-size: 15px;
}
.waitlist input:focus { outline: none; border-color: var(--teal); box-shadow: var(--glow-teal); }
.waitlist-ok { color: var(--teal); font-family: var(--font-display); font-weight: 600; margin-top: 18px; min-height: 22px; }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
details.faq { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; }
details.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 17px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--teal); font-size: 24px; transition: transform 0.2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: var(--muted); padding-bottom: 20px; font-size: 15px; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.foot-col h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 9px; transition: color 0.15s; }
.foot-col a:hover { color: var(--teal); }
.foot-about p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 320px; }
.legal { border-top: 1px solid var(--line); padding-top: 26px; color: var(--muted-2); font-size: 12.5px; line-height: 1.7; }
.legal strong { color: var(--muted); }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { order: -1; }
  .hero-badge svg, .hero-badge .mark { width: 200px; }
  .cards, .forge-grid, .steps, .tiers { grid-template-columns: repeat(2, 1fr); }
  .cluster-grid, .editor-grid, .need-list { grid-template-columns: repeat(2, 1fr); }
  .clusters { gap: 44px; }
  .needs { gap: 36px; }
  .founders-grid { grid-template-columns: 1fr; }
  .founders-band { padding: 24px; }
  .tiers.tiers-2 { grid-template-columns: 1fr; }
  .showrow, .showrow.reverse .show-media { grid-template-columns: 1fr; order: 0; }
  .show-media { order: -1 !important; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--ink-2); padding: 20px; border-bottom: 1px solid var(--line); gap: 18px; }
  section { padding: 64px 0; }
  .cta-band { padding: 36px 24px; }
}
@media (max-width: 560px) {
  .cards, .forge-grid, .steps, .tiers, .stats, .cluster-grid, .editor-grid, .need-list { grid-template-columns: 1fr; }

  /* Tighter section padding on phones */
  section { padding: 48px 0; }
  .hero { padding: 88px 0 56px; }

  /* Touch targets — Apple HIG 44pt minimum / Material 48dp */
  .btn { min-height: 48px; padding: 14px 22px; font-size: 15px; }
  .btn-buy { min-height: 52px; padding: 16px 24px; font-size: 17px; }
  .nav-toggle { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-links.open a { padding: 14px 0; min-height: 48px; }

  /* Make stacking pricing tier full-width and stretch CTAs */
  .tier { padding: 28px 22px; }
  .tier .btn { width: 100%; }
  .tiers.tiers-2 { max-width: 100%; }

  /* Founders block — countdown digits stay readable */
  .founders-band, .founders-price-card, .founders-buy-card { padding: 22px; }
  .cd-grid { gap: 6px; }
  .cd-cell { padding: 8px 4px; }
  .cd-n { font-size: 20px; }

  /* FAQ summary tap area */
  .faq summary { padding: 14px 0; min-height: 48px; }

  /* Hero CTA stack vertically with full-width buttons */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; text-align: center; justify-content: center; }

  /* Footer columns collapse cleanly */
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-col { text-align: left; }

  /* Smaller pill on small screens (long "WINDOW CLOSES NOV 1, 2026" text) */
  .pill { font-size: 11px; padding: 6px 12px; flex-wrap: wrap; justify-content: center; text-align: center; line-height: 1.3; }

  /* Disclosure block more readable */
  .disclosure { font-size: 13px; padding: 14px; }
  .ack { padding: 14px; font-size: 13px; }

  /* No horizontal overflow from long URLs in legal docs */
  .legal-doc { padding: 48px 18px; }
  .legal-doc p, .legal-doc li { word-wrap: break-word; overflow-wrap: anywhere; }
}

/* Even tinier (iPhone SE 1st gen, 320px wide) */
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .hero h1 { font-size: 38px; }
  .founders-price { font-size: 44px; }
  .cd-n { font-size: 17px; }
}

/* Reduced motion — respect OS-level accessibility preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-badge svg, .hero-badge .mark { animation: none; }
}

/* Light mode is intentionally NOT supported — site is brand-dark by design.
   We declare color-scheme so the browser's native UI (form controls, scrollbars)
   matches our palette. */

/* ─── Lightbox for feature preview screenshots ──────────────────────────────
   Click any .card-media / .editor-media / .show-media img to open the full
   image in a centred overlay. ESC or backdrop click closes. */
.card-media img,
.editor-media img,
.show-media img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 13, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox-stage {
  position: relative;
  max-width: min(100%, 1600px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(90vh - 64px);
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(255, 45, 155, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.04);
  cursor: zoom-out;
  display: block;
}
.lightbox-caption {
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
  padding: 0 20px;
  max-width: 720px;
  line-height: 1.55;
}
.lightbox-close {
  position: absolute;
  top: -52px;
  right: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s;
  font-family: var(--font-body);
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--ink-2);
  border-color: var(--hot);
  outline: none;
}

/* Lock body scroll while open */
body.lb-open { overflow: hidden; }

/* Mobile: full-bleed, close button bottom-right instead of top-right */
@media (max-width: 640px) {
  .lightbox { padding: 12px; }
  .lightbox-stage { max-height: 100vh; }
  .lightbox-img { max-height: calc(100vh - 80px); }
  .lightbox-close { top: auto; bottom: 8px; right: 8px; }
}

/* Reduced motion — instant open, no fade */
@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
}

/* ─── Security tentpole section ────────────────────────────────────────── */
.security-section {
  position: relative;
  padding: 96px 0;
}
.security-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 400px at 50% 20%, rgba(31, 227, 200, 0.10), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(255, 45, 155, 0.08), transparent 55%);
}

.security-band {
  background: linear-gradient(160deg, rgba(31, 227, 200, 0.04), rgba(8, 7, 13, 0.6) 60%);
  border: 1px solid rgba(31, 227, 200, 0.25);
  border-radius: 22px;
  padding: 56px 44px;
  box-shadow: 0 30px 80px rgba(31, 227, 200, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.security-eyebrow {
  color: var(--teal);
}
.security-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.08;
  margin: 14px 0 18px;
  max-width: 920px;
}
.security-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 820px;
  margin: 0 0 36px;
  line-height: 1.6;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 36px 0;
}
.security-cell {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.security-cell:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 227, 200, 0.45);
}
.security-icon {
  font-size: 30px;
  margin-bottom: 14px;
  display: block;
}
.security-cell h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
}
.security-cell p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.security-cell code {
  background: var(--ink);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--teal);
}

.security-compare {
  margin-top: 40px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}
.security-compare-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.security-compare-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.security-compare-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.security-compare-row:last-child { border-bottom: 0; }
.security-compare-label { color: var(--muted); }
.security-compare-price { color: var(--text); font-family: var(--font-display); font-weight: 700; }
.security-compare-hyve {
  background: linear-gradient(135deg, rgba(31, 227, 200, 0.08), rgba(31, 227, 200, 0.02));
  margin: 6px -14px 0;
  padding: 14px;
  border-radius: 10px;
  border-bottom: 0;
  border: 1px solid rgba(31, 227, 200, 0.4);
}
.security-compare-hyve .security-compare-label,
.security-compare-hyve .security-compare-price { color: var(--teal); }

.security-foot {
  color: var(--muted-2);
  font-size: 13.5px;
  line-height: 1.65;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  max-width: 880px;
}
.security-foot code {
  background: var(--ink);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--teal);
}

@media (max-width: 720px) {
  .security-band { padding: 36px 24px; }
  .security-compare-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .security-compare-price { text-align: left; }
}

/* ─── Small "Beta" chip used on feature cards for pre-release features ─── */
.card-chip {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(31, 227, 200, 0.12);
  border: 1px solid rgba(31, 227, 200, 0.4);
  color: var(--teal);
  margin-left: 8px;
  position: relative;
  top: -2px;
}


/* ============ OVERLORD badge + DDoS Defense Center ============ */
.overlord-badge{
  display:inline-flex;align-items:center;gap:.55rem;margin-top:1rem;
  padding:.5rem .9rem;border-radius:999px;
  background:linear-gradient(90deg,rgba(53,255,141,.12),rgba(32,231,255,.12));
  border:1px solid rgba(53,255,141,.45);
  box-shadow:0 0 24px rgba(53,255,141,.18);
  font-size:.8rem;letter-spacing:.02em;color:#cfe9dd;
}
.overlord-badge .ob-shield{font-size:1rem;filter:drop-shadow(0 0 6px rgba(53,255,141,.7))}
.overlord-badge strong{color:#7dffc0;letter-spacing:.04em}
@keyframes dcPulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(53,255,141,.5)}50%{opacity:.65;box-shadow:0 0 0 6px rgba(53,255,141,0)}}

.defense-center{
  margin:0 auto 2.25rem;max-width:880px;
  border:1px solid rgba(32,231,255,.30);border-radius:18px;
  background:
    radial-gradient(120% 140% at 50% 0%,rgba(32,231,255,.10),transparent 60%),
    rgba(7,9,18,.86);
  box-shadow:0 0 60px rgba(32,231,255,.10),inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(8px);overflow:hidden;
}
.dc-top{
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;
  padding:.7rem 1.1rem;border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.02);
}
.dc-status{display:inline-flex;align-items:center;gap:.5rem;font-family:"Arial Black",Impact,sans-serif;font-size:.72rem;letter-spacing:.18em;color:#7dffc0}
.dc-dot{width:9px;height:9px;border-radius:50%;background:#35ff8d;animation:dcPulse 1.8s ease-in-out infinite}
.dc-title{font-family:"Arial Black",Impact,sans-serif;font-size:.72rem;letter-spacing:.18em;color:#7fd9ff;text-transform:uppercase}
.dc-mode{font-size:.7rem;color:#6b7a93;font-family:ui-monospace,monospace}
.dc-headline{padding:1.4rem 1.1rem .4rem;text-align:center;font-family:"Arial Black",Impact,sans-serif;font-size:clamp(1.3rem,3.4vw,2rem);text-transform:uppercase;letter-spacing:.01em;color:#fff;line-height:1.1}
.dc-sub{padding:0 1.1rem 1.1rem;text-align:center;color:#9fb0c6;font-size:.9rem;max-width:620px;margin:0 auto}
.dc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.07);border-top:1px solid rgba(255,255,255,.07)}
.dc-cell{background:rgba(7,9,18,.9);padding:1rem .6rem;text-align:center}
.dc-n{font-family:"Arial Black",Impact,sans-serif;font-size:1.5rem;color:#20e7ff;line-height:1}
.dc-l{margin-top:.35rem;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:#7c8aa3}
@media(max-width:640px){.dc-grid{grid-template-columns:repeat(2,1fr)}}

.dc-shot{padding:1rem 1.1rem 0}
.dc-shot img{width:100%;height:auto;display:block;border-radius:12px;border:1px solid rgba(32,231,255,.22);box-shadow:0 14px 40px rgba(0,0,0,.5)}
