/* Cervin Advisors — "Overprint"
   Light: ink on paper — inks multiply, overlaps get darker (print).
   Dark:  light on night — inks screen, overlaps get brighter (projection).
   Type: Bodoni Moda (display) + Jost (text). One face per sentence, always. */

:root {
  --bg: #f4efe4;
  --bg-2: #ebe3d2;
  --fg: #1f1d1a;
  --fg-2: #57514a;          /* 6.8:1 on bg */
  --fg-3: #6e675d;          /* 4.9:1 on bg */
  --rule: rgba(31,29,26,.16);
  --ink-b: #2f62b5;
  --ink-r: #f15060;
  --ink-y: #f7c518;
  --blend: multiply;
  --band-bg: #1f1d1a;       /* approach band: always a dark field */
  --band-fg: #f4efe4;
  --band-fg-2: rgba(244,239,228,.8);
  --band-rule: rgba(244,239,228,.22);
  --field-bg: #f7c518;      /* contact field */
  --field-fg: #1f1d1a;
  --field-rule: rgba(31,29,26,.3);
  --solid-bg: #1f1d1a;
  --solid-fg: #f4efe4;
  --foot-bg: #1f1d1a;
  --grain: .16;
  --grain-blend: multiply;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Jost", "Futura", "Century Gothic", sans-serif;
  --max: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121116; --bg-2: #1a1920; --fg: #efe9dd; --fg-2: #bdb6aa; --fg-3: #9d968a; --rule: rgba(239,233,221,.14);
    --ink-b: #2b5fd0; --ink-r: #d8344d; --ink-y: #c99b00; --blend: screen;
    --band-bg: #1c1b22; --band-fg: #efe9dd; --band-fg-2: rgba(239,233,221,.78); --band-rule: rgba(239,233,221,.16);
    --field-bg: #1c1b22; --field-fg: #efe9dd; --field-rule: rgba(239,233,221,.2);
    --solid-bg: #efe9dd; --solid-fg: #121116; --foot-bg: #0b0b0e;
    --grain: .07; --grain-blend: screen; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121116; --bg-2: #1a1920; --fg: #efe9dd; --fg-2: #bdb6aa; --fg-3: #9d968a; --rule: rgba(239,233,221,.14);
  --ink-b: #2b5fd0; --ink-r: #d8344d; --ink-y: #c99b00; --blend: screen;
  --band-bg: #1c1b22; --band-fg: #efe9dd; --band-fg-2: rgba(239,233,221,.78); --band-rule: rgba(239,233,221,.16);
  --field-bg: #1c1b22; --field-fg: #efe9dd; --field-rule: rgba(239,233,221,.2);
  --solid-bg: #efe9dd; --solid-fg: #121116; --foot-bg: #0b0b0e;
  --grain: .07; --grain-blend: screen; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--text); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
