/* MOCKUP · The Living Trust Code landing · Euphelia Editions
   Brand: Navy #0B2241 · Gold #B8903A · Cream #FAF7F0 (Sage #1F5E4B, Burgundy #8B2635 accents)
   Rule: every text block sits on a flat, solid, high-contrast background. */
@font-face { font-family: 'Source Serif Pro'; src: url('fonts/SourceSerifPro-Regular.woff') format('woff'); font-weight: 400; }
@font-face { font-family: 'Source Serif Pro'; src: url('fonts/SourceSerifPro-Semibold.woff') format('woff'); font-weight: 600; }
@font-face { font-family: 'Source Serif Pro'; src: url('fonts/SourceSerifPro-Bold.woff') format('woff'); font-weight: 700; }
@font-face { font-family: 'Source Serif Pro'; src: url('fonts/SourceSerifPro-It.woff') format('woff'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Source Sans Pro'; src: url('fonts/SourceSansPro-Regular.woff') format('woff'); font-weight: 400; }
@font-face { font-family: 'Source Sans Pro'; src: url('fonts/SourceSansPro-Semibold.woff') format('woff'); font-weight: 600; }
@font-face { font-family: 'Source Sans Pro'; src: url('fonts/SourceSansPro-Bold.woff') format('woff'); font-weight: 700; }
@font-face { font-family: 'Source Sans Pro'; src: url('fonts/SourceSansPro-It.woff') format('woff'); font-weight: 400; font-style: italic; }

:root {
  --navy: #0B2241; --navy-deep: #071830; --navy-card: #13305A;
  --gold: #B8903A; --gold-light: #D9B66A; --gold-ink: #7E5F1E;
  --cream: #FAF7F0; --white: #FFFFFF; --ink: #10213A; --muted: #4A5869;
  --line: #E4DAC4; --sage: #1F5E4B; --burgundy: #8B2635;
  --serif: 'Source Serif Pro', Georgia, serif; --sans: 'Source Sans Pro', -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Buttons */
.btn-gold { display: inline-block; background: var(--gold); color: var(--navy-deep); font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: .2px; text-decoration: none; padding: 17px 34px; border: 0; border-radius: 10px; box-shadow: 0 10px 24px rgba(184,144,58,.35); cursor: pointer; text-align: center; }
.btn-gold:hover { background: var(--gold-light); }
.btn-block { display: block; width: 100%; }

/* 1. Top bar */
.topbar { background: var(--navy-deep); border-bottom: 1px solid rgba(184,144,58,.35); padding: 14px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: 3.2px; text-transform: uppercase; color: var(--gold-light); }
.brand-tag { font-size: 13px; color: #C9D3E0; font-weight: 600; }

/* 2. Hero */
.hero { background: var(--navy); color: var(--white); padding: 60px 0 72px; border-bottom: 4px solid var(--gold); }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: start; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(217,182,106,.55); border-radius: 999px; padding: 7px 16px; margin-bottom: 20px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: 46px; line-height: 1.12; letter-spacing: -.3px; margin-bottom: 18px; }
.hero h1 .gold { color: var(--gold-light); }
.hero-sub { font-size: 18.5px; color: #DCE3EC; max-width: 620px; }
.hero-sub strong { color: var(--white); }
.hero-visual { display: flex; align-items: center; gap: 36px; margin: 34px 0 28px; }
.hv-stack { position: relative; width: 300px; height: 330px; flex: 0 0 300px; }
.hv-stack img { position: absolute; border-radius: 4px; }
.hv-book { left: 0; top: 0; width: 240px; box-shadow: 0 24px 50px rgba(0,0,0,.55); z-index: 4; }
.hv-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; background: var(--navy-deep); border: 2px solid var(--gold); border-radius: 50%; width: 170px; height: 170px; flex: 0 0 170px; text-align: center; box-shadow: 0 0 0 8px rgba(184,144,58,.12); }
.hv-badge-num { font-family: var(--serif); font-weight: 700; font-size: 72px; line-height: .9; color: var(--gold-light); }
.hv-badge-text { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--white); margin-top: 8px; line-height: 1.35; }
.hero-available { font-size: 15px; color: #C9D3E0; max-width: 620px; margin-bottom: 18px; }
.hero-available strong { color: var(--white); }
.trust-micro { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; font-weight: 600; color: var(--white); }
.trust-micro b { color: var(--gold-light); margin-right: 4px; }

.optin-card { background: var(--white); color: var(--ink); border-radius: 14px; padding: 34px 32px 30px; border-top: 6px solid var(--gold); box-shadow: 0 30px 60px rgba(0,0,0,.35); position: sticky; top: 24px; }
.optin-card h2 { font-family: var(--serif); font-size: 27px; line-height: 1.2; color: var(--navy); margin-bottom: 10px; }
.optin-desc { font-size: 15.5px; color: var(--muted); margin-bottom: 20px; }
.optin-card label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.optin-card input[type=text], .optin-card input[type=email] { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid #CFC6B2; border-radius: 8px; margin-bottom: 16px; background: var(--white); }
.optin-card .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; line-height: 1.5; color: #3E4C5D; margin: 2px 0 20px; }
.optin-card .consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--navy); }
.optin-card .consent a { color: var(--navy); font-weight: 700; }

/* 3. Extras section */
.extras { background: var(--cream); padding: 88px 0 96px; border-bottom: 1px solid var(--line); }
.ex-head { text-align: center; max-width: 820px; margin: 0 auto; }
.ex-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; color: var(--sage); background: var(--white); border: 1.5px solid var(--sage); border-radius: 999px; padding: 7px 18px; margin-bottom: 28px; }
.ex-counter { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 22px; }
.ex-counter-num { display: flex; align-items: center; justify-content: center; width: 156px; height: 156px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: var(--serif); font-weight: 700; font-size: 96px; line-height: 1; border: 4px solid var(--gold); box-shadow: 0 0 0 10px var(--white), 0 0 0 11px var(--line), 0 18px 40px rgba(11,34,65,.25); padding-bottom: 6px; }
.ex-counter-label { font-family: var(--serif); font-weight: 700; font-size: 40px; color: var(--navy); text-align: left; line-height: 1.05; text-transform: none; }
.extras h2 { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1.14; color: var(--navy); margin-bottom: 16px; }
.ex-sub { font-size: 19px; color: var(--muted); }
.ex-stats { display: flex; justify-content: center; gap: 0; margin: 36px auto 52px; max-width: 760px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.ex-stats li { flex: 1; text-align: center; padding: 18px 12px; border-left: 1px solid var(--line); }
.ex-stats li:first-child { border-left: 0; }
.ex-stats b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.1; color: var(--gold-ink); }
.ex-stats span { font-size: 14.5px; font-weight: 600; color: var(--navy); }

.ex-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 26px; }
.ex-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px 20px; display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(11,34,65,.06); }
.ex-thumb { background: var(--navy); border-radius: 10px; padding: 18px 20px 20px; margin-bottom: 16px; }
.ex-thumb img { width: 100%; aspect-ratio: 2550 / 3300; object-fit: cover; border-radius: 3px; box-shadow: 0 12px 22px rgba(0,0,0,.45); transform: rotate(-2deg); }
.ex-card:nth-child(even) .ex-thumb img { transform: rotate(2deg); }
.ex-num { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--gold-ink); margin-bottom: 6px; }
.ex-name { font-family: var(--serif); font-weight: 700; font-size: 16.5px; line-height: 1.28; color: var(--navy); }

