/* ==========================================================================
   BRO Assistant — Official website stylesheet
   Palette: deep black #050505 · charcoal #101410 · neon green #39FF88
   1.  Tokens
   2.  Reset & base
   3.  Layout & typography
   4.  Buttons & badges
   5.  Header / navigation
   6.  Hero + HUD visual
   7.  Cards & feature grids
   8.  Page headers
   9.  Feature detail rows
   10. Screenshot slots
   11. Download
   12. About
   13. Support
   14. Call to action banner
   15. Footer
   16. Pricing
   17. Motion, reveal & responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #050505;
  --surface: #101410;
  --surface-raised: #141a15;
  --surface-deep: #0a0d0b;

  --accent: #39ff88;
  --accent-soft: rgba(57, 255, 136, 0.12);
  --accent-line: rgba(57, 255, 136, 0.26);

  --white: #ffffff;
  --text: #e8efe9;
  --grey: #a7b1aa;
  --grey-dim: #74807a;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --max: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Reset & base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

::selection {
  background: rgba(57, 255, 136, 0.28);
  color: #ffffff;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  color: #04120a;
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* 3. Layout & typography --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section--tight { padding: 72px 0; }

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 20px;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 12px; }

p { margin: 0 0 18px; color: var(--grey); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.75;
  color: #c3ccc6;
  max-width: 58ch;
}

.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.accent { color: var(--accent); }

.text-glow {
  color: var(--accent);
  text-shadow: 0 0 26px rgba(57, 255, 136, 0.45);
}

/* 4. Buttons & badges ------------------------------------------------------ */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease);
  will-change: transform;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #4dff99 0%, var(--accent) 62%, #2fe877 100%);
  color: #04140a;
  box-shadow:
    0 0 0 1px rgba(57, 255, 136, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 14px 40px -14px rgba(57, 255, 136, 0.7);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.5) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #63ffab 0%, #4dff99 62%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(57, 255, 136, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 20px 48px -14px rgba(57, 255, 136, 0.85);
}
.btn-primary:hover::after { transform: translateX(130%); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--accent-line);
  color: var(--white);
  background: rgba(57, 255, 136, 0.06);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 20px; font-size: 0.87rem; }

.btn .btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: rgba(57, 255, 136, 0.05);
  color: #c8ffdf;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.badge--muted {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--grey);
}
.badge--muted .pulse-dot {
  background: var(--grey);
  box-shadow: none;
  animation: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* 5. Header / navigation --------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 12px rgba(57, 255, 136, 0.35));
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }

.brand-text {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.brand-text span {
  color: var(--grey);
  font-weight: 400;
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.04); }

/* Signed in, the header shows the account address instead of "Account".
   Long addresses are trimmed rather than allowed to push the nav wider. */
.nav a.is-account {
  max-width: 168px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav a.is-active { color: var(--white); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(57, 255, 136, 0.9);
}

.nav .nav-cta {
  margin-left: 16px;
  padding: 11px 22px;
  background: var(--accent);
  color: #04140a;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 10px 30px -14px rgba(57, 255, 136, 0.9);
}
.nav .nav-cta:hover {
  background: #4dff99;
  color: #04140a;
  transform: translateY(-1px);
}
.nav .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* 6. Hero + HUD visual ----------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 108px) 0 112px;
  overflow: hidden;
  isolation: isolate;
}

/* hairline of light across the top edge of the hero */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.32) 30%, rgba(255, 255, 255, 0.18) 50%, rgba(57, 255, 136, 0.26) 70%, transparent);
  opacity: 0.85;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 520px at 76% 12%, rgba(57, 255, 136, 0.15), transparent 66%),
    radial-gradient(600px 460px at 22% 24%, rgba(255, 255, 255, 0.045), transparent 70%),
    radial-gradient(700px 520px at 2% 90%, rgba(57, 255, 136, 0.06), transparent 72%),
    linear-gradient(180deg, #070907 0%, var(--bg) 64%);
}

/* film grain keeps the large flat areas from looking plasticky */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.032;
  mix-blend-mode: screen;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 62% at 50% 32%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 32%, #000 20%, transparent 78%);
  opacity: 0.9;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 72px;
}

