/* =========================================================================
   Murder Maker — landing site stylesheet
   "Noir d'auteur" aesthetic: engraved gold + blood-red ink, old-paper grain,
   case-file dossiers with hard corners and gold filets. FR-first.
   Zero-build, zero-framework, zero JavaScript. Tokens mirror the Flutter app
   so the marketing surface and the app feel like one product.
   ========================================================================= */

:root {
  /* Backgrounds & surfaces */
  --bg: #06060e;
  --bg-2: #090916;
  --surface: #0c0c1a;
  --surface-2: #111128;

  /* Borders */
  --border: #1e1e38;
  --border-2: #2e2e50;
  --border-gold: rgba(201, 168, 76, 0.30);

  /* Gold (primary accent) */
  --gold: #c9a84c;
  --gold-bright: #d4af37;
  --gold-soft: rgba(201, 168, 76, 0.10);
  --gold-line: rgba(201, 168, 76, 0.22);

  /* Blood red (second accent) + wine */
  --blood: #7b1f1f;
  --wine: #2a0e12;

  /* Text */
  --text: #e8e0d0;
  --text-dim: #8a8aaa;
  --text-muted: #5a5a7a;

  /* Status */
  --success: #3fae7a;
  --danger: #c2503f;

  /* Radius by meaning */
  --r-dossier: 2px;   /* case-file surfaces: hard corners */
  --r-chrome: 11px;   /* interactive chrome: buttons, nav cta, chips */
  --r-pill: 999px;    /* micro stamps / status labels */

  /* Layout */
  --maxw: 1120px;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-label: "Cinzel", "Playfair Display", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", sans-serif;

  /* Letterpress: engraved-gold text shadow used on every heading */
  --engrave: 0 1px 0 rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(255, 255, 255, 0.045);

  /* Dossier drop shadow so case files lift off the near-black page */
  --lift: 0 26px 52px -6px rgba(0, 0, 0, 0.45), 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* ---- Reset / base ------------------------------------------------------- */

*,
*::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: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  /* Restrained radial glows for cinematic depth (no images needed). */
  background-image:
    radial-gradient(60rem 40rem at 78% -10%, rgba(201, 168, 76, 0.07), transparent 60%),
    radial-gradient(48rem 36rem at 8% 6%, rgba(123, 31, 31, 0.09), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Film grain: a faint "old paper" texture over the whole page. Fixed, fully
   click-through, low opacity so it never reduces text legibility. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Every heading is Playfair, engraved gold. */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-bright);
  text-shadow: var(--engrave);
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

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

/* ---- Layout helpers ----------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding-block: clamp(56px, 9vw, 104px);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 64px);
}

.section__head {
  max-width: 46rem;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

/* Cinzel eyebrow / overline with a short blood-red ink-rule beside it. */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.95rem;
}

.overline::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--blood);
  flex: none;
}

.lede {
  font-size: 1.12rem;
  color: var(--text-dim);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #1a1408;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-chrome) 0;
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 10000;
}

.skip-link:focus {
  left: 0;
}

/* ---- Buttons (interactive chrome: --r-chrome, Cinzel labels) ------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: var(--r-chrome);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1c1606;
  box-shadow: 0 10px 30px -12px rgba(201, 168, 76, 0.55);
}

.btn--gold:hover {
  box-shadow: 0 14px 34px -10px rgba(201, 168, 76, 0.72);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--border-gold);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: var(--gold-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.cta-row--center {
  justify-content: center;
}

/* ---- Header / nav ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 6, 14, 0.8);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__word {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.16em;
  color: var(--text);
  text-transform: uppercase;
}

.brand__word b {
  color: var(--gold);
  font-weight: 700;
}

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

.nav__link {
  font-family: var(--font-label);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--r-chrome);
}

.nav__link:hover {
  color: var(--gold-bright);
  text-decoration: none;
}

.nav__cta {
  padding: 0.62rem 1.15rem;
  font-size: 0.74rem;
}

/* ---- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  /* Noir radial vignette + a faint blood-red whisper at the foot. */
  background:
    radial-gradient(62rem 42rem at 76% -8%, rgba(201, 168, 76, 0.10), transparent 60%),
    radial-gradient(48rem 34rem at 8% 2%, rgba(123, 31, 31, 0.10), transparent 55%),
    radial-gradient(46rem 26rem at 50% 116%, rgba(123, 31, 31, 0.18), transparent 62%),
    var(--bg);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: clamp(56px, 10vw, 116px);
}

