/* Geoffrey marketing site.
 *
 * Every value here is lifted from the Claude Design mockup
 * ("Geoffrey Website.dc.html"), which authors the whole site as inline styles
 * on a single `x-dc` component. The job of this file is to be that same design
 * expressed as reusable classes, so four real HTML pages can share it.
 *
 * Deliberate DIVERGENCES from the mockup, all for reasons the mockup could not
 * have — it is a prototype, not a shipped site:
 *   - Pages are real documents at real URLs. The mockup switched screens by
 *     mutating `state.page`, which gives a search engine one URL and a social
 *     card one title for four different pages.
 *   - Navigation is <a href>, not <button onClick>. Middle-click, "open in new
 *     tab", and reading the page with JS off all work as a result.
 *   - :focus-visible rings, a skip link, and a prefers-reduced-motion block.
 *   - The mobile breakpoint is a CSS media query at 720px. The mockup computed
 *     `width < 720` in JS from a resize listener, which cannot run before first
 *     paint and so flashes the desktop nav on a phone.
 */

*, *::before, *::after { box-sizing: border-box; }

body { overflow-x: hidden; }

a { text-decoration: none; }
a:hover { color: var(--green-600); }

img { max-width: 100%; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--surface-card);
  color: var(--text-heading);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.skip-link:focus { left: 0; }

/* ── Layout ─────────────────────────────────────────────────────────────── */

.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 32px);
  padding-right: clamp(20px, 5vw, 32px);
}

.band--brand  { background: var(--surface-brand); }
.band--sunken {
  background: var(--surface-sunken);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* A two-column row that collapses to one on narrow screens, exactly as the
   mockup's repeat(auto-fit, minmax(300px, 1fr)) did. */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: center;
}
.split--wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.split--top  { align-items: start; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.cards--md { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards--lg { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }

.center { text-align: center; }

/* ── Type ───────────────────────────────────────────────────────────────── */

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--brass-600);
}
.eyebrow--on-brand { color: var(--brass-300); }
.eyebrow--mono {
  font-family: var(--font-mono);
  text-transform: none;
  letter-spacing: normal;
}

.display {
  font-size: clamp(36px, 7vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.section-title {
  font-size: clamp(30px, 5vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.lede--body { color: var(--text-body); }
.lede--on-brand { color: var(--text-on-brand-muted); }

.prose { font-size: 16px; line-height: 1.6; color: var(--text-body); margin: 0; }

/* Dash list — the mockup's "— item" bullets. The dash is decorative, so it is
   a ::before rather than a <span>, keeping it out of the accessibility tree
   and off the clipboard. */
.dash-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dash-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-body); }
.dash-list li::before { content: "—"; color: var(--brass-500); flex: none; }
.dash-list--on-brand li { color: var(--cream-50); }
.dash-list--on-brand li::before { color: var(--brass-300); }

/* ── Button — ported from the design system's Button.jsx ────────────────── */
/* SIZES/VARIANTS tables copied value-for-value; hover/press become :hover and
   :active, which the JSX simulated with mouse-event state. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
  /* size md — the JSX default */
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
  /* variant primary — the JSX default */
  background: var(--action-primary);
  color: var(--text-on-brand);
  border: 1px solid transparent;
}
.btn:hover  { background: var(--action-primary-hover); color: var(--text-on-brand); }
.btn:active { background: var(--action-primary-press); }

.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }

.btn--secondary {
  background: var(--surface-card);
  color: var(--text-heading);
  border: 1px solid var(--action-secondary-border);
}
.btn--secondary:hover  { background: var(--surface-sunken); color: var(--text-heading); }
.btn--secondary:active { background: var(--cream-200); }

.btn--ghost {
  background: transparent;
  color: var(--text-link);
  border: 1px solid transparent;
}
.btn--ghost:hover  { background: var(--green-50); color: var(--text-link); }
.btn--ghost:active { background: var(--green-100); }

