/* Nimbus Card™ — Staging homepage design system
   Dark ink · neon green accent · Instrument Serif + Inter
   Prior v1: warm paper (#F7F4EF) + terracotta mission wash — kept as historical note only. */

:root,
[data-theme="dark"] {
  /* Dark ink surfaces */
  --bg: #0B0F14;
  --surface: #161C24;
  --surface-soft: #12171E;
  --surface-raised: #1A222D;
  --ink: #F2F5F7; /* headings / primary text on dark */
  --muted: #9AA3AD;
  --muted-soft: #6B7480;
  --line: rgba(57, 255, 20, 0.12);
  --line-strong: rgba(242, 245, 247, 0.14);
  /* Brand accent: neon green — center of all Nimbus brands */
  --accent: #39FF14;
  --accent-bright: #3DFF2E;
  --accent-deep: #39FF14; /* links/icons on dark — neon itself */
  --accent-ink: #0B0F14; /* dark ink text on neon CTAs */
  --accent-soft: rgba(57, 255, 20, 0.12);
  --accent-mid: rgba(57, 255, 20, 0.28);
  /* Mission: warm dark surface accents (not terracotta wash vs neon) */
  --mission: #C4A484;
  --mission-deep: #D4B896;
  --mission-bg: #14101A;
  --bronze: #C9A227;
  --bronze-soft: rgba(201, 162, 39, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.35), 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.4), 0 32px 64px rgba(0, 0, 0, 0.45);
  --max: 1160px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Instrument Serif", "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-bright); }
button { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--soft { background: var(--surface-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 16px;
}
.eyebrow span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--muted-soft);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}
.display--xl { font-size: clamp(2.5rem, 5.2vw, 3.75rem); }
.display--lg { font-size: clamp(2rem, 3.8vw, 2.75rem); }
.display--md { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 36em;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.centered {
  text-align: center;
  margin-inline: auto;
}
.section-head.centered .lede { margin-inline: auto; }

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.25), 0 0 24px rgba(57, 255, 20, 0.18);
}
.btn--primary:hover {
  background: var(--accent-bright);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.35), 0 0 32px rgba(57, 255, 20, 0.28);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--secondary:hover {
  color: var(--accent);
  border-color: var(--accent-mid);
  background: var(--accent-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(242, 245, 247, 0.28);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.btn--block { width: 100%; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(11, 15, 20, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 15, 20, 0.94);
}
.site-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.logo:hover { color: var(--ink); }
.logo__mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: screen;
  flex-shrink: 0;
}
.logo__text { display: inline-flex; align-items: baseline; gap: 1px; }
.logo__tm {
  color: var(--accent);
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 1px;
}
.footer__brand .logo__mark { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero__atmos {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11,15,20,0.94) 0%, rgba(11,15,20,0.82) 42%, rgba(11,15,20,0.72) 100%),
    url("brand/nimbus-banner-green.jpg") right center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px 56px;
  align-items: center;
}
.hero__copy .display { max-width: 12ch; }
.hero__copy .lede { max-width: 34em; }
.hero__preorder { margin: 0 0 18px; }
.preorder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  background: rgba(57, 255, 20, 0.08);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.preorder-badge:hover {
  background: rgba(57, 255, 20, 0.14);
  color: var(--accent);
  border-color: rgba(57, 255, 20, 0.55);
}
.preorder-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
}

