/* Millo — product website.
   The same design system as the app: warm canvas, near-black ink, hairlines,
   8px corners, Helvetica, restrained colour, and the graph paper that fades
   in behind the top of the page. One deliberate theme: Millo lives on warm
   paper, so every colour is set explicitly rather than following the
   visitor's dark mode. */

:root {
  --canvas: #F7F3EA;
  --surface: #FFFDF7;
  --sidebar: #FAF6EC;
  --tint: #F2ECE0;
  --ink: #14110D;
  --ink-2: #3A352E;
  --muted: #635D53;
  --hairline: #E9E0D1;
  --rule: #D9D0C0;
  --clay: #C46542;
  --clay-ink: #8F4226;
  --clay-soft: #F2D8D1;
  --healthy: #4E7D57;
  --healthy-ink: #34593C;
  --healthy-soft: #DDE8D8;
  --watch: #D6A03F;
  --watch-ink: #6F4E0F;
  --watch-soft: #F1E0B9;
  --info: #517B95;
  --info-ink: #34566B;
  --info-soft: #DCE7EE;
  --acid: #C6F35A;
  --grid: rgb(117 111 100 / 0.07);
  --grid-major: rgb(117 111 100 / 0.11);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 1px 2px rgb(20 17 13 / 0.04), 0 18px 40px -18px rgb(20 17 13 / 0.18);
  --gutter: clamp(16px, 5vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--acid); color: var(--ink); }
p, ul, ol, dl, h1, h2, h3, h4, figure { margin: 0; }
.tabular, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font); }
code, .code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; background: var(--tint); border-radius: 4px; padding: 0.05em 0.35em; -webkit-box-decoration-break: clone; box-decoration-break: clone; overflow-wrap: anywhere; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: var(--canvas); padding: 10px 14px; border-radius: var(--radius); z-index: 10; font-weight: 700; }
.skip:focus { top: 12px; }

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

/* ── type ─────────────────────────────────────────────────────────────── */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
h1, .h1 { font-size: clamp(42px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
h2, .h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.03; letter-spacing: -0.028em; font-weight: 700; text-wrap: balance; }
h3, .h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; text-wrap: balance; }
.h4 { font-size: 18px; line-height: 1.25; font-weight: 700; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.lead--wide { max-width: 60ch; }
.muted { color: var(--muted); }
.note { font-size: 15px; color: var(--muted); }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  background: var(--ink); color: var(--surface); border: 1px solid var(--ink);
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: #3A352E; border-color: #3A352E; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--tint); border-color: #C4BAA8; }
/* A version that isn't out yet: reads as a label, not a button. */
.btn--soon { background: transparent; color: var(--muted); border-color: var(--rule); border-style: dashed; cursor: default; pointer-events: none; }
.btn--light { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.btn--light:hover { background: var(--surface); border-color: var(--surface); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }

/* ── header ───────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(247 243 234 / 0.97); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--hairline); }
.site-header__row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.wordmark { height: 26px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 700; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav-menu { display: none; margin-left: auto; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.nav-menu summary::-webkit-details-marker { display: none; }
/* The questions' open/close arrow is absolutely placed at the right edge; in the menu button it sits after the word. */
.nav-menu { border-bottom: 0; }
.nav-menu summary { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.nav-menu summary::after { position: static; flex: none; width: 7px; height: 7px; margin-top: -4px; transform: rotate(45deg); }
.nav-menu[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.nav-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: grid; min-width: 220px; }
.nav-menu__panel a { padding: 10px 12px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.nav-menu__panel a:hover { background: var(--tint); }
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-menu { display: block; }
  .site-header .btn--small { display: none; }
}

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 110% 90% at 78% 8%, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.5) 32%, rgb(0 0 0 / 0.16) 60%, transparent 88%);
  mask-image: radial-gradient(ellipse 110% 90% at 78% 8%, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.5) 32%, rgb(0 0 0 / 0.16) 60%, transparent 88%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; padding: 0; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 9px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }

/* The answer card: what Millo tells you, before any screenshot. */
.answer { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); }
.answer__label { font-size: 15px; font-weight: 700; color: var(--muted); }
.answer__figure { font-size: clamp(52px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; margin: 14px 0 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.answer__figure small { font-size: 0.42em; letter-spacing: 0; vertical-align: 0.95em; opacity: 0.7; }
.answer__sum { font-size: 15px; color: var(--muted); }
.answer__rows { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--hairline); }
.answer__rows li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.answer__rows li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.answer__alert { margin-top: 20px; padding: 14px 16px 14px 18px; border-radius: var(--radius); background: var(--clay-soft); color: var(--clay-ink); font-weight: 700; font-size: 16px; line-height: 1.35; }
.answer__foot { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ── sections ─────────────────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 128px) 0; border-top: 1px solid var(--rule); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--plain { border-top: 0; }
.section--tint { background: var(--sidebar); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head h2 { margin-bottom: 20px; }

/* A screenshot in a plain frame. */
.frame { background: var(--surface); border: 1px solid var(--hairline); border-radius: calc(var(--radius) + 2px); box-shadow: var(--shadow); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--hairline); background: var(--sidebar); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); display: inline-block; }
.frame__bar span { margin-left: 8px; }
.frame img { width: 100%; }
.frame--hero { margin-top: clamp(40px, 6vw, 72px); }
.caption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ── the four numbers ─────────────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.number { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.number h3 { font-size: 16px; letter-spacing: 0; color: var(--muted); }
.number .number__fig { font-size: clamp(30px, 3vw, 40px); color: var(--ink); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 12px 0 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.number p { font-size: 15px; color: var(--ink-2); }
.formula { margin-top: 20px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; letter-spacing: -0.01em; }

.attention { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.alerts { list-style: none; padding: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); }
.alerts li { position: relative; padding: 20px 24px 20px 30px; border-top: 1px solid var(--hairline); }
.alerts li:first-child { border-top: 0; }
.alerts li::before { content: ""; position: absolute; left: 14px; top: 22px; bottom: 22px; width: 4px; border-radius: 4px; background: var(--watch); }
.alerts li.is-trouble::before { background: var(--clay); }
.alerts__job { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.alerts__title { font-size: 17px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.is-trouble .alerts__title { color: var(--clay-ink); }
.alerts__cause { font-size: 15px; color: var(--muted); margin-top: 4px; }
.alerts__action { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--rule); }

.pills { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 28px; }
.pills li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.pill { display: inline-flex; justify-self: start; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.pill--healthy { background: var(--healthy-soft); color: var(--healthy-ink); }
.pill--watch { background: var(--info-soft); color: var(--info-ink); }
.pill--tight { background: var(--watch-soft); color: var(--watch-ink); }
.pill--attention { background: var(--clay-soft); color: var(--clay-ink); }

/* ── how it works ─────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; display: grid; gap: clamp(64px, 9vw, 120px); }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.step .step__where { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.step__where b { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ink); color: var(--canvas); font-size: 13px; letter-spacing: 0; }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--ink-2); max-width: 46ch; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 20px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 16px; color: var(--ink-2); }
.ticks svg { width: 20px; height: 20px; color: var(--healthy); margin-top: 3px; }
.callout { margin-top: 20px; padding: 14px 18px; border-radius: var(--radius); background: var(--tint); font-size: 15px; color: var(--ink-2); }

.phone { position: relative; width: min(360px, 100%); margin-inline: auto; border-radius: 34px; padding: 12px; background: var(--ink); box-shadow: var(--shadow); }
.phone img { border-radius: 24px; }
.phone::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 22%; border-radius: 0 0 24px 24px; background: linear-gradient(rgb(247 243 234 / 0), rgb(247 243 234 / 0.94) 70%, rgb(247 243 234)); pointer-events: none; }

.docs { position: relative; min-height: 440px; }
.docs img { position: absolute; width: 62%; border: 1px solid var(--hairline); border-radius: 4px; box-shadow: var(--shadow); background: #fff; }
.docs__back { right: 2%; top: 0; transform: rotate(2.2deg); }
.docs__front { left: 4%; top: 64px; transform: rotate(-1.6deg); }
.docs--single { min-height: 0; }
.docs--single img { position: static; width: min(460px, 100%); transform: none; margin-inline: auto; }

/* ── features ─────────────────────────────────────────────────────────── */
.featuregrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.featuregroup { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; }
.featuregroup h3 { font-size: 19px; margin-bottom: 14px; }
.featuregroup ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.featuregroup li { position: relative; padding-left: 18px; font-size: 16px; color: var(--ink-2); }
.featuregroup li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--rule); }
.featuregroup li.is-new::before { background: var(--clay); }

/* ── split ────────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split--reverse .split__media { order: -1; }
.split__copy > * + * { margin-top: 18px; }
.split__copy p { color: var(--ink-2); max-width: 52ch; }
.split__copy .kicker, .split__copy .note { color: var(--muted); }

/* ── tables ───────────────────────────────────────────────────────────── */
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 16px 22px; border-top: 1px solid var(--hairline); vertical-align: top; }
thead th { border-top: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
tbody th { font-weight: 700; }
.compare { min-width: 620px; }
.compare td:last-child, .compare th:last-child { background: var(--sidebar); }
.compare__us { font-weight: 700; }
.reqs th { width: 32%; }
@media (max-width: 640px) {
  .compare { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare tbody, .compare tr, .compare th, .compare td, .reqs tbody, .reqs tr, .reqs th, .reqs td { display: block; width: auto; }
  .compare tr, .reqs tr { padding: 16px; border-top: 1px solid var(--hairline); }
  .compare tr:first-child, .reqs tr:first-child { border-top: 0; }
  .compare th, .compare td, .reqs th, .reqs td { padding: 0; border: 0; }
  .compare th, .reqs th { margin-bottom: 6px; }
  .compare td { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 12px; padding: 3px 0; font-size: 15px; }
  .compare td::before { content: "Subscription"; font-weight: 400; color: var(--muted); }
  .compare td.compare__us::before { content: "Millo"; font-weight: 700; color: var(--ink); }
  .compare td:last-child { background: none; }
  .reqs td { font-size: 15px; color: var(--ink-2); }
}

/* ── brand palettes ───────────────────────────────────────────────────── */
.palettes { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#brand .split__copy { container-type: inline-size; }
.palettes li, .palette { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); font-size: 15px; font-weight: 700; }
.palette { font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 44px; transition: border-color 0.15s, box-shadow 0.15s; }
.palette:hover { border-color: var(--rule); }
.palette[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.swatch { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: 10px 0 0 -2px var(--sw2), 10px 0 0 0 var(--surface); margin-right: 10px; }
/* When the five don't fit on one line, the row is held narrow enough for three, then two, never four and one. */
@container (max-width: 535px) {
  .palettes { max-width: 420px; }
}
@container (max-width: 300px) {
  .palettes { gap: 6px; }
  .palette { padding: 6px 10px 6px 7px; font-size: 14px; }
  .swatch { margin-right: 8px; }
}

/* ── getting started ──────────────────────────────────────────────────── */
.startsteps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); counter-reset: s; }
.startsteps li { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; counter-increment: s; }
.startsteps li::before { content: counter(s); display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ink); color: var(--canvas); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.startsteps h3 { font-size: 20px; margin-bottom: 8px; }
.startsteps p { font-size: 16px; color: var(--ink-2); }

/* ── pricing ──────────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pricing h2 { margin-bottom: 20px; }
.pricecard { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px, 3vw, 36px); }
.pricecard__name { font-size: 15px; font-weight: 700; color: var(--muted); }
.pricecard__price { font-size: clamp(40px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; margin: 10px 0 6px; }
.pricecard__note { color: var(--muted); }
.pricecard .ticks { margin: 22px 0 26px; }
.pricecard__small { margin-top: 14px; font-size: 15px; text-align: center; }

/* ── faq ──────────────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__list { border-top: 1px solid var(--rule); }
.faq__list--full { max-width: 860px; }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 0 22px; color: var(--ink-2); max-width: 66ch; }
details p + p { margin-top: -10px; }

/* ── call to action ───────────────────────────────────────────────────── */
.cta { background: var(--ink); color: var(--canvas); padding: clamp(56px, 8vw, 104px) 0; }
.cta__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.cta h2 { color: var(--canvas); }
.cta h2 i { font-style: normal; color: var(--clay); }
.cta p { margin-top: 14px; color: #D9D0C0; font-size: 19px; }

/* ── footer ───────────────────────────────────────────────────────────── */
.site-footer { padding: 56px 0 40px; }
.footer__row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__row p { font-size: 15px; color: var(--muted); margin-top: 12px; max-width: 36ch; }
.footer__row .footer__label { margin-top: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.footer__links { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 15px; font-weight: 700; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
@media (max-width: 880px) {
  .footer__links { gap: 0; }
  .footer__links a { display: inline-block; padding: 7px 0; }
}
.footer__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ── subpages ─────────────────────────────────────────────────────────── */
.pagehead { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); overflow: hidden; }
.pagehead::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 90% 100% at 80% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 90% 100% at 80% 0%, #000 0%, transparent 75%); }
.pagehead .wrap { position: relative; }
.pagehead h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 20px; }
.platforms { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.platform { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.platform h3 { font-size: 19px; }
.platform p { font-size: 15px; color: var(--muted); }
.platform .btn { margin-top: 10px; }
.platform.is-this-computer { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.hint { margin-top: 14px; font-size: 15px; color: var(--muted); }
.installs, .cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.install, .cards3 > div { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; }
.install h3, .cards3 h3 { margin-bottom: 12px; }
.install ol { padding-left: 1.2rem; display: grid; gap: 10px; color: var(--ink-2); font-size: 16px; }
.cards3 p { font-size: 16px; color: var(--ink-2); }
.cards3 p + p { margin-top: 10px; }
.prose { max-width: 720px; }
.wrap.prose { max-width: 1240px; }
.wrap.prose > * { max-width: 720px; }
.prose h2 { margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p, .prose ul, .prose ul + p { margin-top: 14px; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 8px; }
.sample { margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featuregrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .hero__grid, .split, .attention, .pricing, .faq, .step { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .startsteps, .installs, .cards3 { grid-template-columns: minmax(0, 1fr); }
  .footer__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs { min-height: 0; display: grid; gap: 16px; }
  .docs img { position: static; width: 100%; transform: none; }
  .docs__back { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .numbers, .featuregrid, .platforms { grid-template-columns: minmax(0, 1fr); }
  .pills li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  th, td { padding: 14px 16px; }
  .footer__row { grid-template-columns: minmax(0, 1fr); }
  .answer__figure { font-size: 48px; }
  .frame__bar span { display: none; }
}

/* Buyer pages served by store/ at /get, and the draft notice on the legal pages. */
.notice { margin-bottom: 24px; padding: 14px 16px; border: 1px solid var(--watch-soft); border-radius: var(--radius); background: #FBF3E1; color: var(--watch-ink); font-size: 16px; }
.notice--error { border-color: var(--clay-soft); background: #FBEDE8; color: var(--clay-ink); }
.store-form { max-width: 560px; }
.lookup { display: grid; gap: 20px; margin-bottom: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 700; }
.field input { font: inherit; font-size: 17px; min-height: 48px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field .hint { margin-top: 0; }
.lookup .btn { justify-self: start; }
.checksum { display: block; margin-top: 4px; overflow-wrap: anywhere; font-size: 12px; }
.store-notes { margin-top: 32px; }
.store-notes p + p { margin-top: 10px; }
.prose .notice { margin-top: 0; }
.legal-updated { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* "No catch": the plain-dealing promise, on ink. */
.straight { background: var(--ink); color: var(--canvas); padding: clamp(64px, 9vw, 128px) 0; }
.straight__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.straight .kicker { color: #B9AE9C; }
.straight h2 { color: var(--canvas); }
.straight h2 i { font-style: normal; color: var(--clay); }
.straight .lead { color: #D9D0C0; margin-top: 22px; }
.straight .actions { margin-top: 32px; }
.straight__list { list-style: none; padding: 0; display: grid; gap: 12px; }
.straight__list li { padding: 20px 22px; border: 1px solid #3A352E; border-radius: var(--radius); background: rgb(255 253 247 / 0.04); }
.straight__list h3 { color: var(--canvas); font-size: 19px; }
.straight__list p { margin-top: 6px; color: #D9D0C0; font-size: 16px; }
@media (max-width: 880px) { .straight__grid { grid-template-columns: minmax(0, 1fr); } }

/* Your company: the app in the chosen palette, in front of a document. */
.brandshow { position: relative; min-height: clamp(420px, 44vw, 600px); }
.brandshow__doc { position: absolute; top: 0; right: 0; width: 56%; border: 1px solid var(--hairline); border-radius: 4px; box-shadow: var(--shadow); background: #fff; transform: rotate(1.8deg); }
.brandshow__app { position: absolute; left: 0; bottom: 0; width: 84%; }
.brandshow__app img { transition: opacity 0.18s ease; }
.brandshow__app img.is-swapping { opacity: 0.15; }
@media (max-width: 880px) {
  .brandshow { min-height: 0; display: grid; gap: 16px; }
  .brandshow__doc, .brandshow__app { position: static; width: 100%; transform: none; }
  .brandshow__doc { width: 78%; justify-self: end; }
}
@media (prefers-reduced-motion: reduce) { .brandshow__app img { transition: none; } }

/* Try it yourself (demo.html): the real app in a frame, started by the visitor. */
.demo__tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 24px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); }
.demo__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.demo__tab span { font-weight: 400; color: var(--muted); font-size: 14px; }
.demo__tab[aria-selected="true"] { background: var(--ink); color: var(--canvas); }
.demo__tab[aria-selected="true"] span { color: #B9AE9C; }
.demo__panel { display: grid; gap: clamp(24px, 3vw, 40px); }
.demo__panel[hidden] { display: none; }
.demo__panel--crew { grid-template-columns: minmax(0, 390px) minmax(0, 1fr); align-items: start; }
.demo__stage { position: relative; overflow: hidden; background: var(--canvas); }
.demo__panel--office .demo__stage { aspect-ratio: 16 / 10; }
.demo__phone { width: 100%; max-width: 390px; padding: 10px; border-radius: 44px; background: var(--ink); box-shadow: var(--shadow); }
.demo__phone .demo__stage { aspect-ratio: 390 / 844; border-radius: 34px; }
.demo__phone .demo__poster { height: auto; object-fit: contain; object-position: top center; }
.demo__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0.55; filter: saturate(0.9); }
.demo__stage iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: var(--canvas); }
.demo__stage.is-playing .demo__poster, .demo__stage.is-playing .demo__play { display: none; }
.demo__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 26px 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--canvas); font: inherit; font-size: 18px; font-weight: 700; white-space: nowrap; box-shadow: 0 18px 40px -12px rgb(20 17 13 / 0.45); cursor: pointer; }
.demo__play:hover { background: #3A352E; }
.demo__play-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--clay); position: relative; }
.demo__play-icon::after { content: ""; position: absolute; left: 11px; top: 8px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--canvas); }
.demo__phone-note { display: none; }
.demo__about { display: grid; gap: 14px; align-content: start; }
.demo__panel--office .demo__about { max-width: 640px; }
.demo__steps { padding-left: 1.3em; display: grid; gap: 6px; color: var(--ink-2); }
.demo__steps li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.demo__small { font-size: 15px; color: var(--muted); }
.demo__fine { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--muted); max-width: 70ch; }
@media (max-width: 880px) {
  .demo__panel--crew { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .demo__panel--crew .demo__phone { width: min(390px, 100%); }
  .demo__panel--crew .demo__about { justify-self: stretch; }
}
@media (max-width: 700px) {
  .demo__panel--office .demo__play { display: none; }
  .demo__phone-note { display: block; position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); font-size: 15px; }
  .demo__tab { padding: 0 14px; }
  .demo__tab span { display: none; }
}

/* Movement on scroll (assets/site.js), only for visitors who haven't asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
  /* The top of the page rises in on load: words first, then the answer card, then the app. */
  .motion .hero__grid > div:first-child > * { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .motion .hero__grid > div:first-child > :nth-child(2) { animation-delay: 90ms; }
  .motion .hero__grid > div:first-child > :nth-child(3) { animation-delay: 180ms; }
  .motion .hero__grid > div:first-child > :nth-child(4) { animation-delay: 270ms; }
  .motion .hero__grid > div:first-child > :nth-child(5) { animation-delay: 360ms; }
  .motion .hero .answer { animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) 300ms both; }
  .motion .hero .answer__alert { animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1500ms both; }
  .motion .hero .frame--hero { animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 520ms both; }
  [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); }
  [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--reveal-delay, 0ms); }
}