/* On the brand-green hero the ghost button's green hover is invisible, so it
   takes a translucent cream wash instead. Same restraint, readable ground. */
.btn--ghost-on-brand { color: var(--cream-50); }
.btn--ghost-on-brand:hover  { background: rgba(250, 247, 240, 0.10); color: var(--cream-50); }
.btn--ghost-on-brand:active { background: rgba(250, 247, 240, 0.16); }

.btn--block { width: 100%; }

.btn-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 240, 0.94);
  border-bottom: 1px solid var(--border-subtle);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(8px); }
}

.site-header__bar {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-serif-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--green-900);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--green-900); }

.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
/* :not(.btn) matters: `.nav a` (0,1,1) outranks `.btn` (0,1,0), so without it
   the header's primary button inherits body ink and renders dark-on-dark. */
.nav > a:not(.btn) { color: var(--text-body); }
.nav__item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
/* The active underline is painted always and hidden unless current, so the
   link never shifts by 6px between pages. */
.nav__item::after { content: ""; height: 2px; width: 100%; background: transparent; }
.nav__item[aria-current="page"]::after { background: var(--brass-500); }
.nav__login { color: var(--text-muted); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface-card);
  color: var(--text-heading);
  cursor: pointer;
}

.nav-mobile {
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-page);
  padding: 8px clamp(20px, 5vw, 32px) 20px;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
}
.nav-mobile a:not(.btn) {
  color: var(--text-heading);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.nav-mobile .nav__login { color: var(--text-muted); border-bottom: 0; padding: 12px 0 16px; }

@media (max-width: 719px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 720px) {
  /* Never leave the mobile sheet open behind a desktop nav after a resize. */
  .nav-mobile { display: none !important; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding-top: clamp(56px, 9vw, 96px);
  padding-bottom: clamp(64px, 9vw, 104px);
}
.hero h1 { color: var(--cream-50); margin: 0 0 22px; max-width: 13ch; }
.hero .eyebrow { margin-bottom: 20px; display: block; }
.hero__lede { max-width: 48ch; margin: 0 0 34px; }
.hero__fine { margin-top: 36px; font-size: 13px; color: var(--green-400); }

/* ── Page head (Features / Releases / Pricing) ──────────────────────────── */

.page-head { padding-top: 80px; padding-bottom: 56px; }
.page-head .eyebrow { display: block; margin-bottom: 18px; }
.page-head h1 { margin: 0 0 18px; max-width: 16ch; }
.page-head--center h1 { margin-left: auto; margin-right: auto; max-width: 18ch; }
.page-head--center .lede { margin-left: auto; margin-right: auto; }

/* ── Cards ──────────────────────────────────────────────────────────────── */

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brass-600);
  margin-bottom: 14px;
}
.card h3 { font-size: 22px; font-weight: 500; margin: 0 0 10px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--text-body); margin: 0; }

/* ── Device mock — the 288px app previews ───────────────────────────────── */

.mock {
  width: 288px;
  border-radius: 30px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 100%;
}
.mock--hero { border-color: var(--border-on-brand); box-shadow: var(--shadow-overlay); }
.mock-center { display: flex; justify-content: center; }

.mock__head { background: var(--surface-brand); padding: 18px 20px; }
.mock__head--tall { background: var(--surface-brand-2); padding: 20px 20px 18px; }
.mock__kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--green-300);
}
.mock__title {
  font-family: var(--font-serif-display);
  font-size: 22px;
  color: var(--cream-50);
  line-height: 1.2;
}
.mock__title--sm { font-size: 20px; margin-top: 6px; }
.mock__meta { font-size: 12px; color: var(--green-300); margin-top: 8px; }
.mock__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mock__body--tight { padding: 14px 16px; gap: 8px; }

.mock__row {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock__row--stack { display: block; }
.mock__row--slim { padding: 9px 12px; border-radius: 10px; font-size: 13px; }
.mock__row--day { padding: 11px 12px; display: block; }
.mock__row--tonight { border-color: var(--brass-300); background: var(--brass-100); }
.mock__row--empty { border-style: dashed; border-color: var(--border-strong); }
.mock__row--warn { border-color: var(--amber-600); background: var(--amber-100); color: var(--amber-600); }

.mock__label { font-size: 13px; font-weight: 600; color: var(--text-heading); }
.mock__sub { font-size: 12px; color: var(--text-muted); }
.mock__price { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--brass-600); }
.mock__caps {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--text-faint);
}
.mock__caps--tonight { color: var(--brass-700); }
.mock__day { font-size: 14px; color: var(--text-heading); margin-top: 3px; }
.mock__day--muted { color: var(--text-muted); }
.mock__week { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--text-body); }
.mock__week div { display: flex; justify-content: space-between; }
.mock__week span { color: var(--text-muted); }
.mock__quote {
  background: var(--surface-sunken);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-body);
  font-style: italic;
}
.mock__note { padding: 10px 12px; font-size: 12px; color: var(--text-faint); }
.mock__mono { font-family: var(--font-mono); }
.mock__muted { color: var(--text-muted); }

.mock__tabs { display: flex; gap: 8px; }
.mock__tab {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 13px;
  font-weight: 600;
}
.mock__tab--on { background: var(--green-800); color: var(--cream-50); border-color: transparent; }
.mock__field {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mock__recipe { border: 1px solid var(--border-subtle); border-radius: 12px; padding: 12px; }
.mock__recipe-title { font-family: var(--font-serif-display); font-size: 17px; color: var(--text-heading); }
.mock__cta {
  background: var(--green-800);
  color: var(--cream-50);
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.mock__progress { height: 3px; background: var(--border-on-brand); border-radius: 2px; margin-top: 10px; }
.mock__progress i { display: block; height: 3px; background: var(--brass-300); border-radius: 2px; }
.mock__total {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px 2px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4px;
}
.mock__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--amber-600);
  background: var(--amber-100);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

/* "Coming soon" — supermarkets designed into the copy but not yet connected. */
.soon {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 1px 7px;
  vertical-align: 1px;
}
.soon--on-brand { color: var(--green-300); border-color: var(--border-on-brand); }

/* ── Releases ───────────────────────────────────────────────────────────── */

.release {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
}
.release:last-child { border-bottom: 1px solid var(--border-subtle); }
.release__when {
  flex: 0 0 168px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 6px;
}
.release__version { color: var(--text-faint); }
.release__body { flex: 1 1 380px; min-width: 0; }
.release__body h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 20px;
  max-width: 26ch;
}
.release__kind {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  margin-bottom: 10px;
}
.release__kind--new   { color: var(--status-success-fg); }
.release__kind--fixed { color: var(--text-muted); }
.release__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
}
.release__list + .release__kind { margin-top: 20px; }
.release__list strong { color: var(--text-heading); font-weight: 600; }

/* ── Pricing ────────────────────────────────────────────────────────────── */

.tier {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.tier h2 { font-size: 28px; font-weight: 500; margin: 0 0 6px; }
.tier__blurb { font-size: 14px; color: var(--text-muted); margin: 0 0 22px; line-height: 1.5; }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.tier__amount {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
.tier__per { font-size: 14px; color: var(--text-muted); }
.tier__credits { font-family: var(--font-mono); font-size: 13px; color: var(--brass-600); margin-bottom: 26px; }
.tier__includes {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--text-faint);
  margin-bottom: 12px;
}
.tier .dash-list { margin: 0 0 28px; flex: 1; font-size: 15px; line-height: 1.5; }

.tier--featured {
  background: var(--surface-brand);
  border-color: var(--green-800);
  box-shadow: var(--shadow-raised);
  position: relative;
}
.tier--featured h2 { color: var(--cream-50); }
.tier--featured .tier__blurb { color: var(--text-on-brand-muted); }
.tier--featured .tier__amount { color: var(--cream-50); }
.tier--featured .tier__per { color: var(--text-on-brand-muted); }
.tier--featured .tier__credits { color: var(--brass-300); }
.tier--featured .tier__includes { color: var(--green-400); }
.tier__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--brass-300);
  border: 1px solid var(--border-on-brand);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.credits {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.credits__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}