.hero-stage {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-stage__glow {
  position: absolute;
  inset: 8% 4%;
  background:
    radial-gradient(ellipse at 40% 45%, rgba(57, 255, 20, 0.16), transparent 55%),
    radial-gradient(ellipse at 75% 65%, rgba(57, 255, 20, 0.06), transparent 50%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

/* Featured product: cosmic floating NFC card (not CSS chip card) */
.hero-card {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 460px);
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(57, 255, 20, 0.16),
    0 0 80px rgba(255, 64, 160, 0.08);
  transform: translate(-6%, 0) rotate(-2deg);
  border: 1px solid rgba(57, 255, 20, 0.22);
  background: #05070A;
  overflow: hidden;
}
.hero-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* Phone mock (secondary, overlaps card) */
.phone {
  position: absolute;
  width: 200px;
  height: 410px;
  border-radius: 32px;
  background: #0A0E13;
  padding: 9px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(57,255,20,0.12), 0 0 40px rgba(57,255,20,0.06);
  z-index: 2;
  right: 2%;
  bottom: 0;
  transform: translate(8%, 6%) rotate(5deg);
}
.phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: #05070A;
  border-radius: 20px;
  z-index: 3;
}
.phone__screen {
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #161C24 0%, #12171E 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.7;
}
.dcard {
  flex: 1;
  padding: 28px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.dcard__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, #1a3d12, #0d220a);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(57, 255, 20, 0.22);
  border: 2px solid rgba(57, 255, 20, 0.45);
}
.dcard__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.dcard__role {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.dcard__loc {
  margin: 2px 0 14px;
  font-size: 11px;
  color: var(--muted-soft);
}
.dcard__bio {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 16px;
  max-width: 28ch;
}
.dcard__links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dcard__link {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 550;
  color: var(--ink);
  box-shadow: none;
  text-align: left;
}
.dcard__link span {
  display: block;
  font-size: 10px;
  font-weight: 450;
  color: var(--muted);
  margin-top: 1px;
}
.phone__home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 4px;
  border-radius: 4px;
  background: rgba(242,245,247,0.28);
}

/* —— Trust strip —— */
.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.trust-item__icon--mission {
  background: rgba(196, 164, 132, 0.12);
  color: var(--mission-deep);
}
.trust-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.trust-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* —— Cards / grids —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Demo —— */
.demo {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.demo-stage {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-stage__glow {
  position: absolute;
  inset: 6% 2%;
  background:
    radial-gradient(ellipse at 40% 45%, rgba(57, 255, 20, 0.16), transparent 55%),
    radial-gradient(ellipse at 78% 70%, rgba(255, 46, 158, 0.06), transparent 50%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}
.demo-cosmic {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 420px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.22);
  background: #05070A;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(57, 255, 20, 0.14),
    0 0 70px rgba(255, 64, 160, 0.06);
  transform: translate(-8%, 0) rotate(-3deg);
}
.demo-cosmic img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.demo-phone {
  position: absolute;
  width: 210px;
  height: 430px;
  border-radius: 34px;
  background: #0A0E13;
  padding: 9px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(57,255,20,0.14), 0 0 40px rgba(57,255,20,0.08);
  z-index: 2;
  right: 0;
  bottom: -4%;
  transform: translate(4%, 4%) rotate(4deg);
}
.demo-phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 18px;
  background: #05070A;
  border-radius: 20px;
  z-index: 3;
}
.demo-phone__screen {
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #161C24 0%, #12171E 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.demo-phone__status {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 0;
  font-size: 10px;
  color: var(--muted-soft);
  letter-spacing: 0.02em;
}
.demo-mini {
  flex: 1;
  padding: 0 10px 14px;
  text-align: center;
  overflow: hidden;
}
.demo-mini__banner {
  height: 64px;
  margin: 8px -10px 0;
  background:
    linear-gradient(135deg, #122810 0%, #1a3d12 45%, #2a1a28 100%) center / cover no-repeat;
  position: relative;
}
.demo-mini__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(22,28,36,0.85) 100%);
}
.demo-mini__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: -28px auto 6px;
  border: 2px solid var(--accent);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.35);
  background: #0a0e13;
}
.demo-mini__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
  color: var(--ink);
}
.demo-mini__role {
  margin: 3px 0 0;
  font-size: 0.62rem;
  color: var(--muted);
}
.demo-mini__loc {
  margin: 1px 0 0;
  font-size: 0.58rem;
  color: var(--muted-soft);
}
.demo-mini__bio {
  margin: 8px auto 0;
  font-size: 0.58rem;
  line-height: 1.4;
  color: var(--muted);
  max-width: 22ch;
}
.demo-mini__chip {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.58rem;
  font-weight: 700;
}
.demo-mini__links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
  padding: 0 4px;
}
.demo-mini__links span {
  display: block;
  height: 18px;
  border-radius: 8px;
  border: 1px solid rgba(57, 255, 20, 0.28);
  background: linear-gradient(180deg, rgba(57,255,20,0.1), rgba(0,0,0,0.2));
}
.demo-phone__home {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: rgba(242, 245, 247, 0.28);
  z-index: 3;
}

/* Legacy stub classes kept harmless if referenced elsewhere */
.demo-card { display: none; }

.demo__copy .cta-row { margin-top: 24px; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--muted);
  font-size: 15px;
}
.feature-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-deep);
}

