/* MTD Match – "ledger" design system
   Warm paper surfaces, serif display type, deep green for trust, amber for deadlines. */
/* Metric-matched fallbacks: text keeps its size while the web fonts load, so the swap causes no layout shift (CLS). */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 90.3%; ascent-override: 108.5%; descent-override: 28.8%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 550; size-adjust: 106.8%; ascent-override: 90.7%; descent-override: 22.7%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 551 900; size-adjust: 103%; ascent-override: 94%; descent-override: 23.5%; line-gap-override: 0%; }

:root {
  --bg: #fbfaf6;
  --bg-alt: #f3f0e8;
  --paper: #ffffff;
  --ink: #12201c;
  --ink-2: #2c3a36;
  --muted: #5d6a66;
  --line: #e5e0d4;
  --line-strong: #d3ccbb;
  --brand: #0f5c4a;
  --brand-dark: #0a4537;
  --brand-tint: #e7f1ec;
  --accent: #0f5c4a;
  --amber: #c9771a;
  --amber-strong: #a15c10; /* amber that passes 4.5:1 behind white text */
  --amber-tint: #fdf1de;
  --warn-bg: #fdf1de;
  --warn-ink: #8a4b00;
  --dark: #0e1c18;
  --dark-2: #152823;
  --mint: #7fdcb6;
  --danger: #b42318;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 32, 28, 0.06);
  --shadow: 0 1px 2px rgba(18, 32, 28, 0.05), 0 12px 32px -8px rgba(18, 32, 28, 0.14);
  --serif: 'Fraunces', 'Fraunces Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* bot honeypot */
.turnstile { margin-top: 4px; } /* Cloudflare bot check – only takes space if it needs a click */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; font-variation-settings: 'opsz' 96; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3, .form-title { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.form-title { font-family: var(--sans); line-height: 1.12; margin: 0 0 0.5em; font-variation-settings: normal; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(15, 92, 74, 0.35); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.mt { margin-top: 1.75rem; }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { font-size: 1.08rem; }

/* Utility bar */
.topbar { background: var(--dark); color: #c9d8d3; font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin-right: 8px; box-shadow: 0 0 0 3px rgba(201, 119, 26, 0.25); vertical-align: 1px; }
.topbar a { color: var(--mint); }
@media (max-width: 760px) { .topbar-meta { display: none; } .topbar-inner { justify-content: center; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 246, 0.9); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.28rem; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.logo-mark::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); border: 2.5px solid var(--bg); }
.tag { font-family: var(--sans); font-weight: 500; color: var(--muted); font-size: 0.85rem; letter-spacing: 0; }
.nav nav { display: flex; gap: 26px; align-items: center; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.94rem; white-space: nowrap; }
.nav nav a:hover { color: var(--brand); }
.nav-cta-ghost { border: 1.5px solid var(--line-strong); padding: 8px 15px; border-radius: 999px; background: var(--paper); }
.nav nav .nav-cta { background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; }
.nav nav .nav-cta:hover { background: var(--brand); color: #fff; }
@media (max-width: 860px) {
  .nav nav a:not(.nav-cta-ghost):not(.nav-cta) { display: none; }
  .nav nav { gap: 8px; }
  .tag { display: none; }
  .logo { white-space: nowrap; }
  .nav-cta-ghost, .nav nav .nav-cta { font-size: 0.85rem !important; white-space: nowrap; padding: 7px 12px; }
}
@media (max-width: 420px) { .nav nav .nav-cta-ghost:not(:only-child) { display: none; } }

/* Hero */
.hero { position: relative; padding: 64px 0 72px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(15, 92, 74, 0.10), transparent 70%),
  linear-gradient(var(--bg), var(--bg)); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 36px; mask-image: linear-gradient(180deg, transparent, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, transparent 95%); }
.hero > .wrap { position: relative; }
.hero.dark { background: radial-gradient(900px 460px at 90% -10%, rgba(127, 220, 182, 0.14), transparent 70%), var(--dark); color: #e9f2ef; }
.hero.dark::before { background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); }
.hero.dark .lead, .hero.dark .ticks li { color: #c4d6d0; }
.hero.dark .accent { color: var(--mint); }
.hero.dark .accent::after { background: rgba(127, 220, 182, 0.18); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
/* Home page on phones: the quiz comes straight after the headline, the rest of the copy follows it. */
@media (max-width: 760px) {
  .hero:has(.hero-quiz) { padding-top: 28px; }
  .hero-quiz { gap: 0; }
  .hero-quiz .hero-copy { display: contents; }
  .hero-quiz .pill { justify-self: start; margin-bottom: 14px; }
  .hero-quiz h1 { order: 1; }
  .hero-quiz .form-card { order: 2; margin-bottom: 28px; }
  .hero-quiz .lead { order: 3; margin-bottom: 20px; }
  .hero-quiz .ticks { order: 4; }
  .hero-quiz .trade-pick { order: 5; }
  .hero-quiz .cd-live { order: 6; margin-top: 4px; }
}
.hero h1 { margin-bottom: 20px; }
.accent { color: var(--brand); position: relative; white-space: normal; }
.hero h1 .accent { font-style: italic; font-weight: 500; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 600px; }
.lead strong { color: var(--ink); }
.hero.dark .lead strong { color: #fff; }
.pill { display: inline-block; background: var(--amber-tint); color: var(--warn-ink); border: 1px solid #f3d9b0; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 0.88rem; margin-bottom: 22px; }
.reviewed-by { margin: -12px 0 22px; font-size: 0.88rem; color: var(--muted); }
.reviewed-by a { color: inherit; }
.hero.dark .pill { background: rgba(127, 220, 182, 0.1); border-color: rgba(127, 220, 182, 0.25); color: var(--mint); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { padding-left: 32px; position: relative; margin-bottom: 10px; font-weight: 500; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230f5c4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero.dark .ticks li::before { background-color: rgba(127, 220, 182, 0.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%237fdcb6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Trust strip under hero */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 20px; flex-wrap: wrap; }
.trust-label { font-size: 0.82rem; color: var(--muted); max-width: 220px; line-height: 1.4; }
.bodies { display: flex; gap: 10px 26px; flex-wrap: wrap; align-items: center; }
.body-badge { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.04em; color: #6b7672; }
.body-badge small { display: block; font-family: var(--sans); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.02em; color: #5d6a66; }

/* Cards & forms */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); box-shadow: var(--shadow-sm); }
.form-card { position: relative; box-shadow: var(--shadow); padding: 0; overflow: hidden; border-color: var(--line-strong); }
.form-card > form, .form-card > .form-body { padding: 26px 28px 28px; }
.form-card::before { content: ''; display: block; height: 5px; background: linear-gradient(90deg, var(--brand) 0 70%, var(--amber) 70% 100%); }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 28px; border-bottom: 1px dashed var(--line-strong); background: #fdfcf9; }
.form-head-title { font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.form-head-title svg { color: var(--brand); }
.form-head-meta { font-size: 0.8rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.progress { height: 4px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.progress-bar { height: 100%; width: 25%; background: var(--brand); border-radius: 999px; transition: width .35s cubic-bezier(.2,.7,.2,1); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.step { display: none; }
.step.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
legend { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 6px; padding: 0; }
.hint { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: var(--paper); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 10px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s, box-shadow .15s; }
.choice:hover { border-color: var(--brand); box-shadow: 0 2px 0 rgba(15, 92, 74, 0.08); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select {
  display: block; width: 100%; margin-top: 6px; padding: 12px 13px; font: inherit; font-weight: 400;
  border: 1.5px solid var(--line-strong); border-radius: 9px; background: var(--paper); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 92, 74, 0.13); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
/* Block, not flex: as flex items, the text and any link inside would split into separate columns. */
.consent { display: block; position: relative; padding-left: 26px; font-weight: 400; font-size: 0.84rem; line-height: 1.5; color: var(--muted); }
.consent input { position: absolute; left: 0; top: 3px; margin: 0; accent-color: var(--brand); width: 16px; height: 16px; }
.error { color: var(--danger); font-size: 0.88rem; min-height: 1.2em; margin: 4px 0 0; }
.result { background: var(--brand-tint); border: 1px solid #cfe3d9; border-left: 4px solid var(--brand); padding: 14px 16px; border-radius: 10px; font-size: 0.95rem; }
.form-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.form-nav .primary { margin-left: auto; }
.form-foot { display: flex; gap: 8px 18px; flex-wrap: wrap; padding: 14px 28px; border-top: 1px solid var(--line); background: #fdfcf9; font-size: 0.8rem; color: var(--muted); }
.form-foot span { display: inline-flex; align-items: center; gap: 6px; }
.form-foot svg { color: var(--brand); flex-shrink: 0; }
.inline-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.inline-choices legend { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; width: 100%; margin-bottom: 8px; }
.chip { display: inline-flex; gap: 6px; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 500; margin: 0; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.chip input { accent-color: var(--brand); }

.done { text-align: center; padding: 20px 0; }
.done-icon { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; box-shadow: 0 0 0 8px var(--brand-tint); }
.done h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 13px 22px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, transform .05s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 2px 6px rgba(15, 92, 74, 0.25); }
.btn.primary:hover { background: var(--brand-dark); color: #fff; }
.btn.primary:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--ink); }
.btn.outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn.outline:hover { border-color: var(--ink); color: var(--ink); }
.btn.lg { padding: 16px 28px; font-size: 1.05rem; }
.btn.block { width: 100%; }

/* Stats */
.stats { background: var(--dark); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-grid > div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,0.12); }
.stats strong { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--mint); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }
.stats span { font-size: 0.9rem; color: #a9bdb6; }
.stats-src { margin: 22px 0 0; font-size: 0.75rem; color: #6f8780; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* Sections */
.section { padding: 88px 0; }
@media (max-width: 760px) { .section { padding: 64px 0; } }
.section.alt { background: var(--bg-alt); }
.section.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .three { grid-template-columns: 1fr; } }
.step-card { position: relative; padding: 28px; }
.step-card .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--brand); color: var(--brand); font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin-bottom: 16px; }
.step-card p { color: var(--muted); margin: 0; }
.steps-line { position: relative; }
@media (min-width: 821px) {
  .steps-line::before { content: ''; position: absolute; top: 48px; left: 12%; right: 12%; border-top: 1.5px dashed var(--line-strong); }
  .steps-line .step-card { background: transparent; border: 0; box-shadow: none; padding-top: 28px; }
  .steps-line .step-card .num { position: relative; }
}

/* Vetting / promise lists */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.checklist .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.checklist strong { display: block; margin-bottom: 2px; }
.checklist p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.checklist-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.checklist-grid li { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
@media (max-width: 980px) { .checklist-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .checklist-grid { grid-template-columns: 1fr; } }
.quote-card { background: var(--dark); color: #dfe9e5; border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; }
.quote-card::after { content: '£'; position: absolute; right: -10px; bottom: -70px; font-family: var(--serif); font-size: 15rem; color: rgba(127, 220, 182, 0.07); line-height: 1; }
.quote-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: #fff; line-height: 1.25; }
.quote-card p { color: #a9bdb6; }
.promise { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.promise li { display: flex; gap: 10px; align-items: baseline; color: #dfe9e5; }
.promise li::before { content: '—'; color: var(--mint); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 820px) { .timeline { grid-template-columns: 1fr; } }
.tl-item { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tl-item h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: 6px 0 8px; }
.tl-item p { color: var(--muted); margin: 0; }
.tl-item .tl-figure { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.tl-figure strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-right: 4px; }
.tl-item.live { border-color: #f0d3a6; background: linear-gradient(180deg, var(--amber-tint), var(--paper) 70%); }
.tl-item.next { border-color: var(--brand); box-shadow: var(--shadow); }
.tl-date { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.tl-item.live .tl-date { color: var(--warn-ink); }
.tl-item.next .tl-date { color: var(--brand); }
.tl-status { position: absolute; top: 18px; right: 18px; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.tl-item.live .tl-status { background: var(--amber-strong); color: #fff; }
.tl-item.next .tl-status { background: var(--brand); color: #fff; }

.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.table tr:last-child td { border-bottom: 0; }
.table th { background: #f7f5ef; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.table td:last-child { font-variant-numeric: tabular-nums; }
.table tr.hl td { background: var(--amber-tint); font-weight: 600; }
.table tr.hl td:first-child { box-shadow: inset 4px 0 0 var(--amber); }
.due-tag { display: inline-block; margin-left: 8px; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--amber-strong); color: #fff; vertical-align: 1px; }

.deadline-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; margin-top: 44px; }
@media (max-width: 900px) { .deadline-grid { grid-template-columns: 1fr; } }
.countdown { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 28px; }
.countdown .cd-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: #a9bdb6; font-weight: 700; }
.countdown .cd-num { font-family: var(--serif); font-size: 4.2rem; font-weight: 500; line-height: 1; color: var(--mint); margin: 12px 0 4px; font-variant-numeric: tabular-nums; }
.countdown .cd-unit { color: #a9bdb6; }
.countdown p { color: #c4d6d0; font-size: 0.95rem; margin: 16px 0 20px; }
.countdown .btn.primary { background: var(--mint); color: var(--dark); box-shadow: none; }
.countdown .btn.primary:hover { background: #a3e8cb; color: var(--dark); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--brand); font-weight: 600; transition: transform .2s; }
details[open] summary::after { content: '–'; background: var(--brand); border-color: var(--brand); color: #fff; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 680px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 20px; } }

.cta-band { position: relative; background: var(--brand); color: #fff; padding: 64px 0; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 100% 36px; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; max-width: 640px; color: #fff; }
.cta-band .btn.primary { background: #fff; color: var(--brand-dark); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.cta-band .btn.primary:hover { background: var(--amber-tint); }
.acc-strip { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.acc-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 22px; flex-wrap: wrap; }
.acc-strip p { margin: 0; color: var(--ink-2); }
.acc-strip-inner + .acc-strip-inner { border-top: 1px solid var(--line); }

/* Pricing */
.pricing { margin-top: 24px; align-items: stretch; }
.price { position: relative; padding: 28px; }
.price h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 4px; }
.price.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.amount { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; margin: 8px 0 14px; letter-spacing: -0.02em; }
.amount span { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price ul { padding-left: 18px; margin: 0; color: var(--muted); }
.price li { margin-bottom: 4px; }

.lead-sample { max-width: 580px; margin-top: 16px; }
.ls-head { display: flex; justify-content: space-between; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
.lead-sample dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 12px; margin: 0; }
.lead-sample dt { color: var(--muted); font-size: 0.9rem; }
.lead-sample dd { margin: 0; font-weight: 500; }

.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Blog / trade guides */
.article-hero { position: relative; padding: 48px 0 36px; background: radial-gradient(800px 360px at 90% -20%, rgba(15, 92, 74, 0.09), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 880px; font-size: clamp(2rem, 4.2vw, 2.9rem); }
.article-hero .lead { max-width: 760px; }
.breadcrumb { font-size: 0.86rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-top: 36px; padding-bottom: 72px; align-items: start; }
.article-aside { position: sticky; top: 88px; }
@media (max-width: 980px) { .article-grid { grid-template-columns: 1fr; } .article-aside { position: static; } }
.prose { font-size: 1.04rem; min-width: 0; }
.prose article h2, .article-grid .prose h2 { font-size: 1.7rem; margin-top: 2em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table.terms td { vertical-align: top; }
.term { display: inline-block; background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; padding: 2px 8px; border-radius: 6px; font-size: 0.9rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.two-col ul { margin: 0; padding-left: 1.1em; }
.card.yes { border-top: 4px solid var(--brand); }
/* Price guide (home page + trade guides) – the "accountant files for you" option is highlighted */
.table.prices td { vertical-align: top; }
.table.prices td.pick, .table.prices tr.pick td { background: var(--brand-tint); }
.table.prices .per-year { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 400; white-space: nowrap; }
.table.home-prices { min-width: 560px; }
/* Trade guides on phones: option and price on one line, the description underneath */
@media (max-width: 560px) {
  .table.prices:not(.home-prices) thead { display: none; }
  .table.prices:not(.home-prices) tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
  .table.prices:not(.home-prices) tr:last-child { border-bottom: 0; }
  .table.prices:not(.home-prices) td { border-bottom: 0; }
  .table.prices:not(.home-prices) td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; padding-top: 0; color: var(--muted); font-size: 0.9rem; }
  .table.prices:not(.home-prices) td:last-child { text-align: right; }
}
.table.home-prices td:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote-checks { list-style: none; padding-left: 0 !important; }
.quote-checks li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.quote-checks li::before { content: '✓'; position: absolute; left: 4px; color: var(--brand); font-weight: 700; }
.price-extras { margin-top: 24px; }
.price-extras h3 { font-size: 1.05rem; margin-bottom: 10px; }
.price-extras ul { color: var(--ink-2); font-size: 0.95rem; }
.card.no { border-top: 4px solid #c2413f; }
.table.money td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table.money tr.strong td { font-weight: 700; background: #f7f5ef; }
.verdict { margin: 14px 0 6px; padding: 14px 16px; border-radius: 10px; border-left: 4px solid var(--brand); background: var(--brand-tint); }
.verdict.live { border-left-color: var(--amber); background: var(--amber-tint); }
.verdict.later { border-left-color: var(--muted); background: var(--bg-alt); }
.timeline.compact .tl-item { padding: 14px 16px; }
.timeline.compact h3 { margin: 4px 0 0; font-size: 1.25rem; }
.timeline.compact p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.callout { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 16px 0; }
.disclaimer { margin-top: 2.5em; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.form-kicker { font-weight: 700; color: var(--brand-dark); margin-bottom: 10px; }
.article-aside .form-card { padding: 22px; }
.article-aside .form-card::before { margin: -22px -22px 18px; }
.article-aside .form-card > form { padding: 0; }

.flow { list-style: none; padding: 0; counter-reset: flow; }
.flow li { counter-increment: flow; position: relative; padding: 14px 16px 14px 58px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.flow li::before { content: counter(flow); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 0.9rem; }
.flow-plain { display: block; font-weight: 700; }
.flow-term { display: inline-block; margin: 4px 0 6px; background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; padding: 2px 8px; border-radius: 6px; font-size: 0.88rem; }
.flow p { margin: 0; color: var(--muted); }

.trade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.trade-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 0.95rem; transition: border-color .15s, transform .12s, box-shadow .15s; }
.trade-card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.trade-card strong { font-weight: 600; }
.trade-card .emoji { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-alt); font-size: 1.25rem; }
.trade-cat { margin-top: 36px; }
.trade-search { display: block; width: 100%; max-width: 520px; margin-top: 12px; padding: 14px 16px; font: inherit; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--paper); }
.trade-search:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 92, 74, 0.13); }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.guide-card { display: flex; gap: 14px; text-decoration: none; color: var(--ink); padding: 18px; transition: border-color .15s, box-shadow .15s; }
.guide-card:hover { border-color: var(--brand); color: var(--ink); box-shadow: var(--shadow); }
.guide-card .emoji { font-size: 1.6rem; }
.guide-card p { margin: 4px 0 0; font-size: 0.9rem; }
.trade-pick { max-width: 440px; margin-top: 8px; }
.trade-pick select { margin-top: 6px; }
.trades-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.trades-head .section-head { margin-bottom: 0; }
.trades-tools { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.trades-tools .trade-pick { margin: 0; min-width: 240px; font-size: 0.9rem; }
.trade-dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 32px; margin-top: 12px; }
@media (max-width: 560px) { .trade-dir { grid-template-columns: 1fr 1fr; gap: 24px 16px; } .trade-dir a { font-size: 0.9rem; align-items: start; } }
.trade-dir h3 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.trade-dir ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.trade-dir a { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.trade-dir a:hover { color: var(--brand); }
.trade-dir a span { width: 22px; text-align: center; font-size: 1.05rem; }

/* Footer */
.footer { background: var(--dark); color: #a9bdb6; padding: 56px 0 28px; font-size: 0.9rem; }
.footer a { color: #dfe9e5; text-decoration: none; }
.footer a:hover { color: var(--mint); }
.footer .logo { color: #fff; }
.footer .logo-mark::after { border-color: var(--dark); }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 32px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-cols-4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-cols > :first-child { grid-column: 1 / -1; } }
.footer h3 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; margin: 4px 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-about p { max-width: 360px; margin-top: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer-inner p + p { margin: 0; }

/* Free guide page */
.guide-split { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.guide-cover { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 4px rgba(18, 32, 28, 0.12), 0 18px 40px -12px rgba(18, 32, 28, 0.35); transform: rotate(-2deg); }
@media (max-width: 480px) { .guide-split { grid-template-columns: 110px 1fr; gap: 18px; } .guide-split .ticks li { font-size: 0.92rem; } }
.guide-note { margin: 4px 0 6px; }
.guide-next { margin-top: 18px; }
#guideForm .consent { margin-top: 4px; }

/* Live campaign countdown (app.js → CAMPAIGN) + trade ad headline */
.cd-live { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 18px 20px; max-width: 420px; }
@media (scripting: none) { .cd-live { display: none; } }
.cd-live p { margin: 0; }
.cd-live-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #a9bdb6; font-weight: 700; }
.cd-live-label strong { color: #fff; }
.cd-live-date { color: #c4d6d0; font-size: 0.9rem; margin-top: 2px !important; }
.cd-live-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.cd-live-units span { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); padding: 8px 4px; text-align: center; }
.cd-live-units b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; line-height: 1.05; color: var(--mint); font-variant-numeric: tabular-nums; }
.cd-live-units small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #a9bdb6; }
.cd-live-note { color: #c4d6d0; font-size: 0.88rem; line-height: 1.45; }
.hero-copy .cd-live { margin-top: 26px; }
.hero.dark .cd-live { background: var(--dark-2); border: 1px solid rgba(255, 255, 255, 0.08); }

.campaign { display: grid; grid-template-columns: 1fr minmax(280px, 400px); gap: 24px; align-items: center; margin: 0 0 28px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.campaign-head { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 600; line-height: 1.2; margin: 0 0 8px; color: var(--ink); }
.campaign-line { margin: 0; color: var(--ink-2); }
.campaign .cd-live { max-width: none; }
@media (max-width: 860px) { .campaign { grid-template-columns: 1fr; padding: 16px; } }
@media (max-width: 380px) { .cd-live-units b { font-size: 1.5rem; } }

/* Letting agents page */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-grid .card { padding: 26px; }
.offer-grid .offer-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--warn-ink); background: var(--amber-tint); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.season { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
@media (max-width: 820px) { .season { grid-template-columns: 1fr 1fr; } }
.season div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.season .peak { border-color: var(--amber); background: var(--amber-tint); }
.season strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 4px; }
.season p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }

/* GEO: answer-first summaries, key facts and sources */
.quick-answer { margin: 0 0 8px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--brand-tint); border-left: 4px solid var(--brand); }
.sources { font-size: 0.95rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 16px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.facts div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.facts dt { font-weight: 700; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink-2); }

/* Accountant directory (find-an-accountant.html) and listing claims (claim-listing.html) */
input[type=url], textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 13px; font: inherit; font-weight: 400;
  border: 1.5px solid var(--line-strong); border-radius: 9px; background: var(--paper); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 80px; }
textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 92, 74, 0.13); }
.dir-hero { padding-bottom: 40px; }
.dir-search { display: grid; grid-template-columns: minmax(200px, 1fr) auto auto; align-items: end; gap: 6px 18px; max-width: 920px; margin-top: 24px; box-shadow: var(--shadow); }
.dir-search label { margin-bottom: 0; }
.dir-search .dir-filter { margin: 0; padding-bottom: 6px; }
.dir-search .dir-filter legend { margin-bottom: 6px; }
.dir-search .error { grid-column: 1 / -1; margin: 0; min-height: 0; }
.dir-search .error:empty { display: none; }
@media (max-width: 860px) { .dir-search { grid-template-columns: 1fr; } .dir-search .btn { width: 100%; } }
.dir-privacy { font-size: 0.85rem; margin: 10px 0 0; }
.dir-results-wrap { padding-top: 32px; }
.dir-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 940px) { .dir-layout { grid-template-columns: 1fr; } }
.dir-aside { position: sticky; top: 90px; display: grid; gap: 16px; }
@media (max-width: 940px) { .dir-aside { position: static; order: -1; } }
.dir-cta { border-color: var(--brand); background: var(--brand-tint); }
.dir-cta h2 { font-size: 1.35rem; margin: 0 0 8px; }
.dir-note h3 { font-size: 1rem; margin: 0 0 8px; }
.dir-note p { font-size: 0.88rem; color: var(--ink-2); margin: 0 0 10px; }
.dir-summary { font-weight: 600; margin: 0 0 14px; scroll-margin-top: 90px; }
.dir-summary:empty { display: none; }
.dir-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; }
.dir-card { padding: 18px 20px; }
.dir-card h3 { font-size: 1.08rem; margin: 0 0 2px; line-height: 1.35; overflow-wrap: anywhere; }
.dir-card.verified { border-color: var(--brand); box-shadow: inset 4px 0 0 var(--brand), var(--shadow-sm); }
.dir-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.dir-badge { flex-shrink: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); padding: 3px 9px; border-radius: 999px; }
.dir-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }
.dir-blurb { margin: 0 0 8px; }
.dir-tags { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.dir-tags li { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); background: var(--bg-alt); border: 1px solid var(--line); padding: 2px 9px; border-radius: 999px; text-transform: capitalize; }
.dir-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.dir-actions .btn { padding: 9px 15px; font-size: 0.9rem; }
.dir-claim { font-size: 0.85rem; color: var(--muted); margin-left: auto; }
@media (max-width: 480px) { .dir-actions .btn { flex: 1 1 100%; } .dir-claim { margin-left: 0; } }
.dir-invite { border-style: dashed; background: transparent; box-shadow: none; }
.dir-invite p { color: var(--ink-2); font-size: 0.92rem; margin: 4px 0 12px; }
.dir-licence { font-size: 0.78rem; opacity: 0.85; }
.dir-licence a { text-decoration: underline; text-underline-offset: 2px; }

/* Article extras (blog/build.js → articleExtras): contents list, share links, author box */
.toc { margin: 20px 0 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.toc strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2 240px; column-gap: 28px; }
.toc li { margin: 4px 0; break-inside: avoid; font-size: 0.95rem; }
.prose h2[id] { scroll-margin-top: 80px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 2em; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.share strong { margin-right: 4px; }
.share a, .share-btn { border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; color: var(--ink); background: var(--paper); text-decoration: none; font: inherit; font-weight: 500; cursor: pointer; }
.share a:hover, .share-btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.author-box { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 18px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.author-box .logo-mark { flex: none; margin: 0; }
.author-box p { margin: 6px 0 0; font-size: 0.92rem; color: var(--ink-2); }

/* Footer legal links (blog/build.js → legalNav) */
.footer-legal { margin-top: 10px; font-size: 0.85rem; line-height: 1.9; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #dfe9e5; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Cookie choice (app.js – only when GA4_ID or CLARITY_ID is set) */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: 0 12px 32px rgba(18, 32, 28, 0.18); font-size: 0.92rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; }