.credits__row:last-child { border-bottom: 0; }
.credits__n { font-family: var(--font-mono); font-size: 28px; color: var(--brass-600); font-weight: 500; }
.credits__what { font-size: 15px; font-weight: 600; color: var(--text-heading); }
.credits__how { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer { background: var(--surface-brand); color: var(--text-on-brand-muted); }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 48px;
  font-size: 14px;
}
.site-footer__brand { font-family: var(--font-serif-display); font-size: 22px; color: var(--cream-50); margin-bottom: 10px; }
.site-footer__blurb { font-size: 13px; line-height: 1.6; max-width: 26ch; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--green-400);
  margin-bottom: 4px;
}
.site-footer a { color: var(--cream-50); }
.site-footer a:hover { color: var(--brass-300); }
.site-footer__mail { padding-bottom: 32px; font-size: 12px; color: var(--green-400); }
.site-footer__mail a { color: var(--green-400); }

/* ── Install sheet ──────────────────────────────────────────────────────── */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  /* A closed <dialog> is hidden by `display: none` in the UA stylesheet, so any
     unconditional `display` here would render the sheet open on every page
     load. The layout belongs on [open], not on the element. */
  display: none;
  align-items: flex-end;
  justify-content: center;
  border: 0;
  padding: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
}
.sheet[open] { display: flex; }
/* No-JS fallback. `[open]` is only ever set by showModal(), so without this the
   install steps — the whole point of "Get app" — are unreachable with JS off.
   :target makes the trigger's href="#get-app" do the work on its own. It is not
   in the top layer, so it paints its own scrim instead of ::backdrop; when JS is
   present the hash is consumed at load and this never matches. */
.sheet:target { display: flex; background: var(--scrim); }
.sheet::backdrop { background: var(--scrim); }
.sheet__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  background: var(--surface-card);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-overlay);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: sheet-in var(--duration-slow) var(--ease-out);
}
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }

.sheet__grab { flex: none; display: flex; justify-content: center; padding: 10px 0 0; }
.sheet__grab i { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--border-strong); }
.sheet__head { flex: none; display: flex; align-items: flex-start; gap: 14px; padding: 18px 24px 14px; }
.sheet__icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif-display);
  font-size: 26px;
  color: var(--cream-50);
}
.sheet__titles { flex: 1; min-width: 0; }
.sheet__title { font-family: var(--font-serif-display); font-size: 24px; font-weight: 500; color: var(--text-heading); line-height: 1.15; margin: 0; }
.sheet__sub { font-size: 14px; color: var(--text-muted); margin: 4px 0 0; }
.sheet__close {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--surface-sunken);
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sheet__body { flex: 1; overflow-y: auto; padding: 4px 24px 28px; display: flex; flex-direction: column; gap: 28px; }

.step { display: flex; flex-direction: column; gap: 14px; }
.step__line { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--text-body); line-height: 1.4; }
.step__n {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}
.step__line strong { color: var(--text-heading); font-weight: 600; }
.step__fig {
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.step__note { margin: 0 0 0 46px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }

.pill-dots {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  font-size: 13px;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

/* Safari chrome / share-sheet / add-dialog illustrations */
.ill-bar {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px;
}
.ill-bar__btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
}
.ill-bar__url {
  flex: 1;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-heading);
}
.ill-ring { box-shadow: 0 0 0 2.5px var(--brass-500); }
.ill-dots { letter-spacing: 0.08em; font-weight: 700; }

