/* Callable Studio. Plain CSS, no build step.
   Theme follows the visitor's system (light or dark). Lime is only ever a fill or a shape, never text on a light background. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F6F6F2;
  --ink: #0B0B0C;
  --muted: #55554F;
  --surface: #ECECE6;
  --line: rgb(11 11 12 / .14);
  --lime: #C6FF3D;

  /* The ink slab at the bottom of the page (final call to action and footer) */
  --slab-bg: #0B0B0C;
  --slab-fg: #F6F6F2;
  --slab-muted: #A8A8A1;
  --slab-line: rgb(246 246 242 / .16);

  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  --btn-hover-bg: var(--lime);
  --btn-hover-fg: #0B0B0C;
  --bullet: var(--ink);
  --focus: var(--ink);
  --rec-ring: none;

  --r: 8px;                       /* surfaces: cards, images, inputs, panels */
  --r-pill: 999px;                /* interactive: buttons, choice chips, the nav bar */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgb(11 11 12 / .06), 0 28px 48px -28px rgb(11 11 12 / .38);

  --z-sticky: 30;
  --z-nav: 35;
  --z-skip: 40;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B0C;
    --ink: #F6F6F2;
    --muted: #A8A8A1;
    --surface: #141416;
    --line: rgb(246 246 242 / .14);
    --slab-bg: #141416;
    --btn-bg: var(--lime);
    --btn-fg: #0B0B0C;
    --btn-hover-bg: #F6F6F2;
    --bullet: var(--lime);
    --focus: var(--lime);
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 28px 48px -28px rgb(0 0 0 / .8);
    --rec-ring: inset 0 0 0 1px rgb(198 255 61 / .4);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: var(--z-skip);
  background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: var(--r);
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.25rem); letter-spacing: -0.045em; line-height: .98; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -0.025em; line-height: 1.1; }

/* The lime full stop from the logo, used to end headings */
.sq::after {
  content: "";
  display: inline-block;
  width: .17em; height: .17em;
  margin-left: .07em;
  background: var(--lime);
  border-radius: 12%;
}

.lede { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.45; color: var(--muted); max-width: 30em; }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 44px; padding: 0 22px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: var(--r-pill);
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); box-shadow: inset 0 0 0 1.5px #0B0B0C; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--lg { width: 28px; height: 28px; }