.hero .badge {
  background:
    linear-gradient(180deg, rgba(57, 255, 136, 0.1), rgba(57, 255, 136, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -18px rgba(57, 255, 136, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* shown only for signed-in visitors (assets/js/auth.js) */
.hero-member {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 16px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--grey);
}
.hero-member .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-member strong { color: var(--text); font-weight: 500; }
.hero-member a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 136, 0.35);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.hero-member a:hover {
  color: #7dffb2;
  border-bottom-color: var(--accent);
}

.hero h1 {
  margin: 26px 0 26px;
  font-size: clamp(3rem, 6.4vw, 5rem);
  letter-spacing: -0.042em;
  line-height: 0.98;
}

.hero-line {
  display: block;
  color: var(--white);
  background-image: linear-gradient(180deg, #ffffff 34%, #b6c4bb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-line + .hero-line { margin-top: 0.04em; }

.hero h1 .text-glow {
  -webkit-text-fill-color: var(--accent);
  background: none;
  text-shadow: 0 0 34px rgba(57, 255, 136, 0.5);
}

.hero .lead {
  max-width: 52ch;
  color: #c7d1ca;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 52px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
/* short accent hairline sitting on the divider */
.hero-stats::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}
.hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.hero-stats span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-dim);
}

/* HUD orb */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.orb {
  position: relative;
  width: min(430px, 82%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orb::before {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 136, 0.14), rgba(57, 255, 136, 0.04) 46%, transparent 66%);
  filter: blur(22px);
}

.orb-halo {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 54%, rgba(57, 255, 136, 0.1) 68%, transparent 78%);
  animation: haloPulse 8s ease-in-out infinite;
}

/* sparse tick ring — a hint of measurement, not a dial */
.orb-ticks {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(57, 255, 136, 0.32) 0deg 0.5deg, transparent 0.5deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 0 98%, #000 98.4% 100%);
  mask: radial-gradient(circle, transparent 0 98%, #000 98.4% 100%);
  opacity: 0.4;
  animation: spin 240s linear infinite;
}

/* a single soft light arc, drifting slowly */
.orb-sweep {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 316deg, rgba(57, 255, 136, 0.05) 330deg, rgba(57, 255, 136, 0.26) 352deg, rgba(57, 255, 136, 0) 360deg);
  -webkit-mask: radial-gradient(circle, transparent 0 97%, #000 97.4% 100%);
  mask: radial-gradient(circle, transparent 0 97%, #000 97.4% 100%);
  animation: spin 22s linear infinite;
  opacity: 0.55;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 136, 0.22);
}

.orb-ring--outer {
  inset: 0;
  border-style: dashed;
  border-color: rgba(57, 255, 136, 0.2);
  animation: spin 46s linear infinite;
}

.orb-ring--mid {
  inset: 9%;
  border-color: rgba(255, 255, 255, 0.08);
  border-top-color: rgba(57, 255, 136, 0.5);
  border-right-color: rgba(57, 255, 136, 0.22);
  animation: spin 18s linear infinite reverse;
  box-shadow:
    inset 0 0 40px rgba(57, 255, 136, 0.07),
    0 0 26px -6px rgba(57, 255, 136, 0.35);
}

.orb-ring--inner {
  inset: 19%;
  border-color: rgba(57, 255, 136, 0.16);
  border-bottom-color: rgba(57, 255, 136, 0.55);
  animation: spin 26s linear infinite;
}

.orb-core {
  position: relative;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  gap: 6px;
  background:
    radial-gradient(circle at 50% 26%, rgba(57, 255, 136, 0.18), transparent 60%),
    radial-gradient(circle at 50% 108%, rgba(57, 255, 136, 0.1), transparent 56%),
    linear-gradient(160deg, #101914, #060907);
  border: 1px solid rgba(57, 255, 136, 0.34);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 12px rgba(57, 255, 136, 0.025),
    0 0 80px rgba(57, 255, 136, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.14),
    inset 0 -20px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 60px rgba(57, 255, 136, 0.06);
}

/* glass highlight across the top of the core */
.orb-core::after {
  content: "";
  position: absolute;
  top: 6%;
  left: 18%;
  right: 18%;
  height: 26%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 78%);
  pointer-events: none;
}

.orb-logo {
  position: relative;
  z-index: 1;
  width: 40%;
  filter: drop-shadow(0 0 22px rgba(57, 255, 136, 0.65));
  animation: breathe 5.5s ease-in-out infinite;
}

.orb-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
  color: rgba(200, 255, 223, 0.7);
}

.hud-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(20, 26, 21, 0.92), rgba(10, 13, 11, 0.86));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #d3ded6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 20px 44px -26px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}
.hud-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px var(--accent);
}

.hud-chip--1 { top: 6%; left: -4%; animation: float 7s ease-in-out infinite; }
.hud-chip--2 { top: 40%; right: -8%; animation: float 8.5s ease-in-out infinite 0.6s; }
.hud-chip--3 { bottom: 12%; left: 2%; animation: float 7.8s ease-in-out infinite 1.2s; }
.hud-chip--4 { bottom: 2%; right: 6%; animation: float 9s ease-in-out infinite 0.3s; }

/* Hero screenshot slot — used instead of the orb once a real capture exists.
   Swap instructions live in a comment inside index.html. */