body::before { /* paper grain */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: var(--grain); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .48 0 0 0 0 .45 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink-y); color: #1f1d1a; }
:focus-visible { outline: 2px solid var(--ink-b); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

/* inks */
svg { isolation: isolate; }
.ink-b { fill: var(--ink-b); background: var(--ink-b); }
.ink-r { fill: var(--ink-r); background: var(--ink-r); }
.ink-y { fill: var(--ink-y); background: var(--ink-y); }
svg .ink-b, svg .ink-r, svg .ink-y { background: none; }
.mark circle, .frieze path, .inks i, .tier-ink, .glyph circle, .compare-table svg circle { mix-blend-mode: var(--blend); }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.inks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.inks i { position: absolute; border-radius: 50%; }

/* type */
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--fg-2); margin: 0 0 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -.01em; }
/* lower optical size = sturdier hairlines (keeps hyphens visible at display sizes) */
h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.05; letter-spacing: -.015em; font-variation-settings: "opsz" 14; }
h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; font-variation-settings: "opsz" 24; }
h3 { font-size: 24px; line-height: 1.2; font-weight: 600; font-variation-settings: "opsz" 14; }
p { margin: 0 0 1em; }
.nw { white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--fg); text-decoration: none; font-size: 15px; font-weight: 500; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn-solid { background: var(--solid-bg); color: var(--solid-fg); border-color: var(--solid-bg); }
.btn-solid:hover { background: transparent; color: var(--fg); border-color: var(--fg); }
.text-link { text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; font-weight: 500; font-size: 16px; }
.text-link:hover { border-color: var(--ink-r); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 32px; height: 29px; }
.brand span { font-size: 14px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 480px) { .brand span { font-size: 12px; letter-spacing: .16em; } .brand .mark { width: 26px; height: 24px; } }
.brand small { font-size: inherit; font-weight: 400; letter-spacing: inherit; color: var(--fg-2); margin-left: 4px; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { text-decoration: none; }
.nav ul a:not(.cta-link):hover { color: var(--fg-2); }
.nav .cta-link { border: 1.5px solid var(--fg); padding: 8px 20px; border-radius: 999px; transition: background .2s, color .2s; }
.nav .cta-link:hover { background: var(--fg); color: var(--bg); }
.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; transition: background .2s; }
.theme-toggle:hover { background: var(--rule); }
.theme-toggle svg { width: 22px; height: 22px; transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.theme-toggle circle { fill: none; stroke: currentColor; stroke-width: 1.6; }
.theme-toggle path { fill: currentColor; }
:root[data-theme="dark"] .theme-toggle svg { transform: rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle svg { transform: rotate(180deg); } }
@media (max-width: 860px) { .nav ul li:not(:nth-last-child(-n+2)) { display: none; } .nav ul { gap: 14px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .s1 { width: 700px; height: 700px; right: -300px; top: -300px; }
.hero .s2 { width: 470px; height: 470px; right: 10px; top: 250px; }
.hero .s3 { width: 410px; height: 410px; right: -240px; top: 340px; }
.hero .wrap { padding-top: 112px; padding-bottom: 0; z-index: 1; }
.hero h1 { max-width: 12.3em; }
.lede { font-size: 20px; color: var(--fg-2); max-width: 29em; margin-top: 28px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 96px; padding: 22px 0 56px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--fg-3); max-width: 760px; }
.hero-meta b { display: block; font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--fg); line-height: 1.25; font-variation-settings: "opsz" 14; }
@media (max-width: 1100px) {
  .hero .s1 { width: 520px; height: 520px; right: -300px; top: -260px; }
  .hero .s2 { width: 340px; height: 340px; right: -120px; top: 260px; }
  .hero .s3 { width: 300px; height: 300px; right: -230px; top: 380px; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: 34px; line-height: 1.08; }
  .hero .wrap { padding-top: 64px; }
  .hero .s1 { width: 300px; height: 300px; right: -170px; top: -150px; }
  .hero .s2 { width: 200px; height: 200px; right: -110px; top: 90px; }
  .hero .s3 { display: none; }
  .hero-meta { gap: 18px 36px; margin-top: 64px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .inks i { animation: slide 1.6s cubic-bezier(.2,.7,.1,1) both; }
  .hero .s1 { --dx: 120px; --dy: -80px; animation-delay: .05s; }
  .hero .s2 { --dx: 60px; --dy: 120px; animation-delay: .2s; }
  .hero .s3 { --dx: 160px; --dy: 40px; animation-delay: .35s; }
  .hero .wrap > * { animation: rise .9s cubic-bezier(.2,.7,.1,1) both; }
  .hero .wrap > :nth-child(2) { animation-delay: .1s; }
  .hero .wrap > :nth-child(3) { animation-delay: .2s; }
  .hero .wrap > :nth-child(4) { animation-delay: .3s; }
  .hero .wrap > :nth-child(5) { animation-delay: .45s; }
}
@keyframes slide { from { transform: translate(var(--dx), var(--dy)); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- sections ---------- */
section { padding: 120px 0; position: relative; }
@media (max-width: 640px) { section { padding: 84px 0; } }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 64px; }
.section-head p { color: var(--fg-2); margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; } }

/* how it works: one disc, then two, then three — the overlap grows */
.how { border-top: 1px solid var(--rule); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--fg); }
.how-steps li { padding: 34px 36px 8px 0; }
.how-steps li + li { padding-left: 36px; border-left: 1px solid var(--rule); }
.how-steps .glyph { width: 150px; height: 80px; margin-bottom: 26px; overflow: visible; }
.how-steps .n { display: block; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--fg-2); margin-bottom: 4px; }
.how-steps h3 { margin-bottom: 10px; }
.how-steps p { color: var(--fg-2); font-size: 17px; }
@media (max-width: 860px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li, .how-steps li + li { padding: 30px 0 10px; border-left: 0; }
  .how-steps li + li { border-top: 1px solid var(--rule); }
}

/* what's included */
.included { background: var(--bg-2); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--fg); }
.feature { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--rule); }
.feature:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--rule); }
.feature .dot { margin-bottom: 18px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { color: var(--fg-2); font-size: 16px; margin: 0; }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .feature:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--rule); }
}
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature:nth-child(even) { padding-left: 0; border-left: 0; } }

