/* Bekns Publishing — editorial design system */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); }

:root {
  --paper: #f7f3ea; --paper-2: #efe8d8; --card: #fffdf8; --line: #e1d8c4;
  --ink: #15211f; --ink-2: #33403d; --muted: #59645f;
  --hero: #0e3b37; --hero-2: #14504a; --hero-ink: #f6efdf;
  --gold: #d9a441; --gold-2: #e8bd62; --gold-ink: #7f5a10;
  --focus: #1f6fff; --danger: #a32020; --ok: #1d6b3f;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px; --shadow: 0 1px 2px rgba(21,33,31,.06), 0 8px 24px -12px rgba(21,33,31,.18);
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--hero-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 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; }
.eyebrow { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .8rem; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,243,234,.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.2rem/1 var(--serif); letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; }
.brand small { display: block; font: 500 .66rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { display: block; padding: 9px 13px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.nav .nav-cta a { background: var(--hero); color: var(--hero-ink); }
.nav .nav-cta a:hover { background: var(--hero-2); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 600 .9rem var(--sans); color: var(--ink); }
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; gap: 8px; align-items: center; }
  .nav { position: absolute; inset: 70px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-2); color: var(--ink); }
.btn-dark { background: var(--hero); color: var(--hero-ink); }
.btn-dark:hover { background: var(--hero-2); color: #fff; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.on-paper .btn-ghost:hover { background: var(--paper-2); }
.btn-amazon { background: var(--ink); color: #fff; }
.btn-amazon:hover { background: #000; color: #fff; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(217,164,65,.20), transparent 60%), radial-gradient(800px 400px at -10% 120%, rgba(255,255,255,.06), transparent 60%), var(--hero); color: var(--hero-ink); overflow: hidden; }
.hero a:not(.btn) { color: var(--gold-2); }
.hero .eyebrow { color: var(--gold-2); }
.hero .lead { color: #dfe7df; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 80px; }
.hero h1 { color: #fffaf0; font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 400; }
.hero-shelf { position: relative; height: 420px; }
.hero-shelf .book { position: absolute; width: 190px; }
.hero-shelf .book:nth-child(1) { left: 4%; top: 46px; transform: rotate(-7deg); }
.hero-shelf .book:nth-child(2) { left: 32%; top: 0; z-index: 2; width: 220px; }
.hero-shelf .book:nth-child(3) { left: 63%; top: 52px; transform: rotate(6deg); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .93rem; color: #cfdad3; }
.hero-points li::before { content: "✓"; color: var(--gold-2); margin-right: 8px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding: 48px 0 56px; } .hero-shelf { height: 300px; } .hero-shelf .book { width: 140px; } .hero-shelf .book:nth-child(2) { width: 160px; } }
.page-hero { background: var(--hero); color: var(--hero-ink); padding: 56px 0 48px; }
.page-hero h1 { color: #fffaf0; font-weight: 500; }
.page-hero .lead { color: #dfe7df; }
.page-hero .eyebrow { color: var(--gold-2); }
.page-hero a { color: var(--gold-2); }

/* book mockup (uses the genuine cover; adds only depth and shadow) */
.book { position: relative; display: block; border-radius: 3px 8px 8px 3px; box-shadow: 0 30px 40px -24px rgba(0,0,0,.55), 0 10px 18px -10px rgba(0,0,0,.35); background: #ddd; aspect-ratio: 2 / 3; overflow: hidden; }
.book img { width: 100%; height: 100%; object-fit: cover; }
.book::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 9%; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.18) 45%, rgba(0,0,0,.08)); pointer-events: none; }
.book::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18), transparent 40%); pointer-events: none; }

/* sections */
section.band { padding: 76px 0; }
section.band.alt { background: var(--paper-2); }
section.band.dark { background: var(--hero); color: var(--hero-ink); }
section.band.dark h2 { color: #fffaf0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .4em 0 0; color: var(--muted); max-width: 60ch; }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-books { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 36px 28px; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.book-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; }
.book-card .book { transition: transform .25s; }
.book-card:hover .book { transform: translateY(-4px) rotate(-1deg); }
.book-card h3 { font-size: 1.08rem; margin: 0; }
.book-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.tag { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); background: #f3e6c7; padding: 6px 9px; border-radius: 999px; }

.tool-card { padding: 26px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s; }
.tool-card:hover { border-color: var(--hero-2); transform: translateY(-2px); color: inherit; }
.tool-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--hero); color: var(--gold-2); display: grid; place-items: center; }
.tool-card .icon svg { width: 24px; height: 24px; }
.tool-card h3 { margin: 4px 0 0; }
.tool-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.tool-card .go { margin-top: auto; font-weight: 600; color: var(--hero-2); }

.post-card { overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--paper-2); }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.18rem; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.post-card .meta { margin-top: auto; font-size: .82rem; color: var(--muted); }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* author */
.author-band { display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: center; }
.monogram { width: 160px; height: 160px; border-radius: 50%; background: var(--hero); color: var(--gold-2); display: grid; place-items: center; font: 500 3.4rem/1 var(--serif); border: 6px solid var(--card); box-shadow: var(--shadow); }
@media (max-width: 640px) { .author-band { grid-template-columns: 1fr; } .monogram { width: 110px; height: 110px; font-size: 2.4rem; } }

/* newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px; background: var(--hero); color: var(--hero-ink); border-radius: 22px; position: relative; overflow: hidden; }
.newsletter::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(217,164,65,.35), transparent 70%); }
.newsletter h2 { color: #fffaf0; }
.newsletter ul { margin: 0; padding-left: 1.1em; color: #d8e2da; }
.newsletter form { position: relative; z-index: 1; display: grid; gap: 12px; }
.newsletter label { font-weight: 600; font-size: .92rem; }
.newsletter input[type=email], .newsletter input[type=text] { width: 100%; }
.newsletter .consent { font-size: .82rem; color: #c9d5cd; }
.newsletter .consent a { color: var(--gold-2); }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; padding: 30px 24px; } }

/* forms */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .93rem; }
.field .hint { font-size: .84rem; color: var(--muted); }
input[type=text], input[type=email], input[type=number], input[type=search], select, textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #c9bea6; border-radius: 10px; padding: 11px 13px; min-height: 46px; width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--hero-2); outline: 3px solid rgba(31,111,255,.35); outline-offset: 0; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .86rem; font-weight: 500; }
.newsletter .err { color: #ffd2c2; }
.form-status { font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.newsletter .form-status.ok { color: #c7f0d4; }
.form-status.bad { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.input-affix { position: relative; }
.input-affix span { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; pointer-events: none; }
.input-affix .pre { left: 13px; } .input-affix .post { right: 13px; }
.input-affix input.has-pre { padding-left: 28px; } .input-affix input.has-post { padding-right: 40px; }

/* breadcrumbs */
.crumbs { font-size: .86rem; margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: inherit; opacity: .85; }

/* book detail */
.book-detail { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; padding: 56px 0 30px; }
.book-detail .book { width: 100%; max-width: 340px; }
.book-detail h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.buy-box { margin: 26px 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.buy-box p { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: .95rem; margin: 0; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
@media (max-width: 820px) { .book-detail { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; } .book-detail .book { max-width: 230px; } }

/* article */
.article-head { padding: 52px 0 26px; }
.article-head h1 { max-width: 22ch; font-size: clamp(2rem, 4vw, 3.1rem); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; }
.byline strong { color: var(--ink); }
.article-hero-img { border-radius: 18px; overflow: hidden; margin: 10px 0 36px; aspect-ratio: 16/9; background: var(--paper-2); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article-layout aside { position: sticky; top: 96px; display: grid; gap: 22px; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } .article-layout aside { position: static; } }
.prose { max-width: 70ch; font-size: 1.08rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.75rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 1.5em 0; padding: .4em 1.2em; border-left: 4px solid var(--gold); background: var(--card); font-family: var(--serif); font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 600; }
.prose img { border-radius: 12px; }
.prose .callout, .note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--hero-2); border-radius: 10px; padding: 16px 20px; margin: 1.4em 0; }
.side-box { padding: 22px; }
.side-box h2, .side-box h3 { font-size: 1.1rem; margin-bottom: .6em; }
.side-box ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.side-book { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.side-book .book { width: 70px; }
.side-book strong { display: block; font-family: var(--serif); line-height: 1.25; }
.sources { margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: .93rem; }
.sources h2 { font-size: 1.2rem; }
.sources ol { padding-left: 1.2em; }
.disclaimer-box { font-size: .88rem; color: var(--muted); background: var(--paper-2); border-radius: 10px; padding: 14px 18px; margin-top: 2em; }

/* calculators */
.calc { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 920px) { .calc { grid-template-columns: 1fr; } }
.calc-form { padding: 26px; display: grid; gap: 18px; }
.calc-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.calc-form legend { font: 600 1.05rem var(--serif); margin-bottom: 8px; padding: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } }
.calc-results { padding: 26px; display: grid; gap: 22px; }
.result-hero { background: var(--hero); color: var(--hero-ink); border-radius: 12px; padding: 22px 24px; }
.result-hero .label { font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: #cfdad3; }
.result-hero .value { font: 500 clamp(2rem, 4vw, 2.8rem)/1.1 var(--serif); color: #fffaf0; margin: 6px 0 4px; }
.result-hero p { margin: 0; color: #dbe5dd; font-size: .95rem; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.stat .label { font-size: .82rem; color: var(--muted); }
.stat .value { font: 600 1.25rem/1.2 var(--sans); }
.calc-errors { border: 1.5px solid var(--danger); background: #fff4f2; border-radius: 10px; padding: 14px 18px; color: var(--danger); }
.calc-errors ul { margin: 6px 0 0; padding-left: 1.2em; }
.chart { width: 100%; }
.chart text { font: 12px var(--sans); fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .86rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
table.data th, table.data td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data thead th { background: var(--paper-2); }
details.more { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: var(--card); }
details.more summary { cursor: pointer; font-weight: 600; }
.debt-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 12px; background: var(--paper); }
.debt-row .row-head { display: flex; justify-content: space-between; align-items: center; }
.link-btn { background: none; border: 0; color: var(--hero-2); font: 600 .92rem var(--sans); cursor: pointer; text-decoration: underline; padding: 4px; }
.seg { display: inline-flex; border: 1.5px solid #c9bea6; border-radius: 999px; padding: 3px; background: #fff; flex-wrap: wrap; }
.seg label { padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: .92rem; font-weight: 500; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg input:checked + span { background: var(--hero); color: #fff; }
.seg span { display: inline-block; padding: 7px 14px; border-radius: 999px; }
.seg input:focus-visible + span { outline: 3px solid var(--focus); }
.share-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }

/* share + social */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 6px; }
.share-label { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; padding: 0; }
.share-btn:hover { background: var(--hero); color: #fff; border-color: var(--hero); }
.share-copied { font-size: .85rem; color: var(--ok); }
.social-row { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #e9e2cf; }
.social-row a:hover { background: var(--gold); color: var(--ink); text-decoration: none; }

/* ads */
.ad-slot { margin: 36px auto; text-align: center; }
.ad-slot .ad-label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* footer */
.site-footer { background: #0b2421; color: #c8d3cd; padding: 60px 0 30px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #e9e2cf; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-grid h2 { font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #9fb0a8; }
.footer-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: #9fb0a8; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* misc */
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.pill-nav a { display: block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.pill-nav a[aria-current="page"], .pill-nav a:hover { background: var(--hero); color: #fff; border-color: var(--hero); }
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.45rem; margin-top: 1.6em; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--hero); color: var(--gold-2); display: grid; place-items: center; font: 600 .95rem var(--sans); }
.center { text-align: center; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .ad-slot, .newsletter, aside { display: none !important; } }