.ill-menu {
  width: 260px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow-card);
}
.ill-menu__item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-size: 14px; color: var(--text-heading); }
.ill-menu__item--on { border: 2px solid var(--brass-500); border-radius: 10px; margin: 0 -2px; }
.ill-menu__item span { width: 18px; color: var(--text-muted); text-align: center; }
.ill-menu__sep { height: 1px; background: var(--border-subtle); margin: 6px 12px; }

.ill-dialog {
  width: 300px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.ill-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}
.ill-dialog__cancel { color: var(--text-muted); }
.ill-dialog__heading { font-weight: 600; color: var(--text-heading); }
.ill-dialog__add { font-weight: 600; color: var(--brass-600); border-radius: var(--radius-pill); padding: 4px 10px; }
.ill-dialog__row { display: flex; gap: 12px; align-items: center; padding: 14px; }
.ill-dialog__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--surface-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif-display);
  font-size: 22px;
  color: var(--cream-50);
}
.ill-dialog__name { font-size: 15px; font-weight: 500; color: var(--text-heading); }
.ill-dialog__url { font-size: 12px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ill-dialog__toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-heading);
}
.ill-toggle { width: 44px; height: 26px; border-radius: var(--radius-pill); background: var(--green-700); position: relative; }
.ill-toggle i { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: var(--radius-pill); background: var(--cream-50); }

/* ── Section rhythm ─────────────────────────────────────────────────────── */

.sec       { padding-top: 88px; padding-bottom: 88px; }
.sec--tight{ padding-top: 56px; padding-bottom: 24px; }
.sec--band { padding-top: 80px; padding-bottom: 80px; }
.sec--last { padding-top: 88px; padding-bottom: 96px; }
.sec--split-first { padding-top: 0; padding-bottom: 24px; }

@media (max-width: 719px) {
  .sec, .sec--last { padding-top: 56px; padding-bottom: 56px; }
  .sec--band { padding-top: 56px; padding-bottom: 56px; }
  .page-head { padding-top: 48px; padding-bottom: 32px; }
  .split, .split--wide { gap: 36px; }
  .release__when { flex-basis: 100%; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Block spacing the page markup relies on ────────────────────────────── */
/* Kept together at the end rather than sprinkled above, because these are the
   rules that replace the mockup's per-element inline margins. */

.mock__kicker { display: block; }
.mock__head--tall .mock__kicker { margin-bottom: 10px; }
.mock__caps { display: block; }
.mock__row--stack .mock__caps { margin-bottom: 8px; }

.section-head { margin-bottom: 48px; }
.section-head h2 { margin: 0 0 14px; max-width: 18ch; }
.section-head .lede { max-width: 54ch; }
.section-head--center { margin-bottom: 28px; }
.section-head--center h2 { margin-left: auto; margin-right: auto; max-width: 20ch; }
.section-head--center .lede { margin-left: auto; margin-right: auto; max-width: 46ch; }

.split__text .eyebrow { display: block; margin-bottom: 16px; }
.split__text h2 { margin: 0 0 16px; max-width: 16ch; }
.split__text p { max-width: 46ch; }
.split__text .lede { margin-bottom: 12px; }

.prose--muted { font-size: 15px; color: var(--text-muted); }

.feature-text .eyebrow--mono { display: block; margin-bottom: 12px; }
.feature-text h2 { font-size: 28px; font-weight: 500; margin: 0 0 14px; }
.feature-text p { font-size: 16px; line-height: 1.6; color: var(--text-body); margin: 0 0 18px; max-width: 48ch; }

.sec__cta { margin-top: 48px; }
.sec__cta--sm { margin-top: 32px; }
.footnote { font-size: 14px; color: var(--text-muted); }

.page-head--releases { padding-bottom: 40px; }
.release-list { padding-bottom: 96px; }

.credits-head h2 { margin: 0 0 16px; max-width: 16ch; }
.credits-head p { max-width: 46ch; margin: 0 0 12px; }
.credits-head p:last-child { margin-bottom: 0; }

.tier .dash-list li { line-height: 1.5; }
