/* LaneSite marketing pages (public/p/*.html). Tokens, header and footer come from public/home.html so these pages match the homepage. Works without JavaScript. */
:root {
  --bg: #0d0c09;
  --surface: #16140f;
  --surface-2: #1e1c16;
  --glass: rgba(26, 24, 18, .58);
  --glass-strong: rgba(24, 22, 17, .9);
  --line: rgba(243, 239, 230, .09);
  --line-2: rgba(243, 239, 230, .16);
  --hi: rgba(255, 255, 255, .06);
  --fg: #f3efe6;
  --fg-2: #cfc9bb;
  --muted: #a39e92;
  --brass: #d4b27a;
  --brass-2: #b08d57;
  --brass-soft: rgba(212, 178, 122, .12);
  --brass-glow: rgba(212, 178, 122, .5);
  --brass-ink: #1b150a;
  --beam-hi: #fff1d2;
  --forest: #123e32;
  --inset-bg: rgba(0, 0, 0, .28);
  --url-bg: rgba(0, 0, 0, .32);
  --indicator: rgba(243, 239, 230, .075);
  --pro-top: #252015;
  --final-top: #221d13;
  --glow-a: rgba(212, 178, 122, .22);
  --glow-b: rgba(18, 62, 50, .7);
  --glow-c: rgba(176, 141, 87, .16);
  --live: #5bd69a;
  --shadow: rgba(0, 0, 0, .85);
  --skel-a: #e8e5de;
  --skel-b: #f6f4ef;
  --f-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --bg: #f7f5f0; --surface: #ffffff; --surface-2: #fcfbf8;
  --glass: rgba(255, 255, 255, .66); --glass-strong: rgba(255, 255, 255, .92);
  --line: rgba(26, 25, 22, .09); --line-2: rgba(26, 25, 22, .16); --hi: rgba(26, 25, 22, .04);
  --fg: #1a1916; --fg-2: #45423a; --muted: #6b675f;
  --brass: #8c6a34; --brass-2: #b08d57; --brass-soft: rgba(140, 106, 52, .1); --brass-glow: rgba(176, 141, 87, .32); --brass-ink: #fffaf0;
  --beam-hi: #f3dca8; --live: #1f8a55; --shadow: rgba(70, 52, 22, .2);
  --inset-bg: rgba(26, 25, 22, .035); --url-bg: rgba(26, 25, 22, .05); --indicator: rgba(26, 25, 22, .05);
  --pro-top: #f6eddc; --final-top: #f3e8d2;
  --glow-a: rgba(212, 178, 122, .3); --glow-b: rgba(63, 125, 92, .14); --glow-c: rgba(176, 141, 87, .18);
  color-scheme: light;
} }
:root[data-theme="light"] {
  --bg: #f7f5f0; --surface: #ffffff; --surface-2: #fcfbf8;
  --glass: rgba(255, 255, 255, .66); --glass-strong: rgba(255, 255, 255, .92);
  --line: rgba(26, 25, 22, .09); --line-2: rgba(26, 25, 22, .16); --hi: rgba(26, 25, 22, .04);
  --fg: #1a1916; --fg-2: #45423a; --muted: #6b675f;
  --brass: #8c6a34; --brass-2: #b08d57; --brass-soft: rgba(140, 106, 52, .1); --brass-glow: rgba(176, 141, 87, .32); --brass-ink: #fffaf0;
  --beam-hi: #f3dca8; --live: #1f8a55; --shadow: rgba(70, 52, 22, .2);
  --inset-bg: rgba(26, 25, 22, .035); --url-bg: rgba(26, 25, 22, .05); --indicator: rgba(26, 25, 22, .05);
  --pro-top: #f6eddc; --final-top: #f3e8d2;
  --glow-a: rgba(212, 178, 122, .3); --glow-b: rgba(63, 125, 92, .14); --glow-c: rgba(176, 141, 87, .18);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
main, footer { overflow-x: clip; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--f-mono); }
.wrap {
  max-width: 1180px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 80; padding: 10px 16px; border-radius: 999px; background: var(--brass); color: var(--brass-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--f-body); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn:active { transform: scale(.965); transition-duration: .12s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform .45s var(--spring); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: var(--brass); color: var(--brass-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.14), 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -10px var(--brass-glow);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.14), 0 2px 4px rgba(0,0,0,.4), 0 18px 44px -12px var(--brass-glow), 0 0 0 4px var(--brass-soft); }
.btn-ghost { background: var(--hi); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--hi); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(212,178,122,.45), 0 10px 30px -14px var(--shadow); }
.btn-text { background: transparent; color: var(--fg-2); padding: 0 14px; }
.btn-text:hover { color: var(--fg); background: var(--hi); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }

/* ---------- nav (same look as the homepage; the mobile menu is a <details>, no JavaScript) ---------- */
.nav-shell {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  padding-top: 14px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  pointer-events: none;
}
.nav-wrap { position: relative; max-width: 1120px; margin: 0 auto; pointer-events: auto; }
.nav {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 7px 7px 7px 16px; border-radius: 999px;
  background: var(--glass-strong); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--hi), 0 20px 50px -18px var(--shadow);
}
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 700 19px/1 var(--f-display); letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--brass); transition: transform .5s var(--spring); }
.logo:hover .logo-mark { transform: translateY(-2px); }
.logo-mark svg { width: 28px; height: 28px; }
.logo { justify-self: start; }
.links { grid-column: 2; display: flex; align-items: center; gap: 2px; }
.links a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .3s var(--ease), background .3s;
}
.links a:hover { color: var(--fg); background: var(--indicator); }
.links a[aria-current="page"] { color: var(--fg); }
.links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 8px var(--brass); }
.nav-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 4px; }
.mmenu { display: none; }
.menu-btn { display: block; list-style: none; width: 44px; height: 44px; border-radius: 50%; background: var(--hi); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; position: relative; }
.menu-btn::-webkit-details-marker { display: none; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px; background: var(--fg); transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.mmenu[open] .menu-btn span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.mmenu[open] .menu-btn span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.mpanel {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 30px 60px -20px var(--shadow);
  animation: panel-in .35s var(--ease);
}
.mlink { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; border-radius: 14px; text-decoration: none; font-size: 16px; font-weight: 500; transition: background .2s; }
.mlink svg { width: 16px; height: 16px; color: var(--muted); }
.mlink:hover { background: var(--hi); }
.mp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 4px 2px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@media (max-width: 880px) {
  .links, .nav-actions > .btn-text { display: none; }
  .mmenu { display: block; }
}
@media (max-width: 420px) { .nav-actions > .btn-primary { display: none; } }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(20px, 3vw, 36px); }
.page-hero::before {
  content: ""; position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, var(--glow-a), transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 40%, var(--glow-b), transparent 70%);
  opacity: .8;
}
.eyebrow { margin: 0; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.page-hero .wrap { text-align: center; }
.page-hero h1 {
  margin: 18px auto 0; max-width: 18ch; font-family: var(--f-display); font-weight: 600;
  font-size: clamp(38px, 6.4vw, 76px); line-height: 1; letter-spacing: -.042em; text-wrap: balance; overflow-wrap: anywhere;
}
.page-hero .lede { margin: 22px auto 0; max-width: 620px; color: var(--fg-2); font-size: clamp(17px, 1.6vw, 20px); text-wrap: pretty; }
.page-meta { margin: 18px 0 0; font: 500 13px/1.4 var(--f-mono); color: var(--muted); }
.page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.page-body { padding-block: clamp(24px, 4vw, 48px) 0; }

/* ---------- long-form text ---------- */
.prose { max-width: 72ch; margin-inline: auto; color: var(--fg-2); font-size: 17px; line-height: 1.7; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.4em 0 .6em; scroll-margin-top: 96px; font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.03em; color: var(--fg); text-wrap: balance; }
.prose h3 { margin: 1.8em 0 .4em; scroll-margin-top: 96px; font-family: var(--f-display); font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: var(--fg); }
.prose p, .prose ul, .prose ol, .prose dl, .prose blockquote, .prose pre, .prose .table-wrap { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--brass); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--brass); text-decoration: underline; text-decoration-color: var(--brass-soft); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--brass); }
/* buttons inside text keep their own colours (the link colour above would hide their label) */
.prose a.btn { text-decoration: none; }
.prose a.btn-primary { color: var(--brass-ink); }
.prose a.btn-ghost { color: var(--fg); }
.prose a.btn-text { color: var(--fg-2); }
.prose code, .prose kbd { padding: .12em .42em; border-radius: 6px; background: var(--inset-bg); border: 1px solid var(--line); font: 500 .88em/1.4 var(--f-mono); color: var(--fg); overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: 14px; background: var(--inset-bg); border: 1px solid var(--line); font: 400 14px/1.6 var(--f-mono); color: var(--fg); }
.prose pre code { padding: 0; border: 0; background: none; font-size: inherit; overflow-wrap: normal; }
.prose blockquote { padding: 4px 0 4px 18px; border-left: 3px solid var(--brass-2); color: var(--fg-2); }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.prose img { border-radius: 14px; }
.prose dt { color: var(--fg); font-weight: 600; }
.prose dd { margin: 0 0 1em; }
.table-wrap { max-width: 100%; overflow-x: auto; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); }
.prose table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface-2); color: var(--fg); font: 600 13px/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--fg); font-weight: 500; }
.callout { margin: 0 0 1.1em; padding: 16px 18px; border-radius: 14px; background: var(--brass-soft); border: 1px solid rgba(212,178,122,.28); color: var(--fg-2); }
.callout > :last-child { margin-bottom: 0; }