.ex-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px; background: var(--navy); border-radius: 16px; padding: 36px 44px; border-left: 8px solid var(--gold); }
.ex-cta h3 { font-family: var(--serif); font-size: 32px; line-height: 1.15; color: var(--white); margin-bottom: 6px; }
.ex-cta p { font-size: 17px; color: #DCE3EC; }
.ex-cta-action { text-align: center; flex: 0 0 auto; }
.ex-cta-micro { font-size: 13px !important; color: #C9D3E0 !important; margin-top: 10px; }

/* Shared section heads */
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 36px; }
.sec-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.sec-kicker.light { color: var(--gold-light); }
.sec-head h2 { font-family: var(--serif); font-size: 36px; line-height: 1.18; color: var(--navy); margin-bottom: 14px; }
.sec-head p { font-size: 17px; color: var(--muted); }

/* 4. Inside */
.inside { background: var(--white); padding: 80px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; }
.tool-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: var(--serif); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.tool-card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.25; color: var(--navy); margin-bottom: 8px; }
.tool-card p { font-size: 15px; color: var(--muted); }
.inside-note { text-align: center; font-size: 15px; color: var(--muted); font-style: italic; margin-top: 28px; }

/* 5. More band */
.more { background: var(--navy); color: var(--white); padding: 64px 0; text-align: center; }
.more-inner { max-width: 820px; }
.more h2 { font-family: var(--serif); font-size: 34px; margin-bottom: 14px; }
.more p { font-size: 17px; color: #DCE3EC; }

/* 6. FAQ */
.faq { background: var(--cream); padding: 72px 0; }
.faq-inner { max-width: 820px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gold-ink); font-size: 24px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 20px 18px; font-size: 16px; color: var(--muted); }