.hero-shot {
  position: relative;
  width: min(560px, 100%);
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(57, 255, 136, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    linear-gradient(170deg, #121813, #070a08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 46px 120px -55px rgba(57, 255, 136, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-shot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.7), transparent);
}

.hero-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #070a08;
}

.hero-visual--shot { min-height: 0; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.03); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* staged entrance — the hero arrives rather than simply appearing */
.hero-copy > * { animation: heroIn 0.9s var(--ease) both; }
.hero-copy > .badge { animation-delay: 0.06s; }
.hero-copy > .hero-member { animation-delay: 0.1s; }
.hero-copy > h1 { animation-delay: 0.14s; }
.hero-copy > .lead { animation-delay: 0.22s; }
.hero-copy > .hero-actions { animation-delay: 0.3s; }
.hero-copy > .hero-stats { animation-delay: 0.38s; }
.hero-visual { animation: heroIn 1.1s var(--ease) 0.2s both; }

/* 7. Cards & feature grids ------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 32px 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface) 0%, var(--surface-deep) 100%);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px 180px at 82% 0%, rgba(57, 255, 136, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 136, 0.3);
  box-shadow: 0 28px 60px -40px rgba(57, 255, 136, 0.55);
}
.card:hover::after { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border: 1px solid rgba(57, 255, 136, 0.28);
  border-radius: 12px;
  background: rgba(57, 255, 136, 0.07);
  color: var(--accent);
  box-shadow: inset 0 0 22px rgba(57, 255, 136, 0.08);
}
.card-icon svg { width: 22px; height: 22px; }

.card p { font-size: 0.94rem; line-height: 1.72; margin: 0; }

.card-index {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.22);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
}
.card-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* 8. Page headers ---------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

/* hairline of light along the top edge, matching the home hero */
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.3) 26%, rgba(255, 255, 255, 0.16) 50%, rgba(57, 255, 136, 0.22) 74%, transparent);
  opacity: 0.8;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 62px 62px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 62px 62px,
    radial-gradient(700px 420px at 76% -12%, rgba(57, 255, 136, 0.13), transparent 68%),
    radial-gradient(520px 360px at 2% 118%, rgba(57, 255, 136, 0.055), transparent 72%),
    linear-gradient(180deg, #070907 0%, var(--bg) 78%);
  -webkit-mask-image: radial-gradient(ellipse 110% 135% at 62% -20%, #000 34%, transparent 82%);
  mask-image: radial-gradient(ellipse 110% 135% at 62% -20%, #000 34%, transparent 82%);
}

.page-hero .container { position: relative; }

.page-hero h1 {
  max-width: 20ch;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.4vw, 4.3rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--white);
  background-image: linear-gradient(180deg, #ffffff 34%, #b6c4bb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero .lead { max-width: 58ch; color: #c7d1ca; }

/* the same staged arrival the home hero uses */
.page-hero .container > * { animation: heroIn 0.85s var(--ease) both; }
.page-hero .container > *:nth-child(1) { animation-delay: 0.05s; }
.page-hero .container > *:nth-child(2) { animation-delay: 0.13s; }
.page-hero .container > *:nth-child(3) { animation-delay: 0.21s; }
.page-hero .container > *:nth-child(4) { animation-delay: 0.29s; }

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.page-hero-meta .badge {
  background: linear-gradient(180deg, rgba(57, 255, 136, 0.09), rgba(57, 255, 136, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 9. Feature detail rows --------------------------------------------------- */
.feature-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px 38px;
  align-items: start;
  margin: 0 -28px;
  padding: 42px 28px;
  border-top: 1px solid var(--line);
  transition: background-color 0.45s var(--ease);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }

/* a sliver of light appears down the edge of the row you're reading */
.feature-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(57, 255, 136, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.feature-row:hover {
  background: linear-gradient(90deg, rgba(57, 255, 136, 0.045), transparent 62%);
}
.feature-row:hover::before { opacity: 1; }

.feature-row .feature-num {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(57, 255, 136, 0.8);
  padding-top: 8px;
}
.feature-row .feature-num::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(57, 255, 136, 0.6), transparent);
}

.feature-row h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.feature-row .feature-body p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.78;
  color: #b3bfb6;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}
.feature-tags li {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #adb8b1;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.feature-row:hover .feature-tags li {
  border-color: rgba(57, 255, 136, 0.26);
  color: #d6e2da;
}

.notice {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid var(--accent-line);
  border-left: 2px solid var(--accent);
  border-radius: 12px;
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(57, 255, 136, 0.09), transparent 70%),
    linear-gradient(180deg, rgba(57, 255, 136, 0.05), rgba(57, 255, 136, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 70px -60px rgba(57, 255, 136, 0.6);
  margin-bottom: 46px;
  overflow: hidden;
}
.notice svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.notice p { margin: 0; font-size: 0.92rem; color: #c1cec6; }

/* 10. Screenshot slots ----------------------------------------------------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 240px at 76% 8%, rgba(57, 255, 136, 0.07), transparent 70%),
    linear-gradient(165deg, var(--surface) 0%, #070a08 100%);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.shot:hover { border-color: rgba(57, 255, 136, 0.28); transform: translateY(-3px); }

.shot-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 24px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}

.shot-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(57, 255, 136, 0.16);
  border-radius: 10px;
  pointer-events: none;
}

.shot-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--grey-dim);
}

.shot-placeholder svg { width: 30px; height: 30px; color: rgba(57, 255, 136, 0.55); }

.shot-placeholder span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.shot-placeholder small {
  font-size: 0.76rem;
  color: var(--grey-dim);
  max-width: 26ch;
  line-height: 1.5;
}

.shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.shot figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px 20px;
  border-top: 1px solid var(--line);
}
.shot figcaption strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.shot figcaption span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-dim);
  white-space: nowrap;
}

/* 11. Download ------------------------------------------------------------- */
.download-card {
  position: relative;
  padding: 68px 58px;
  border: 1px solid rgba(57, 255, 136, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(760px 380px at 78% -12%, rgba(57, 255, 136, 0.14), transparent 70%),
    radial-gradient(520px 300px at 0% 110%, rgba(57, 255, 136, 0.06), transparent 72%),
    linear-gradient(165deg, #0f1612 0%, #060806 100%);
  box-shadow:
    0 50px 130px -70px rgba(57, 255, 136, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* light pooling along the top edge of the panel */
.download-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.55), transparent);
  pointer-events: none;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000, transparent 72%);
  opacity: 0.75;
  pointer-events: none;
}

.download-card > * { position: relative; }

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 52px;
  align-items: center;
}

/* Signed-out gate: the download area is replaced by a sign-in offer */
.download-gate { max-width: 660px; margin: 0 auto; }
.download-gate h2 { margin: 22px 0 18px; }
.download-gate .lead strong { color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.download-gate .hero-actions { margin-top: 30px; }

.gate-note {
  margin: 20px 0 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--grey-dim);
}
.gate-note strong { color: var(--text); font-weight: 500; }
.gate-note a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 136, 0.35);
  transition: border-color 0.25s var(--ease);
}
.gate-note a:hover { border-bottom-color: var(--accent); }

.gate-note--signed {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(57, 255, 136, 0.4);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(57, 255, 136, 0.13), rgba(57, 255, 136, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px -18px rgba(57, 255, 136, 0.75);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.download-card h2 { margin: 22px 0 16px; }
.download-card .lead { max-width: 46ch; }

.download-panel {
  padding: 32px 30px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 40%),
    rgba(5, 5, 5, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 30px 70px -50px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.spec-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list li:first-child { padding-top: 0; }
.spec-list dt,
.spec-list .spec-key {
  color: var(--grey-dim);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.spec-list .spec-value {
  color: var(--text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.spec-list .spec-value.is-pending { color: var(--accent); }

.panel-note {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--grey-dim);
}

.status-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.status-steps li {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  counter-increment: step;
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(57, 255, 136, 0.06), transparent 70%),
    linear-gradient(170deg, #0c110d, #070a08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}

/* oversized step numeral, quiet enough to read as texture */
.status-steps li::before {
  content: "0" counter(step);
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(57, 255, 136, 0.12);
  pointer-events: none;
}

.status-steps li:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 255, 136, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 60px -42px rgba(57, 255, 136, 0.5);
}
.status-steps .step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 12px;
}
.status-steps .step-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.status-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 6px;
}
.status-steps p { font-size: 0.87rem; margin: 0; line-height: 1.65; }

/* 12. About --------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 60px;
  align-items: start;
}

.value-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.value-list li {
  position: relative;
  padding: 28px 22px 28px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease), background-color 0.4s var(--ease);
}
.value-list li:last-child { border-bottom: 1px solid var(--line); }
.value-list li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(57, 255, 136, 0.55), transparent);
  transition: width 0.5s var(--ease);
}
.value-list li:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(57, 255, 136, 0.04), transparent 72%);
}
.value-list li:hover::after { width: 100%; }

.value-list h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
}
.value-list h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 0 4px rgba(57, 255, 136, 0.1);
  flex-shrink: 0;
}
.value-list p { margin: 0; font-size: 0.94rem; line-height: 1.75; color: #b3bfb6; }

.quote-panel {
  position: relative;
  padding: 46px 36px 36px;
  border: 1px solid rgba(57, 255, 136, 0.16);
  border-left: 2px solid rgba(57, 255, 136, 0.5);
  border-radius: var(--radius);
  background:
    radial-gradient(380px 220px at 100% 0%, rgba(57, 255, 136, 0.09), transparent 70%),
    linear-gradient(165deg, var(--surface), var(--surface-deep));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 44px 100px -70px rgba(57, 255, 136, 0.55);
  overflow: hidden;
}

.quote-panel::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(57, 255, 136, 0.1);
  pointer-events: none;
}

.quote-panel p {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.8vw, 1.34rem);
  line-height: 1.55;
  color: #dde6e0;
  letter-spacing: -0.012em;
  margin: 0;
}
.quote-panel footer {
  position: relative;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-dim);
}

/* 13. Support ------------------------------------------------------------- */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

.contact-card {
  padding: 32px 30px;
  border: 1px solid rgba(57, 255, 136, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(320px 180px at 90% 0%, rgba(57, 255, 136, 0.1), transparent 70%),
    linear-gradient(165deg, var(--surface), var(--surface-deep));
}
.contact-card h3 { font-size: 1.1rem; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-row:first-of-type { border-top: 0; padding-top: 4px; }
.contact-row .ci {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(57, 255, 136, 0.24);
  background: rgba(57, 255, 136, 0.06);
  color: var(--accent);
  flex-shrink: 0;
}
.contact-row .ci svg { width: 17px; height: 17px; }
.contact-row .ci-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-dim);
}
.contact-row .ci-value {
  display: block;
  font-size: 0.94rem;
  color: var(--text);
  word-break: break-word;
}
a.ci-value:hover { color: var(--accent); }

.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-deep);
  padding: 0 22px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq details[open] {
  border-color: rgba(57, 255, 136, 0.26);
  background: #0b0f0c;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.15rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 0;
  padding: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.72;
  max-width: 62ch;
}

/* 14. Call to action banner ------------------------------------------------ */
.cta-banner {
  position: relative;
  padding: 62px 54px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(560px 280px at 50% -6%, rgba(57, 255, 136, 0.12), transparent 72%),
    radial-gradient(420px 240px at 50% 130%, rgba(57, 255, 136, 0.05), transparent 72%),
    linear-gradient(165deg, var(--surface), #060806);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 50px 120px -80px rgba(57, 255, 136, 0.5);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.6), transparent);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { max-width: 52ch; margin: 0 auto 30px; }
.cta-banner .hero-actions { justify-content: center; margin-top: 0; }

/* 15. Footer --------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: 76px 0 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, #070907, #040404);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 48px;
  padding-bottom: 52px;
}

.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p {
  font-size: 0.9rem;
  max-width: 34ch;
  margin: 0 0 20px;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin: 0 0 18px;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--grey);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--grey-dim);
}
.footer-bottom .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--grey);
}
.footer-bottom .status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* 16. Pricing -------------------------------------------------------------- */
[hidden] { display: none !important; }

/* Billing toggle */
.pricing-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.billing-option {
  appearance: none;
  border: 0;
  padding: 10px 24px;
  border-radius: 999px;
  background: transparent;
  color: var(--grey);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.28s var(--ease), background-color 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}
.billing-option:hover { color: var(--white); }

.billing-option.is-active {
  color: #04140a;
  background: linear-gradient(180deg, #4dff99, var(--accent));
  box-shadow:
    0 10px 26px -14px rgba(57, 255, 136, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.billing-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--grey);
}
.billing-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}

/* Plan cards */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(420px 220px at 88% -8%, rgba(57, 255, 136, 0.07), transparent 72%),
    linear-gradient(170deg, #121813 0%, #070a08 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.price-grid .price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 255, 136, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 40px 90px -60px rgba(57, 255, 136, 0.6);
}

/* Featured plan — the only card that glows at rest */
.price-card--featured {
  border-color: rgba(57, 255, 136, 0.45);
  background:
    radial-gradient(460px 260px at 80% -10%, rgba(57, 255, 136, 0.16), transparent 70%),
    linear-gradient(170deg, #14201a 0%, #070a08 100%);
  box-shadow:
    0 0 0 1px rgba(57, 255, 136, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 50px 110px -60px rgba(57, 255, 136, 0.65);
}
.price-card--featured::before {
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.85), transparent);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 22px;
  margin-bottom: 18px;
}

.plan-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.price-card--featured .plan-name { color: var(--accent); }

.plan-badge {
  padding: 5px 10px;
  border: 1px solid rgba(57, 255, 136, 0.45);
  border-radius: 999px;
  background: rgba(57, 255, 136, 0.12);
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8ffdf;
  white-space: nowrap;
  box-shadow: 0 0 20px -8px rgba(57, 255, 136, 0.7);
}

.price-card .plan-heading {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--white);
}

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.plan-amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--white);
}
.price-card--featured .plan-amount {
  text-shadow: 0 0 32px rgba(57, 255, 136, 0.4);
}
.plan-period {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--grey-dim);
}

.plan-desc {
  margin: 0 0 22px;
  min-height: 2.7em;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--grey);
}

.plan-features {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.plan-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #b6c2b9;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.price-card .plan-cta {
  width: 100%;
  margin-top: auto;
  padding: 14px 18px;
  font-size: 0.88rem;
}

/* Pricing notice */
.pricing-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--grey);
}
.pricing-notice svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Comparison table */
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(600px 300px at 82% 0%, rgba(57, 255, 136, 0.06), transparent 70%),
    linear-gradient(170deg, #0d120e, #070a08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 17px 24px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-dim);
  background: rgba(255, 255, 255, 0.025);
  border-bottom-color: var(--line-strong);
}
.compare-table thead th:nth-child(3) { color: var(--accent); }