@media (min-width: 920px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero__col {
  max-width: 40rem;
}

.hero h1 {
  margin-bottom: 0.45em;
}

.hero__sub {
  font-size: 1.18rem;
  color: var(--text-dim);
  max-width: 36rem;
  margin-bottom: 1.8rem;
}

.hero__lead {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1.25;
  color: var(--gold-bright);
  text-shadow: var(--engrave);
  margin-bottom: 0.5rem;
}

.hero__sub strong:not(.hero__lead) {
  color: var(--text);
  font-weight: 700;
}

.hero .cta-row {
  margin-bottom: 1.5rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-strip li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* Hero announcement chip. */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-chrome);
  padding: 6px 14px;
  margin: 0 0 1.15rem;
}

.hero__badge span {
  color: var(--blood);
  font-size: 0.85em;
}

/* Hero "dossier" case file: reuses the live-session déroulé as its content. */
.hero__dossier {
  position: relative;
  margin-top: 6px;
}

/* The wax seal — signature motif. Overlaps the panel's top-right corner so its
   molten drip hangs over the edge. Decorative and fully click-through. */
.wax-seal {
  position: absolute;
  top: -44px;
  right: -8px;
  width: 130px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55));
  z-index: 3;
}

.wax-seal--cta {
  position: absolute;
  top: -34px;
  right: 6%;
  width: 92px;
}

/* ---- Dossier surfaces: hard corners + gold filet + corner bracket ------- */

.card,
.plan,
.spotlight__panel,
.feature__media,
.scenario__card {
  position: relative;
}

.card::before,
.plan::before,
.spotlight__panel::before,
.feature__media::before,
.scenario__card::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}

/* ---- Live-play spotlight section (hero differentiator) ----------------- */

.spotlight {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(54rem 30rem at 18% 0%, rgba(201, 168, 76, 0.10), transparent 60%),
    radial-gradient(40rem 26rem at 100% 100%, rgba(123, 31, 31, 0.12), transparent 55%),
    var(--bg-2);
}

.spotlight__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .spotlight__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.spotlight__list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.spotlight__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.95rem;
  color: var(--text-dim);
}

.spotlight__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
}

.spotlight__list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.62em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--gold-bright);
  border-bottom: 2px solid var(--gold-bright);
  transform: rotate(-45deg);
}

.spotlight__list strong {
  color: var(--text);
  font-weight: 600;
}

/* "Live session" / hero dossier panel — a case file, no images. */
.spotlight__panel {
  border: 1px solid var(--border-gold);
  border-radius: var(--r-dossier);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.05)),
    var(--surface);
  padding: 24px 24px 20px;
  box-shadow: var(--lift);
}

.spotlight__panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--gold-bright);
  text-shadow: var(--engrave);
  margin: 0 0 1rem;
}

.spotlight__line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-dim);
  margin: 0 0 0.75rem;
}

.spotlight__tag {
  flex: none;
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  padding: 3px 10px;
  margin-top: 2px;
}

.spotlight__tag--ok {
  color: #04190f;
  background: var(--success);
}

.spotlight__tag--warn {
  color: #2a1c06;
  background: var(--gold-bright);
}

.spotlight__panel-foot {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ---- Value props (dossier cards) --------------------------------------- */

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.05)),
    var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-dossier);
  padding: 28px 24px 26px;
  box-shadow: var(--lift);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-chrome);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 0.35em;
}

.card p {
  color: var(--text-dim);
  font-size: 0.98rem;
  margin: 0;
}

.card p .pill-premium {
  white-space: nowrap;
}