/* ---------- Nav: a floating pill, centred ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  padding: 14px var(--gutter) 0; pointer-events: none;
}
.nav__in {
  pointer-events: auto;
  display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; max-width: 900px; height: 64px; margin-inline: auto;
  padding: 0 10px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgb(11 11 12 / .35);
}
.nav__logo { display: block; min-width: 0; justify-self: start; margin-left: 12px; }
.nav__logo img { height: 18px; width: auto; max-width: 100%; }
.nav__links { display: none; gap: clamp(20px, 3vw, 32px); justify-self: center; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--ink); opacity: .72; padding: 10px 0; transition: opacity .2s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__in .btn { justify-self: end; min-height: 44px; }
@media (max-width: 479px) { .nav__logo { margin-left: 8px; } .nav .btn { padding: 0 16px; font-size: .9375rem; } }
@media (max-width: 359px) { .nav__logo img { height: 15px; } .nav .btn { padding: 0 12px; } }
@media (min-width: 860px) {
  .nav__in { grid-template-columns: 1fr auto 1fr; }
  .nav__logo { margin-left: 18px; }
  .nav__logo img { height: 20px; }
  .nav__links { display: flex; }
  .nav__in .btn { grid-column: 3; }
}

/* Mobile menu: the pill gets a menu button; it opens a full-screen sheet. Needs JS, so without it the pill keeps its button. */
.nav__toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; place-items: center; }
.menu { display: none; }
@media (max-width: 859px) {
  .js .nav--menu .nav__in > .btn { display: none; }
  .js .nav--menu .nav__in > .nav__toggle { display: grid; justify-self: end; }
  .menu {
    position: fixed; inset: 0; height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    padding: 14px var(--gutter) max(24px, env(safe-area-inset-bottom));
    background: var(--bg); pointer-events: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), visibility 0s .25s;
  }
  .menu.open { opacity: 1; visibility: visible; transition: opacity .25s var(--ease), visibility 0s; }
  .menu__top { display: flex; align-items: center; justify-content: space-between; height: 64px; flex: none; padding: 0 11px 0 23px; }
  .menu__top .nav__toggle { display: grid; }
  .menu__top .nav__logo { margin: 0; }
  .menu__top .nav__logo img { height: 18px; }
  .menu__links { display: grid; margin: clamp(24px, 6vh, 56px) 0 40px; padding-left: 23px; }
  .menu__links a {
    padding: 10px 0; text-decoration: none; color: var(--ink);
    font-size: clamp(2.25rem, 11vw, 3rem); font-weight: 550; letter-spacing: -.04em; line-height: 1.1;
    opacity: 0; transform: translateY(12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .menu.open .menu__links a { opacity: 1; transform: none; }
  .menu.open .menu__links a:nth-child(2) { transition-delay: .04s; }
  .menu.open .menu__links a:nth-child(3) { transition-delay: .08s; }
  .menu.open .menu__links a:nth-child(4) { transition-delay: .12s; }
  .menu__cta { margin-top: auto; flex: none; width: 100%; }
}
@media (max-width: 479px) { .menu__top { padding-left: 19px; } .menu__links { padding-left: 19px; } }
@media (prefers-reduced-motion: reduce) { .menu, .menu__links a { transition: none; } }
html.menu-open { overflow: hidden; }

/* ---------- Hero: centred, type only ---------- */
.hero {
  display: grid; justify-items: center; align-content: center; text-align: center;
  gap: clamp(24px, 3.4vw, 36px);
  min-height: calc(100vh - 78px); min-height: calc(100svh - 78px);
  padding-block: clamp(56px, 9vw, 96px) clamp(72px, 10vw, 128px);
}
.hero h1 { font-size: clamp(2.5rem, 5.8vw, 5rem); letter-spacing: -0.05em; line-height: .98; max-width: 17em; }
/* Second half of the headline in the muted ink, like ".studio" in the logo */
.hero h1 .soft { color: var(--muted); }
@media (max-width: 359px) { .hero h1 { font-size: 2rem; } }
.hero .lede { max-width: 36em; margin-inline: auto; }
.nw { white-space: nowrap; }

/* ---------- Facts ---------- */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts__in { display: grid; gap: 0; }
.facts li { display: flex; align-items: center; gap: 14px; padding: 18px 0; font-size: 1rem; }
.facts li + li { border-top: 1px solid var(--line); }
.facts strong { font-weight: 700; }
.facts .ico { color: var(--ink); }
@media (min-width: 760px) {
  .facts__in { grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 26px 0; }
  .facts li + li { border-top: 0; border-left: 1px solid var(--line); padding-left: 32px; margin-left: 32px; }
}

/* ---------- How it works ---------- */
.how { padding-block: var(--section); display: grid; gap: 40px; }
.how__head { display: grid; gap: 16px; align-content: start; }
.how__head p { color: var(--muted); font-size: 1.125rem; max-width: 30ch; }
.how__list li { position: relative; padding: 28px 0 32px 34px; border-top: 1px solid var(--line); }
.how__list li:last-child { border-bottom: 1px solid var(--line); }
.how__list li::before {
  content: ""; position: absolute; left: 0; top: 34px;
  width: 14px; height: 14px; background: var(--lime); border-radius: 12%;
  box-shadow: 0 0 0 1px var(--line);
}
.how__list h3 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.how__list p { margin-top: 12px; color: var(--muted); font-size: 1.125rem; max-width: 38ch; }
@media (min-width: 900px) {
  .how { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; }
  .how__head { position: sticky; top: 112px; align-self: start; }
  .how__list li { padding: 40px 0 44px 48px; }
  .how__list li::before { top: 52px; width: 18px; height: 18px; }
}

/* ---------- What the site does (five cells, uneven widths) ---------- */
.feat { padding-bottom: var(--section); }
.feat__grid { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 56px); }
.cell { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r); border: 1px solid transparent; }
.cell h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.cell p { font-size: 1.0625rem; max-width: 46ch; }
.cell .ico--lg { width: 32px; height: 32px; margin-bottom: 14px; }
.cell--lime { background: var(--lime); color: #0B0B0C; }
.cell--lime p { color: #2a2e1a; }
.cell--ink { background: var(--slab-bg); color: var(--slab-fg); }
.cell--ink p { color: var(--slab-muted); }
.cell--surface { background: var(--surface); border-color: var(--line); }
.cell--surface p, .cell--line p { color: var(--muted); }
.cell--line { border-color: var(--line); }
@media (min-width: 900px) {
  .feat__grid { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .feat__grid > :nth-child(1) { grid-column: span 7; }
  .feat__grid > :nth-child(2) { grid-column: span 5; }
  .feat__grid > :nth-child(3) { grid-column: span 5; }
  .feat__grid > :nth-child(4) { grid-column: span 7; }
  .feat__grid > :nth-child(5) { grid-column: span 12; }
  .cell { min-height: 280px; }
  .cell--wide { min-height: 0; }
}

/* ---------- Example: one concept, shown as the whole page in a scrollable frame ---------- */
.examples { background: var(--surface); padding-block: var(--section); border-block: 1px solid var(--line); }
.example { margin-top: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 14px; }
.shot {
  height: clamp(440px, 72vh, 700px); overflow-y: auto; overscroll-behavior: auto;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); background: var(--bg);
  scrollbar-width: thin;
}
.shot img { width: 100%; height: auto; }
.example figcaption { display: grid; gap: 2px; font-size: .875rem; color: var(--muted); }
.example figcaption strong { color: var(--ink); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Pricing: two equal cards and one shared list ---------- */
.pricing { padding-block: var(--section); }
.pay { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 20px; }
.paycard {
  display: grid; gap: 32px; align-content: space-between;
  padding: clamp(24px, 3.4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.paycard__body { display: grid; gap: 10px; align-content: start; }
.paycard h3 { font-size: 1.5rem; margin-bottom: 8px; }
.paycard__price { color: var(--muted); }
.paycard__price .big { display: block; color: var(--ink); font-size: clamp(3rem, 6.4vw, 4.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 4px; }
.paycard__then { font-size: 1.3125rem; }
.paycard__then strong { font-weight: 800; }
.paycard__note { color: var(--muted); max-width: 40ch; margin-top: 6px; }
@media (min-width: 900px) { .pay { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 599px) { .paycard .btn { width: 100%; } }

.includes { margin-top: 24px; padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 24px; }
.includes ul { display: grid; gap: 14px 48px; }
.includes li { position: relative; padding-left: 22px; }
.includes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--ink); border-radius: 12%; }
@media (min-width: 900px) {
  .includes { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
  .includes ul { grid-template-columns: 1fr 1fr; }
}

/* ---------- FAQ ---------- */
.faq { padding-bottom: var(--section); }
.faq__list { margin-top: clamp(28px, 4vw, 48px); max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px; padding: 16px 0; font-size: 1.1875rem; font-weight: 650; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); max-width: 60ch; }

/* ---------- About ---------- */
.about { padding-bottom: var(--section); display: grid; gap: 20px; justify-items: start; }
.about p { max-width: 52ch; font-size: 1.1875rem; color: var(--muted); }

/* ---------- Final call to action + footer (one ink slab) ---------- */
.cta, .foot { background: var(--slab-bg); color: var(--slab-fg); --btn-bg: var(--lime); --btn-fg: #0B0B0C; --btn-hover-bg: #F6F6F2; --bullet: var(--lime); --focus: var(--lime); }
.cta { padding-block: clamp(72px, 10vw, 128px) clamp(64px, 9vw, 112px); color-scheme: dark; scroll-margin-top: 0; }
.cta:focus { outline: none; }
.cta__grid { display: grid; gap: clamp(32px, 6vw, 56px); }
.cta__copy { display: grid; gap: 20px; align-content: start; }
.cta h2 { font-size: clamp(2.25rem, 5.4vw, 4.25rem); letter-spacing: -0.05em; line-height: .98; }
.cta__copy p { color: var(--slab-muted); font-size: 1.1875rem; max-width: 30ch; }
@media (min-width: 960px) {
  .cta__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 8vw, 112px); align-items: start; }
  .cta__copy { position: sticky; top: 112px; }
}

/* ---------- Request form (a card on the ink slab, same shape as the pricing cards) ---------- */
.cta__form {
  padding: clamp(24px, 3.4vw, 40px);
  background: rgb(246 246 242 / .04); border: 1px solid var(--slab-line); border-radius: var(--r);
}
.form { --field-bg: rgb(246 246 242 / .06); --field-line: rgb(246 246 242 / .2); --err: #FFB4A8; counter-reset: step; }
.form__fields { display: grid; gap: 36px; }
.form__note, .form__consent { color: var(--slab-muted); font-size: .9375rem; }
.form__note { margin-bottom: -12px; }
.form__consent { text-align: center; }
.form__consent a { color: var(--slab-fg); text-underline-offset: 3px; }

.form__group { display: grid; gap: 20px; padding-top: 28px; border-top: 1px solid var(--slab-line); counter-increment: step; }
.form__note + .form__group { padding-top: 0; border-top: 0; }
.form__title { display: flex; align-items: baseline; gap: 12px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.form__title::before { content: "0" counter(step); color: var(--lime); font-size: .875rem; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }

.row2 { display: grid; gap: 20px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; letter-spacing: -.005em; color: var(--slab-fg); padding: 0; }
.opt { font-weight: 400; color: var(--slab-muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  background: var(--field-bg); color: var(--slab-fg);
  border: 1px solid var(--field-line); border-radius: var(--r);
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.form input[type="text"]:hover, .form input[type="email"]:hover, .form input[type="tel"]:hover, .form select:hover, .form textarea:hover { border-color: rgb(246 246 242 / .4); }
.form textarea { resize: vertical; min-height: 120px; }
.form ::placeholder { color: var(--slab-muted); opacity: .75; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 0; border-color: var(--lime); box-shadow: 0 0 0 3px rgb(198 255 61 / .22); }
.form [aria-invalid="true"] { border-color: var(--err); }
.form input:-webkit-autofill { -webkit-text-fill-color: var(--slab-fg); box-shadow: inset 0 0 0 100px #1d1d20; caret-color: var(--slab-fg); }
.field-err { color: var(--err); font-size: .9375rem; font-weight: 500; }

/* The select keeps its native menu but takes the field look and our own arrow */
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--slab-fg); border-bottom: 2px solid var(--slab-fg); transform: rotate(45deg); pointer-events: none;
}
.form select { -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer; text-overflow: ellipsis; }
.form select option { background: #141416; color: #F6F6F2; }

.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choices .choice-row label {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
  border: 1px solid var(--field-line); border-radius: var(--r-pill); background: var(--field-bg);
  font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.choices .choice-row label:hover { border-color: var(--slab-fg); }
.choices input:checked + label { background: var(--lime); color: #0B0B0C; border-color: var(--lime); }
.choices input:focus-visible + label { outline: 2px solid var(--lime); outline-offset: 3px; }

.form__alert { padding: 14px 16px; border: 1px solid var(--err); border-radius: var(--r); color: var(--slab-fg); }
.form__alert a { color: var(--slab-fg); text-underline-offset: 3px; }
.form__send { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--slab-line); }
.form__send .btn { width: 100%; }
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form__done { display: grid; gap: 10px; }
.form__done:focus { outline: none; }
.form__done-title { font-size: 2rem; font-weight: 800; letter-spacing: -.035em; }
.form__done p + p { color: var(--slab-muted); }

.foot { padding-top: 0; }
.foot::before {
  content: ""; display: block; height: 1px; background: var(--slab-line);
  margin-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
.foot__top { display: grid; gap: 40px; padding-top: 48px; }
.foot__brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.foot__icon { border-radius: var(--r); }
.foot__brand p { color: var(--slab-muted); max-width: 22ch; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.foot__cols h2 { font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--slab-muted); line-height: 1.3; margin-bottom: 14px; text-wrap: wrap; }
.foot__cols ul { display: grid; gap: 4px; }
.foot__cols a { display: inline-flex; align-items: center; gap: 10px; padding: 7px 0; text-decoration: none; font-size: 1rem; overflow-wrap: anywhere; }
.foot__cols .ico { width: 20px; height: 20px; }
.foot__cols > div:nth-child(2) { grid-column: 1 / -1; order: -1; }
@media (min-width: 900px) { .foot__cols > div:nth-child(2) { grid-column: auto; order: 0; } }
.foot__cols a:hover span, .foot__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__copy { margin-top: clamp(40px, 6vw, 72px); color: var(--slab-muted); font-size: .875rem; }
@media (min-width: 900px) {
  .foot__top { grid-template-columns: 1fr auto; gap: 64px; }
  .foot__cols { grid-template-columns: repeat(3, minmax(120px, auto)); gap: 24px 72px; }
}

/* The wordmark, set across the full width of the viewport and flush with the bottom edge */
.foot__mark {
  overflow: hidden;
  padding: clamp(28px, 5vw, 72px) clamp(10px, 1.6vw, 24px) clamp(10px, 1.6vw, 24px);
}
.foot__mark img { width: 100%; height: auto; }

/* ---------- Mobile sticky call to action ---------- */
.sticky {
  position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s .4s;
}
.sticky.on { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.sticky .btn { width: 100%; }
@media (min-width: 760px) { .sticky { display: none; } }

/* ---------- Motion (only when the visitor has not asked for less) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }

  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* The wordmark rises into the footer from the bottom edge */
  .js .foot__mark img { transform: translateY(70%); opacity: 0; transition: transform 1.2s var(--ease), opacity .8s var(--ease); }
  .js .foot__mark.in img { transform: none; opacity: 1; }
}

/* ---------- Privacy and 404 pages ---------- */
.page { padding-block: clamp(48px, 8vw, 104px) var(--section); display: grid; gap: 32px; justify-items: start; }
.prose { display: grid; gap: 16px; max-width: 62ch; }
.prose h2 { font-size: 1.5rem; margin-top: 16px; }
.prose p { color: var(--muted); }
.prose a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }
