/* Head Over Noise™ · The Aligned Action Reset — v5 design (Review 1)
   Layout: one centered column with a few wide moments (hero, difference table, pricing).
   Dark espresso ground built from the journal's own colors, so the cream pages stand out. */

@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Brand palette (Review 1 design brief) */
  --espresso: #1c1411;
  --roast: #2a1f1a;
  --bark: #45332a;
  --cream: #f5ede4;
  --sand: #c9b8a6;
  --clay: #d4876a;
  --terracotta: #c47555;
  --ember: #a95f43;

  /* Roles */
  --bg: var(--espresso);
  --bg-2: #211814;
  --surface: var(--roast);
  --surface-2: #33261f;
  --line: var(--bark);
  --line-2: #5a4436;
  --text: var(--cream);
  --muted: var(--sand);
  --dim: #a69483;

  /* Legacy names used by checkout / thank-you / policy pages */
  --rust: var(--clay);
  --rust-deep: var(--terracotta);
  --g1: var(--clay); --g2: var(--clay); --g3: var(--clay); --g4: var(--clay);
  --grad: linear-gradient(var(--clay), var(--clay));

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --display: var(--serif);
  --body: var(--sans);
  --mono: var(--sans);

  --r: 16px;
  --r-sm: 12px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: 96px;
  color-scheme: dark;
}
@media (max-width: 760px) { :root { --sec: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 761px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
::selection { background: rgba(212, 135, 106, 0.32); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--espresso); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, summary, .pull, .closing, .callout { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--cream); margin: 0; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 76px); }
h2 { font-size: clamp(36px, 5vw, 58px); }
h3 { font-size: clamp(22px, 2.2vw, 26px); font-weight: 500; line-height: 1.2; }
p { margin: 0 0 1em; }
.ital { font-family: var(--serif); font-style: italic; color: var(--clay); }
.grad { color: var(--clay); }
.muted { color: var(--sand); }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--sand); line-height: 1.6; max-width: 620px; }
.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--clay); margin: 0 0 20px; display: block; }
s.was { color: var(--sand); text-decoration-thickness: 1px; opacity: 0.85; }
.sec { padding-block: var(--sec); }
.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 + p { margin-top: 18px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; vertical-align: middle;
  min-height: 52px; padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 16px/1.375 var(--sans); letter-spacing: 0.04em; text-decoration: none; text-align: center;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--terracotta); color: var(--espresso); box-shadow: 0 10px 30px -12px rgba(196, 117, 85, 0.6); }
.btn-primary:hover { background: var(--clay); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream); }
.btn-ghost:hover { background: rgba(245, 237, 228, 0.07); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.text-link { color: var(--clay); text-decoration: none; font-weight: 500; letter-spacing: 0.02em; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta-note { margin: 14px 0 0; font-size: 15px; color: var(--sand); }
.cta-row { margin-top: 36px; }

/* ---------- Brand (logo + ™) ---------- */
.brand { display: inline-flex; align-items: flex-start; text-decoration: none; position: relative; padding: 4px 0; overflow: visible; }
.brand img { height: clamp(56px, 6.2vw, 84px); width: auto; }
.brand .tm-mark { position: absolute; top: 6%; right: 0; font: 500 9px/1 var(--sans); color: var(--cream); letter-spacing: 0.04em; }

/* ---------- Announcement bar + header ---------- */
.announce { background: var(--roast); border-bottom: 1px solid var(--bark); font-size: 14px; color: var(--cream); }
.announce .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; min-height: 42px; padding-block: 8px; text-align: center; }
.announce .count { color: var(--clay); font-variant-numeric: tabular-nums; }
.announce a { color: var(--clay); font-weight: 500; text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.site-header.scrolled { background: rgba(28, 20, 17, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--bark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 8px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--sand); text-decoration: none; font-size: 15px; letter-spacing: 0.04em; }
.nav a:not(.btn):hover { color: var(--cream); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: 56px var(--sec); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { font-size: 14px; color: var(--sand); border: 1px solid var(--bark); background: var(--roast); padding: 7px 14px; border-radius: 999px; }
.glow { position: relative; }
.glow::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(169, 95, 67, 0.15), rgba(169, 95, 67, 0.08) 45%, transparent 70%); filter: blur(24px); pointer-events: none; }
.glow img { position: relative; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)); }
.hero-visual { max-width: 560px; justify-self: center; width: 100%; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-visual { max-width: 400px; } }