.compare-table tbody th {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--white);
}

.compare-table tbody td { color: #b6c2b9; }
.compare-table tbody td:nth-child(3) { color: #d5e3da; background: rgba(57, 255, 136, 0.035); }
.compare-table tbody td.is-none { color: var(--grey-dim); }

.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.compare-table tbody tr:hover td:nth-child(3) { background: rgba(57, 255, 136, 0.055); }

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }

.compare-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(57, 255, 136, 0.06), rgba(57, 255, 136, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d6e2da;
}
.compare-footnote::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  flex-shrink: 0;
}

/* Plan finder */
.planner-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 34px;
  border: 1px solid rgba(57, 255, 136, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(620px 300px at 72% -12%, rgba(57, 255, 136, 0.1), transparent 70%),
    linear-gradient(170deg, #0f1612, #060806);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 50px 120px -80px rgba(57, 255, 136, 0.55);
}
.planner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.55), transparent);
  pointer-events: none;
}

.planner-field label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.planner-field textarea {
  width: 100%;
  min-height: 134px;
  padding: 18px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(5, 5, 5, 0.6);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.65;
  resize: vertical;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.planner-field textarea::placeholder { color: var(--grey-dim); }
.planner-field textarea:focus {
  outline: none;
  border-color: rgba(57, 255, 136, 0.5);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.12);
}