/* ---- Steps -------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--border-gold);
  border-radius: var(--r-dossier);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.05)),
    var(--surface);
  box-shadow: var(--lift);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: var(--engrave);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 {
  margin-bottom: 0.3em;
}

.step p {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.98rem;
}

/* ---- Feature highlight rows (device dossiers) -------------------------- */

.feature {
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  grid-template-columns: 1fr;
}

.feature + .feature {
  margin-top: clamp(40px, 6vw, 72px);
}

.feature__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.feature__body p {
  color: var(--text-dim);
}

.feature__media {
  border: 1px solid var(--border-gold);
  border-radius: var(--r-dossier);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--lift);
}

.feature__media img {
  width: 100%;
  height: auto;
}

@media (min-width: 860px) {
  .feature {
    grid-template-columns: 1fr 1fr;
  }
  .feature--reverse .feature__media {
    order: -1;
  }
}

/* ---- Featured scenario (Vendanges Noires) ------------------------------ */

.scenario {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(60rem 30rem at 80% 0%, rgba(123, 31, 31, 0.20), transparent 60%),
    linear-gradient(180deg, var(--wine), transparent 40%),
    var(--bg-2);
}

.scenario__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .scenario__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* The featured-scenario block is itself a dossier. */
.scenario__card {
  border: 1px solid var(--border-gold);
  border-radius: var(--r-dossier);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.05)),
    var(--surface);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--lift);
}

.scenario blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  border-left: 2px solid var(--blood);
  padding-left: 1.1rem;
}

.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--border-gold);
  border-radius: var(--r-dossier);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--lift);
}

.gallery figure:first-child {
  grid-column: 1 / -1;
}

/* ---- Pricing (plan dossiers) ------------------------------------------- */

.pricing {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin-inline: auto;
}

@media (min-width: 760px) {
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

.plan {
  border: 1px solid var(--border-gold);
  border-radius: var(--r-dossier);
  padding: 32px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.05)),
    var(--surface);
  box-shadow: var(--lift);
}

.plan--premium {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(201, 168, 76, 0.08), transparent 60%),
    var(--surface-2);
}

.plan__tag {
  position: absolute;
  top: -12px;
  right: 22px;
  font-family: var(--font-label);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1c1606;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.2em;
}

.plan__price {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.7rem;
  color: var(--text-dim);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.feature-list li strong {
  color: var(--text);
  font-weight: 600;
}

.pill-premium {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-pill);
  padding: 2px 9px;
}

.pricing__note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 22px;
}

/* ---- FAQ (native <details>, zero JS) ----------------------------------- */

.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--border-gold);
  border-radius: var(--r-dossier);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq details[open] {
  border-color: var(--gold);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s ease;
  flex: none;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--text-dim);
}

/* ---- Final CTA band ----------------------------------------------------- */

.cta-band {
  position: relative;
  text-align: center;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(50rem 24rem at 50% 0%, rgba(201, 168, 76, 0.12), transparent 65%),
    radial-gradient(40rem 22rem at 50% 120%, rgba(123, 31, 31, 0.16), transparent 60%),
    var(--bg-2);
}

.cta-band h2 {
  font-style: italic;
}

/* ---- Footer ------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding-block: 48px 36px;
  font-size: 0.92rem;
}

.site-footer__top {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}

@media (min-width: 720px) {
  .site-footer__top {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.site-footer__pitch {
  color: var(--text-dim);
  max-width: 30rem;
  margin: 12px 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-nav a {
  font-family: var(--font-label);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-footer__legal {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  color: var(--text-muted);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}

/* ---- Legal pages -------------------------------------------------------- */

.legal {
  max-width: 760px;
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  clear: both;
}

.legal .updated {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 2.4rem;
  color: var(--gold-bright);
}

.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
  color: var(--gold);
}

.legal p,
.legal li {
  color: var(--text-dim);
}

.legal ul {
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal a {
  color: var(--gold-bright);
}

.legal .todo {
  /* Owner-facing drafting notes — hidden from published legal pages. */
  display: none;
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px dashed var(--gold-line);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.92em;
  font-style: italic;
}

.legal__toc {
  border: 1px solid var(--border-gold);
  border-radius: var(--r-dossier);
  background: var(--surface);
  padding: 18px 22px;
  margin-bottom: 2.4rem;
}

.legal__toc strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

.legal__toc ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-dim);
}