/* ---------- Cards ---------- */
.card { background: var(--roast); border: 1px solid var(--bark); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); }

/* ---------- Problem ---------- */
.problem .copy { max-width: 680px; margin-inline: auto; }
.problem .copy p { color: var(--sand); }
.problem .copy p em { color: var(--cream); font-style: normal; }
.pull { font: italic 500 clamp(30px, 4vw, 44px)/1.2 var(--serif); color: var(--cream); text-align: center; max-width: 820px; margin: 48px auto; text-wrap: balance; }
.pull::before, .pull::after { content: ""; display: block; width: 48px; height: 1px; background: var(--ember); margin: 0 auto 24px; }
.pull::after { margin: 24px auto 0; }
.stall-label { text-align: center; }
.stall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stall .n { font: 500 44px/1 var(--serif); color: var(--ember); display: block; margin-bottom: 16px; }
.stall h3 { margin-bottom: 8px; }
.stall p { color: var(--sand); margin: 0; font-size: 16px; }
.closing { text-align: center; font: 400 clamp(24px, 3vw, 32px)/1.3 var(--serif); margin: 48px auto 0; max-width: 720px; text-wrap: balance; }
@media (max-width: 860px) { .stall { grid-template-columns: 1fr; } }

/* ---------- The difference ---------- */
.diff { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--roast); border: 1px solid var(--bark); border-radius: var(--r); overflow: hidden; }
.diff th, .diff td { padding: 18px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--bark); font-size: 16px; line-height: 1.45; }
.diff thead th { border-top: 0; font: 500 12px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); background: var(--bg-2); }
.diff thead th.reset { color: var(--clay); }
.diff tbody th { color: var(--sand); font-weight: 400; width: 18%; }
.diff td.typ { color: var(--sand); width: 36%; }
.diff td.res { color: var(--cream); background: rgba(196, 117, 85, 0.07); }
.diff td.res::before { content: "✓"; color: var(--clay); margin-right: 10px; }
@media (max-width: 760px) { .diff { display: none; } }

/* ---------- Method ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { border-top: 1px solid var(--bark); padding-top: 22px; }
.steps .n { font: 400 clamp(84px, 9vw, 120px)/0.9 var(--serif); color: var(--ember); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 30px; margin-bottom: 8px; }
.steps p { color: var(--sand); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .steps li { display: grid; grid-template-columns: 76px 1fr; gap: 0 16px; } .steps .n { font-size: 72px; margin: 0; grid-row: span 2; } }

/* ---------- What's inside ---------- */
.inside-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.inside-list { list-style: none; margin: 0; padding: 0; columns: 1; }
.inside-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--bark); color: var(--sand); font-size: 16px; }
.inside-list li:first-child { border-top: 0; padding-top: 0; }
.inside-list strong { color: var(--cream); font-weight: 500; }
.ck { color: var(--clay); font-size: 15px; line-height: 1.6; }
.side-cards { display: grid; gap: 16px; }
.side-cards h3 { margin-bottom: 8px; }
.side-cards p { color: var(--sand); font-size: 16px; margin: 0; }
.ticks { display: flex; gap: 6px; margin-bottom: 16px; }
.ticks span { width: 30px; height: 30px; border: 1.5px solid var(--clay); border-radius: 7px; display: grid; place-items: center; font-size: 12px; color: var(--sand); }
.ticks span.on { background: var(--terracotta); border-color: var(--terracotta); color: var(--espresso); font-weight: 500; }
.starter { list-style: none; margin: 12px 0 0; padding: 0; }
.starter li { padding: 8px 0; border-top: 1px solid var(--bark); font-size: 16px; color: var(--cream); }
.starter li b { font-weight: 500; color: var(--clay); margin-right: 6px; }
@media (max-width: 860px) { .inside-grid { grid-template-columns: 1fr; } }

