/* Free trial length on the site is 15 minutes. */
/* CrisisForge AI marketing site
   Colors match the product theme in crisisforge/ui_theme.py */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("/fonts/IBMPlexSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("/fonts/IBMPlexSerif-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("/fonts/IBMPlexSerif-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("/fonts/IBMPlexSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("/fonts/IBMPlexSerif-SemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #050c1c;
  --bg-2: #0b1622;
  --bg-3: #08111c;
  --bg-hero: #0a1730;
  --card: #131d29;
  --card-2: #0f1a26;
  --border: #1c2a3c;
  --border-2: #243444;
  --gold: #c8a24a;
  --gold-2: #d4b05e;
  --gold-soft: #d9c78f;
  --ink: #0b1118;
  --text: #eef1f5;
  --muted: #c5cdd6;
  --dim: #a3aebc;
  --info: #6ea8ff;
  --info-bg: rgba(61, 139, 253, 0.12);
  --warn-bg: rgba(200, 162, 74, 0.10);
  --warn-border: rgba(200, 162, 74, 0.45);
  --danger: #e5533d;
  --danger-bg: rgba(229, 83, 61, 0.10);
  --ok: #58a36a;
  --ok-bg: rgba(46, 93, 58, 0.35);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1120px;
  --header-h: 76px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold-soft); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  z-index: 1000;
  border-radius: 4px;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin-inline: auto;
}

h1, h2, .hero h1.tagline, .page-hero h1, .section h2, .plan h2, .feature h2, .not-found h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 12, 28, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo img {
  height: 48px;
  width: auto;
  margin-left: -4px;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.92rem;
  font-family: inherit;
}
.nav-button:hover { border-color: var(--gold); color: var(--gold-soft); }
.primary-nav { margin-left: 0.5rem; flex: 1 1 auto; }
.primary-nav ul {
  display: flex;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--gold);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-2); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-outline {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--gold);
}
.btn-outline:hover { background: rgba(200, 162, 74, 0.12); color: var(--gold-soft); }
.btn-lg { padding: 0.9rem 1.35rem; font-size: 1.02rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.6rem 0 4.2rem;
  background:
    radial-gradient(ellipse 80% 70% at 18% 0%, rgba(200, 162, 74, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 70% 80% at 88% 20%, rgba(61, 139, 253, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, var(--bg-hero) 0%, var(--bg) 74%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 162, 74, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 162, 74, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 12%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -6rem;
  top: -8rem;
  background: radial-gradient(circle, rgba(200, 162, 74, 0.22) 0%, transparent 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 3.2rem;
  align-items: center;
}
.hero-kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.95rem;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 600;
  color: #fff;
}
.hero h1.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  font-size: clamp(2.55rem, 6.2vw, 4.35rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}
.hero h1.tagline span,
.gold { color: var(--gold); }
.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.7rem;
}
.hero .lead { font-size: 1.2rem; line-height: 1.7; }
.hero .cta-row { gap: 0.7rem; }
.hero .btn-lg { padding: 0.92rem 1.2rem; font-size: 1rem; }
.hero .btn-gold {
  box-shadow: 0 8px 28px rgba(200, 162, 74, 0.32), 0 0 0 1px rgba(200, 162, 74, 0.4);
  padding: 0.95rem 1.3rem;
  font-size: 1.04rem;
}
.hero .btn-gold:hover {
  box-shadow: 0 10px 32px rgba(200, 162, 74, 0.42);
}
.fine-print, .disclaimer {
  font-size: 0.86rem;
  color: var(--dim);
  max-width: 46rem;
  margin: 1.15rem 0 0;
}

/* Device / product mockup */
.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 32rem;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -8% -10% 8%;
  background: radial-gradient(ellipse at 50% 50%, rgba(200, 162, 74, 0.28) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}
.device {
  position: relative;
  z-index: 1;
  margin: 0;
  background: #0b1118;
  border: 1px solid rgba(200, 162, 74, 0.28);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 40px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(200, 162, 74, 0.1),
    0 0 60px rgba(200, 162, 74, 0.16);
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transform-origin: center center;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0e1622;
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.8rem;
}
.device-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a3a4c;
}
.device-dot:nth-child(1) { background: #c45c4a; }
.device-dot:nth-child(2) { background: #c8a24a; }
.device-dot:nth-child(3) { background: #4a8f62; }
.device-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: 0.02em;
  padding-right: 2.1rem;
}
.device a { display: block; color: inherit; text-decoration: none; }
.device img {
  width: 100%;
  height: auto;
  max-height: 26rem;
  object-fit: cover;
  object-position: top center;
  background: #0b1118;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 2rem;
  background:
    radial-gradient(ellipse 70% 80% at 12% 0%, rgba(200, 162, 74, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 0%, var(--bg-hero) 0%, var(--bg) 72%);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 162, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 162, 74, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 20% 0%, #000 8%, transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .lead { margin-bottom: 0.6rem; }

/* Sections */
main { display: block; }
.section { padding: 4.4rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-muted {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(200, 162, 74, 0.05) 0%, transparent 50%),
    var(--bg-2);
}
.section h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.15rem);
  margin: 0 0 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.section h3 { font-size: 1.15rem; margin: 1.4rem 0 0.5rem; color: #fff; }
.section p { color: var(--muted); margin: 0 0 1rem; }
.section p:last-child { margin-bottom: 0; }

/* Cards / grids */
.grid-3, .grid-2, .benefits {
  display: grid;
  gap: 1rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.card h3 { margin-top: 0; }

/* How-it-works step strip */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 0.8rem;
  row-gap: 0.55rem;
  align-items: start;
  align-content: start;
  justify-content: start;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: var(--font);
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.step h2, .step h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: start;
  padding-top: 0.55rem; /* optically center the first line with the 48px badge */
  font-size: 1.15rem;
  line-height: 1.3;
}
.step p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
}
.steps.step-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: start;
  justify-content: start;
  position: relative;
}
.steps.step-strip.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps.step-strip .step {
  /* same tidy badge+heading row as a single step */
  position: relative;
}
.steps.step-strip.steps-4 .step h2 { font-size: 1.1rem; line-height: 1.3; }

.benefits {
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}
.benefits li {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.2rem;
  color: var(--text);
}

/* Screenshots */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.5rem;
}
.shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot-showcase .shot {
  border-color: rgba(200, 162, 74, 0.22);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(200, 162, 74, 0.1);
}
.shot a { display: block; color: inherit; text-decoration: none; }
.shot img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  background: #0b1118;
}
/* Standalone product shot beside or below its copy, capped so it doesn't dominate the column. */
.shot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 35rem);
  gap: 1.4rem 2rem;
  align-items: start;
  margin-top: 1.4rem;
}
.shot-row .shot {
  max-width: 35rem; /* 560px at a 16px root */
  width: 100%;
}
.shot figcaption {
  font-size: 0.82rem;
  color: var(--dim);
  padding: 0.8rem 0.95rem 1rem;
  line-height: 1.5;
}
.placeholder-block {
  border: 1px dashed var(--warn-border);
  background: var(--warn-bg);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  color: var(--gold-soft);
  text-align: center;
  margin: 1rem 0 0;
}
.placeholder-block strong { color: var(--gold); display: block; margin-bottom: 0.3rem; }

