/* Ronin Reborn marketing home (RR-2) — index.html only */

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

:root {
  --gold: #c9a84c;
  --gold-bright: #e8c87a;
  --gold-dim: #7a6232;
  --ink: #080a0e;
  --ash: #0d1117;
  --steel: #1a2030;
  --parchment: #d4c4a0;
}

html { scroll-behavior: smooth; }

body.landing-home {
  background: var(--ink);
  color: var(--parchment);
  font-family: 'EB Garamond', Georgia, serif;
  overflow-x: hidden;
  isolation: isolate;
}

/*
  styles.css paints body::before / body::after as full-viewport fixed overlays (vignettes).
  They stack above in-flow content and crush perceived contrast — text “never gets brighter.”
  Turn them off on the marketing page only.
*/
body.landing-home::before,
body.landing-home::after {
  content: none !important;
}

/* ── NAV (align with .hero-inner: same max-width + horizontal padding as hero) ── */
nav.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 80px;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.95) 0%, transparent 100%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

nav.landing-nav .landing-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

nav.landing-nav .nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
}

nav.landing-nav .nav-login.nav-cta {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}

nav.landing-nav .nav-login.nav-cta:hover { background: var(--gold-bright); }

/* Shared 3-link center nav on siege + sunlight pages */
body.landing-home.siege-standalone-page nav.landing-nav .landing-nav-inner,
body.landing-home.sunlight-page nav.landing-nav .landing-nav-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

body.landing-home.siege-standalone-page nav.landing-nav .nav-logo,
body.landing-home.sunlight-page nav.landing-nav .nav-logo {
  justify-self: start;
}

body.landing-home.siege-standalone-page nav.landing-nav .blog-nav-categories,
body.landing-home.sunlight-page nav.landing-nav .blog-nav-categories {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  max-width: min(100%, 42rem);
}

body.landing-home.siege-standalone-page nav.landing-nav .blog-nav-categories a,
body.landing-home.sunlight-page nav.landing-nav .blog-nav-categories a {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9b99a;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

body.landing-home.siege-standalone-page nav.landing-nav .blog-nav-categories a:hover,
body.landing-home.sunlight-page nav.landing-nav .blog-nav-categories a:hover {
  color: var(--gold-bright, #e8c87a);
}

body.landing-home.siege-standalone-page nav.landing-nav .nav-login.nav-cta,
body.landing-home.sunlight-page nav.landing-nav .nav-login.nav-cta {
  justify-self: end;
}

/* Keep top nav pinned on standalone mission pages */
body.landing-home.siege-standalone-page nav.landing-nav,
body.landing-home.sunlight-page nav.landing-nav {
  position: static;
  width: auto;
}

@media (max-width: 640px) {
  body.landing-home.siege-standalone-page nav.landing-nav .landing-nav-inner,
  body.landing-home.sunlight-page nav.landing-nav .landing-nav-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 0.75rem;
  }

  body.landing-home.siege-standalone-page nav.landing-nav .nav-logo,
  body.landing-home.sunlight-page nav.landing-nav .nav-logo {
    justify-self: center;
    order: 1;
  }

  body.landing-home.siege-standalone-page nav.landing-nav .blog-nav-categories,
  body.landing-home.sunlight-page nav.landing-nav .blog-nav-categories {
    order: 3;
    width: 100%;
    justify-content: center;
    row-gap: 0.4rem;
  }

  body.landing-home.siege-standalone-page nav.landing-nav .nav-login.nav-cta,
  body.landing-home.sunlight-page nav.landing-nav .nav-login.nav-cta {
    justify-self: center;
    order: 2;
  }
}

@media (max-width: 520px) {
  body.landing-home.siege-standalone-page nav.landing-nav .blog-nav-categories a,
  body.landing-home.sunlight-page nav.landing-nav .blog-nav-categories a {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
}

/* ── HERO ── */
body.landing-home .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 5.5rem 80px 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(139, 26, 26, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.3) 0%, rgba(8, 10, 14, 0.7) 60%, var(--ink) 100%);
  z-index: 1;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url('../img/shogun-bg.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.35;
  z-index: 0;
}

.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  /* Slightly narrower video + tighter gutter gives the headline more width (helps 2-line title) */
  grid-template-columns: minmax(0, 1fr) minmax(320px, min(52vw, 680px));
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}