.formats { margin-top: 72px; }
.formats h3 { font-size: clamp(28px, 3vw, 36px); font-weight: 400; text-align: center; margin-bottom: 32px; }
.fmt-shots { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(12px, 3vw, 32px); align-items: end; margin-bottom: 36px; }
.fmt-shots figure { margin: 0; text-align: center; }
.fmt-shots figcaption { font-size: 14px; color: var(--sand); margin-top: 12px; }
.fmt-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.fmt-list .card { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.fmt-list b { font: 500 21px/1.2 var(--serif); color: var(--cream); }
.fmt-list span { font-size: 15px; color: var(--sand); line-height: 1.45; }
.tag { white-space: nowrap; align-self: flex-start; font: 500 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); border: 1px solid rgba(212, 135, 106, 0.45); border-radius: 999px; padding: 6px 9px; margin-bottom: 6px; }
.tag.base { color: var(--sand); border-color: var(--bark); }
@media (max-width: 960px) { .fmt-list { grid-template-columns: 1fr 1fr; } .fmt-list .card:first-child { grid-column: span 2; } }
@media (max-width: 600px) { .fmt-shots { grid-template-columns: 1fr 1fr; } .fmt-shots figure.ws { grid-column: span 2; order: -1; } }

/* Workspace (Notion) preview drawn in CSS — replace with a real screenshot when the template is built */
.ws-frame { background: #f7f3ee; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.3); text-align: left; color: #37302b; font: 400 11px/1.4 var(--sans); }
.ws-bar { display: flex; gap: 5px; padding: 8px 10px; background: #ece5dc; }
.ws-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfc3b6; }
.ws-body { display: grid; grid-template-columns: 30% 1fr; min-height: 220px; }
.ws-side { background: #efe8df; padding: 12px 10px; display: grid; gap: 7px; align-content: start; }
.ws-side span { display: block; height: 7px; border-radius: 4px; background: #ddd2c5; }
.ws-side span.on { background: #c47555; width: 70%; }
.ws-main { padding: 14px 16px; }
.ws-main .t { font: 500 17px/1.15 var(--serif); color: #2a1f1a; margin-bottom: 8px; }
.ws-main .row { display: grid; grid-template-columns: 22px 1fr 34px; gap: 6px; align-items: center; padding: 5px 0; border-top: 1px solid #e6ddd2; }
.ws-main .row b { font-weight: 500; color: #a95f43; }
.ws-main .row em { font-style: normal; height: 6px; border-radius: 3px; background: #e2d8cc; }
.ws-main .row u { text-decoration: none; text-align: center; font-size: 9.5px; color: #fff; background: #c47555; border-radius: 4px; padding: 1px 0; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--roast); border: 1px solid var(--bark); border-radius: 20px; padding: clamp(26px, 3.5vw, 40px); }
.plan.featured { border-color: var(--terracotta); box-shadow: 0 30px 70px -30px rgba(196, 117, 85, 0.45); }
.plan .tag-top { position: absolute; top: -12px; left: clamp(26px, 3.5vw, 40px); font: 500 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; background: var(--terracotta); color: var(--espresso); padding: 7px 12px; border-radius: 999px; }
.plan h3 { font-size: clamp(26px, 2.6vw, 32px); }
.plan .sub { color: var(--sand); font-size: 16px; margin: 4px 0 18px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.price .now { font: 500 56px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--cream); }
.price .was { font: 400 26px/1 var(--serif); }
.price-meta { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); margin: 10px 0 22px; font-weight: 500; }
.plan .intro { font-size: 15px; color: var(--cream); margin: 0 0 6px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--bark); font-size: 16px; color: var(--sand); line-height: 1.45; }
.plan li strong { color: var(--cream); font-weight: 500; }
.under-cards { text-align: center; margin: 32px auto 0; color: var(--sand); max-width: 700px; }
.under-cards strong { color: var(--cream); font-weight: 500; }
.license-line { text-align: center; font-size: 14px; color: var(--dim); margin: 10px auto 0; max-width: 700px; }
.license-line a { color: var(--clay); }
.price-table-wrap { max-width: 760px; margin: 36px auto 0; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--bark); white-space: nowrap; }
.price-table th { font: 500 11px/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); }
.price-table td { color: var(--cream); }
.price-table td:first-child { color: var(--sand); }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 560px) { .price-table th, .price-table td { padding: 10px 6px; font-size: 13px; white-space: normal; } .price-table th { font-size: 10px; letter-spacing: 0.1em; } }

/* ---------- Missed days + outcome ---------- */
.missed .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.missed .two .card { padding: 18px 20px; font-size: 16px; }
.missed .two b { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 6px; }
.missed .two .bad { color: var(--sand); }
.missed .two .bad b { color: var(--dim); }
.missed .two .good { border-color: var(--terracotta); color: var(--cream); }
.missed .two .good b { color: var(--clay); }
.callout { border-left: 2px solid var(--terracotta); padding: 6px 0 6px 20px; font: italic 500 clamp(22px, 2.6vw, 28px)/1.3 var(--serif); color: var(--cream); margin: 0; }
.outcome { margin-top: var(--sec); }
.outcome ol { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: o; }
.outcome li { counter-increment: o; }
.outcome li::before { content: counter(o); display: block; font: 500 40px/1 var(--serif); color: var(--ember); margin-bottom: 14px; }
.outcome li h3 { margin-bottom: 6px; }
.outcome li p { color: var(--sand); margin: 0; font-size: 16px; }
.outcome .closing { margin-top: 44px; }
@media (max-width: 760px) { .missed .two, .outcome ol { grid-template-columns: 1fr; } }

/* ---------- Founder note ---------- */
.founder .grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; max-width: 980px; margin: 0 auto; }
.portrait { margin: 0; width: 100%; max-width: 260px; aspect-ratio: 1; position: relative; }
.portrait::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(169, 95, 67, 0.22), transparent 65%); filter: blur(18px); pointer-events: none; }
.portrait::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(212, 135, 106, 0.55); pointer-events: none; }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid var(--terracotta); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.7); }
.founder p { color: var(--sand); }
.founder .sign { margin-top: 30px; display: grid; justify-items: start; gap: 0; }
.founder .sig { width: 104px; height: auto; color: var(--clay); margin-left: -4px; }
.founder .sign .rule { width: 120px; height: 1px; background: var(--line-2); margin: 10px 0 12px; }
.founder .sign .role { font: 500 12px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); }
.founder .sign .brand-name { font: 400 20px/1.3 var(--serif); color: var(--cream); margin-top: 4px; }
.founder .sign .reach { font-size: 15px; color: var(--sand); margin-top: 14px; }
.founder .sign .reach a { color: var(--clay); }
@media (max-width: 760px) { .founder .grid { grid-template-columns: 1fr; } .portrait { max-width: 190px; margin: 6px 0 4px 9px; } }