/* Native demo video */
.video-frame {
  margin: 1.15rem 0 0;
  max-width: 64rem;
  background: #070d16;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #070d16;
  vertical-align: middle;
}
@media (max-width: 700px) {
  .video-frame { border-radius: 10px; }
}

.video-more {
  margin: 1.05rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.video-more a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 176, 94, 0.45);
  padding-bottom: 0.1rem;
}
.video-more a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.video-more a::after { content: " \2193"; font-weight: 700; }

.walkthrough-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.4rem;
  margin-top: 1.2rem;
  align-items: start;
}
.walkthrough h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}
.walkthrough p {
  margin: 0;
  color: var(--muted);
}
.walkthrough .video-frame {
  margin-top: 0.85rem;
  max-width: none;
}
@media (max-width: 800px) {
  .walkthrough-grid { grid-template-columns: 1fr; }
}

#watch-it-in-action {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.watch-grid .watch-featured {
  grid-column: 1 / -1;
}
.watch-grid .watch-featured .video-frame {
  max-width: 64rem;
}
.watch-grid .watch-featured h3 {
  font-size: 1.35rem;
}

#basic-training-mode {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
#basic-training-mode .video-frame {
  margin-top: 0.85rem;
}
#basic-training-mode .fine-print {
  margin-top: 1.4rem;
}