.hero-main {
  min-width: 0;
  container-type: inline-size;
  container-name: hero-main;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 80px rgba(201, 168, 76, 0.2);
  margin-bottom: 12px;
}

.hero-title-line {
  display: block;
}

.hero-title-line--gold {
  color: var(--gold);
}

/* Keep each phrase on one line so the H1 stays 2 lines, not 4 (when there is room) */
@media (min-width: 600px) {
  .hero-title-line {
    white-space: nowrap;
  }
}

@container hero-main (max-width: 340px) {
  .hero-title-line {
    white-space: normal;
  }
}

.hero-sub {
  font-family: 'EB Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(220, 208, 188, 0.92);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

body.landing-home .btn-primary {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 18px 44px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
}

body.landing-home .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

body.landing-home .btn-primary:hover { background: var(--gold-bright); }

body.landing-home .btn-ghost {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212, 196, 160, 0.6);
  text-decoration: none;
  padding: 18px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
  border: none;
  cursor: pointer;
  background: none;
}

body.landing-home .btn-ghost:hover { color: var(--gold); }

body.landing-home .btn-ghost::after {
  content: '→';
  transition: transform 0.3s;
}

body.landing-home .btn-ghost:hover::after { transform: translateX(4px); }

.hero-media {
  position: relative;
  width: 100%;
  /* Widescreen frame — poster / video fill this (avoids square poster squishing layout) */
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  background: #0a0c10;
}

.hero-trailer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
  cursor: url('../img/kunai-cursor-64.png') 6 5, auto !important;
}

/* Chromium: native controls use a shadow tree — keep kunai on panel, sliders, buttons */
.hero-trailer::-webkit-media-controls-enclosure,
.hero-trailer::-webkit-media-controls-panel,
.hero-trailer::-webkit-media-controls-play-button,
.hero-trailer::-webkit-media-controls-overlay-play-button,
.hero-trailer::-webkit-media-controls-timeline-container,
.hero-trailer::-webkit-media-controls-timeline,
.hero-trailer::-webkit-media-controls-current-time-display,
.hero-trailer::-webkit-media-controls-time-remaining-display,
.hero-trailer::-webkit-media-controls-volume-slider-container,
.hero-trailer::-webkit-media-controls-volume-slider,
.hero-trailer::-webkit-media-controls-mute-button,
.hero-trailer::-webkit-media-controls-fullscreen-button {
  cursor: url('../img/kunai-cursor-64.png') 6 5, auto !important;
}

/* Tap / click to play — poster visible until user starts (sound on first play) */
.hero-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.45) 0%, rgba(8, 10, 14, 0.65) 100%);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-play-overlay:hover {
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.35) 0%, rgba(8, 10, 14, 0.55) 100%);
  color: var(--gold-bright);
}

.hero-play-overlay:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero-play-overlay.is-hidden {
  display: none;
}

.hero-play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 18vw, 104px);
  height: clamp(72px, 18vw, 104px);
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.85);
  background: rgba(8, 10, 14, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-play-overlay:hover .hero-play-circle {
  transform: scale(1.05);
  border-color: var(--gold-bright);
}

.hero-play-triangle {
  margin-left: 6px;
}

.hero-play-label {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212, 196, 160, 0.9);
}

.hero-play-overlay:hover .hero-play-label {
  color: var(--parchment);
}