.planner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.planner-hint {
  font-size: 0.78rem;
  color: var(--grey-dim);
}

.planner-result {
  position: relative;
  margin-top: 26px;
  padding: 24px 26px 22px;
  border: 1px solid rgba(57, 255, 136, 0.32);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(57, 255, 136, 0.09), rgba(57, 255, 136, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 50px -30px rgba(57, 255, 136, 0.6);
  animation: heroIn 0.5s var(--ease) both;
}

.planner-result-label {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.planner-result h3 {
  margin: 0 0 8px;
  font-size: 1.44rem;
  letter-spacing: -0.02em;
}
.planner-result h3:focus { outline: none; }
.planner-result p { margin: 0; font-size: 0.92rem; line-height: 1.7; }
.planner-result .btn { margin-top: 18px; }

.planner-foot {
  margin-top: 16px;
  font-size: 0.74rem;
  color: var(--grey-dim);
}

@media (min-width: 1025px) {
  .price-grid .price-card--featured { transform: translateY(-10px); }
  .price-grid .price-card--featured:hover { transform: translateY(-16px); }
}

@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 720px) {
  .price-grid { grid-template-columns: 1fr; }
  .billing-option { padding: 9px 20px; }
  .planner-card { padding: 28px 20px; }
  .planner-actions .btn { width: 100%; }
  .pricing-notice { margin-top: 28px; }
  .compare-table th,
  .compare-table td { padding: 14px 16px; }
  .compare-table th:first-child,
  .compare-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #0b100c;
    box-shadow: 1px 0 0 var(--line);
  }
  .compare-table thead th:first-child { background: #0d120e; }
  .compare-footnote { align-items: flex-start; padding: 16px 18px; font-size: 0.86rem; }
  .planner-result { padding: 22px 20px 20px; }
}

/* 17. Motion, reveal & responsive ------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: calc(var(--header-h) + 68px); }
  .hero-visual { min-height: 372px; padding: 8px 0; order: -1; }
  .orb { width: min(360px, 76%); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-grid { grid-template-columns: 1fr; gap: 36px; }
  .download-card { padding: 48px 38px; }
  .split, .support-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 22px 24px 32px;
    background: rgba(6, 8, 7, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    box-shadow: 0 30px 60px -30px #000;
  }

  .nav-open .nav {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 14px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .nav a.is-active { background: rgba(57, 255, 136, 0.07); }
  .nav a.is-active::after { display: none; }
  .nav .nav-cta {
    margin: 14px 0 0;
    text-align: center;
    padding: 15px 22px;
    font-size: 0.95rem;
  }

  .feature-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0 -22px;
    padding: 30px 22px;
  }
  .feature-row .feature-num { padding-top: 0; }
  .status-steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .card-grid, .card-grid--2, .shot-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  .hero { padding: calc(var(--header-h) + 44px) 0 60px; }
  .hero-visual { min-height: 320px; padding: 10px 0 6px; }
  .orb { width: min(272px, 84%); }
  .hero h1 { margin-top: 22px; }
  .hud-chip { font-size: 0.56rem; padding: 6px 9px; letter-spacing: 0.16em; }
  .hud-chip--1 { top: 9%; left: 0; }
  .hud-chip--2 { top: 38%; right: -1%; }
  .hud-chip--3 { bottom: 9%; left: 2%; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 32px;
  }
  .hero-stats li { padding: 0 14px; }
  .hero-stats li:first-child { padding-left: 0; }
  .feature-row { margin: 0 -20px; padding: 28px 20px; }
  .download-card { box-shadow: 0 30px 80px -60px rgba(57, 255, 136, 0.45); }
  .quote-panel { padding: 42px 26px 30px; }
  .cta-banner { padding: 44px 26px; }
  .download-card { padding: 38px 24px; border-radius: 18px; }
  .cta-banner { padding: 40px 24px; }
  .site-footer { padding: 56px 0 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; padding-bottom: 38px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .shot figcaption { flex-direction: column; gap: 6px; }
  .page-hero { padding: calc(var(--header-h) + 52px) 0 48px; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 420px) {
  .brand-text { font-size: 0.9rem; letter-spacing: 0.12em; }
  .hero .badge { font-size: 0.68rem; letter-spacing: 0.06em; padding: 7px 13px 7px 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }
  .hero-stats li { padding: 0; border-left: 0; }
  .hero-stats li:last-child { grid-column: 1 / -1; }
  .hud-chip--4 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* 18. Account & authentication --------------------------------------------- */
.auth-section { padding-top: 78px; }

.auth-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 34px 32px 30px;
  border: 1px solid rgba(57, 255, 136, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(560px 280px at 76% -12%, rgba(57, 255, 136, 0.1), transparent 70%),
    linear-gradient(170deg, #0f1612, #060806);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 50px 120px -80px rgba(57, 255, 136, 0.55);
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.55), transparent);
  pointer-events: none;
}