/* Callouts */
.callout, .placeholder, .legal-draft, .lifeline, .todo-note {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.callout { background: rgba(200, 162, 74, 0.08); border-left: 4px solid var(--gold); color: var(--text); }
.placeholder {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--text);
}
.placeholder strong, .legal-draft strong { color: var(--gold); }
.legal-draft {
  background: rgba(229, 83, 61, 0.10);
  border: 1px solid rgba(229, 83, 61, 0.45);
  color: var(--text);
  margin: 0 0 1.4rem;
}
.lifeline {
  background: var(--info-bg);
  border: 1px solid rgba(61, 139, 253, 0.35);
  color: var(--text);
  font-size: 0.9rem;
}
.lifeline a { color: var(--info); }
.todo-note {
  background: transparent;
  border: 1px dashed var(--border-2);
  color: var(--dim);
  font-size: 0.84rem;
}

/* Pricing */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
  margin: 2rem 0 1.2rem;
  padding-top: 0.6rem;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(200, 162, 74, 0.10) 0%, var(--card) 42%);
  box-shadow: 0 0 0 1px var(--gold), 0 22px 50px rgba(200, 162, 74, 0.14), var(--shadow);
  z-index: 1;
}
.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.plan h2, .plan h3 { margin: 0.35rem 0 0.4rem; font-size: 1.3rem; }
.plan .price {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.3rem 0 0;
}
.plan .price span { font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .annual { color: var(--gold-soft); font-weight: 600; margin: 0.35rem 0 0.8rem; }
.plan ul { margin: 0 0 1.1rem; padding: 0 0 0 1.1rem; color: var(--muted); flex: 1; }
.plan li { margin: 0.35rem 0; }

.billing-intro {
  margin: 1.2rem 0 0;
  color: var(--text);
  font-weight: 600;
}
.billing-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.55rem 0 1rem;
}
.billing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 0.7rem;
  align-items: center;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(7, 13, 22, 0.4);
}
.billing-row .billing-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.billing-row .billing-price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.billing-row .billing-price span {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.billing-row .billing-note {
  font-size: 0.78rem;
  color: var(--gold-soft);
  font-weight: 600;
  line-height: 1.35;
  grid-column: 1;
}
.addon .billing-options { margin-top: 0.2rem; }
.addon .billing-row .billing-note { font-weight: 600; }

.extras {
  background: var(--card);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  color: var(--muted);
}
.extras strong { color: var(--text); }

.addon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
  margin: 1.15rem 0 1.4rem;
}
#addons {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.addon-watch {
  margin: 0.15rem 0 0.35rem;
  color: var(--text);
  font-weight: 600;
}
.addon .video-frame {
  margin: 0.35rem 0 1.1rem;
  max-width: none;
}
.addon {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.addon.coming-soon {
  border-color: var(--border);
  background: linear-gradient(180deg, rgba(200, 162, 74, 0.06) 0%, var(--card) 48%);
}
.addon-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  background: var(--bg-2);
  color: var(--gold-soft);
  border: 1px solid var(--gold);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.addon h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.3rem;
  color: #fff;
}
.addon .price {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.3rem 0 0;
}
.addon .price span { font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--muted); }
.addon .price-soon {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--gold-soft);
  margin: 0.45rem 0 0.7rem;
}
.addon .annual { color: var(--gold-soft); font-weight: 600; margin: 0.35rem 0 0.8rem; }
.addon .addon-note { color: var(--text); margin: 0 0 0.8rem; }
.addon p { color: var(--muted); margin: 0 0 0.8rem; }
.addon ul { margin: 0 0 1.1rem; padding: 0 0 0 1.1rem; color: var(--muted); flex: 1; }
.addon li { margin: 0.35rem 0; }
.addon .btn { align-self: flex-start; margin-top: auto; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { color: var(--gold-soft); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
td { color: var(--text); }
tr:last-child td { border-bottom: 0; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; margin-top: 0.8rem; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 1.05rem;
  color: #fff;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  color: var(--gold);
  font-weight: 800;
  margin-right: 0.65rem;
}
.faq details[open] summary::before { content: "–"; }
.faq details p, .faq details div { padding: 0 1.05rem 0.95rem 2.4rem; margin: 0; color: var(--muted); }

/* Forms */
form.mail-form[hidden] { display: none !important; }
form.mail-form {
  display: grid;
  gap: 0.9rem;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 1.4rem;
  margin: 1rem 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 650; font-size: 0.9rem; color: var(--text); }
.req { color: var(--gold); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  background: #0b1118;
  color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 162, 74, 0.25);
}
.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
}
.check input { margin-top: 0.3rem; accent-color: var(--gold); }
.form-note { font-size: 0.86rem; color: var(--dim); margin: 0; }