.hero-scroll {
  position: absolute;
  right: 60px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.4);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 0.8; transform: scaleY(1); }
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
  gap: 20px;
  margin: 20px 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.divider-icon {
  color: rgba(212, 188, 130, 0.85);
  font-size: 1.2rem;
  opacity: 0.85;
}

/* Full-bleed band; content column matches nav + .hero-inner (80px gutters, 1440px max) */
.lore-band {
  background: linear-gradient(135deg, var(--ash) 0%, var(--steel) 50%, var(--ash) 100%);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 80px 80px;
  position: relative;
  overflow: hidden;
}

.lore-band-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.lore-band::before {
  content: '鬼';
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16rem;
  color: rgba(201, 168, 76, 0.03);
  line-height: 1;
  pointer-events: none;
}

.lore-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.9;
  color: rgba(242, 234, 218, 0.98);
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.lore-text strong {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 500;
}

.how {
  padding: 120px 80px;
  background: var(--ink);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(212, 188, 130, 0.98);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #f8f6f1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.how-card {
  background: rgba(28, 32, 44, 0.85);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 8px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(201, 168, 76, 0.1);
}

.how-num {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.95;
}

.how-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5f2eb;
  margin-bottom: 16px;
}

.how-card-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #f2eee6;
}

.systems {
  background: var(--ash);
  padding: 120px 80px;
  position: relative;
}

.systems::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(201, 168, 76, 0.025) 1px, transparent 1px);
  background-size: 80px;
  pointer-events: none;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.system-card {
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 8px;
  padding: 48px 32px 40px;
  position: relative;
  background: rgba(28, 32, 44, 0.85);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(201, 168, 76, 0.1);
  text-align: center;
}

.system-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  display: block;
  filter: sepia(1) saturate(3) hue-rotate(2deg) brightness(0.85);
}

.system-name {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.system-desc {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #f2eee6;
}

/* Signal Corps promotional strip */
.signal-corps-band {
  background: var(--ash);
  padding: 0 80px 100px;
  position: relative;
}

.signal-corps-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  border-top: 1px solid rgba(201, 168, 76, 0.22);
  padding-top: 64px;
}

.signal-corps-band-text {
  flex: 1;
}

.signal-corps-band-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.15;
  margin-bottom: 6px;
}

.signal-corps-band-tagline {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 180, 120, 0.85);
  margin-bottom: 20px;
}

.signal-corps-band-desc {
  font-family: 'EB Garamond', serif;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #f2eee6;
  max-width: 680px;
}

.signal-corps-band-action {
  flex-shrink: 0;
}

.testimonials {
  padding: 120px 80px;
  background: var(--ink);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 8px;
  padding: 40px 36px;
  position: relative;
  background: rgba(28, 32, 44, 0.85);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(201, 168, 76, 0.1);
}

.testimonial-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  color: rgba(238, 230, 210, 0.98);
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(220, 205, 175, 0.88);
}

.testimonial-author::before {
  content: '— ';
  color: rgba(212, 188, 120, 0.75);
}

.pricing {
  background: var(--ash);
  padding: 120px 80px;
  text-align: center;
}

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 8px;
  background: rgba(28, 32, 44, 0.85);
  padding: 60px 56px;
  position: relative;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(201, 168, 76, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 6px 20px;
}

.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-top: 0.5rem;
}

.pricing-toggle-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(228, 215, 185, 0.92);
  transition: color 0.3s ease;
}

.pricing-toggle-label.active {
  color: var(--gold);
}

.pricing-toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  cursor: url('../img/kunai-cursor-64.png') 6 5, auto !important;
}

.pricing-toggle-switch:hover {
  cursor: url('../img/kunai-cursor-64-hover.png') 6 5, auto !important;
}

.pricing-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  cursor: url('../img/kunai-cursor-64.png') 6 5, auto !important;
}

.pricing-toggle-switch:hover input {
  cursor: url('../img/kunai-cursor-64-hover.png') 6 5, auto !important;
}

.pricing-toggle-switch .toggle-slider {
  position: absolute;
  cursor: url('../img/kunai-cursor-64.png') 6 5, auto !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.35);
  transition: 0.3s;
  border-radius: 26px;
}

.pricing-toggle-switch .toggle-slider:hover,
.pricing-toggle-switch:hover .toggle-slider {
  cursor: url('../img/kunai-cursor-64-hover.png') 6 5, auto !important;
}

.pricing-toggle-switch .toggle-slider::before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--gold);
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pricing-toggle-switch input:checked + .toggle-slider {
  background-color: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
}

.pricing-toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.pricing-tier {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200, 175, 115, 0.95);
  margin-bottom: 12px;
}

.pricing-price {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-period {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  color: rgba(232, 220, 195, 0.95);
  margin-bottom: 0.75rem;
}

.pricing-savings {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem 0;
  text-align: left;
}

.pricing-features li {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: rgba(236, 228, 210, 0.98);
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
  flex-shrink: 0;
}

.pricing-btn.pricing-btn-primary {
  width: 100%;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 16px;
}

.pricing-btn.pricing-btn-primary:hover {
  background: var(--gold-bright);
}

.pricing-simulation-link {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
}

.pricing-simulation-link a {
  color: rgba(228, 205, 140, 0.95);
  text-decoration: none;
  transition: color 0.3s;
}

.pricing-cta-hint {
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  color: rgba(228, 218, 195, 0.92);
  margin-bottom: 12px;
}

.pricing-simulation-link a:hover {
  color: var(--gold);
}

.final-cta {
  padding: 160px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.final-cta::before {
  content: '武';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30rem;
  color: rgba(201, 168, 76, 0.025);
  pointer-events: none;
  line-height: 1;
}

.final-cta-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #f8f6f1;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.final-cta-sub {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(228, 218, 200, 0.9);
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.final-cta .btn-primary {
  position: relative;
  z-index: 1;
}

body.landing-home footer {
  background: var(--ash);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 60px 80px 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: rgba(220, 208, 185, 0.85);
  font-size: 0.95rem;
}

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(190, 165, 105, 0.95);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  color: rgba(220, 208, 180, 0.88);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding-top: 24px;
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: rgba(200, 188, 160, 0.55);
  text-transform: uppercase;
  text-align: center;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subscribe modal copy — brighter than default app paywall (index only) */
body.landing-home .paywall-title {
  color: var(--gold-bright);
}

body.landing-home .paywall-text {
  color: rgba(245, 242, 236, 0.95);
}

body.landing-home .paywall-simulation,
body.landing-home .paywall-refresh {
  color: rgba(220, 210, 190, 0.88);
}

body.landing-home .paywall-simulation a,
body.landing-home .paywall-refresh a {
  color: rgba(232, 210, 150, 0.95);
}

body.landing-home .paywall-sign-out-wrap {
  color: rgba(220, 210, 190, 0.88);
}

body.landing-home .paywall-sign-out {
  color: rgba(232, 210, 150, 0.95);
}

body.landing-home .paywall-sign-out:hover {
  color: var(--gold-bright);
}

/* Paywall close (index marketing only; markup in index.html) */
.paywall-content {
  position: relative;
}

.paywall-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.paywall-close:hover {
  color: #fff;
  border-color: rgba(228, 198, 128, 0.4);
}

.paywall-helper {
  font-size: 0.85rem;
  color: rgba(240, 236, 228, 0.92);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.paywall-helper a {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* Sign-up step before subscribe (index marketing) */
.landing-signup-overlay {
  z-index: 10001;
}

.landing-auth-step {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 180, 120, 0.9);
  margin: 0 0 0.5rem;
}

.landing-auth-error {
  font-size: 0.88rem;
  color: #f0a8a8;
  line-height: 1.4;
  margin: 0 0 0.75rem;
  text-align: left;
}

.landing-auth-switch {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(220, 210, 190, 0.88);
  line-height: 1.45;
}

.landing-auth-switch a {
  color: rgba(232, 210, 150, 0.95);
  text-decoration: underline;
}

body.landing-home .landing-signup-overlay .paywall-text {
  text-align: left;
}

body.landing-home .landing-signup-overlay .auth-form-group {
  text-align: left;
}

body.landing-home .landing-signup-overlay .paywall-buttons {
  margin-top: 0.25rem;
}

/* ---------- Static subpages (privacy, terms, about, contact) — body.landing-home + *-page ---------- */
body.landing-home.privacy-page .privacy-content,
body.landing-home.terms-page .terms-content,
body.landing-home.about-page .about-content,
body.landing-home.contact-page .contact-content {
  padding: 6.5rem 0 5rem;
  background: transparent;
  min-height: calc(100vh - 200px);
}

body.landing-home.privacy-page .privacy-container,
body.landing-home.terms-page .terms-container,
body.landing-home.about-page .about-container,
body.landing-home.contact-page .contact-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 80px;
}

body.landing-home.privacy-page .privacy-header,
body.landing-home.terms-page .terms-header,
body.landing-home.about-page .about-header,
body.landing-home.contact-page .contact-header {
  margin-bottom: 3rem;
  text-align: center;
}

body.landing-home.privacy-page .privacy-header h1,
body.landing-home.terms-page .terms-header h1,
body.landing-home.about-page .about-header h1,
body.landing-home.contact-page .contact-header h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

body.landing-home.privacy-page .privacy-header p,
body.landing-home.terms-page .terms-header p,
body.landing-home.contact-page .contact-header p {
  font-family: 'EB Garamond', Georgia, serif;
  color: rgba(228, 215, 185, 0.88);
  font-size: 1.05rem;
}

body.landing-home.privacy-page .privacy-section,
body.landing-home.terms-page .terms-section,
body.landing-home.about-page .about-section,
body.landing-home.contact-page .contact-section {
  background: rgba(28, 32, 44, 0.85);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(201, 168, 76, 0.1);
}

body.landing-home.privacy-page .privacy-section h2,
body.landing-home.terms-page .terms-section h2,
body.landing-home.about-page .about-section h2,
body.landing-home.contact-page .contact-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
}

body.landing-home.privacy-page .privacy-section h3,
body.landing-home.terms-page .terms-section h3,
body.landing-home.about-page .about-section h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

body.landing-home.privacy-page .privacy-section p,
body.landing-home.terms-page .terms-section p,
body.landing-home.about-page .about-section p,
body.landing-home.contact-page .contact-info p {
  font-family: 'EB Garamond', Georgia, serif;
  color: #f2eee6;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

body.landing-home.privacy-page .privacy-section ul,
body.landing-home.terms-page .terms-section ul,
body.landing-home.about-page .about-section ul {
  font-family: 'EB Garamond', Georgia, serif;
  color: #f2eee6;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

body.landing-home.privacy-page .privacy-section li,
body.landing-home.terms-page .terms-section li,
body.landing-home.about-page .about-section li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

body.landing-home.privacy-page .privacy-section strong,
body.landing-home.terms-page .terms-section strong,
body.landing-home.about-page .about-section strong {
  color: var(--gold-bright);
  font-weight: 600;
}

body.landing-home.terms-page .terms-section a,
body.landing-home.contact-page .contact-info a {
  color: var(--gold-bright);
  text-decoration: underline;
}

body.landing-home.terms-page .terms-section a:hover,
body.landing-home.contact-page .contact-info a:hover {
  color: #f5e6c8;
}

body.landing-home.privacy-page .privacy-divider,
body.landing-home.terms-page .terms-divider,
body.landing-home.about-page .about-divider {
  height: 1px;
  background: rgba(201, 168, 76, 0.2);
  margin: 2.5rem 0;
}

body.landing-home.about-page .about-section.intro-section {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(28, 32, 44, 0.5));
  border-color: rgba(201, 168, 76, 0.28);
}

body.landing-home.about-page .intro-section p:first-of-type {
  font-size: 1.12rem;
  color: #f5f2eb;
  line-height: 1.9;
}

/* Contact form */
body.landing-home.contact-page .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body.landing-home.contact-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.landing-home.contact-page .form-group label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

body.landing-home.contact-page .form-group input,
body.landing-home.contact-page .form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 8px;
  padding: 12px 16px;
  color: #f2eee6;
  font-size: 1rem;
  font-family: 'EB Garamond', Georgia, serif;
  transition: border-color 0.2s ease, background 0.2s ease;
}

body.landing-home.contact-page .form-group input:focus,
body.landing-home.contact-page .form-group textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2);
}