/* comparison */
.compare-table { border-top: 1.5px solid var(--fg); font-size: 16px; }
.compare-table .row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; border-bottom: 1px solid var(--rule); }
.compare-table .row > span { padding: 18px 24px 18px 0; }
.compare-table .row > span + span { padding-left: 24px; }
.compare-table [role="rowheader"] { font-weight: 500; }
.compare-table [role="cell"]:not(.us) { color: var(--fg-2); }
.compare-table .head > span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--fg-2); display: flex; align-items: center; gap: 10px; }
.compare-table .head .us { color: var(--fg); }
.compare-table .head svg { width: 34px; height: 20px; flex: none; }
.compare-table .us { background: color-mix(in srgb, var(--ink-y) 14%, transparent); font-weight: 500; }
@media (max-width: 700px) {
  .compare-table .row { grid-template-columns: 1fr 1fr; }
  .compare-table [role="rowheader"] { grid-column: 1 / -1; padding-bottom: 0; }
  .compare-table .head > span:first-child { display: none; }
  .compare-table .row > span + span { padding-left: 14px; }
  .compare-table .row > span:nth-child(2) { padding-left: 0; }
}

/* who it's for */
.who { background: var(--bg-2); }
.who .section-head { grid-template-columns: 1fr; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.who-grid .glyph { width: 72px; height: 72px; margin-bottom: 20px; }
.who-grid h3 { margin-bottom: 10px; }
.who-grid p { color: var(--fg-2); font-size: 17px; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; gap: 32px; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.faq-list { border-top: 1.5px solid var(--fg); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.3; font-variation-settings: "opsz" 14; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 14px; margin-top: -7px;
  background: radial-gradient(circle at 7px 7px, var(--ink-b) 6.5px, transparent 7px), radial-gradient(circle at 15px 7px, var(--ink-r) 6.5px, transparent 7px);
  background-blend-mode: var(--blend); transition: transform .35s ease; }
.faq-list details[open] summary::after { transform: scaleX(.64); }
.faq-list details p { color: var(--fg-2); padding: 0 44px 22px 0; margin: 0; }
.faq-list a { color: var(--fg); text-decoration-color: var(--ink-r); text-underline-offset: 3px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

/* services: a frieze of overlapping half-discs, one per practice */
.services { border-top: 1px solid var(--rule); }
.frieze { width: 100%; height: auto; margin-bottom: -1px; }
.frieze .outline { fill: none; stroke: var(--fg); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .js .frieze path { transition: transform 1.2s cubic-bezier(.2,.7,.1,1), opacity 1.2s ease; transform-box: fill-box; transform-origin: 50% 100%; }
  .js .frieze:not(.in) path { transform: scaleY(0); opacity: 0; }
  .js .frieze path:nth-child(2) { transition-delay: .12s; }
  .js .frieze path:nth-child(3) { transition-delay: .24s; }
  .js .frieze path:nth-child(4) { transition-delay: .36s; }
  .js .frieze.reveal { transform: none; }
}
.practices { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--fg); }
.practice { padding: 28px 26px 0 0; }
.practice + .practice { padding-left: 26px; border-left: 1px solid var(--rule); }
.practice h3 { margin-bottom: 12px; }
.practice p { color: var(--fg-2); font-size: 16px; }
.practice ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: 15px; }
.practice li { padding: 8px 0; border-top: 1px solid var(--rule); }
@media (max-width: 1000px) {
  .practices { grid-template-columns: 1fr 1fr; }
  .practice:nth-child(3) { padding-left: 0; border-left: 0; }
  .practice:nth-child(n+3) { padding-top: 40px; }
}
@media (max-width: 600px) {
  .practices { grid-template-columns: 1fr; }
  .practice, .practice + .practice { padding: 28px 0 8px; border-left: 0; }
  .practice + .practice { border-top: 1px solid var(--rule); }
}

/* approach: the dark band; pairs of discs converge step by step (always additive here) */
.approach { background: var(--band-bg); color: var(--band-fg); }
.approach .eyebrow { color: var(--band-fg-2); }
.approach .section-head p { color: var(--band-fg-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.step { border-top: 1px solid var(--band-rule); padding-top: 28px; }
.pair { width: 112px; height: 52px; margin-bottom: 22px; }
.pair circle { mix-blend-mode: screen; }
.approach .ink-y { fill: #c99b00; } .approach .ink-b { fill: #2b5fd0; }
.step .n { display: block; font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--band-fg-2); margin-bottom: 6px; letter-spacing: .04em; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--band-fg-2); font-size: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .js .step .pair circle { transition: transform 1.1s cubic-bezier(.2,.7,.1,1) .2s; }
  .js .step:not(.in) .pair circle:first-child { transform: translateX(-14px); }
  .js .step:not(.in) .pair circle:last-child { transform: translateX(14px); }
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* engagements */
.pricing { background: var(--bg-2); overflow: hidden; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--fg); }
.tier { position: relative; padding: 34px 36px 40px; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.tier + .tier { border-left: 1px solid var(--rule); }
/* a quarter-disc tucked into the featured tier's corner, clear of the text */
.tier-ink { position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -130px; top: -130px; z-index: -1; }
.tier > :not(.tier-ink) { position: relative; }
.tier .label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.tier h3 { margin: 8px 0 4px; }
.tier .price { font-family: var(--display); font-size: 38px; font-weight: 500; line-height: 1.1; margin: 18px 0 6px; font-variation-settings: "opsz" 28; }
.tier .unit { font-size: 15px; color: var(--fg-2); margin-bottom: 22px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 30px; font-size: 16px; flex: 1; }
.tier li { padding: 9px 0; border-top: 1px solid var(--rule); }
.fine { font-size: 15px; color: var(--fg-2); margin-top: 44px; max-width: 62em; }
.fine a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: var(--ink-r); }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .tier { padding-left: 0; padding-right: 0; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--rule); }
  .tier-ink { right: -140px; }
}