input[type="date"] { color-scheme: dark; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  color: #f0b4b4;
  background: rgba(160, 40, 40, 0.18);
  border: 1px solid rgba(200, 80, 80, 0.45);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  margin: 0;
}
.form-success {
  background: rgba(200, 162, 74, 0.12);
  border: 1px solid rgba(200, 162, 74, 0.45);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  margin: 1rem 0;
  color: var(--text);
}
.form-success p { margin: 0; font-size: 1.05rem; line-height: 1.5; }

/* Footer */
.site-footer {
  background: #050c1c;
  border-top: 2px solid var(--gold);
  padding: 2.6rem 0 1.6rem;
  color: var(--gold-soft);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.6rem 1.2rem;
}
.site-footer h2 {
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
  font-weight: 700;
}
.site-footer .brand-tag {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  margin: 0.3rem 0 0.8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-legal {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 0.82rem;
}
.footer-legal p { margin: 0.35rem 0; }

/* Features */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 0.8rem;
  row-gap: 0.55rem;
  align-items: start;
  align-content: start;
  justify-content: start;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}
.feature h2, .feature h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: start;
  padding-top: 0.55rem;
  font-size: 1.15rem;
  line-height: 1.3;
}
.feature p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: rgba(200, 162, 74, 0.12);
  border: 1px solid rgba(200, 162, 74, 0.35);
  color: var(--gold);
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.feature-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.prose { max-width: 44rem; }
.prose ul, .prose ol { color: var(--muted); }
.prose li { margin: 0.35rem 0; }
.kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
  font-family: var(--font);
}

