/* /ds/darkening - shared by watch (body.vsl) + read (body.tsl). All style options live in STYLE SETTINGS below. */
/* Layout: copy column 1040px incl. 30px padding on paper, broken by full-bleed dark bands (headline, four signs,
   Darkening timeline). Gold marks the sign takeaways, scripture boxes and the order path. */
:root {
    --paper: #FFFFFF;
    --paper-2: #FFFFFF; /* no light/dark cream alternation */
    --card: #FAFAF7; /* /discover/read light boxes */
    --frame: #F0EBDF; /* page background around the inner container */
    --ink: #000;
    --ink-soft: #000;
    --lamp: #FFCC00;
    --lamp-soft: #F2D77A;
    --amber: #6D4A20;
    --rust: #A3271B;
    --on-night: #FFF;
    --on-night-soft: #FFF;
    --rule: rgba(20, 34, 33, .16);
    --rule-night: rgba(255, 204, 0, .22);
    --display: "Montserrat", "Arial Narrow", Arial, sans-serif;
    --body: "Montserrat", sans-serif; /* /discover/read: Montserrat everywhere */
    --scripture: "Montserrat", sans-serif;
    --col: 980px; /* 1040px copy container minus 2 x 30px padding; buy set uses the same width */
    --sheet: 1040px;
    --gutter: 30px;
    --outer: #071110;
    color-scheme: light;
}

/* =====================================================================================================
   STYLE SETTINGS - every look of /ds/darkening is chosen here, in CSS only.
   Base: dark tone #000 · watch bg light · layout inner container · bonus joint line.
   To switch a group, replace its values with one of the presets written under it.
   ===================================================================================================== */
