/* =========================================================
   ELEFTHERI — Der Freiheits-Check
   Markenpalette: Goldocker, Terrakotta, Olivgrün, Sand, Creme, Erde
   Typo: Cormorant Garamond (Display) · Lato (Text)
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Tokens: LIGHT (bare :root = complete palette) ---------- */
:root {
  --creme:        #FAF7F2;
  --sand:         #F2EAD8;
  --sand-deep:    #EADFC6;
  --gold:         #C9963A;
  --gold-soft:    #E8C07A;
  --terra:        #C2714F;
  --terra-deep:   #A85B3C;
  --olive:        #6B7C4A;
  --earth:        #3B2C1A;
  --earth-soft:   #5A4a36;

  --bg:           var(--creme);
  --bg-alt:       var(--sand);
  --bg-deep:      #2E2419;      /* dunkle Bandvariante */
  --surface:      #FFFFFF;
  --surface-2:    #FBF7EF;

  --ink:          #2C2418;
  --ink-muted:    #766351;
  --ink-onDeep:   #F3EAD9;
  --ink-onDeep-muted: #C9B79C;

  --accent:       var(--terra);
  --accent-strong:var(--terra-deep);
  --line:         #E1D4BC;
  --line-onDeep:  rgba(233,214,178,0.20);

  --shadow-sm: 0 1px 2px rgba(59,44,26,0.06), 0 4px 12px rgba(59,44,26,0.05);
  --shadow-md: 0 4px 10px rgba(59,44,26,0.08), 0 18px 40px rgba(59,44,26,0.10);

  --maxw: 1100px;
  --measure: 66ch;
  --radius: 14px;
  --radius-lg: 22px;

  --step--1: clamp(0.86rem, 0.82rem + 0.2vw, 0.95rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.55rem, 1.35rem + 1vw, 2.05rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.4rem);
}

/* ---------- Tokens: DARK via OS (system state, no stamp) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #211A11;
    --bg-alt:    #2A2116;
    --bg-deep:   #1A140C;
    --surface:   #2C2318;
    --surface-2: #322818;

    --ink:            #F1E7D6;
    --ink-muted:      #B7A488;
    --ink-onDeep:     #F1E7D6;
    --ink-onDeep-muted:#B7A488;

    --gold:      #DCAF57;
    --gold-soft: #C79A4E;
    --terra:     #D2825F;
    --terra-deep:#E0966F;
    --accent:        #D2825F;
    --accent-strong: #E0966F;
    --line:      rgba(233,214,178,0.16);
    --line-onDeep: rgba(233,214,178,0.16);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.35);
    --shadow-md: 0 6px 16px rgba(0,0,0,0.45), 0 24px 50px rgba(0,0,0,0.5);
  }
}

/* ---------- Tokens: DARK via explicit toggle ---------- */
:root[data-theme="dark"] {
  --bg:        #211A11;
  --bg-alt:    #2A2116;
  --bg-deep:   #1A140C;
  --surface:   #2C2318;
  --surface-2: #322818;
  --ink:            #F1E7D6;
  --ink-muted:      #B7A488;
  --ink-onDeep:     #F1E7D6;
  --ink-onDeep-muted:#B7A488;
  --gold:      #DCAF57;
  --gold-soft: #C79A4E;
  --terra:     #D2825F;
  --terra-deep:#E0966F;
  --accent:        #D2825F;
  --accent-strong: #E0966F;
  --line:      rgba(233,214,178,0.16);
  --line-onDeep: rgba(233,214,178,0.16);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.35);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.45), 0 24px 50px rgba(0,0,0,0.5);
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Lato", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--ink);
  letter-spacing: 0.005em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); margin-bottom: 0.6em; }
h3 { font-size: var(--step-1); font-weight: 600; }
h1 em, h2 em, .quote em { font-style: italic; color: var(--gold); }

p { max-width: var(--measure); }
a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--earth); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.narrow { width: min(100% - 2.4rem, 760px); margin-inline: auto; }