/* Sign in / create account switch */
.auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.auth-tab {
  flex: 1;
  padding: 11px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--grey);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.auth-tab:hover { color: var(--white); }
.auth-tab.is-active {
  color: #04140a;
  background: linear-gradient(180deg, #4dff99 0%, var(--accent) 62%, #2fe877 100%);
  box-shadow:
    0 0 0 1px rgba(57, 255, 136, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 26px -14px rgba(57, 255, 136, 0.8);
}

/* Fields */
.auth-form { display: grid; gap: 16px; }

.auth-field label {
  display: block;
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}
.auth-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(5, 5, 5, 0.6);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.auth-field input::placeholder { color: var(--grey-dim); }
.auth-field input:focus {
  outline: none;
  border-color: rgba(57, 255, 136, 0.5);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.12);
}
.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 60px #0a0d0b inset;
  caret-color: var(--text);
}

.auth-submit { width: 100%; margin-top: 4px; }

.auth-hint,
.auth-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--grey-dim);
}
.auth-hint { margin-top: 2px; }
.auth-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Plan the visitor picked on the pricing page */
.auth-plan {
  margin: 0 0 20px;
  padding: 11px 15px;
  border: 1px solid rgba(57, 255, 136, 0.28);
  border-radius: 12px;
  background: rgba(57, 255, 136, 0.06);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text);
}