body.landing-home.contact-page .form-group textarea {
  min-height: 150px;
  resize: vertical;
}

body.landing-home.contact-page .form-submit {
  margin-top: 0.5rem;
  padding: 16px 36px;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  align-self: flex-start;
}

body.landing-home.contact-page .form-submit:hover {
  background: var(--gold-bright);
}

body.landing-home.contact-page .contact-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

body.landing-home.contact-page .form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
  font-family: 'EB Garamond', Georgia, serif;
}

body.landing-home.contact-page .form-message.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
  display: block;
}

body.landing-home.contact-page .form-message.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
  display: block;
}

/* Direction Deck wizard: marketing shell + .bs-page (omit .about-page so static prose rules do not apply) */
body.landing-home.bs-page .about-content {
  background: transparent;
}

body.landing-home.bs-page .about-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 80px;
}

body.landing-home.bs-page .about-header h1 {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

body.landing-home.bs-page .bs-lead {
  font-family: 'EB Garamond', Georgia, serif;
  color: rgba(228, 215, 185, 0.92);
}

body.landing-home.bs-page .bs-hint {
  font-family: 'EB Garamond', Georgia, serif;
  color: rgba(212, 200, 175, 0.78);
}

@media (max-width: 900px) {
  body.landing-home.bs-page .about-container {
    padding: 0 24px;
  }

  body.landing-home.privacy-page .privacy-container,
  body.landing-home.terms-page .terms-container,
  body.landing-home.about-page .about-container,
  body.landing-home.contact-page .contact-container {
    padding: 0 24px;
  }

  body.landing-home.privacy-page .privacy-content,
  body.landing-home.terms-page .terms-content,
  body.landing-home.about-page .about-content,
  body.landing-home.contact-page .contact-content {
    padding: 5.5rem 0 3.5rem;
  }

  body.landing-home.privacy-page .privacy-section,
  body.landing-home.terms-page .terms-section,
  body.landing-home.about-page .about-section,
  body.landing-home.contact-page .contact-section {
    padding: 1.5rem;
  }
}

@media (max-width: 1024px) {
  nav.landing-nav {
    padding: 18px 24px;
  }

  body.landing-home .hero {
    padding: 5rem 24px 2.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media {
    max-width: min(100%, 720px);
    width: 100%;
    margin: 0 auto;
  }

  .hero-scroll {
    display: none;
  }

  .lore-band {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 900px) {
  .hero-actions {
    display: none;
  }

  nav.landing-nav {
    padding: 16px 24px;
  }

  body.landing-home .hero {
    padding: 4.75rem 24px 2rem;
  }

  .how-grid,
  .systems-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lore-band {
    padding: 60px 24px;
  }

  .how,
  .systems,
  .testimonials,
  .pricing,
  .final-cta {
    padding: 80px 24px;
  }

  .signal-corps-band {
    padding: 0 24px 60px;
  }

  .signal-corps-band-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    padding-top: 48px;
  }

  .signal-corps-band-desc {
    max-width: none;
  }

  body.landing-home footer {
    padding: 60px 24px 40px;
  }
}