.band { padding: clamp(3.5rem, 2.5rem + 5vw, 7rem) 0; border-top: 1px solid var(--line); }
.band:first-of-type { border-top: 0; }
.band-sand { background: var(--bg-alt); }
.band-deep { background: var(--bg-deep); color: var(--ink-onDeep); }
.band-deep h2, .band-deep h3 { color: var(--ink-onDeep); }
.band-deep p { color: var(--ink-onDeep-muted); }
.band-deep .eyebrow { color: var(--gold-soft); }

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terra-deep);
  margin-bottom: 1rem;
}
.prose { margin-top: 1.2rem; }
.prose > * + * { margin-top: 1rem; }
.prose p, .lede { font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem); }
.emphasis { font-weight: 700; color: var(--ink); }
.aside {
  margin-top: 2rem; font-size: var(--step--1); color: var(--ink-muted);
  border-left: 2px solid var(--gold); padding-left: 1rem; max-width: 60ch;
}
.fineprint { margin-top: 0.9rem; font-size: var(--step--1); color: var(--ink-muted); }
.signed { margin-top: 1.2rem; font-style: italic; color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #FFF9F0;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: none;
}
.btn-ghost:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); transform: translateY(-2px); }
.band-deep .btn-ghost { color: var(--ink-onDeep); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: var(--step--1); }
.btn-block { width: 100%; margin-top: 0.5rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.cta-row.center { justify-content: center; margin-top: 2.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--gold); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-word {
  font-family: "Lato", sans-serif; font-weight: 700;
  letter-spacing: 0.28em; font-size: 0.95rem; color: var(--ink);
}
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a {
  color: var(--ink-muted); text-decoration: none; font-size: var(--step--1);
  font-weight: 700; letter-spacing: 0.02em; padding: 0.3rem 0;
  border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover { color: var(--ink); border-color: var(--gold); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); cursor: pointer;
  padding: 0; place-items: center; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  margin: 2px auto; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 2rem + 6vw, 6.5rem) 0 clamp(3rem, 2rem + 5vw, 6rem);
  background:
    radial-gradient(1100px 500px at 78% -8%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 60%),
    radial-gradient(800px 420px at 0% 108%, color-mix(in srgb, var(--olive) 16%, transparent), transparent 62%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin: 0.4rem 0 0.9rem; }
.hero .lede { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-muted); }
.reassure {
  margin-top: 1.6rem; font-size: var(--step--1); color: var(--ink-muted);
  padding-left: 1rem; border-left: 2px solid var(--olive); max-width: 46ch;
}

/* Worksheet visual (the "product") */
.hero-visual { display: flex; justify-content: center; perspective: 1200px; }
.worksheet {
  width: min(100%, 380px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem 1.5rem;
  box-shadow: var(--shadow-md);
  transform: rotate(-2.2deg);
  transition: transform 0.4s ease;
  position: relative;
}
.worksheet::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 8px); pointer-events: none;
}
.hero-visual:hover .worksheet { transform: rotate(-1deg) translateY(-4px); }
.worksheet-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.ws-mark { width: 40px; height: 40px; color: var(--gold); flex-shrink: 0; }
.ws-kicker {
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.ws-title { font-family: "Cormorant Garamond", serif; font-size: 1.4rem; font-weight: 600; }
.ws-list { list-style: none; padding: 0; display: grid; gap: 0.85rem; }
.ws-list li {
  display: flex; gap: 0.7rem; align-items: baseline;
  font-size: 0.98rem; color: var(--ink);
  padding-bottom: 0.8rem; border-bottom: 1px dashed var(--line);
}
.ws-num {
  font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-weight: 600;
  color: var(--terra); flex-shrink: 0;
}
.ws-more { color: var(--ink-muted); font-style: italic; border-bottom: 0 !important; }
.ws-foot { margin-top: 1.1rem; font-size: 0.8rem; letter-spacing: 0.03em; color: var(--ink-muted); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem; margin-top: 2.6rem;
}
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 900px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.5rem; color: var(--terra-deep); }
.card.outline { background: transparent; border-color: var(--gold); box-shadow: none; }
.card .tag {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin-bottom: 0.5rem;
}