/* Status line */
.auth-message {
  margin: 20px 0 0;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--text);
  animation: heroIn 0.4s var(--ease) both;
}
.auth-message.is-error {
  border-color: rgba(255, 143, 143, 0.42);
  background: rgba(255, 90, 90, 0.08);
  color: #ffdcdc;
}
.auth-message.is-success {
  border-color: rgba(57, 255, 136, 0.42);
  background: rgba(57, 255, 136, 0.07);
  color: #d8ffe8;
}

.auth-unconfigured {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px dashed rgba(57, 255, 136, 0.35);
  border-radius: 12px;
  background: rgba(57, 255, 136, 0.05);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--grey);
}
.auth-unconfigured strong { display: block; margin-bottom: 4px; color: var(--white); }
.auth-unconfigured code { color: var(--accent); font-size: 0.82rem; word-break: break-all; }

/* Signed-in panel */
.auth-member-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.auth-member-email {
  margin: 6px 0 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--white);
  word-break: break-word;
}
.auth-member-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 13px;
  border: 1px solid rgba(57, 255, 136, 0.32);
  border-radius: 999px;
  background: rgba(57, 255, 136, 0.08);
  font-size: 0.76rem;
  color: var(--accent);
}
.auth-member-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.auth-member-status.is-pending {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--grey);
}
.auth-member-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Change-password block inside the signed-in panel */
.auth-subsection {
  margin: 26px 0 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.auth-subsection .auth-title { font-size: 1.02rem; margin-bottom: 6px; }
.auth-subsection .auth-sub { margin-bottom: 16px; font-size: 0.82rem; }
.auth-subsection .auth-hint { margin-top: 12px; }
.auth-subsection .auth-submit { width: 100%; }

/* Username field password managers look for; never shown */
.auth-form .form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Account details list */
.acct-list {
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.acct-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.acct-row dt {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
}
.acct-row dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}
.acct-plan { color: var(--accent); font-weight: 600; }
.acct-plan.is-none { color: var(--grey); font-weight: 500; }
.acct-plan-state { margin-left: 8px; font-size: 0.72rem; color: var(--grey-dim); }
.acct-plan-state.is-pending { color: var(--grey); }
.acct-id {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82rem;
  color: var(--grey);
}
.acct-hint {
  margin: -6px 0 22px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--grey-dim);
}

/* Reset page headings and inline links */
.auth-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--white);
}
.auth-sub {
  margin: 0 0 22px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--grey);
}
.auth-sub span { color: var(--text); }

.auth-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 136, 0.35);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.auth-link:hover {
  color: #7dffb2;
  border-bottom-color: var(--accent);
}

.auth-alt { margin: -4px 0 0; font-size: 0.82rem; }
.auth-alt a {
  color: var(--grey);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.auth-alt a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-line);
}

/* The header gained a ninth link with Account, so tighten it in the band
   between the desktop layout and the mobile menu. */
@media (min-width: 861px) and (max-width: 1100px) {
  .header-inner { gap: 14px; }
  .brand-text { font-size: 0.92rem; letter-spacing: 0.1em; }
  .nav { gap: 2px; }
  .nav a { padding: 9px 8px; font-size: 0.82rem; }
  .nav .nav-cta { padding: 11px 15px; }
  .nav a.is-account { max-width: 104px; }
}

@media (min-width: 1200px) {
  /* wide screens can show more of a long address */
  .nav a.is-account { max-width: 210px; }
}

@media (max-width: 860px) {
  /* inside the slide-down menu there is room for the whole address */
  .nav a.is-account {
    max-width: none;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .auth-section { padding-top: 56px; }
  .auth-card { padding: 26px 20px 24px; }
  .auth-tabs { margin-bottom: 22px; }
  .auth-member-actions .btn { width: 100%; }
}

/* 19. Owner dashboard ------------------------------------------------------ */
.owner-gate { max-width: 620px; margin: 0 auto; text-align: center; }
.owner-gate .btn { margin-top: 18px; }
.owner-gate code { color: var(--accent); font-size: 0.9em; }

.owner-panel { max-width: 880px; margin: 0 auto; display: grid; gap: 18px; }

.owner-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
}

.owner-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.owner-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 4px;
}

.owner-sub { font-size: 0.82rem; color: var(--grey-dim); margin: 0; }
.owner-note { font-size: 0.76rem; color: var(--grey-dim); margin: 14px 0 0; line-height: 1.55; }

.owner-self-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.owner-self-actions .btn.is-current { border-color: var(--accent-line); color: var(--accent); }