:root {
    /* 1. Dark tone (dark bands, VSL hero, placeholders) - base: black #000
          gray  #2B2B2B: --night: #2B2B2B; --night-2: #333333; --night-3: #3B3B3B;
                         --dk1: #4A4A4A; --dk2: #3A3A3A; --dk3: #2B2B2B; --dk4: #1E1E1E; --dk5: #141414;
                         --ph-a: #444444; --ph-b: #2B2B2B;
          green #0A1919: --night: #0A1919; --night-2: #112726; --night-3: #1A3533;
                         --dk1: #2B3F3B; --dk2: #1A2C2A; --dk3: #0E1B1A; --dk4: #060D0D; --dk5: #020505;
                         --ph-a: #1F3D3B; --ph-b: #0B1A1A; */
    --night: #000000; --night-2: #111111; --night-3: #1A1A1A;
    --dk1: #3A3A3A; --dk2: #222222; --dk3: #111111; --dk4: #050505; --dk5: #000000; /* Darkening band stops */
    --ph-a: #2A2A2A; --ph-b: #0A0A0A; /* image placeholder fill */

    /* 2. Watch (VSL) background (hero + page under it) - base: light, warm cream #F4F1E8
          dark:  --watch-bg: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 204, 0, .10), transparent 70%), var(--night);
                 --watch-page-bg: var(--paper); --watch-text: #FFF; --watch-pre: #FFF; --watch-h: var(--lamp); */
    --watch-bg: #F4F1E8; --watch-page-bg: #F4F1E8; --watch-text: #000; --watch-pre: #000; --watch-h: #CC0000;

    /* 3. Layout of the TSL (desktop + tablet; phones always use full width) - base: inner (1040px white container on cream, like /discover/read)
          full width: --page-bg: var(--paper); --sheet-max: none; --section-bg: transparent; --main-pad-b: 0px;
                      --hero-pad-b: 170px; --hero-fade: var(--hero-fade-full); --hero-fade-h: 160px; --hero-strip: var(--hero-strip-full);
                      --side-fade-h: 0px; --lead-pad-top: 40px; */
    --page-bg: var(--frame); --sheet-max: var(--sheet); --section-bg: #FFF; --main-pad-b: 60px;
    --hero-pad-b: 70px; --hero-fade: none; --hero-fade-h: 160px; --hero-strip: none;
    --side-fade-h: 1200px; --lead-pad-top: 72px;

    /* 4. Joint between bonus cards - base: line (dashed gold line + arrow head)
          arrow: --joint-w: 150px; --joint-h: 40px; --joint-mt: -12px; --joint-bg: var(--lamp);
                 --joint-border: 6px solid var(--night); --joint-radius: 14px; --joint-shadow: 0 6px 14px rgba(0, 0, 0, .22);
                 --joint-tip: none; --joint-arrow: block; --joint-plus: none;
          plus:  same as arrow, with --joint-arrow: none; --joint-plus: block; */
    --joint-w: 6px; --joint-h: 64px; --joint-mt: 0px;
    --joint-bg: repeating-linear-gradient(180deg, #E0A800 0 10px, transparent 10px 16px) center 0 / 6px calc(100% - 12px) no-repeat;
    --joint-border: 0; --joint-radius: 0; --joint-shadow: none;
    --joint-tip: block; --joint-arrow: none; --joint-plus: none;

    /* 5. Buy button - base: new (one physical button, bousa-big-bbtn-mock1)
          old: --bb-new: none; --bb-current: grid;   (the old physical card; digital card hidden) - kept for future changes */
    --bb-new: block; --bb-current: none;

    /* 6. Hero headline (TSL hero; the VSL uses the same type on its light background) - base: A, editorial serif
          (white serif headline, second line gold italic, short gold rule). Review: ?hero=b / ?hero=c (body.hero-bold / body.hero-photo)
          B bold:  --hl-h-font: 800 64px/1.18 var(--display); --hl-h-track: 0; --hl-h-case: none; --hl-em-style: normal;
                   --hl-rule: block; --hl-deck-font: 500 21px/1.55 var(--body); --hero-photo: none; --hero-pad-t: 56px;
          C photo: --hl-h-font: 700 64px/1.08 "Oswald", var(--display); --hl-h-track: .005em; --hl-h-case: uppercase; --hl-em-style: normal;
                   --hl-rule: block; --hl-deck-font: 500 21px/1.55 var(--body); --hl-deck: #E6E1D6;
                   --hero-photo: var(--hero-photo-full); --hero-pad-t: 96px; */
    --hl-h-font: 700 64px/1.08 "Source Serif 4", Georgia, serif; --hl-h-track: -.01em; --hl-h-case: none;
    --hl-h: #FFF; --hl-em: var(--lamp); --hl-em-style: italic;
    --hl-deck-font: 400 21px/1.55 var(--body); --hl-deck: #D9D3C7; --hl-rule: block;
    --hero-photo: none; --hero-pad-t: 56px;

    /* 7. Prehead (Lead 3 only), left on the headline's edge - base: white text. Review: ?pre=red | yellow
          red:    --pre-fg: #FFF; --pre-bg: #C8102E; --pre-pad: 6px 12px; --pre-line: 0; --pre-radius: 3px;
          yellow: --pre-fg: #000; --pre-bg: var(--lamp); --pre-pad: 6px 12px; --pre-line: 0; --pre-radius: 3px; */
    --pre-fg: #FFF; --pre-bg: none; --pre-pad: 0; --pre-line: 0; --pre-radius: 0;

    /* helpers used by the settings above (not options) */
    --hero-photo-full: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .78) 70%, var(--night)),
        url("../img/darkening/41-city-lights-of-the-united-states-2012.webp") center 30% / cover no-repeat;
    --hero-fade-full: linear-gradient(180deg, var(--night) 0.0%, color-mix(in oklab, var(--paper) 1.1%, var(--night)) 6.2%, color-mix(in oklab, var(--paper) 4.3%, var(--night)) 12.5%, color-mix(in oklab, var(--paper) 9.2%, var(--night)) 18.8%, color-mix(in oklab, var(--paper) 15.6%, var(--night)) 25.0%, color-mix(in oklab, var(--paper) 23.2%, var(--night)) 31.2%, color-mix(in oklab, var(--paper) 31.6%, var(--night)) 37.5%, color-mix(in oklab, var(--paper) 40.7%, var(--night)) 43.8%, color-mix(in oklab, var(--paper) 50.0%, var(--night)) 50.0%, color-mix(in oklab, var(--paper) 59.3%, var(--night)) 56.2%, color-mix(in oklab, var(--paper) 68.4%, var(--night)) 62.5%, color-mix(in oklab, var(--paper) 76.8%, var(--night)) 68.8%, color-mix(in oklab, var(--paper) 84.4%, var(--night)) 75.0%, color-mix(in oklab, var(--paper) 90.8%, var(--night)) 81.2%, color-mix(in oklab, var(--paper) 95.7%, var(--night)) 87.5%, color-mix(in oklab, var(--paper) 98.9%, var(--night)) 93.8%, var(--paper) 100.0%);
    --hero-strip-full: linear-gradient(0deg, var(--paper) 0 4px, transparent 4px); /* last 4px solid paper: no hairline under the hero */
}
/* Phones: the TSL is always full width, whatever layout is set above */
@media (max-width: 767px) {
    :root {
        --page-bg: var(--paper); --sheet-max: none; --section-bg: transparent; --main-pad-b: 0px;
        --hero-pad-b: 90px; --hero-fade: var(--hero-fade-full); --hero-fade-h: 80px; --hero-strip: var(--hero-strip-full);
        --side-fade-h: 0px; --lead-pad-top: 16px;
    }
}
/* Review switches (components/style_query.php adds the body class): same values as the presets in 6 + 7 */
body.hero-bold {
    --hl-h-font: 800 64px/1.18 var(--display); --hl-h-track: 0; --hl-h-case: none; --hl-em-style: normal;
    --hl-rule: block; --hl-deck-font: 500 21px/1.55 var(--body); --hero-photo: none; --hero-pad-t: 56px;
}
body.hero-photo {
    --hl-h-font: 700 64px/1.08 "Oswald", var(--display); --hl-h-track: .005em; --hl-h-case: uppercase; --hl-em-style: normal;
    --hl-rule: block; --hl-deck-font: 500 21px/1.55 var(--body); --hl-deck: #E6E1D6;
    --hero-photo: var(--hero-photo-full); --hero-pad-t: 96px;
}
body.pre-red { --pre-fg: #FFF; --pre-bg: #C8102E; --pre-pad: 6px 12px; --pre-line: 0; --pre-radius: 3px; }
body.pre-yellow { --pre-fg: #000; --pre-bg: var(--lamp); --pre-pad: 6px 12px; --pre-line: 0; --pre-radius: 3px; }


* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; }
body {
    background: var(--paper);
    color: var(--ink);
    font: 500 24px/1.5 var(--body); /* /discover/read paragraphs: Montserrat 500, 24px/36px desktop + mobile */
    -webkit-font-smoothing: antialiased;
}
p { margin: 0; }
h1, h2, h3 { text-wrap: balance; margin: 0; }

/* ---------- Shared wrappers ---------- */
/* Page sheet: 1040px container like /discover, 30px side padding; every section and the buy set live inside it */
.sheet { max-width: var(--sheet); margin: 0 auto; background: var(--paper); box-shadow: 0 0 60px rgba(0, 0, 0, .45); }
.wrap {
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.col { max-width: var(--col); margin: 0 auto; display: grid; gap: 1.05em; }
.section { padding-block: 72px; }

.night { background: var(--night); color: var(--on-night); }
.night .col { gap: 1em; }

.kicker {
    font: 800 14px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
}
.night .kicker { color: var(--lamp); }
.h-sec {
    font: 900 clamp(30px, 5vw, 46px)/1.02 var(--display); text-transform: uppercase; letter-spacing: -.01em;
}
.h-sub {
    font: 900 clamp(28px, 4.4vw, 47px)/1.3 var(--display); margin-top: .9em; text-align: left; /* /discover 47px/900 */
}
.sec-head { display: grid; gap: 10px; margin-bottom: 14px; }
.strong-line { font-weight: 700; }
.alarm { color: var(--rust); font-weight: 700; }
.night .alarm { color: #FF7A66; }
.dim { color: var(--ink-soft); }

/* Scripture: the ※ reference marks come from the copy itself */
.verse {
    margin: .8em 0; padding: 30px 34px; position: relative;
    background: radial-gradient(rgba(0, 0, 0, 0) 0%, #E5E3DB 100%), var(--card); border: 1px solid #000; border-left: 8px solid var(--lamp); border-right: 8px solid var(--lamp);
    text-align: center; display: grid; gap: 12px;
}
.verse q { quotes: "\201C" "\201D"; font: italic 500 clamp(24px, 2.6vw, 31px)/1.3 var(--scripture); color: var(--ink); } /* /discover 31px */
.verse cite { font: 500 20px/1.3 var(--display); font-style: normal; color: var(--ink); } /* /discover ※ refs: 20px/500 */
.night .verse { background: rgba(255, 255, 255, .06); border: 1px solid var(--lamp); border-left: 8px solid var(--lamp); border-right: 8px solid var(--lamp); }
.night .verse q { color: var(--on-night); }
.night .verse cite { color: var(--on-night); }

.inner-voice { font-style: italic; padding-left: 18px; border-left: 3px solid var(--amber); }
.night .inner-voice { border-color: var(--lamp); }

/* ---------- Image placeholders (frame corners after survivalmd .video-frame, tag after .page-proof__tag) ---------- */
.ph {
    position: relative; margin: 1.2em 0; padding: 10px;
    background: var(--night-2);
}
.ph::before, .ph::after {
    content: ""; position: absolute; width: 46px; height: 46px; pointer-events: none;
}
.ph::before { top: -6px; left: -6px; border-top: 3px solid var(--lamp); border-left: 3px solid var(--lamp); }
.ph::after { right: -6px; bottom: -6px; border-right: 3px solid var(--lamp); border-bottom: 3px solid var(--lamp); }
.ph-inner {
    aspect-ratio: 16 / 9; max-width: 100%;
    display: grid; place-items: center; text-align: center; padding: 24px;
    background:
        repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px),
        radial-gradient(ellipse at 50% 40%, var(--ph-a), var(--ph-b) 75%);
    color: var(--on-night-soft);
    font: 600 15px/1.45 var(--display);
}
.ph-inner b { display: block; color: var(--on-night); font-size: 17px; margin-bottom: 4px; }
.ph.square .ph-inner { aspect-ratio: 4 / 3; }
.ph.tall .ph-inner { aspect-ratio: 3 / 4; }

/* ---------- Headline block (placeholders until copy delivers headlines) ---------- */
.hl-band {
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 204, 0, .10), transparent 70%),
        var(--night);
    color: var(--on-night);
    padding-block: 64px 56px;
}
.hl-band .col { max-width: 900px; gap: 14px; text-align: center; }
.hl-ph {
    padding: 4px 0;
    display: grid; gap: 4px; justify-items: center;
}
.hl-pre { font: 800 14px/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--lamp); }
.hl-main { font: 900 clamp(32px, 5.6vw, 56px)/1.04 var(--display); text-transform: uppercase; color: #fff; padding-block: 18px; }
.hl-sub { font: italic 600 clamp(19px, 2.6vw, 24px)/1.35 var(--body); color: var(--on-night); }

/* ---------- Lead (part of the letter, plain TSL paragraphs) ---------- */
.lead-salute { font-style: italic; }
.lead-verse { font: italic 500 clamp(24px, 2.6vw, 31px)/1.3 var(--scripture); color: var(--ink); }

/* ---------- Who I am ---------- */
.who { display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); gap: 28px; align-items: start; } /* portrait 35 / text 65 */
.who .ph { margin: 0; }
.who .col { margin: 0; }