/* ---------- table of contents (legal pages) ---------- */
.toc { max-width: 72ch; margin: 0 auto clamp(28px, 4vw, 44px); padding: 18px 22px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.toc h2 { margin: 0 0 10px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 240px; column-gap: 32px; }
.toc li { margin-bottom: .3em; padding-left: .2em; break-inside: avoid; }
.toc li::marker { color: var(--brass); font-family: var(--f-mono); font-size: .85em; }
.toc a { color: var(--fg-2); font-size: 15px; text-decoration: none; }
.toc a:hover { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 var(--hi); color: var(--fg-2); font-size: 15.5px; line-height: 1.55; transition: border-color .3s, transform .45s var(--ease); }
a.card { text-decoration: none; }
a.card:hover { border-color: rgba(212,178,122,.45); transform: translateY(-3px); }
.card h2, .card h3 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; color: var(--fg); }
.card p { margin: 0; }
.card .eyebrow { margin-bottom: 4px; }
.card .more { margin-top: auto; padding-top: 8px; color: var(--brass); font-weight: 600; font-size: 14.5px; }
.card.featured { background: linear-gradient(180deg, var(--pro-top), var(--surface)); border-color: rgba(212,178,122,.4); }

/* cards inside .prose keep their own spacing (.prose li / a / h3 rules are more specific) */
.prose .cards { padding: 0; }
.prose .cards > li, .prose .card { margin: 0; padding: 22px; }
.prose a.card { color: var(--fg-2); text-decoration: none; }
.prose .card h2, .prose .card h3 { margin: 0; font-size: 20px; }
.prose .card p { margin: 0; }
.prose .card .more { color: var(--brass); }