/* Hover lift */
.card, .step, .feature, .plan, .addon, .benefits li, .shot, .faq details {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

/* Scroll reveal (only when JS is present and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .card:hover, .step:hover, .feature:hover, .plan:hover, .addon:hover, .benefits li:hover, .shot:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
    border-color: #3a4d64;
  }
  .plan.featured:hover {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 22px 50px rgba(200, 162, 74, 0.2), var(--shadow-lift);
  }
}

/* 404 */
.not-found { padding: 5rem 0 6rem; text-align: center; }
.not-found h1 { font-size: 2.4rem; margin-bottom: 0.6rem; }
.not-found .lead { margin-inline: auto; max-width: 28rem; }


/* Legal document (Terms) */
.legal-layout {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: 2.4rem 2.6rem;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1.15rem;
  font-size: 0.86rem;
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow: auto;
}
.legal-toc h2 {
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.65rem;
  font-weight: 700;
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; }
.legal-toc li { margin: 0; }
.legal-toc a {
  color: var(--muted);
  text-decoration: none;
  display: block;
  padding: 0.28rem 0.2rem;
  border-radius: 4px;
  line-height: 1.35;
}
.legal-toc a:hover { color: var(--gold-soft); background: rgba(200, 162, 74, 0.08); }
.legal-doc {
  max-width: 48rem;
  color: var(--text);
}
.legal-doc > .legal-draft { margin-top: 0; }
.legal-doc h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #fff;
  margin: 2.2rem 0 0.85rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  position: relative;
}
.legal-doc h2:first-of-type { margin-top: 1.4rem; }
.legal-doc .h-anchor {
  margin-left: 0.4rem;
  color: var(--dim);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font);
  font-size: 0.9rem;
  opacity: 0;
}
.legal-doc h2:hover .h-anchor,
.legal-doc h2:focus-within .h-anchor { opacity: 1; color: var(--gold-soft); }
.legal-doc p { color: var(--muted); margin: 0 0 0.95rem; line-height: 1.7; }
.legal-doc li { color: var(--muted); margin: 0.35rem 0; line-height: 1.65; }
.legal-doc ul, .legal-doc ol { margin: 0 0 1rem; padding: 0 0 0 1.25rem; }
.legal-doc strong { color: var(--text); }
.legal-doc .legal-notice {
  margin: 1rem 0 1.2rem;
  padding: 0.95rem 1.1rem;
  background: rgba(200, 162, 74, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--text);
}
.legal-doc .legal-notice p { margin: 0; color: var(--text); }
.legal-doc .table-wrap { margin: 0.6rem 0 1.2rem; }
.legal-doc table { font-size: 0.95rem; }
.legal-doc td { color: var(--muted); }
.legal-also { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: 0.95rem; }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc {
    position: static;
    max-height: none;
  }
}

@media (max-width: 1080px) {
  .steps.step-strip.steps-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-copy { display: contents; }
  .hero-intro { grid-area: intro; }
  .hero-body { grid-area: body; }
  .hero-visual { grid-area: visual; max-width: 26rem; margin-inline: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual"
      "body";
    gap: 1.6rem;
  }
  .hero h1.tagline { max-width: none; }
  .device { transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); }
  .grid-3, .plan-grid, .shot-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps.step-strip { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .shot-row { grid-template-columns: 1fr; }
  .shot-row .shot { max-width: 35rem; }
  .nav-button { display: inline-flex; }
  .primary-nav, .header-cta { display: none; }
  .nav-toggle:checked ~ .primary-nav,
  .nav-toggle:checked ~ .header-cta {
    display: flex;
  }
  .header-inner {
    flex-wrap: wrap;
    padding: 0.4rem 0 0.7rem;
  }
  .primary-nav { flex: 1 1 100%; order: 3; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 0.55rem 0; }
  .header-cta { flex: 1 1 100%; order: 4; padding-bottom: 0.4rem; }
  .logo img { height: 40px; }
}
@media (max-width: 680px) {
  .grid-3, .grid-2, .plan-grid, .addon-grid, .shot-grid, .benefits, .footer-grid, .form-row, .feature-list,
  .steps.step-strip, .steps.step-strip.steps-4 {
    grid-template-columns: 1fr;
  }
  .hero { padding: 2.1rem 0 1.8rem; }
  .hero-grid { gap: 1.5rem; }
  .hero-kicker { margin-bottom: 0.7rem; }
  .hero h1.tagline { font-size: clamp(2.15rem, 9.5vw, 2.85rem); margin-bottom: 0.8rem; }
  .hero .lead { font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.15rem; }
  .hero .fine-print, .hero .todo-note { margin-top: 0.7rem; }
  .section { padding: 3rem 0; }
  .device { transform: none; }
  .plan.featured { margin-top: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .step, .feature, .plan, .benefits li, .shot, .faq details, .js .reveal, .js .reveal.is-visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .device { transform: none; }
}