/* about */
.about { overflow: hidden; border-top: 1px solid var(--rule); }
.about .a1 { width: 420px; height: 420px; left: -230px; bottom: -200px; }
.about .a2 { width: 300px; height: 300px; left: 60px; bottom: -230px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; z-index: 1; }
.about p { color: var(--fg-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 36px 0 0; border-top: 1.5px solid var(--fg); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts div:nth-child(odd) { padding-right: 20px; }
.facts dt { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.facts dd { margin: 4px 0 0; font-size: 17px; color: var(--fg); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } .about .a1, .about .a2 { opacity: .5; } }

/* contact: a full field of ink */
.contact { background: var(--field-bg); color: var(--field-fg); overflow: hidden; }
.contact .c1 { width: 560px; height: 560px; right: -220px; bottom: -300px; }
.contact .eyebrow { color: var(--field-fg); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; z-index: 1; }
.contact-lede { margin-top: 22px; max-width: 30em; }
.contact .btn { margin-top: 10px; }
.contact dl { margin: 0; border-top: 1.5px solid var(--field-fg); align-self: start; }
.contact dl div { padding: 18px 0; border-bottom: 1px solid var(--field-rule); display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.contact dt { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; padding-top: 4px; }
.contact dd { margin: 0; font-size: 18px; }
.contact dd a { text-decoration: none; border-bottom: 1.5px solid currentColor; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact dl div { grid-template-columns: 1fr; gap: 2px; } .contact .c1 { opacity: .55; } }

/* footer — dark in both themes, so the mark screens */
.site-footer { background: var(--foot-bg); color: rgba(244,239,228,.72); font-size: 15px; padding: 60px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #f4efe4; margin-bottom: 16px; }
.site-footer .brand small { color: rgba(244,239,228,.72); }
.site-footer .mark circle { mix-blend-mode: screen; }
.site-footer .mark .ink-b { fill: #2b5fd0; } .site-footer .mark .ink-r { fill: #d8344d; } .site-footer .mark .ink-y { fill: #c99b00; }
.site-footer h4 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #f4efe4; margin: 0 0 14px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #f4efe4; }
.legal-line { border-top: 1px solid rgba(244,239,228,.14); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* legal pages */
.legal-hero { background: var(--bg-2); padding: 84px 0 60px; border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.legal-hero::before, .legal-hero::after { content: ""; position: absolute; border-radius: 50%; mix-blend-mode: var(--blend); pointer-events: none; }
.legal-hero::before { width: 320px; height: 320px; right: 70px; top: -150px; background: var(--ink-y); }
.legal-hero::after { width: 260px; height: 260px; right: -90px; top: -40px; background: var(--ink-r); }
.legal-hero .wrap { z-index: 1; }
.legal-hero p { color: var(--fg-2); margin-top: 16px; }
@media (max-width: 760px) { .legal-hero::before, .legal-hero::after { opacity: .35; } }
.legal-body { padding: 64px 0 110px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 52px 0 14px; }
.prose h3 { font-family: var(--text); font-size: 18px; font-weight: 600; margin: 28px 0 8px; letter-spacing: .01em; font-variation-settings: normal; }
.prose p, .prose li { color: var(--fg); opacity: .92; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--fg); text-decoration-color: var(--ink-r); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.toc { font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0; margin-bottom: 40px; border-top: 1.5px solid var(--fg); border-bottom: 1px solid var(--rule); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--ink-r); }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