.plan-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  white-space: nowrap;
}
.plan-pill.is-spark { color: var(--grey); background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); }
.plan-pill.is-blaze { color: var(--accent); }
.plan-pill.is-titan { color: #eafff2; background: rgba(57, 255, 136, 0.2); }

.owner-users { display: grid; gap: 2px; }

.owner-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.owner-user:first-child { border-top: 0; }

.owner-user-main { min-width: 0; flex: 1; }
.owner-user-email {
  font-size: 0.92rem;
  color: var(--text);
  margin: 0 0 3px;
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.owner-tag {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 2px 7px;
}
.owner-user-meta { font-size: 0.76rem; color: var(--grey-dim); margin: 0; }

.owner-user-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.owner-select {
  appearance: none;
  background: var(--surface-deep);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.8rem;
}
.owner-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.owner-empty { font-size: 0.85rem; color: var(--grey-dim); margin: 6px 0 2px; }

.owner-log { display: grid; gap: 2px; }
.owner-log-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}
.owner-log-row:first-child { border-top: 0; }
.owner-log-who { color: var(--text); overflow-wrap: anywhere; }
.owner-log-change { color: var(--accent); }
.owner-log-meta { color: var(--grey-dim); }
.owner-log-time { color: var(--grey-dim); white-space: nowrap; text-align: right; }

.owner-gate .auth-title { margin-bottom: 8px; }

@media (max-width: 720px) {
  .owner-user { flex-direction: column; align-items: flex-start; }
  .owner-user-controls { width: 100%; }
  .owner-select { flex: 1; }
  .owner-log-row { grid-template-columns: 1fr auto; }
  .owner-log-change { grid-column: 1; }
  .owner-log-meta { grid-column: 1 / -1; }
}

/* 20. Owner link in the header --------------------------------------------- */
/* Compact, accent-outlined, and only in the DOM when the owner is signed in. */
.nav a.nav-owner {
  padding: 8px 11px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  white-space: nowrap;
}
.nav a.nav-owner:hover,
.nav a.nav-owner:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(57, 255, 136, 0.18);
}

@media (min-width: 861px) and (max-width: 1180px) {
  .nav a.nav-owner { padding: 7px 9px; font-size: 0.7rem; letter-spacing: 0.06em; }
  html[data-owner="true"] .nav a.is-account { max-width: 96px; }
}

@media (min-width: 1200px) {
  /* a ninth link takes room; cap the address a little tighter for the owner */
  html[data-owner="true"] .nav a.is-account { max-width: 168px; }
}

/* The narrowest desktop band is the tight one: the owner pill is small and the
   links sit closer together so nine items still fit beside the account link. */
@media (min-width: 861px) and (max-width: 920px) {
  .nav { gap: 0; }
  .nav a { padding: 9px 5px; font-size: 0.78rem; }
  .nav .nav-cta { padding: 10px 12px; }
  .nav a.nav-owner { padding: 6px 7px; font-size: 0.66rem; letter-spacing: 0.04em; }
  html[data-owner="true"] .nav a.is-account { max-width: 72px; }
}

@media (max-width: 860px) {
  /* inside the menu the owner link reads as an ordinary link, not a pill */
  .nav a.nav-owner {
    padding: 14px 14px;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--accent);
    border: 0;
    border-radius: 10px;
    background: none;
  }
  .nav a.nav-owner.is-active { background: rgba(57, 255, 136, 0.07); }
}

/* 21. Account page — plan card -------------------------------------------- */
.acct-plan-card {
  margin: 22px 0 6px;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-deep);
}

.acct-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.acct-plan-eyebrow {
  margin: 0 0 2px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-dim);
}

.acct-plan-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.15;
}
.acct-plan-name.is-none { color: var(--grey); font-size: 1.1rem; font-weight: 500; }

.acct-plan-state {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: var(--grey-dim);
}
.acct-plan-state.is-pending { color: var(--grey); }

.acct-plan-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.acct-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--grey);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.acct-badge--owner {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.acct-plan-hint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--grey-dim);
  line-height: 1.55;
}

.acct-plan-includes { margin-top: 16px; }

.acct-plan-sub {
  margin: 0 0 8px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-dim);
}

.acct-plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.acct-plan-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.83rem;
  color: var(--text);
  line-height: 1.45;
}
.acct-plan-features li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.acct-plan-all {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.acct-tiers { display: grid; gap: 10px; }
@media (min-width: 620px) { .acct-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.acct-tier {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 12px 14px;
  background: var(--surface);
}
.acct-tier.is-current {
  border-color: var(--accent-line);
  background: rgba(57, 255, 136, 0.05);
}

.acct-tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.acct-tier-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}
.acct-tier.is-current .acct-tier-name { color: var(--accent); }
.acct-tier.is-current .acct-tier-head::after {
  content: "Your plan";
  order: 3;
  flex-basis: 100%;
  margin-top: 2px;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.acct-tier-price {
  font-size: 0.68rem;
  color: var(--grey-dim);
  letter-spacing: 0.04em;
}

.acct-tier-desc {
  margin: 0 0 8px;
  font-size: 0.72rem;
  color: var(--grey-dim);
  line-height: 1.45;
}

.acct-tier-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.acct-tier-features li {
  position: relative;
  padding-left: 12px;
  font-size: 0.72rem;
  color: var(--grey);
  line-height: 1.4;
}
.acct-tier-features li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}
.acct-tier.is-current .acct-tier-features li::before { background: var(--accent-line); }

/* Requested plan (pricing-page pick) shown beside the current plan */
.owner-user-controls { flex-wrap: wrap; }

.plan-want {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px dashed var(--accent-line);
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-want.is-same {
  color: var(--grey-dim);
  border-color: var(--line-strong);
}