/* ---------- footer (copied from the homepage) ---------- */
footer { margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-block: 64px 48px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-social { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 10px; color: var(--muted); transition: color .15s, border-color .15s; }
.foot-social a:hover { color: var(--fg); border-color: currentColor; }
.foot-social svg { width: 18px; height: 18px; }
.foot-brand p { margin: 0; max-width: 300px; color: var(--muted); font-size: 15px; }
.foot-contact { display: flex; flex-direction: column; gap: 4px; max-width: 300px; font-style: normal; font-size: 15px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.foot-contact a { color: var(--fg-2); text-underline-offset: 3px; }
.foot-contact a:hover { color: var(--fg); }
.support { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--fg-2); }
.support-label { color: var(--muted); }
.support a { color: var(--fg-2); text-underline-offset: 3px; }
.support a:hover { color: var(--fg); }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foot-col h3 { margin: 0 0 6px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.foot-col a, .foot-bottom a { width: fit-content; color: var(--muted); font-size: 15px; text-decoration: none; background-image: linear-gradient(var(--brass), var(--brass)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; transition: color .25s, background-size .45s var(--ease); }
.foot-col a:hover, .foot-bottom a:hover { color: var(--fg); background-size: 100% 1px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.foot-legal { display: flex; gap: 20px; }
.foot-bottom a { font-size: 14px; }
.foot-bottom a.foot-badge { display: inline-flex; flex: none; background-image: none; line-height: 0; border-radius: 10px; box-shadow: 0 1px 2px var(--line-2), 0 8px 22px -12px var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.foot-bottom a.foot-badge:hover { transform: translateY(-2px); box-shadow: 0 1px 2px var(--line-2), 0 14px 28px -12px var(--shadow); }
.foot-badge img { display: block; width: 175px; height: 55px; max-width: 100%; border-radius: 10px; }
.foot-bottom a.foot-badge:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
@media (max-width: 980px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 700px) { .foot { padding-block: 48px 36px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- product pages (pricing, examples, templates) ---------- */
.prose.wide { max-width: none; }
.prose.wide > :not(.cards):not(.table-wrap) { max-width: min(100%, 760px); margin-left: auto; margin-right: auto; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.prose .card ul { margin: 0; padding-left: 1.2em; }
.prose .card li { margin-bottom: .35em; }
.card .price { margin: 4px 0 2px; font: 600 40px/1 var(--f-display); letter-spacing: -.04em; color: var(--fg); }
.card .price small { font: 500 14px/1 var(--f-body); letter-spacing: 0; color: var(--muted); }
.tag { align-self: flex-start; padding: 4px 9px; border-radius: 999px; background: var(--brass-soft); color: var(--brass); font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.sw { display: inline-block; width: 14px; height: 14px; margin-right: 4px; border-radius: 4px; vertical-align: -2px; box-shadow: inset 0 0 0 1px var(--line-2); }
.prose .page-actions { margin: 28px 0 0; }

/* ---------- blog ---------- */
.post-meta { margin: 0; font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .02em; color: var(--muted); }
.page-hero .post-meta { margin-top: 18px; font-size: 13px; }
.card .post-meta { margin-bottom: 2px; }

/* ---------- featured images ---------- */
.hero-media { max-width: 1080px; margin: clamp(32px, 5vw, 52px) auto 0; }
.hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: clamp(16px, 2.4vw, 26px); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -30px var(--shadow); background: var(--surface-2); }
.hero-media figcaption, .prose figure figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); text-align: center; }
.hero-media figcaption a, .prose figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.prose figure { margin: 2em 0; }
.prose figure img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border: 1px solid var(--line-2); }
.card-img { display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -22px -22px 10px; border-radius: 19px 19px 0 0; border-bottom: 1px solid var(--line); }

/* ---------- newsletter (footer) ---------- */
.newsletter { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; }
.nl-label { font: 500 12.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.nl-row { display: flex; gap: 8px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 var(--hi); }
.nl-row:focus-within { border-color: rgba(212,178,122,.55); }
.nl-row input[type=email] { flex: 1; min-width: 0; min-height: 40px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--fg); font: 500 15px/1 var(--f-body); }
.nl-row input::placeholder { color: var(--muted); }
.nl-row .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.nl-row .btn:disabled { opacity: .6; cursor: progress; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-note { margin: 0; font-size: 13px; color: var(--muted); }
.nl-note a { color: inherit; text-underline-offset: 2px; }
.nl-note.is-ok { color: var(--live); }
.nl-note.is-err { color: #e26d5a; }

/* ---------- light / dark switch (footer) ---------- */
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--hi); color: var(--fg-2); font: 500 13.5px/1 var(--f-body); cursor: pointer; transition: border-color .3s, color .3s; }
.theme-toggle:hover { border-color: rgba(212,178,122,.5); color: var(--fg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .moon { display: none; }
.is-light .theme-toggle .sun { display: none; }
.is-light .theme-toggle .moon { display: inline; }