/* ---------- Shift list (Transformation) ---------- */
.shift-list { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 1.1rem; }
.shift-list li {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.1rem; align-items: center;
  padding: 1.1rem 1.3rem; border: 1px solid var(--line-onDeep); border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}
.shift-list .from { grid-column: 1; color: var(--ink-onDeep-muted); max-width: none; }
.shift-list li::after {
  content: "→"; grid-column: 2; justify-self: center;
  color: var(--gold-soft); font-size: 1.3rem;
}
.shift-list .to { grid-column: 3; color: var(--ink-onDeep); font-weight: 700; max-width: none; }
.quote {
  margin-top: 2.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem);
  font-style: italic; line-height: 1.3; color: var(--ink-onDeep);
  max-width: 24ch;
}

/* ---------- Mechanism ---------- */
.mechanism {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 1rem;
  margin: 2.4rem 0 1.5rem;
}
.mech-step {
  flex: 1 1 220px; background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: 1.4rem 1.3rem; box-shadow: var(--shadow-sm);
}
.mech-step p { max-width: none; }
.mech-word {
  font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 600;
  color: var(--terra-deep); margin-bottom: 0.35rem;
}
.mech-arrow { display: flex; align-items: center; color: var(--gold); font-size: 1.6rem; }

/* ---------- Split (Check contents) ---------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem; margin-top: 2.4rem;
}
.split-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
}
.split-block h3 { margin-bottom: 1rem; color: var(--terra-deep); }
.ticks, .numbered { padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.ticks { list-style: none; }
.ticks li { position: relative; padding-left: 1.7rem; max-width: none; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.65rem; height: 0.65rem; border-radius: 50%;
  background: var(--olive);
}
.numbered { list-style: none; counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 2rem; max-width: none; }
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.2rem;
  color: var(--terra); line-height: 1.4;
}

/* ---------- Benefit table ---------- */
.benefit-table {
  margin-top: 2.4rem; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
}
.brow {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5rem;
  padding: 1.1rem 1.4rem; border-top: 1px solid var(--line);
}
.brow:first-child { border-top: 0; }
.brow span { max-width: none; }
.brow span:first-child { font-weight: 700; color: var(--ink); }
.brow span:last-child { color: var(--ink-muted); }
.bhead {
  background: var(--surface-2);
  font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase;
}
.bhead span { font-weight: 700 !important; color: var(--terra-deep) !important; }

/* ---------- Steps (How it works) ---------- */
.steps { list-style: none; padding: 0; margin-top: 2.4rem; display: grid; gap: 1.1rem; counter-reset: s; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
}
.step-n {
  font-family: "Cormorant Garamond", serif; font-size: 1.9rem; font-weight: 700;
  color: #FFF9F0; background: var(--terra);
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.step h3 { margin-bottom: 0.25rem; }
.step p { max-width: none; color: var(--ink-muted); }

/* ---------- Versus ---------- */
.versus {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem; margin-top: 2.4rem;
}
.vs-col {
  border: 1px solid var(--line-onDeep); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; background: rgba(255,255,255,0.03);
}
.vs-head {
  font-weight: 700; letter-spacing: 0.03em; margin-bottom: 1rem;
  font-size: var(--step--1); text-transform: uppercase;
}
.vs-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.vs-col li { position: relative; padding-left: 1.7rem; color: var(--ink-onDeep-muted); max-width: none; }
.vs-col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.vs-no .vs-head { color: var(--terra-deep); }
.vs-no li::before { content: "✕"; color: var(--terra); }
.vs-yes .vs-head { color: var(--gold-soft); }
.vs-yes li::before { content: "✓"; color: var(--olive); }
:root[data-theme="dark"] .vs-yes li::before,
:root:not([data-theme="light"]) .vs-yes li::before { color: #9DB07A; }

/* ---------- Offer stack ---------- */
.stack-offer { list-style: none; padding: 0; margin: 2rem 0 0.5rem; display: grid; gap: 0.9rem; }
.stack-offer li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline;
  padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); max-width: none;
  box-shadow: var(--shadow-sm);
}
.stack-offer span {
  font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.3rem;
  color: var(--terra);
}
.band-deep .stack-offer li {
  border-color: var(--line-onDeep); background: rgba(255,255,255,0.03);
  color: var(--ink-onDeep); box-shadow: none;
}
.band-deep .stack-offer span { color: var(--gold-soft); }