/* —— Pillars —— */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.pillar__icon--fair { background: var(--bronze-soft); color: var(--bronze); }
.pillar__icon--mean { background: rgba(196, 164, 132, 0.12); color: var(--mission-deep); }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 10px;
  font-weight: 400;
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Surfaces —— */
.surfaces {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.surface:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.surface__glyph {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent-deep);
}
.surface h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.surface p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* —— Pricing —— */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan--featured {
  background: var(--surface-raised);
  border-color: var(--accent);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--accent), 0 0 40px rgba(57, 255, 20, 0.12);
  transform: scale(1.02);
  z-index: 1;
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.plan__name {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.plan__price {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.03em;
}
.plan__price small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.plan__tagline {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 14px;
  min-height: 2.8em;
}
.plan__feats {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.plan__feats li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 14px;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.plan__feats li:first-child { border-top: 0; }
.plan__feats svg {
  flex-shrink: 0;
  color: var(--accent-deep);
  margin-top: 2px;
}
.preorder-strip {
  max-width: 52em;
  margin: 0 auto 28px;
  padding: 14px 18px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 14px;
}
.preorder-strip strong { color: var(--accent); font-weight: 600; }
.plan__value {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.plan__badge--quiet {
  background: rgba(57, 255, 20, 0.1);
  color: var(--accent);
  border: 1px solid rgba(57, 255, 20, 0.25);
}

.pricing-note {
  text-align: center;
  margin: 28px auto 0;
  max-width: 52em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* —— Brand marks (neon cloud accent) —— */
.brand-mark {
  display: block;
  margin: 0 auto 12px;
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(57, 255, 20, 0.35));
}
.brand-mark--why { width: 64px; height: 64px; }

.mission-mark {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.4));
}

/* —— Mission —— */
.mission {
  position: relative;
  background:
    linear-gradient(160deg, #14101A 0%, #16121C 45%, #12171E 100%);
  border-block: 1px solid rgba(196, 164, 132, 0.16);
  overflow: hidden;
}
.mission--branded::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("brand/nimbus-banner-green.jpg") center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.mission--branded::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11,15,20,0.92) 0%, rgba(20,16,26,0.88) 55%, rgba(11,15,20,0.85) 100%);
  pointer-events: none;
}
.mission--branded .mission__inner { position: relative; z-index: 1; }
.mission__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.mission-stat {
  background: var(--surface-raised);
  border: 1px solid rgba(196, 164, 132, 0.22);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.mission-stat__num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5rem);
  line-height: 1;
  color: var(--mission-deep);
  margin: 0;
  letter-spacing: -0.03em;
}
.mission-stat__label {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* —— FAQ —— */
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--accent-deep); }
.faq-q__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background 0.2s ease;
  color: var(--muted);
}
.faq-item.is-open .faq-q__icon {
  transform: rotate(45deg);
  background: var(--accent-soft);
  border-color: var(--accent-mid);
  color: var(--accent-deep);
}
.faq-a {
  display: none;
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.is-open .faq-a { display: block; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* —— Final CTA —— */
.final-cta {
  position: relative;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 64px 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.final-cta--branded::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("brand/nimbus-banner-pink-green.jpg") center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.final-cta--branded::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,28,36,0.92) 0%, rgba(11,15,20,0.94) 100%);
  pointer-events: none;
}
.final-cta--branded > * { position: relative; z-index: 1; }
.final-cta .display { max-width: 16ch; margin-inline: auto; }
.final-cta .lede { margin-inline: auto; }
.final-cta .cta-row { justify-content: center; }

/* —— Footer —— */
.site-footer {
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer__brand .logo { display: inline-block; margin-bottom: 12px; }
.footer__brand p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 28ch;
  line-height: 1.55;
}
.footer__col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-soft);
  font-size: 13px;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__legal a {
  color: var(--muted-soft);
  text-decoration: none;
}
.footer__legal a:hover { color: var(--ink); }


/* —— Responsive —— */
@media (max-width: 980px) {
  .hero__grid,
  .demo,
  .mission__inner {
    grid-template-columns: 1fr;
  }
  .hero__copy .display { max-width: none; }
  .hero-stage {
    min-height: 380px;
    order: -1;
  }
  .hero-card {
    width: min(100%, 400px);
    transform: translate(0, 0) rotate(-1.5deg);
  }
  .phone {
    width: 160px;
    height: 330px;
    right: 2%;
    transform: translate(2%, 4%) rotate(4deg);
  }
  .demo-stage {
    min-height: 380px;
    order: -1;
  }
  .demo-cosmic {
    width: min(100%, 380px);
    transform: translate(0, 0) rotate(-2deg);
  }
  .demo-phone {
    width: 168px;
    height: 348px;
    right: 2%;
    transform: translate(2%, 4%) rotate(4deg);
  }
  .pricing { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .surfaces { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .phone { display: none; } /* keep cosmic card featured; phone clutters small screens */
  .demo-phone { display: none; }
  .demo-cosmic {
    width: min(100%, 360px);
    margin-inline: auto;
    transform: none;
  }
  .demo-stage { min-height: 0; }
  .nav-links,
  .nav-cta .btn--secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open .nav-links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open .nav-cta .btn--secondary {
    display: none;
  }
  .trust__grid,
  .steps,
  .pillars {
    grid-template-columns: 1fr;
  }
  .cta-row .btn { width: 100%; }
  .final-cta { padding: 48px 22px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, var(--max)); }
  .surfaces { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 340px; }
  .hero-card { width: min(100%, 300px); }
  .phone { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* —— Production checkout forms (Hostinger /checkout POST) —— */
.plan form,
.plan-cta {
  margin: 0;
  width: 100%;
}
.plan form .btn,
button.btn {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.plan form .btn--block,
.plan-cta .btn--block {
  width: 100%;
}