/* ---------- Signs ---------- */
.signs-intro { text-align: center; }
.sign { border-top: 1px solid var(--rule-night); padding-block: 36px; } /* 72px between two signs (was 128px) */
.sign:first-of-type { border-top: 0; }
.sign-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: end; margin-bottom: 10px; }
.sign-no {
    grid-row: span 2;
    font: 900 clamp(64px, 11vw, 112px)/.8 var(--display); color: transparent;
    -webkit-text-stroke: 1.5px var(--lamp);
}
.sign-of { font: 800 20px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--lamp); }
.sign-title { font: 900 clamp(36px, 5.6vw, 72px)/1.1 var(--display); text-transform: uppercase; color: #fff; } /* /discover 72px/900 */
/* "The … takes your …" lines: gold plate (same #FFCC00 as /discover/read highlights), black text */
.sign-takes {
    margin-block: 1em; padding: 20px 26px;
    background: var(--lamp); border-left: 10px solid var(--amber);
    box-shadow: 0 10px 30px rgba(255, 204, 0, .18);
    font: 900 27px/1.3 var(--display); color: #000;
}
.usa { font: 900 clamp(30px, 4.4vw, 47px)/1.2 var(--display); text-transform: uppercase; color: #fff; text-align: center; padding-block: .3em; }

/* ---------- Darkening timeline: the band darkens as time passes ---------- */
.darkening .verse {
    margin-top: 1.2em; padding: 28px 30px;
    background: rgba(255, 204, 0, .07); border: 2px solid var(--lamp); border-radius: 4px;
    box-shadow: 0 0 40px rgba(255, 204, 0, .12);
}
.darkening .verse q { color: #FFF; }
.darkening .verse cite { color: #FFF; }
.darkening {
    background: linear-gradient(180deg, var(--paper) 0 4px, transparent 4px), linear-gradient(180deg, var(--dk1) 0%, var(--dk2) 22%, var(--dk3) 48%, var(--dk4) 75%, var(--dk5) 100%);
    color: var(--on-night);
}
.tl { list-style: none; margin: 1em 0; padding: 0; display: grid; gap: 0; }
.tl li { position: relative; display: grid; gap: .7em; padding: 22px 0 22px 34px; border-top: 1px solid rgba(255,255,255,.1); }
.tl li::before { content: ""; position: absolute; left: 4px; top: 33px; width: 12px; height: 12px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 4px rgba(255, 204, 0, .18); }
.tl li:nth-child(n+3)::before { background: #E0A800; }
.tl li:nth-child(n+4)::before { background: #B98A00; }
.tl-when { font-family: var(--display); font-weight: 900; color: #FFF; }

/* ---------- Light in their dwellings ---------- */
.dwell {
    background:
        radial-gradient(ellipse 60% 55% at 50% 0%, rgba(255, 204, 0, .28), transparent 72%),
        var(--paper);
}
.trio { display: grid; gap: .4em; padding: 6px 0 6px 22px; background: transparent; border-left: 4px solid var(--lamp); }
.trio p { font-weight: 600; }
.big-q { font: 800 clamp(26px, 2.8vw, 31px)/1.3 var(--display); }
.pull {
    font: italic 600 clamp(24px, 2.6vw, 31px)/1.3 var(--body);
    padding: 24px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); text-align: center;
}

/* ---------- Reveal ---------- */
.reveal-title { text-align: center; display: grid; gap: 6px; }
.reveal-title .pre { font: 800 13px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.reveal-title .name { font: 900 clamp(36px, 5.6vw, 72px)/1.1 var(--display); text-transform: uppercase; }
/* Metallic gold for "David's Shield" (solid fallback first) */
.reveal-title .name .ds {
    color: #A06F0C;
    background: linear-gradient(180deg, #B98712 0%, #A06F0C 50%, #7A4F05 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Lead runs straight into the shared ending: one paragraph gap, not two section paddings */
.lead-body { padding-bottom: 0; padding-top: 40px; } /* hero fade already gives the space above the lead */
.lead-cont { padding-top: 1.05em; }
.nw { white-space: nowrap; }
.reveal-title .sub { font: italic 700 clamp(24px, 2.6vw, 31px)/1.3 var(--body); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: p; }
.pillars li { padding: 14px 18px 14px 52px; position: relative; background: var(--paper-2); }
.pillars li::before {
    counter-increment: p; content: counter(p); position: absolute; left: 16px; top: 13px;
    width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--lamp);
    font: 800 13px/24px var(--display); text-align: center;
}

.chapters { display: grid; gap: 22px; margin-top: 1.4em; }
.chapter { background: var(--card); border: 1px solid var(--rule); padding: 28px 30px; display: grid; gap: .9em; }
.ch-label {
    font: 900 20px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--paper);
    background: var(--ink); justify-self: start; padding: 6px 10px;
}
.chapter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8em; }
.chapter li { position: relative; padding-left: 30px; }
.chapter li::before {
    content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px;
    background: var(--lamp); box-shadow: 0 0 0 3px var(--amber); border-radius: 50%;
}
.also { font-size: 20px; color: var(--ink-soft); padding-top: .8em; border-top: 1px dashed var(--rule); }
.also b { color: var(--ink); display: block; margin-bottom: 6px; }

/* ---------- Testimonials ---------- */
.testi { background: var(--night); color: var(--on-night); padding: 28px 30px; display: grid; gap: 12px; }
.testi q { quotes: "\201C" "\201D"; font: italic 500 24px/1.5 var(--body); }
.testi .who-line { display: flex; gap: 14px; align-items: center; }
.testi .avatar { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto; background: var(--night-3); border: 2px dashed var(--lamp); display: grid; place-items: center; font: 800 9px/1 var(--display); color: var(--lamp); text-align: center; }
.testi cite { font: 800 20px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: #FFF; }

/* ---------- Bonuses ---------- */
.bonuses { display: grid; gap: 22px; margin-top: 1em; }
.bonus { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; background: #F6F4EE; border: 1px solid var(--rule); }
.bonus .ph { margin: 0; }
.bonus-no { font: 800 12px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.bonus h3 { font: 900 28px/1.12 var(--display); margin: 4px 0 10px; }
.bonus .copy { display: grid; gap: .8em; min-width: 0; }
.bonus-name b { font-family: var(--display); font-weight: 900; font-size: 1.1em; }
/* Recap "receipt": values in numbers, the lifetime members' access as the crowning row */
.recap { border: 2px solid #000; background: #FFF; box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
.rc-list { list-style: none; margin: 0; padding: 0; }
.rc-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 24px; border-bottom: 1px dashed #BDB7A6; font-weight: 700; }
.rc-row .rc-ico { width: 30px; height: 30px; color: var(--lamp); }
.rc-name { min-width: 0; }
.rc-val { display: grid; justify-items: end; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; }
/* struck "$19 value" + FREE, like a crossed-out price tag */
.rc-was { position: relative; font: 700 20px/1.1 var(--display); color: #000; text-decoration: none; white-space: nowrap; }
.rc-was::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 3px; background: #CC0000; transform: rotate(-8deg); border-radius: 2px; }
.rc-free { font: 900 34px/1 var(--display); color: #CC0000; letter-spacing: .02em; }
.rc-core { background: var(--card); font-size: 1.08em; }
.rc-life { background: var(--night); color: #FFF; font-size: 1.12em; border-bottom: 0; padding-block: 24px; }
.rc-life .rc-ico { width: 38px; height: 38px; }
.rc-total { margin: 0; padding: 20px 24px; background: var(--lamp); color: #000; font: 900 clamp(22px, 2.4vw, 27px)/1.3 var(--display); text-align: center; }
@media (max-width: 767px) {
    .rc-row { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
    .rc-free { font-size: 28px; }
    .rc-was { font-size: 16px; }
}

/* ---------- Buy buttons: HTML/CSS rebuild of physical-button-67_v2 / digital-button-67
   (structure after mypocketfarm tgp/resources/components/noshipping_buttons.php) ---------- */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.buy-set {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: end;
    margin: 150px auto 1.2em; max-width: 1040px; width: 100%;
}
.buy-wide { max-width: var(--col); width: 100%; margin: 0 auto; }
.buy-img img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .28)); }
.pay-logos { display: block; width: min(100%, 300px); height: auto; margin: 0 auto; }
.glow-wrap {
    padding: 6px; border-radius: 18px;
    background: conic-gradient(from var(--a), #ffd700 0%, #ffb300 15%, #ffc107 30%, #f9a825 45%, #ffca28 60%, #ffa000 75%, #ffd700 100%);
    animation: borderRotate 2s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, .53));
}
@keyframes borderRotate { to { --a: 360deg; } }
.buy-card {
    border-radius: 14px; padding: 16px 18px 20px; display: grid; gap: 12px; justify-items: center; text-align: center;
    font-family: var(--display);
}
.buy-card.phys { background: #F8F6EE; border: 4px solid #6D4A20; }
.buy-card.digi { background: #F7F7F5; border: 2px solid #CFCFCF; }
.buy-img { margin-top: -150px; width: 100%; }
.buy-img .ph { margin: 0; }
.buy-img .ph-inner { aspect-ratio: 16 / 10; }
.digital-label { display: none; }
.buy-list { display: grid; gap: 6px; width: 100%; text-align: left; }
.buy-li { display: flex; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 5px; font: 500 clamp(14px, 1.5vw, 17px)/1.25 var(--display); }
.buy-li b { font-weight: 800; text-transform: uppercase; }
.buy-li svg { width: 26px; height: 26px; flex: 0 0 auto; }
.phys .buy-li { color: #fff; }
.phys .buy-li svg rect { fill: #fff; stroke: none; }
.phys .buy-li svg path { stroke: #222; }
.phys .li-hard { background: #C9590C; }
.phys .li-digi { background: #5A1414; }
.phys .li-bonus { background: #0B0B0B; }
.digi .buy-li { padding: 2px 0; }
.digi .buy-li svg rect { fill: none; stroke: currentColor; stroke-width: 40; }
.digi .buy-li svg path { stroke: currentColor; }
.digi .li-digi { color: #5A1414; }
.digi .li-bonus { color: #000; }
.price-box { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: center; color: #000; }
.price-big { font: 900 clamp(54px, 6.4vw, 72px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-sml { text-align: left; font: 800 22px/1.1 var(--display); }
.price-sml span { display: block; font: 600 14px/1.3 var(--display); }
.cta-btn {
    display: grid; gap: 6px; justify-items: center; width: min(100%, 420px);
    padding: 16px 20px; border-radius: 14px; text-decoration: none; color: #000;
    background: linear-gradient(180deg, #FFD21F, #F7B500); border: 2px solid #C99500;
    box-shadow: rgba(50, 50, 93, .11) 0 4px 6px, rgba(0, 0, 0, .08) 0 1px 3px;
}
.cta-btn.pulse { animation: dk-pulsing 1s ease infinite; }
/* own name: the Trackplay player (/watch) injects its own "@keyframes pulsing" (scale 1.1) that would replace this one */
@keyframes dk-pulsing {
    0% { transform: scale(1); box-shadow: rgba(0, 0, 0, .3) 0 0 0 0; }
    70% { transform: scale(1.01); box-shadow: transparent 0 0 0 10px; }
    100% { transform: scale(1); box-shadow: transparent 0 0 0 0; }
}
.cta-btn:hover { background: linear-gradient(180deg, #F5C400, #E0A800); }
.cta-btn:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.cta-big { display: flex; gap: 10px; align-items: center; font: italic 900 clamp(28px, 3.4vw, 40px)/1 var(--display); }
.cta-big svg { width: 32px; height: 32px; }
.cta-sml { font: 700 15px/1 var(--display); }
.cta-text { font: 600 17px/1.4 var(--display); color: #1F5FD1; text-decoration: underline; }
.pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pay-row span { font: 800 10px/1 var(--display); letter-spacing: .04em; padding: 7px 8px; border: 1px solid #C9C9C9; background: #fff; color: #333; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* Trust badges rebuilt in HTML/SVG after the /discover button images */
.tb { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; line-height: 1; }
.tb span { display: grid; gap: 2px; text-align: left; }
.tb small { font: 700 11px/1 var(--display); letter-spacing: .02em; }
.tb b { font: 700 25px/.95 "Oswald", Impact, "Arial Narrow", sans-serif; letter-spacing: -.01em; }
.tb-guar { color: #000; }
.tb-guar svg { width: 38px; height: 38px; flex: 0 0 auto; }
.tb-ssl { background: #000; color: #FFF; padding: 7px 14px 7px 10px; border-radius: 3px; }
.tb-ssl svg { width: 28px; height: 32px; flex: 0 0 auto; }
.tb-ssl small { font: 500 12px/1 var(--display); letter-spacing: .06em; }
.tb-ssl b { font: 700 21px/1 var(--display); letter-spacing: .03em; }

.night 
/* ---------- Guarantee ---------- */
.guar { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: start; }
.guar-badge { display: block; width: 100%; height: auto; }
.guar .ph-inner { aspect-ratio: 1; border-radius: 50%; }
.guar .ph { border-radius: 50%; }
.guar .ph::before, .guar .ph::after { display: none; }

/* ---------- Close ---------- */
.needs { display: grid; gap: .3em; padding-left: 18px; border-left: 3px solid var(--rust); font-weight: 600; }
.sign-off { font: italic 700 24px/1.5 var(--body); } /* same size as the paragraphs */

/* ---------- Logo band (copied from /discover/watch .logo-section) ---------- */
.logo-section { background: #F5F1E8; border-top: 1px solid #DDD6C5; text-align: center; padding-block: 25px; }
.logo-section img { display: inline-block; max-width: 220px; height: auto; }


/* ---------- Watch (VSL) view ---------- */
.watch-hero { background: var(--watch-bg); color: var(--watch-text); padding-block: 56px 72px; }
.watch-hero .vsl-sound { color: var(--watch-text); }
.watch-hero .col { max-width: 1360px; gap: 22px; text-align: center; } /* as wide as the TSL headline; the video stays 960px */
.watch-hero .vsl-frame { max-width: 960px; justify-self: center; }
.watch-hero .ph-inner { aspect-ratio: 16 / 9; }
.vsl-pre { font: 800 13px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--lamp); }
.vsl-h { font: 900 clamp(26px, 4.4vw, 42px)/1.08 var(--display); text-transform: uppercase; color: #fff; }
.vsl-sound { font: 600 14px/1.3 var(--display); color: var(--on-night-soft); }
.vsl-frame { width: 100%; }
body.vsl { background: var(--watch-page-bg); } /* watch page under the hero (STYLE SETTINGS > 2) */
body.vsl .section.buy-band { padding-bottom: 72px; } /* watch: band holding the buy buttons */
.vsl-frame .ph { margin: 0; }


/* ================= Round 2 (Marian's feedback) ================= */

/* Layout of the TSL (values in STYLE SETTINGS > 3): full-width bands, or a 1040px white container on the cream frame */
body.tsl { background: var(--page-bg); }
body.tsl main > section, body.tsl main > div { max-width: var(--sheet-max); margin-inline: auto; } /* logo band stays full width in every layout */
body.tsl main > section { display: flow-root; } /* child margins (e.g. the buy set's bottom margin in Guarantee) stay inside the section: no cream gap in the inner container */
body.tsl main > section:not(.night):not(.darkening), body.tsl #lead-slot > section, body.tsl #lead-slot-arr > section { background-color: var(--section-bg); }
body.tsl main { padding-bottom: var(--main-pad-b); }
/* inner container: below the hero the page background fades from black into the cream frame (like /discover/read .sec2) */
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); /* 1px under the hero: no cream seam when its height is fractional */ height: var(--side-fade-h); z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, var(--night) 0.0%, color-mix(in oklab, var(--frame) 0.5%, var(--night)) 4.2%, color-mix(in oklab, var(--frame) 2.0%, var(--night)) 8.3%, color-mix(in oklab, var(--frame) 4.3%, var(--night)) 12.5%, color-mix(in oklab, var(--frame) 7.4%, var(--night)) 16.7%, color-mix(in oklab, var(--frame) 11.2%, var(--night)) 20.8%, color-mix(in oklab, var(--frame) 15.6%, var(--night)) 25.0%, color-mix(in oklab, var(--frame) 20.6%, var(--night)) 29.2%, color-mix(in oklab, var(--frame) 25.9%, var(--night)) 33.3%, color-mix(in oklab, var(--frame) 31.6%, var(--night)) 37.5%, color-mix(in oklab, var(--frame) 37.6%, var(--night)) 41.7%, color-mix(in oklab, var(--frame) 43.8%, var(--night)) 45.8%, color-mix(in oklab, var(--frame) 50.0%, var(--night)) 50.0%, color-mix(in oklab, var(--frame) 56.2%, var(--night)) 54.2%, color-mix(in oklab, var(--frame) 62.4%, var(--night)) 58.3%, color-mix(in oklab, var(--frame) 68.4%, var(--night)) 62.5%, color-mix(in oklab, var(--frame) 74.1%, var(--night)) 66.7%, color-mix(in oklab, var(--frame) 79.4%, var(--night)) 70.8%, color-mix(in oklab, var(--frame) 84.4%, var(--night)) 75.0%, color-mix(in oklab, var(--frame) 88.8%, var(--night)) 79.2%, color-mix(in oklab, var(--frame) 92.6%, var(--night)) 83.3%, color-mix(in oklab, var(--frame) 95.7%, var(--night)) 87.5%, color-mix(in oklab, var(--frame) 98.0%, var(--night)) 91.7%, color-mix(in oklab, var(--frame) 99.5%, var(--night)) 95.8%, var(--frame) 100.0%); }

/* Hero (TSL): the lead's headline on the dark band (look: STYLE SETTINGS > 6; option C puts the photo behind it) */
.hero {
    position: relative; color: #FFF; text-align: center; padding-block: var(--hero-pad-t) var(--hero-pad-b);
    background:
        var(--hero-strip),
        var(--hero-fade) left bottom / 100% var(--hero-fade-h) no-repeat,
        var(--hero-photo),
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 204, 0, .10), transparent 70%),
        var(--night);
}
.hero-in { max-width: 1360px; margin: 0 auto; }

/* Hero headline (read + watch, bodies/inserts/headline_*.php): prehead (Lead 3), headline, rule, subhead.
   Sizes: prehead 16px · headline 64px · subhead 21px (phones: 14 / 36 / 18). */
.hl { display: grid; justify-items: center; gap: 18px; text-align: center; width: fit-content; max-width: min(1360px, 100%); margin: 0 auto; } /* as wide as its widest line; 1360px keeps the lines with the big word whole (1440px screens) */
.hl > * { margin: 0; }
.hl-head { display: contents; } /* prehead + headline sit in the .hl grid; the script in headline_lead_3.php moves the prehead to where the text starts */
.hl-head > * { margin: 0; }
.hl-kicker {
    justify-self: start; margin-bottom: -4px; /* 14px to the headline */
    font: 700 18px/1.3 var(--display); letter-spacing: .01em; text-align: left; /* as written in the copy, no caps */
    color: var(--pre-fg); background: var(--pre-bg); padding: var(--pre-pad); border-left: var(--pre-line); border-radius: var(--pre-radius);
}
.hl-h { font: var(--hl-h-font); letter-spacing: var(--hl-h-track); text-transform: var(--hl-h-case); color: var(--hl-h); text-wrap: balance; }
.hl-em { color: var(--hl-em); font-style: var(--hl-em-style); }
/* .hl-br = the break between the two parts of the headline: on every screen (the second part always starts on a new line) */
/* .line-break = the agreed breaks (Traian / Marius): on every screen. .responsive-br = desktop only.
   Phones: a part that does not fit wraps at the &nbsp;-bound groups ("Book of Jeremiah?", "Leaves America", "Your Family"...), never one word alone */
@media (max-width: 1024px) { .hl-h .responsive-br { display: none; } }
.hl-rule { display: var(--hl-rule); width: 72px; height: 3px; background: var(--hl-em); border-radius: 2px; }
.hl-deck { max-width: 780px; font: var(--hl-deck-font); color: var(--hl-deck); text-wrap: pretty; }
@media (max-width: 767px) {
    .hl { gap: 14px; }
    .hl-kicker { font-size: 16px; }
    .hl-h { font-size: min(36px, 9.4vw); } /* narrow phones: smaller, so no line is left with one word */
    .hl-deck { font-size: 18px; }
}
/* Hero headline per lead (final mix; ?hero=b / c keep their own type, split1057 tv 0-3):
   tv 0, 1, 3: first line bold sans (Montserrat 800), second line serif italic; the big word 1.4x: BLACKOUT (tv 0) and GRID (tv 1) in caps, America (tv 3) in normal case
   tv 2:     the whole headline in condensed caps (Oswald 700), no big word; subhead Montserrat 500
   Every line ends with two words held together (&nbsp;): never one word alone on a line */
body:not(.hero-bold):not(.hero-photo) .hl-mix { line-height: 1.14; }
body:not(.hero-bold):not(.hero-photo) .hl-mix .hl-l1 { font-family: var(--display); font-weight: 800; letter-spacing: 0; }
body:not(.hero-bold):not(.hero-photo) .hl-caps { font-family: "Oswald", var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; line-height: 1.08; font-size: 72px; }
body:not(.hero-bold):not(.hero-photo) .hl-caps .hl-em { font-style: normal; }
body:not(.hero-bold):not(.hero-photo) .hl-key { text-transform: uppercase; font-size: 1.4em; line-height: 1; letter-spacing: .01em; } /* the big word (Makepeace swipe file) */
body:not(.hero-bold):not(.hero-photo) .hl-key-plain { text-transform: none; letter-spacing: 0; } /* big, normal case (America, tv 3) */
@media (max-width: 767px) { /* phones: the big word 1.25x */
    body:not(.hero-bold):not(.hero-photo) .hl-key { font-size: 1.25em; }
    body:not(.hero-bold):not(.hero-photo) .hl-key-wide { font-size: 1.05em; }
    body:not(.hero-bold):not(.hero-photo) .hl-caps { font-size: min(42px, 11vw); } /* tv 2: a bit bigger than the other leads */
    body:not(.hero-bold):not(.hero-photo) .hl-em-fit .hl-em { font-size: min(1em, calc((100vw - 48px) / 11)); } /* tv 3: "The Reason Could Plunge" and "Your Family Into Darkness" one line each */ /* two big words (GREAT BLACKOUT): stays inside 320px */
    body:not(.hero-bold):not(.hero-photo) .hl-mix .hl-l1 { font-size: min(1em, 8vw); } /* "Grandpa Didn't" fits one line down to 320px */
}
body:not(.hero-bold):not(.hero-photo) .hl-deck-sans { font-weight: 500; }
/* tv 1: two lines of the same length on desktop (sans line smaller, italic line bigger) */
@media (min-width: 1025px) {
    body:not(.hero-bold):not(.hero-photo) .hl-even .hl-l1 { font-size: .9em; }
    body:not(.hero-bold):not(.hero-photo) .hl-even .hl-em { font-size: 1.33em; }
}
/* VSL hero (STYLE SETTINGS > 2): dark text and the watch red on the light background */
.watch-hero .hl { --hl-h: var(--watch-pre); --hl-em: var(--watch-h); --hl-deck: color-mix(in oklab, var(--watch-text) 78%, transparent); }
.watch-hero .hl-kicker { --pre-fg: var(--watch-pre); }
body.pre-red .watch-hero .hl-kicker { --pre-fg: #FFF; }
body.pre-yellow .watch-hero .hl-kicker { --pre-fg: #000; }

.signs { padding-block: 0; position: relative; background: linear-gradient(0deg, var(--paper) 0 4px, var(--night) 4px); } /* last 4px already paper: no dark hairline under the torn edge */
/* Short eased fades (smoothstep, OKLab), each inside one element and ending on the neighbour's exact colour (no hairline seams).
   The sign title may sit on the last, almost-black part of the fade: text keeps full contrast. */
/* Who I Am -> Sign #1: 10px white / 120px fade / sign head (values set by Marius) */
.fade-to-night { height: 120px; margin: 0 calc(-1 * var(--gutter)); background: linear-gradient(180deg, var(--paper) 0.0%, color-mix(in oklab, var(--night) 0.7%, var(--paper)) 5.0%, color-mix(in oklab, var(--night) 2.8%, var(--paper)) 10.0%, color-mix(in oklab, var(--night) 6.1%, var(--paper)) 15.0%, color-mix(in oklab, var(--night) 10.4%, var(--paper)) 20.0%, color-mix(in oklab, var(--night) 15.6%, var(--paper)) 25.0%, color-mix(in oklab, var(--night) 21.6%, var(--paper)) 30.0%, color-mix(in oklab, var(--night) 28.2%, var(--paper)) 35.0%, color-mix(in oklab, var(--night) 35.2%, var(--paper)) 40.0%, color-mix(in oklab, var(--night) 42.5%, var(--paper)) 45.0%, color-mix(in oklab, var(--night) 50.0%, var(--paper)) 50.0%, color-mix(in oklab, var(--night) 57.5%, var(--paper)) 55.0%, color-mix(in oklab, var(--night) 64.8%, var(--paper)) 60.0%, color-mix(in oklab, var(--night) 71.8%, var(--paper)) 65.0%, color-mix(in oklab, var(--night) 78.4%, var(--paper)) 70.0%, color-mix(in oklab, var(--night) 84.4%, var(--paper)) 75.0%, color-mix(in oklab, var(--night) 89.6%, var(--paper)) 80.0%, color-mix(in oklab, var(--night) 93.9%, var(--paper)) 85.0%, color-mix(in oklab, var(--night) 97.2%, var(--paper)) 90.0%, color-mix(in oklab, var(--night) 99.3%, var(--paper)) 95.0%, var(--night) 100.0%); }
.section:not(.darkening):has(+ .signs) { padding-bottom: 10px; }
.signs .sign { position: relative; }
.signs .sign:first-of-type { padding-top: 32px; border-top: 0; }
/* last sign runs straight into the torn edge: the SVG's top ~40px are transparent, so pull it up over the sign's bottom margin */
.signs .sign:last-of-type { padding-bottom: 0; }
.signs > .sep-torn { margin-top: -24px; }
.sep-torn { color: var(--paper); line-height: 0; margin-inline: calc(-1 * var(--gutter)); margin-top: 8px; margin-bottom: 0; position: relative; background: linear-gradient(0deg, var(--paper) 0 6px, transparent 6px); }
.sep-torn svg { display: block; width: 100%; height: 110px; transform: rotate(180deg) translateY(-2px); } /* overlap the paper strip so the anti-aliased edge row sits on paper */
/* Torn edge opening a dark band (paper on top, ragged edge pointing down), e.g. the Darkening */
.sep-torn.sep-top { margin-top: 0; margin-bottom: 40px; background: linear-gradient(180deg, var(--paper) 0 6px, transparent 6px); }
.sep-torn.sep-top svg { transform: translateY(-2px); }

/* Emphasis (only a handful, chosen by message weight) */
.em-triple { position: relative; display: inline-block; padding-bottom: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 34' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23CC0000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath vector-effect='non-scaling-stroke' stroke-width='3.6' d='M2 7 C40 4 85 8 130 5 S220 3 262 6 C280 7 292 5 298 4'/%3E%3Cpath vector-effect='non-scaling-stroke' stroke-width='3.2' d='M3 18 C30 16 70 19 110 17 S175 15 204 18'/%3E%3Cpath vector-effect='non-scaling-stroke' stroke-width='3' d='M4 29 C25 27 55 30 85 28 S125 27 138 29'/%3E%3C/g%3E%3C/svg%3E") left bottom / 100% 34px no-repeat; }
.em-circle { position: relative; display: inline-block; padding: 10px 34px; margin: 12px 0; }
.em-circle::after { content: ""; position: absolute; inset: -16px -10px -14px -14px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23CC0000' stroke-linecap='round'%3E%3Cpath vector-effect='non-scaling-stroke' stroke-width='3.4' d='M222 9 C318 6 394 24 391 50 C388 80 304 95 200 93 C96 91 9 79 7 53 C5 27 66 11 160 7 C196 6 240 8 276 16'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.em-mark {
    margin: 0 -.3em; padding: .05em .3em; border-radius: .8em .3em;
    background: linear-gradient(102deg, rgba(255, 204, 0, 0) .6%, rgba(255, 204, 0, .9) 2.2%, rgba(255, 204, 0, .7) 6%, rgba(255, 204, 0, .45) 92%, rgba(255, 204, 0, .8) 97%, rgba(255, 204, 0, 0) 99%),
        linear-gradient(181deg, rgba(255, 204, 0, 0) 0%, rgba(255, 204, 0, .3) 10%, rgba(255, 204, 0, 0) 16%);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.em-mark-dark { background: var(--lamp); color: #000; padding: 0 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.em-under { padding-bottom: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath vector-effect='non-scaling-stroke' fill='none' stroke='%23FFCC00' stroke-width='3.5' stroke-linecap='round' d='M3 8 C70 3 160 11 297 5'/%3E%3C/svg%3E") left bottom / 100% 12px no-repeat; font-weight: 700; }


/* White sections flow as one continuous letter: only the paragraph gap between them,
   section padding only next to dark bands (signs, Darkening) and at the end of the page */
.section:not(.darkening) { padding-block: 1.05em 0; }
.section.darkening { padding-top: 0; } /* opens on the torn-paper edge on every viewport */
.section.lead-body { padding-block: var(--lead-pad-top) 0; }
.signs + .section, .darkening + .section { padding-top: 56px; }
.section:not(.darkening):has(+ .darkening) { padding-bottom: 40px; }
main > .section:last-of-type { padding-bottom: 72px; }

/* Guarantee certificate: parchment, double frame, badge as a seal on the top edge */
.cert {
    position: relative; margin: 130px 0 1em; padding: 120px 48px 44px;
    background: radial-gradient(ellipse at 50% 30%, #FFFEF8 0%, #FBF5E2 70%, #F2E8C8 100%);
    border: 3px solid #6D4A20;
    box-shadow: inset 0 0 0 8px #FBF5E2, inset 0 0 0 10px #C9A24A, 0 18px 40px rgba(0, 0, 0, .12);
}
.cert-seal { position: absolute; top: -100px; left: 50%; width: 200px; height: auto; transform: translateX(-50%) rotate(-6deg); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); }
.cert-body { display: grid; gap: 1.05em; }
.cert-title { text-align: center; font-size: clamp(24px, 2.6vw, 31px); line-height: 1.3; padding-bottom: .4em; border-bottom: 2px dashed #C9A24A; }
.cert-title b { display: block; font-weight: 900; text-transform: uppercase; }
.cert-stamp { justify-self: center; text-align: center; padding: 10px 22px; border: 3px solid #CC0000; color: #CC0000; transform: rotate(-2deg); border-radius: 6px; }
.cert-stamp b { color: #CC0000; }

/* Bonuses, after /discover/read: cover tilted and pushed out of the box on desktop, title on a dark bar, "+" between */
.bonuses { gap: 0; }
.bonus {
    grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 30px; padding: 24px; align-items: center;
    background: radial-gradient(rgba(0, 0, 0, 0) 0%, #E5E3DB 100%), var(--card); border: 1px solid #000;
}
.bonus-cover img, .bonus-cover .ph { display: block; width: calc(100% + 60px); max-width: none; height: auto; margin-left: -70px; transform: rotate(-2deg); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.bonus-name { background: var(--night); color: #FFF; border: 1px solid #FEFFEF; padding: 15px 18px; font-size: 24px; line-height: 1.35; }
.bonus-name b { display: block; font: 900 27px/1.3 var(--display); color: #FFF; }
/* Joint between bonus cards (values in STYLE SETTINGS > 4): line, or a gold pill with an arrow / plus, centred on the card */
.bonus-joint {
    justify-self: center; position: relative; display: grid; place-items: center; box-sizing: border-box; z-index: 2;
    width: var(--joint-w); height: var(--joint-h); margin-top: var(--joint-mt);
    background: var(--joint-bg); border: var(--joint-border); border-radius: var(--joint-radius); box-shadow: var(--joint-shadow); color: #000;
}
.bonus-joint::after {
    content: ""; display: var(--joint-tip); position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 14px solid #E0A800;
}
.bonus-joint svg { display: none; }
.bonus-joint .j-arrow { display: var(--joint-arrow); width: 34px; height: 18px; }
.bonus-joint .j-plus { display: var(--joint-plus); width: 22px; height: 22px; }
.bonus-bridge { text-align: center; font-weight: 700; padding: 16px 0 40px; }

@media (max-width: 767px) {
    .bonus { grid-template-columns: minmax(0, 1fr); }
    .cert { padding: 100px 18px 28px; margin-top: 110px; }
    .cert-seal { width: 160px; top: -80px; }
    .bonus-cover { max-width: 240px; margin: 0 auto; }
    .bonus-cover img, .bonus-cover .ph { margin: 0; width: 100%; }
}

/* ---------- Content images (Calin, img/darkening/NN-*.webp): one per highlighted line ---------- */
.pic { margin: 1.4em auto; width: 100%; } /* fill the column (a grid item with auto margins would shrink to the image) */
.pic img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.night .pic img, .darkening .pic img { box-shadow: 0 12px 30px rgba(0, 0, 0, .55); }
.pic-square { max-width: 640px; }
.pic-tall { max-width: 460px; }
.pic-card { max-width: none; } /* designer cards (testimonial, value stack, price): full width, no frame of ours */
.pic-card img, .pic-sign img { box-shadow: none; border-radius: 0; }
.pic-sign { width: 50%; margin: .4em 0 0; } /* signature: half the column, readable */
.pic-page { max-width: 640px; margin: 16px auto 8px; } /* book pages: large enough to read */
.who-pic { margin: 0; }
.who-pic img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; }
.cert-seal { width: 260px; top: -110px; transform: translateX(-50%); }
/* Side by side: the image floats beside its paragraphs, the text continues under it (phones: image on top) */
.flow { display: flow-root; }
.flow > :nth-child(n+3) { margin-top: 1.05em; }
.pic-float { width: var(--w, 48%); margin: .3em 0 1em; }
.pic-float img[style*="--ar"] { aspect-ratio: var(--ar); object-fit: cover; } /* short text beside a tall image: trim the image a little */
.pic-float.pic-right { float: right; margin-left: 32px; }
.pic-float.pic-left { float: left; margin-right: 32px; }
.flow > .sign-takes, .flow > .pull, .flow > .usa { display: flow-root; } /* boxed lines stay beside the image, never under it */
/* a list beside a floated image flows like text: items run next to the image, then use the full width under it
   (grid lists and items would form their own column and keep the whole list beside the image) */
.flow > .tl, .flow > .tl > li { display: block; }
.flow > .tl > li > * + * { margin-top: .7em; }
.flow .tl .pic { display: flow-root; } /* an image inside an item goes under the floated one, never behind it */
.pic-float { position: relative; z-index: 1; } /* above the items' divider lines (the items are position: relative) */
@media (max-width: 767px) {
    .pic-float.pic-right, .pic-float.pic-left { float: none; width: auto; max-width: 460px; margin: 0 auto 1.05em; }
    .pic-float img[style*="--ar"] { aspect-ratio: auto; }
    .who { grid-template-columns: minmax(0, 1fr); }
    .who-pic { max-width: 320px; }
}
/* before / after curtain (#3) */
.ba { position: relative; overflow: hidden; border-radius: 4px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); touch-action: pan-y; }
.ba img { box-shadow: none; border-radius: 0; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #FFF; box-shadow: 0 0 8px rgba(0, 0, 0, .5); pointer-events: none; }
.ba-line::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
    background: var(--lamp); color: #000; font: 900 22px/44px var(--display); text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.ba-tag { position: absolute; top: 12px; padding: 6px 10px; background: rgba(0, 0, 0, .7); color: #FFF; font: 800 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.ba-tag-b { left: 12px; }
.ba-tag-a { right: 12px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(input:focus-visible) { outline: 3px solid var(--lamp); outline-offset: 3px; }
@media (max-width: 767px) {
    .pic-tall { max-width: 340px; }
    .cert-seal { width: 210px; top: -90px; }
}

/* ---------- /read-arranged: text | image rows in zig-zag (Bootstrap-like col-md-7 / col-md-5, square + portrait 8 / 4) ----------
   DOM order: text ending with the image's line, the image, text after it -> on phones every image follows its line;
   on desktop both text groups share one column and the image (cropped to fit when .arr-fill) takes their height */
.arr-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 32px; row-gap: 0; align-items: start; }
.arr-row.arr-p { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.arr-row.arr-left { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.arr-row.arr-left.arr-p { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.arr-row.arr-half, .arr-row.arr-left.arr-half { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } /* 50 / 50 (the before / after slider needs room to be read) */
.arr-text, .arr-more { display: grid; gap: 1.05em; grid-column: 1; }
.arr-text { grid-row: 1; }
.arr-more { grid-row: 2; margin-top: 1.05em; }
.arr-nob > .arr-more { grid-row: 1; margin-top: 0; }
.arr-pic { margin: 0; width: auto; grid-column: 2; grid-row: 1 / span 2; position: relative; }
.arr-left > .arr-text, .arr-left > .arr-more { grid-column: 2; }
.arr-left > .arr-pic { grid-column: 1; }
.arr-pic.arr-fill { align-self: stretch; min-height: 140px; }
.arr-pic.arr-fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arr-pic:not(.arr-fill) { align-self: center; }
.arr-solo { width: 66%; margin: 1.4em auto; } /* an image alone on its row: never the full container width */
.arr-solo.arr-p { width: 40%; }
.arr-solo.arr-wide { width: 85%; } /* landscape that carries its paragraph alone (lead 3 tower) */
@media (max-width: 767px) {
    .arr-row { display: block; }
    .arr-row > .arr-pic { margin: 1.05em 0; }
    .arr-row > .arr-pic:last-child { margin-bottom: 0; }
    .arr-more { margin-top: 0; }
    .arr-pic.arr-fill { min-height: 0; }
    .arr-pic.arr-fill img { position: static; height: auto; }
    .arr-solo, .arr-solo.arr-p, .arr-solo.arr-wide { width: 100%; margin-block: 0; } /* the column gap already spaces it, like the images inside rows */
    .arr-p > .arr-pic, .arr-solo.arr-p { max-width: 340px; margin-inline: auto; }
}

/* arranged: the timeline photos sit beside the bullets (40%, alternating) instead of spanning the column */
.tl .pic-tl { width: 40%; display: block; margin: .3em 0 .8em; position: relative; z-index: 1; }
.tl .pic-tl.pic-left { float: left; clear: left; margin-right: 28px; }
.tl .pic-tl.pic-right { float: right; clear: right; margin-left: 28px; }
@media (max-width: 767px) { .tl .pic-tl.pic-left, .tl .pic-tl.pic-right { float: none; width: auto; margin: 1.05em 0 0; } }


@media (max-width: 760px) {
    :root { --gutter: 16px; }
    .section { padding-block: 56px; }
    .who, .guar, .bonus { grid-template-columns: minmax(0, 1fr); }
    .who .ph, .guar-badge { max-width: 180px; }
    .tl li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .chapter, .bonus, .testi { padding: 22px 18px; }
    }
@media (max-width: 767px) {
    .buy-set { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 120px; }
    .buy-img { margin-top: -120px; }
    .buy-card.digi { margin-top: 170px; }
    .digital-label { display: block; font: 800 26px/1.15 var(--display); color: var(--ink); margin-bottom: 8px; }
    .buy-card { padding: 10px 10px 16px; }
}
@media (prefers-reduced-motion: reduce) { .glow-wrap, .cta-btn.pulse { animation: none; } }

/* ---------- Reader reviews (after the reveal): two columns of cards, one on phones ---------- */
.reviews { margin-top: 1.4em; display: grid; gap: 22px; }
.reviews-head { font: 900 clamp(28px, 3.6vw, 40px)/1.2 var(--display); text-align: center; }
.reviews-grid { columns: 2 320px; column-gap: 22px; }
.review {
    break-inside: avoid; margin: 0 0 22px; padding: 24px 26px 20px; display: grid; gap: 14px;
    background: var(--card); border: 1px solid #E2DDCF; border-top: 4px solid var(--lamp);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}
.review blockquote { margin: 0; }
.review blockquote p { font: italic 500 20px/1.55 var(--body); color: var(--ink); }
.review-name { font: 800 15px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); display: flex; align-items: center; gap: 10px; }
.review-name::before { content: ""; width: 26px; height: 2px; background: var(--lamp); flex: 0 0 auto; }
.reviews-foot { text-align: center; font: italic 600 clamp(22px, 2.4vw, 26px)/1.4 var(--body); }
@media (max-width: 767px) {
    .reviews-grid { columns: 1; }
    .review { padding: 20px 18px 16px; }
    .review blockquote p { font-size: 19px; }
}

/* CTA in the close that jumps to the buy buttons below it (same yellow button as the buy cards) */
.cta-jump { justify-self: center; width: min(100%, 380px); margin: .4em auto; cursor: pointer; }
#order-close .buy-img { scroll-margin-top: 16px; } /* the jump lands just above the bundle image */
.price-shot { max-width: 640px; margin: .4em auto 0; } /* price reveal: product shot + "Order Now!" jump to #order */

/* Soft edges on the photos (Alina), the mask-image technique from the blog Marius found: two gradients (top/bottom and
   left/right) that go from transparent at the edge to black (= visible), intersected, so all four sides fade out.
   Very subtle: --pic-fade is the share of the picture that fades on each side. Not on the cards, book pages,
   signature or seal. */
:root { --pic-fade: 2%; }
.pic:not(.pic-card):not(.pic-sign):not(.pic-page) img, .ba {
    box-shadow: none; border-radius: 4px;
    mask-image:
        linear-gradient(180deg, transparent 0%, black var(--pic-fade), black calc(100% - var(--pic-fade)), transparent 100%),
        linear-gradient(90deg, transparent 0%, black var(--pic-fade), black calc(100% - var(--pic-fade)), transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image:
        linear-gradient(180deg, transparent 0%, black var(--pic-fade), black calc(100% - var(--pic-fade)), transparent 100%),
        linear-gradient(90deg, transparent 0%, black var(--pic-fade), black calc(100% - var(--pic-fade)), transparent 100%);
    -webkit-mask-composite: destination-in;
}
.ba img { -webkit-mask-image: none; mask-image: none; }

/* ---------- Buy button (STYLE SETTINGS > 5): the new single physical button, or the current set ---------- */
.buy-set { display: var(--bb-current); }
.buy-card.digi { display: none; }   /* digital option dropped (styles kept in case it comes back) */
.buy-set { grid-template-columns: minmax(0, 600px); justify-content: center; }
.bb-new {
    display: var(--bb-new); width: 100%; max-width: 640px; margin: 40px auto 1.2em; border-radius: 16px; overflow: hidden;
    background: #FBF4E6; box-shadow: 0 18px 44px rgba(0, 0, 0, .28); font-family: "Oswald", var(--display); color: #2A1A0E;
}
.bbn-top { position: relative; padding: 22px 18px 6px; background: linear-gradient(180deg, #EFE2C8, #F8EFDD); }
.bbn-bundle { display: block; width: 100%; height: auto; }
.bbn-badge { position: absolute; right: 8px; bottom: -14px; width: 30%; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.bbn-perks { display: grid; grid-template-columns: 1fr 1fr; padding: 18px 18px 16px; border-top: 1px solid #E6D8BC; }
.bbn-perk { display: flex; align-items: center; gap: 12px; font: 700 clamp(17px, 2vw, 23px)/1.1 "Oswald", var(--display); }
.bbn-perk + .bbn-perk { border-left: 1px solid #D9C9A8; padding-left: 16px; }
.bbn-ico { width: 52px; height: 52px; flex: 0 0 auto; }
.bbn-list { list-style: none; margin: 0; padding: 10px 22px; background: #3B2414; }
.bbn-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .2); color: #FFF; font: 400 clamp(16px, 1.9vw, 20px)/1.25 "Oswald", var(--display); }
.bbn-list li:last-child { border-bottom: 0; }
.bbn-list b { font-weight: 700; }
.bbn-check { width: 22px; height: 22px; flex: 0 0 auto; }
.bbn-check rect { fill: #2E9B47; } /* green check box, white tick */
.bbn-check path { stroke: #FFF; }
.bbn-name { min-width: 0; }
.bbn-val { margin-left: auto; padding-left: 10px; color: #F6C343; font-weight: 700; white-space: nowrap; }
.bbn-val small { font-size: .72em; font-weight: 400; color: #E8D9B8; }
.bbn-was { position: relative; display: inline-block; color: #BFAF95; font-size: .9em; font-weight: 400; text-decoration: none; margin-right: 10px; } /* bonus price struck... */
.bbn-was::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 3px; margin-top: -1.5px; background: #E04B3A; border-radius: 2px; transform: rotate(-14deg); } /* diagonal strike, a little past the digits */
.bbn-free { color: #3FCB6A; font-size: 1.25em; font-weight: 700; letter-spacing: .02em; } /* ...and FREE in green */
.bbn-price { font-size: 1.25em; font-weight: 700; } /* the book price, same size as FREE */
.bbn-total small { font-size: .5em; font-weight: 400; color: #E8E1D2; white-space: nowrap; }
.bbn-bottom { background: #000; padding: 18px 20px 16px; display: grid; gap: 12px; text-align: center; }
.bbn-total { margin: 0; color: #FFF; font: 700 clamp(26px, 3.4vw, 38px)/1.1 "Oswald", var(--display); }
.bbn-total span { color: #F6C343; }
.bbn-cta {
    display: block; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: #000;
    background: linear-gradient(180deg, #FFD84A, #F2B200); border: 2px solid #C99500; box-shadow: 0 4px 0 #A87A00;
    font: 700 clamp(24px, 3vw, 34px)/1.05 "Oswald", var(--display); letter-spacing: .01em;
}
.bbn-cta:hover { background: linear-gradient(180deg, #F5C400, #E0A800); }
.bbn-cta:focus-visible { outline: 3px solid #FFF; outline-offset: 3px; }
.bbn-cta.pulse { animation: dk-pulsing 1s ease infinite; }
.bbn-secure { margin: 0; color: #E8E1D2; font: 500 16px/1 "Oswald", var(--display); display: inline-flex; gap: 8px; align-items: center; justify-content: center; }
.bbn-secure svg { width: 16px; height: 16px; }
.bbn-pay { display: block; width: min(100%, 380px); height: auto; margin: 0 auto; } /* gray payment logos on the black band */
@media (max-width: 767px) {
    .bb-new { margin-top: 24px; border-radius: 12px; }
    .bbn-perks { padding: 14px 12px; }
    .bbn-perk { gap: 8px; }
    .bbn-perk + .bbn-perk { padding-left: 10px; }
    .bbn-ico { width: 38px; height: 38px; }
    .bbn-list { padding: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) { .bbn-cta.pulse { animation: none; } }

/* ---------- Ending: the closing lines + signature over the cabin photo ----------
   text vertically centred on the left of the photo, white; the photo runs edge to edge and closes the white sheet.
   Phones: text and signature (dark ink) above the photo. */
.end-sig { display: block; width: 100%; max-width: 380px; height: auto; margin-top: .3em; }
.end-over { position: relative; margin: 1.4em calc(-1 * var(--gutter)) 0; }
.end-over > img { display: block; width: 100%; height: auto; border-radius: 0; }
.end-over-text { position: absolute; left: 5%; top: 50%; transform: translateY(-50%); width: 38%; display: grid; gap: .6em; }
.end-over-text .sign-off { color: #FFF; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.end-over-text .end-sig { filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); } /* white ink on the dark photo */
main > .section:has(.end-over) { padding-bottom: 0; }
@media (max-width: 767px) {
    .end-over { display: flex; flex-direction: column-reverse; }
    .end-over-text { position: static; transform: none; width: auto; padding: 0 var(--gutter) 1em; }
    .end-over-text .sign-off { color: var(--ink); text-shadow: none; }
    .end-over-text .end-sig { filter: none; }
}

/* ---------- Timeline (Darkening): planner beside the intro + "The first hour", each photo beside its own day;
   all three images the same width. Phones: every image right after its text. ---------- */
:root { --tl-pic: 340px; }
.tl-intro { display: grid; grid-template-columns: minmax(0, 1fr) var(--tl-pic); gap: 32px; align-items: center; }
.tl-intro-text { display: grid; gap: 1.05em; }
.tl-intro-text .tl { margin: 0; }
.tl-pic { margin: 0; width: 100%; }
.tl-pic img { display: block; width: 100%; height: auto; }
.tl-rest { margin-top: 0; }
.tl li:has(> .tl-pic) { grid-template-columns: minmax(0, 1fr) var(--tl-pic); column-gap: 32px; align-items: center; }
.tl li:has(> .tl-pic) > :not(.tl-pic) { grid-column: 1; }
.tl li > .tl-pic { grid-column: 2; grid-row: 1 / span 6; }
@media (max-width: 767px) {
    .tl-intro { grid-template-columns: minmax(0, 1fr); }
    .tl li:has(> .tl-pic) { grid-template-columns: minmax(0, 1fr); }
    .tl li > .tl-pic { grid-column: 1; grid-row: auto; }
    .tl-pic { max-width: 460px; }
}