/* 7. Final CTA */
.final-cta { background: var(--navy); color: var(--white); padding: 76px 0; text-align: center; border-top: 4px solid var(--gold); }
.final-inner h2 { font-family: var(--serif); font-size: 38px; margin-bottom: 10px; }
.final-inner p { font-size: 18px; color: #DCE3EC; margin-bottom: 28px; }

/* 8. Footer */
.footer { background: var(--navy-deep); color: #AEB9C8; padding: 40px 0 46px; text-align: center; font-size: 13.5px; }
.f-brand { font-family: var(--serif); font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; font-size: 14px; }
.f-links { margin-bottom: 10px; }
.f-notice { max-width: 820px; margin: 0 auto; }

/* Responsive */
@media (max-width: 1100px) {
  .ex-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .optin-card { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
}

/* ---- v2 additions ---- */
.hero h1 { font-size: 44px; }
.hero h1 em.gold { color: var(--gold-light); font-style: italic; }
.hv-stack { width: 330px; height: 340px; flex: 0 0 330px; }
.hv-book { width: 236px; top: 6px; z-index: 20; }
.hv-x { width: 168px; top: 40px; left: calc(70px + var(--i) * 9px); transform: rotate(calc(var(--i) * 1.6deg)); transform-origin: 50% 100%; box-shadow: 0 8px 18px rgba(0,0,0,.45); z-index: calc(20 - var(--i)); }
.hv-badge-text { font-size: 14px; }

.ex-counter { margin-bottom: 26px; }
.ex-kicker { margin-bottom: 16px; }
.extras h2 { font-size: 48px; }
.ex-grid { margin-top: 52px; gap: 30px 24px; }
.ex-card { padding: 16px 16px 20px; }
.ex-thumb { padding: 16px 18px 18px; }
.ex-line { font-size: 14.5px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
.ex-foot { margin-top: 48px; text-align: center; background: var(--navy); border-radius: 16px; padding: 34px 32px 38px; border-top: 6px solid var(--gold); }
.ex-note { font-size: 17px; color: #E3E9F1; margin-bottom: 22px; }

.why { background: var(--navy); color: var(--white); padding: 76px 0 80px; }
.why h2 { font-family: var(--serif); font-size: 38px; text-align: center; margin-bottom: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item { background: var(--navy-card); border: 1px solid rgba(184,144,58,.45); border-radius: 14px; padding: 28px 26px; }
.why-num { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-family: var(--serif); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-item h3 { font-family: var(--serif); font-size: 22px; color: var(--gold-light); margin-bottom: 8px; }
.why-item p { font-size: 16px; color: #E3E9F1; }
.faq { background: var(--cream); }
.final-cta { border-top: 0; background: var(--navy-deep); }

.sticky-cta { display: none; }

.ty-body { background: var(--navy); }
.ty { padding: 80px 18px; display: flex; justify-content: center; }
.ty-card { background: var(--white); max-width: 620px; border-radius: 14px; border-top: 6px solid var(--gold); padding: 40px 36px; text-align: center; }
.ty-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; }
.ty-card h1 { font-family: var(--serif); font-size: 32px; color: var(--navy); margin-bottom: 14px; }
.ty-card p { font-size: 17px; color: var(--muted); margin-bottom: 12px; }
.ty-tip { font-size: 15px !important; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.ty-back { display: inline-block; margin-top: 12px; color: var(--navy); font-weight: 700; }

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .topbar-inner { flex-direction: column; gap: 2px; text-align: center; }
  .brand-tag { font-size: 12px; }
  .hero { padding: 34px 0 44px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16.5px; }
  .hero-visual { flex-direction: column; gap: 22px; margin: 28px 0 22px; }
  .hv-stack { width: 300px; height: 300px; flex-basis: auto; }
  .hv-book { width: 206px; }
  .hv-x { width: 146px; top: 34px; left: calc(62px + var(--i) * 8px); }
  .hv-badge { flex-direction: row; width: 100%; height: auto; flex-basis: auto; border-radius: 14px; padding: 12px 18px; gap: 14px; justify-content: center; }
  .hv-badge-num { font-size: 52px; }
  .hv-badge-text { margin-top: 0; font-size: 15px; }
  .trust-micro { flex-direction: column; gap: 8px; }
  .optin-card { padding: 26px 20px 22px; }
  .optin-card h2 { font-size: 24px; }
  .extras { padding: 54px 0 60px; }
  .ex-counter-num { width: 120px; height: 120px; font-size: 74px; }
  .ex-kicker { font-size: 11.5px; letter-spacing: 1.8px; padding: 6px 14px; }
  .extras h2 { font-size: 31px; }
  .ex-sub { font-size: 16.5px; }
  .ex-grid { grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 34px; }
  .ex-card { padding: 10px 10px 14px; border-radius: 12px; }
  .ex-thumb { padding: 10px 11px 12px; margin-bottom: 10px; }
  .ex-num { font-size: 10.5px; letter-spacing: 1.4px; margin-bottom: 4px; }
  .ex-name { font-size: 14.5px; }
  .ex-line { font-size: 13px; }
  .ex-foot { padding: 26px 18px 28px; margin-top: 32px; }
  .ex-note { font-size: 15.5px; }
  .btn-gold { font-size: 17px; padding: 16px 18px; display: block; width: 100%; }
  .why { padding: 52px 0 56px; }
  .why h2 { font-size: 28px; margin-bottom: 26px; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .sec-head h2 { font-size: 27px; }
  .faq { padding: 50px 0; }
  .faq-item summary { font-size: 16.5px; }
  .final-cta { padding: 52px 0; } .final-inner h2 { font-size: 28px; }
  body:not(.ty-body) { padding-bottom: 84px; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--navy-deep); border-top: 2px solid var(--gold); padding: 12px 18px 14px; }
  .ty-card { padding: 30px 20px; } .ty-card h1 { font-size: 26px; }
}
/* ---- v2.1 tuning ---- */
h1, h2, h3 { text-wrap: balance; }
.ex-head { max-width: 900px; }
@media (min-width: 601px) {
  .hero-visual { gap: 26px; }
  .hv-stack { width: 410px; flex-basis: 410px; height: 350px; }
  .hv-x { width: 170px; top: 30px; left: calc(60px + var(--i) * 17px); transform: rotate(calc(-6deg + var(--i) * 2.4deg)); transform-origin: 30% 110%; }
}
@media (max-width: 600px) {
  .hv-stack { width: 320px; height: 300px; margin: 0 auto; }
  .hv-x { width: 140px; top: 30px; left: calc(46px + var(--i) * 12px); transform: rotate(calc(-6deg + var(--i) * 2.4deg)); transform-origin: 30% 110%; }
}
/* ---- v2.2 fan fit ---- */
.hero { overflow: hidden; }
@media (min-width: 601px) {
  .hv-stack { width: 440px; flex-basis: 440px; }
  .hv-x { left: calc(56px + var(--i) * 14px); }
  .hero-visual { gap: 18px; }
  .hv-badge { width: 160px; height: 160px; flex-basis: 160px; }
}
@media (max-width: 600px) {
  .hv-stack { width: 300px; height: 290px; }
  .hv-book { width: 196px; }
  .hv-x { width: 128px; left: calc(40px + var(--i) * 10px); }
}
/* ---- v2.3 column fit ---- */
.hero-copy { min-width: 0; }
@media (min-width: 601px) {
  .hv-stack { width: 400px; flex-basis: 400px; }
  .hv-x { left: calc(50px + var(--i) * 13px); }
  .hv-badge { width: 150px; height: 150px; flex-basis: 150px; }
  .hv-badge-num { font-size: 64px; }
  .hv-badge-text { font-size: 12.5px; }
}
/* ---- v3 hero visual: book + cascading deck (PASS tweaks 2026-12-01) ---- */
.hv-x { display: none; }
.hv-stack { position: relative; }
.hv-stack img { position: absolute; border-radius: 3px; }
@media (min-width: 601px) {
  .hero-visual { gap: 0; justify-content: space-between; }
  .hv-stack { width: 432px; flex: 0 0 432px; height: 352px; }
  .hv-book { width: 206px; left: 0; top: 46px; z-index: 30; box-shadow: 0 26px 50px rgba(0,0,0,.6); transform: none; }
  .hv-deck { width: 150px; left: calc(186px + var(--k) * 30px); top: calc(var(--k) * 52px); z-index: calc(10 + var(--k)); box-shadow: 0 -2px 0 rgba(255,255,255,.0), 0 10px 22px rgba(0,0,0,.5); transform: none; }
  .hv-back { width: 150px; left: calc(250px + var(--j) * 5px); top: calc(4px + var(--j) * 3px); transform: rotate(calc(3deg + var(--j) * 1.6deg)); transform-origin: 0% 100%; z-index: 1; box-shadow: 0 6px 14px rgba(0,0,0,.45); }
  .hv-badge { width: 150px; height: 150px; flex: 0 0 150px; }
}
@media (max-width: 600px) {
  .hv-stack { width: 340px; height: 282px; margin: 0 auto; }
  .hv-book { width: 164px; left: 0; top: 38px; z-index: 30; box-shadow: 0 20px 40px rgba(0,0,0,.6); transform: none; }
  .hv-deck { width: 120px; left: calc(150px + var(--k) * 22px); top: calc(var(--k) * 42px); z-index: calc(10 + var(--k)); box-shadow: 0 8px 18px rgba(0,0,0,.5); transform: none; }
  .hv-back { width: 120px; left: calc(196px + var(--j) * 3px); top: calc(4px + var(--j) * 2px); transform: rotate(calc(3deg + var(--j) * 1.4deg)); transform-origin: 0% 100%; z-index: 1; box-shadow: 0 5px 12px rgba(0,0,0,.45); }
}
/* ---- v3.1 ---- */
@media (min-width: 601px) {
  .hv-stack { height: 368px; flex-basis: 420px; width: 420px; }
  .hv-book { top: 56px; }
  .hv-deck { top: calc(var(--k) * 56px); left: calc(180px + var(--k) * 28px); }
  .hv-back { left: calc(214px + var(--j) * 5px); top: 2px; transform: rotate(calc(2deg + var(--j) * 1.1deg)); }
}
@media (max-width: 600px) {
  .hv-stack { width: 330px; height: 292px; }
  .hv-book { top: 44px; }
  .hv-deck { top: calc(var(--k) * 44px); left: calc(144px + var(--k) * 20px); }
  .hv-back { left: calc(170px + var(--j) * 4px); top: 2px; transform: rotate(calc(2deg + var(--j) * 1.1deg)); }
}
/* ---- v3.2 sticky mobile button (IntersectionObserver in render.js) ---- */
@media (max-width: 600px) {
  body:not(.ty-body) { padding-bottom: 0; }
  .sticky-cta { display: block; transform: translateY(110%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s; }
  .sticky-cta.is-visible { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .25s ease, opacity .25s ease; }
  .optin-card { scroll-margin-top: 12px; }
}


/* ---- production: CSP-safe custom properties (no inline styles) ---- */
.hv-back[data-j="0"] { --j: 0; }
.hv-back[data-j="1"] { --j: 1; }
.hv-back[data-j="2"] { --j: 2; }
.hv-back[data-j="3"] { --j: 3; }
.hv-back[data-j="4"] { --j: 4; }
.hv-back[data-j="5"] { --j: 5; }
.hv-deck[data-k="0"] { --k: 0; }
.hv-deck[data-k="1"] { --k: 1; }
.hv-deck[data-k="2"] { --k: 2; }
.hv-deck[data-k="3"] { --k: 3; }

/* ---- production form (same fields/IDs as live 12:27; visual aligned to mockup) ---- */
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--gold-light); color: var(--navy-deep); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 700; text-decoration: none; }
.skip-link:focus { left: 12px; }
.optin-card { position: relative; scroll-margin-top: 16px; }
.optin-card .form-group { margin-bottom: 16px; }
.optin-card .form-group input[type=text],
.optin-card .form-group input[type=email] { margin-bottom: 0; }
.form-input { transition: border-color .15s, box-shadow .15s; }
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,144,58,0.35); }
.form-input[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,0.12); }
.field-error { color: #B3261E; font-size: 12.5px; font-weight: 600; margin-top: 4px; }
.field-error:empty { display: none; }
.consent-group { margin: 2px 0 20px; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; line-height: 1.5; color: #3E4C5D; cursor: pointer; }
.consent-label input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--navy); }
.consent-label a { color: var(--navy); font-weight: 700; }
.form-status { font-size: 13px; margin-top: 10px; text-align: center; font-weight: 600; color: #B3261E; }
.form-status:empty { display: none; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success-view { text-align: center; padding: 18px 4px 6px; outline: none; }
.success-view h2 { font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--navy); margin-bottom: 12px; }
.success-view p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.success-view .tip { font-size: 13.5px; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; text-align: left; }
.success-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.btn-gold:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn-gold[disabled] { opacity: .7; cursor: progress; }
.footer a { color: var(--gold-light); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