/* ---------- Who it's for ---------- */
.fit { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; max-width: 980px; margin: 0 auto; }
.fit h3 { font-size: 22px; margin-bottom: 14px; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--bark); font-size: 16px; }
.fit .yes li { color: var(--cream); }
.fit .no li { color: var(--sand); }
.fit .x { color: var(--dim); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---------- Promise + FAQ ---------- */
.promise { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.promise h2 { margin-bottom: 16px; }
.promise p { color: var(--sand); }
.promise a { color: var(--clay); }
.promise .small { font-size: 14px; color: var(--dim); margin: 0; }
.faq { max-width: 820px; margin: 0 auto; }
details { background: var(--roast); border: 1px solid var(--bark); border-radius: 14px; margin-bottom: 10px; }
summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; position: relative; font: 500 21px/1.35 var(--serif); color: var(--cream); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--sans); color: var(--clay); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details .ans { padding: 0 22px 20px; color: var(--sand); font-size: 16px; }
details .ans p { margin: 0; }
details .ans a { color: var(--clay); }

/* ---------- Final CTA ---------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; max-width: 150vw; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(169, 95, 67, 0.16), transparent 62%); pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(40px, 6vw, 72px); max-width: 900px; margin: 0 auto 18px; }
.final .lede { margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--bark); padding-block: 56px 40px; font-size: 14px; color: var(--dim); }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; margin-bottom: 32px; }
.site-footer .brand img { height: clamp(110px, 13vw, 150px); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 640px; }
.foot-links a, .foot-links button { color: var(--sand); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; }
.foot-links a:hover, .foot-links button:hover { color: var(--cream); }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; border-top: 1px solid var(--bark); padding-top: 22px; }
.site-footer .bottom p { margin: 0; }

/* ---------- Mobile sticky bar ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(28, 20, 17, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--bark); transform: translateY(110%); visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s; display: none; }
.sticky-cta.show { transform: none; visibility: visible; transition: transform 0.3s ease; }
.sticky-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 52px; border-radius: 999px; background: var(--terracotta); color: var(--espresso); text-decoration: none; font: 500 16px/1.2 var(--sans); letter-spacing: 0.04em; }
.sticky-cta small { font-size: 12px; letter-spacing: 0.02em; opacity: 0.85; }
@media (max-width: 760px) { .sticky-cta { display: block; } body.has-sticky { padding-bottom: 80px; } }

/* ---------- Cookie consent ---------- */
.cc { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); background: var(--roast); border: 1px solid var(--bark); border-radius: 16px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); font-size: 14px; color: var(--sand); display: none; }
.cc.open { display: block; }
.cc h2 { font-size: 24px; margin-bottom: 8px; }
.cc p { margin: 0 0 16px; line-height: 1.55; }
.cc a { color: var(--clay); }
.cc .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cc .row .btn { flex: 1 1 auto; min-height: 42px; padding: 11px 16px; font-size: 14px; }
.cc .prefs { display: none; margin: 4px 0 16px; border-top: 1px solid var(--bark); }
.cc.show-prefs .prefs { display: block; }
.cc .opt { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--bark); align-items: flex-start; }
.cc .opt b { color: var(--cream); font-weight: 500; display: block; margin-bottom: 2px; }
.cc .opt small { font-size: 12.5px; line-height: 1.45; display: block; }
.switch { position: relative; flex: none; width: 42px; height: 24px; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--espresso); border: 1px solid var(--bark); transition: background 0.2s; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; left: 2px; top: 2px; border-radius: 50%; background: var(--sand); transition: transform 0.2s, background 0.2s; }
.switch input:checked + span { background: var(--terracotta); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--cream); }
.switch input:disabled + span { opacity: 0.6; }
.switch input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }

/* ---------- Reveal (visible by default; gentle fade from a visible start) ---------- */
.anim .rv { opacity: 0.4; transform: translateY(10px); transition: opacity 0.7s ease, transform 0.7s ease; }
.anim .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .anim .rv { opacity: 1; transform: none; transition: none; } * { animation: none !important; transition: none !important; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Simple pages (checkout, thank-you, policies) ---------- */
.simple-header { border-bottom: 1px solid var(--bark); }
.simple-header .wrap { padding-block: 8px; display: flex; align-items: center; justify-content: space-between; }
.back { color: var(--sand); text-decoration: none; font-size: 15px; }
.back:hover { color: var(--cream); }
.page-hero { padding-block: clamp(48px, 7vw, 80px) 24px; }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 64px); }
.prose { max-width: 760px; color: var(--sand); padding-bottom: 96px; }
.prose h2 { font-size: clamp(26px, 2.8vw, 32px); margin: 40px 0 12px; }
.prose strong { color: var(--cream); font-weight: 500; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--clay); }
.prose .updated { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Look-inside gallery: native scroll-snap, so touch swipe works everywhere */
.gallery { --gh: clamp(340px, 46vw, 500px); margin: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px); }
.gal-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.gal-head h3 { margin: 0; }
.gal-tabs { display: inline-flex; padding: 4px; border: 1px solid var(--bark); border-radius: 999px; background: var(--roast); }
.gal-tabs button { font: 500 14px/1 var(--sans); letter-spacing: 0.02em; color: var(--sand); background: none; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.gal-tabs button[aria-selected="true"] { background: var(--terracotta); color: #fff; }
.gal-tabs button:focus-visible, .gal-btn:focus-visible, .gal-track:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.gal-note { font-size: 14px; color: var(--dim); margin: 12px 0 0; }
.gal-track { display: flex; gap: clamp(14px, 2.4vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 28px 2px 8px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 auto; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.gal-frame { height: var(--gh); display: flex; align-items: center; justify-content: center; border-radius: 6px; overflow: hidden; background: #f7f0e8; box-shadow: 0 28px 50px -22px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.35); }
.gal-frame img { height: 100%; width: auto; max-width: none; display: block; -webkit-user-drag: none; user-select: none; }
.gal-slide.land .gal-frame { height: calc(var(--gh) * 0.72); margin-top: calc(var(--gh) * 0.14); margin-bottom: calc(var(--gh) * 0.14); }
.gal-slide.wide .gal-frame { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.gal-slide.wide img { filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.55)); }
.gal-slide.ws-slide .gal-frame { background: none; box-shadow: none; overflow: visible; width: calc(var(--gh) * 1.05); }
.gal-slide.ws-slide .ws-frame { width: 100%; }
.gal-slide.ws-slide .ws-body { min-height: calc(var(--gh) * 0.6); }
.gal-slide figcaption { font-size: 14px; color: var(--sand); margin-top: 14px; }
.gal-ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.gal-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bark); background: var(--roast); color: var(--cream); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.gal-btn:hover:not(:disabled) { border-color: var(--clay); color: var(--clay); }
.gal-btn:disabled { opacity: 0.35; cursor: default; }
.gal-dots { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; max-width: 60vw; }
.gal-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--bark); transition: background 0.2s, transform 0.2s; }
.gal-dots i.on { background: var(--clay); transform: scale(1.25); }
.plan-peek { display: inline-block; font-size: 15px; margin: 4px 0 18px; }
@media (max-width: 600px) { .gallery { --gh: min(420px, 108vw); } .gal-tabs { width: 100%; } .gal-tabs button { flex: 1; } .gal-track { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; } }
.gal-slide.photo .gal-frame { background: none; box-shadow: none; border-radius: 18px; }
.gal-slide.photo img { border-radius: 18px; }
.plan-photo { display: block; width: calc(100% + 24px); max-width: none; margin: 6px -12px 18px; height: auto; border-radius: 16px; }
/* Comparison on phones: still side by side. Left = typical journal, right = the Reset (highlighted column). */
.diff-m { display: none; }
@media (max-width: 760px) {
  .diff-m { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0; background: var(--roast); border: 1px solid var(--bark); border-radius: var(--r); overflow: hidden; }
  .dm-h { padding: 16px 12px 14px; font: 500 11px/1.35 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
  .dm-h.typ { color: var(--dim); background: var(--roast); border-bottom: 1px solid var(--bark); }
  .dm-h.res { color: var(--clay); background: #3a2820; border-bottom: 1px solid rgba(212,135,106,.35); }
  .dm-k { grid-column: 1 / -1; padding: 14px 12px 4px; font: 500 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sand);
          background: linear-gradient(90deg, transparent 50%, rgba(196,117,85,.10) 50%); border-top: 1px solid var(--bark); }
  .dm-k:nth-of-type(3) { border-top: 0; }
  .dm-c { padding: 2px 12px 14px; font-size: 14.5px; line-height: 1.4; }
  .dm-c.typ { color: var(--dim); }
  .dm-c.res { color: var(--cream); background: rgba(196,117,85,.10); font-weight: 500; }
  .dm-c.res::before { content: "✓ "; color: var(--clay); }
}