.legal__toc a {
  color: var(--text-dim);
}

.legal__toc a:hover {
  color: var(--gold-bright);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 1.4rem;
}

/* ---- Legal page language switch (FR · EN · ES) -------------------------- *
   A discreet segmented pill, sits top-right of the article (opposite the
   back-link) and stays visible on phones where the header nav links are
   hidden. Same gold-on-noir palette as the header language globe. */
.legal-lang {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 1rem 1rem;
  padding: 3px;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-pill);
  background: var(--surface);
}

.legal-lang__item {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.legal-lang__item:hover {
  color: var(--gold-bright);
  background: var(--gold-soft);
  text-decoration: none;
}

.legal-lang__item--active {
  color: var(--gold-bright);
  background: var(--gold-soft);
}

/* ---- Small screens: keep the single-goal header uncluttered ------------- */

@media (max-width: 560px) {
  /* Drop in-page anchor links on phones; keep brand + the one primary CTA. */
  .nav__link {
    display: none;
  }
  .brand__word {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }
  .nav__cta {
    padding: 0.55rem 1rem;
  }
  body {
    font-size: 16px;
  }
  .wax-seal {
    width: 108px;
    top: -36px;
    right: -2px;
  }
}

/* ---- Language globe (atlas) -------------------------------------------- */
.lang-globe { position: relative; }
.lang-globe > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-pill);
  border: 1px solid var(--gold-line); color: var(--gold-bright);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lang-globe > summary::-webkit-details-marker { display: none; }
.lang-globe > summary::marker { content: ""; }
.lang-globe > summary svg { width: 20px; height: 20px; }
.lang-globe > summary:hover { background: var(--gold-soft); }
.lang-globe[open] > summary { background: var(--gold-soft); border-color: var(--gold-bright); }
.lang-globe__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 156px;
  display: flex; flex-direction: column; gap: 2px; padding: 6px;
  background: var(--surface); border: 1px solid var(--gold-line);
  border-radius: var(--r-chrome); box-shadow: var(--lift); z-index: 60;
}
.lang-globe__item {
  font-family: var(--font-label); color: var(--text-dim);
  font-size: 0.82rem; letter-spacing: 0.04em; padding: 8px 12px;
  border-radius: var(--r-chrome); text-decoration: none; white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-globe__item:hover { color: var(--gold-bright); background: var(--gold-soft); text-decoration: none; }
.lang-globe__item--active { color: var(--gold-bright); background: var(--gold-soft); }

/* ---- Early Access banner ----------------------------------------------- */

.ea-banner {
  position: relative;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--gold-line);
  padding: 9px 48px 9px 22px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.ea-banner a {
  color: var(--gold-bright);
}

.ea-banner__close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 4px 6px;
  border-radius: var(--r-chrome);
  transition: color 0.15s ease;
}

.ea-banner__close:hover {
  color: var(--gold-bright);
}

/* ---- Reduced motion ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* ── Landing trim (2026-07): example / dossier panels removed ────────────────
   The hero + Live-play sections lost their fake "example session" panels, and
   the "mode direct" feature lost its screenshot. These modifiers collapse the
   now-single-child grids to one clean, centered column. Declared LAST so they
   override the two-column min-width rules earlier in the file. */
.hero__inner--solo {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.hero__inner--solo .hero__col { max-width: 46rem; }
.hero__inner--solo .cta-row,
.hero__inner--solo .trust-strip { justify-content: center; }

/* Wax seal kept as a hero motif once the dossier is gone (decorative, click-
   through). Hidden on narrow screens so it never crowds the header. */
.wax-seal--hero { top: 4px; right: 4px; width: 104px; }
@media (max-width: 767px) { .wax-seal--hero { display: none; } }

.spotlight__grid--solo { grid-template-columns: 1fr; }
.spotlight__grid--solo .spotlight__body { max-width: 56rem; margin-inline: auto; }

.feature--full { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.feature--full .feature__body { max-width: 56rem; }