/* ---------- Accordion ---------- */
.accordion { margin-top: 2rem; display: grid; gap: 0.7rem; }
.ac-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
}
.band-sand .ac-item { background: var(--surface); }
.ac-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 700; color: var(--ink); position: relative;
  transition: color 0.15s;
}
.ac-item summary::-webkit-details-marker { display: none; }
.ac-item summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-family: "Cormorant Garamond", serif; font-size: 1.6rem; color: var(--gold);
  transition: transform 0.2s ease;
}
.ac-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ac-item summary:hover { color: var(--terra-deep); }
.ac-body { padding: 0 1.3rem 1.2rem; }
.ac-body p { color: var(--ink-muted); }

/* ---------- Final CTA / Form ---------- */
.cta-final { text-align: left; }
.cta-final .lede { color: var(--ink-onDeep-muted); margin-top: 1rem; }
.signup {
  margin-top: 2.4rem; display: grid; gap: 1.1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: var(--step--1); color: var(--ink); }
.field input, .field select {
  width: 100%; padding: 0.8rem 0.95rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-2); color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent);
}
.field.invalid input, .field.invalid select { border-color: var(--terra-deep); }
.err { color: var(--terra-deep); font-size: 0.82rem; font-weight: 700; min-height: 0; }
.field .err { margin-top: -0.1rem; }
.consent {
  display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start;
  font-size: 0.86rem; color: var(--ink-muted);
}
.consent input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--terra); }
.consent span { max-width: none; }
.form-note { font-size: 0.8rem; color: var(--ink-muted); margin-top: 0.3rem; }
.form-success {
  margin-top: 2rem; background: var(--surface); border: 1px solid var(--gold);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  color: var(--ink); box-shadow: var(--shadow-md);
}
.form-success h3 { color: var(--terra-deep); margin: 0.5rem 0; }
.form-success p { margin-inline: auto; color: var(--ink-muted); }
.success-mark { font-size: 2rem; color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep); color: var(--ink-onDeep);
  padding: 3.5rem 0 4.5rem; border-top: 1px solid var(--line);
}
.footer-inner { display: grid; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand .brand-mark { width: 38px; height: 38px; color: var(--gold); }
.footer-tag { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.15rem; color: var(--ink-onDeep); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { color: var(--gold-soft); text-decoration: none; font-size: var(--step--1); font-weight: 700; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { font-size: 0.82rem; color: var(--ink-onDeep-muted); max-width: 70ch; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  display: none; text-align: center;
  padding: 0.95rem 1rem; border-radius: 999px;
  background: var(--terra); color: #FFF9F0; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  transform: translateY(150%); transition: transform 0.3s ease;
}
.mobile-cta.show { transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .worksheet { transform: rotate(-1.5deg); }
  .site-nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.2rem 1.2rem;
    transform: translateY(-120%); transition: transform 0.28s ease;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .brand-word { font-size: 0.85rem; letter-spacing: 0.2em; }
  .shift-list li { grid-template-columns: 1fr; gap: 0.4rem; text-align: left; }
  .shift-list li::after { display: none; }
  .brow { grid-template-columns: 1fr; gap: 0.3rem; }
  .mech-arrow { transform: rotate(90deg); align-self: center; }
  .mobile-cta { display: block; }
}

@media (max-width: 520px) {
  .btn { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
  .worksheet { padding: 1.4rem 1.3rem; }
}
