/* Generated from packages/ui/src/tokens.ts by apps/www/src/build.ts. Do not edit. */
:root {
  --bg:#FBF8F5;
  --surface:#FFFFFF;
  --surface-sunken:#F4EFE9;
  --raised:#FFFFFF;
  --ink:#231E1A;
  --ink-muted:#6E635B;
  --line:#EBE3DB;
  --border-control:#8A7D73;
  --accent:#0E6B63;
  --accent-hover:#0A574F;
  --on-accent:#FFFFFF;
  --accent-weak:#E3EFEC;
  --accent-ink:#0B564F;
  --honey:#E8A33D;
  --on-honey:#2A1C06;
  --honey-weak:#FBEFDC;
  --honey-ink:#7A4A06;
  --success:#1F7A43;
  --success-weak:#E2F1E7;
  --success-ink:#166033;
  --warning:#92610A;
  --warning-weak:#FAEFD9;
  --warning-ink:#7A5008;
  --danger:#B3261E;
  --danger-weak:#FBE9E7;
  --danger-ink:#8F1D17;
  --focus:#0E6B63;
  --scrim:#231E1A;
  --eu-blue:#003399;
  --eu-gold:#FFCC00;
  --shadow-sm:0 1px 2px rgba(35,30,26,.05);
  --shadow-md:0 2px 4px rgba(35,30,26,.04), 0 12px 28px -14px rgba(35,30,26,.18);
  --shadow-lg:0 4px 8px rgba(35,30,26,.06), 0 24px 56px -20px rgba(35,30,26,.26);
  --font-ui:'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-10:40px;
  --space-12:48px;
  --space-16:64px;
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --radius-pill:999px;
  --text-xs:13px;
  --text-xs-leading:18px;
  --text-xs-tracking:0;
  --text-sm:15px;
  --text-sm-leading:22px;
  --text-sm-tracking:0;
  --text-base:17px;
  --text-base-leading:27px;
  --text-base-tracking:0;
  --text-lg:20px;
  --text-lg-leading:28px;
  --text-lg-tracking:0;
  --text-xl:24px;
  --text-xl-leading:31px;
  --text-xl-tracking:-0.018em;
  --text-2xl:30px;
  --text-2xl-leading:36px;
  --text-2xl-tracking:-0.018em;
  --text-3xl:38px;
  --text-3xl-leading:44px;
  --text-3xl-tracking:-0.018em;
  --tracking-caps:0.055em;
  --weight-regular:400;
  --weight-medium:500;
  --weight-bold:700;
  --z-base:0;
  --z-sticky:100;
  --z-dropdown:200;
  --z-overlay:300;
  --z-modal:400;
  --z-toast:500;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg:#0E1316;
    --surface:#171E22;
    --surface-sunken:#090D0F;
    --raised:#1F282C;
    --ink:#ECF2F3;
    --ink-muted:#9DABB0;
    --line:#263137;
    --border-control:#687880;
    --accent:#35B3A6;
    --accent-hover:#55C7BB;
    --on-accent:#04211E;
    --accent-weak:#10302D;
    --accent-ink:#6ED6C9;
    --honey:#F0B254;
    --on-honey:#2A1C06;
    --honey-weak:#2E2314;
    --honey-ink:#F3C27A;
    --success:#4BB873;
    --success-weak:#112A1C;
    --success-ink:#7ADC9C;
    --warning:#E0A94A;
    --warning-weak:#2C2213;
    --warning-ink:#EBC077;
    --danger:#F0695F;
    --danger-weak:#2F1613;
    --danger-ink:#F59189;
    --focus:#55C7BB;
    --scrim:#05090B;
    --eu-blue:#003399;
    --eu-gold:#FFCC00;
    --shadow-sm:0 1px 2px rgba(0,0,0,.45);
    --shadow-md:0 2px 4px rgba(0,0,0,.4), 0 14px 32px -16px rgba(0,0,0,.75);
    --shadow-lg:0 4px 10px rgba(0,0,0,.5), 0 28px 64px -22px rgba(0,0,0,.85);
  }
}

:root[data-theme='dark'] {
  --bg:#0E1316;
  --surface:#171E22;
  --surface-sunken:#090D0F;
  --raised:#1F282C;
  --ink:#ECF2F3;
  --ink-muted:#9DABB0;
  --line:#263137;
  --border-control:#687880;
  --accent:#35B3A6;
  --accent-hover:#55C7BB;
  --on-accent:#04211E;
  --accent-weak:#10302D;
  --accent-ink:#6ED6C9;
  --honey:#F0B254;
  --on-honey:#2A1C06;
  --honey-weak:#2E2314;
  --honey-ink:#F3C27A;
  --success:#4BB873;
  --success-weak:#112A1C;
  --success-ink:#7ADC9C;
  --warning:#E0A94A;
  --warning-weak:#2C2213;
  --warning-ink:#EBC077;
  --danger:#F0695F;
  --danger-weak:#2F1613;
  --danger-ink:#F59189;
  --focus:#55C7BB;
  --scrim:#05090B;
  --eu-blue:#003399;
  --eu-gold:#FFCC00;
  --shadow-sm:0 1px 2px rgba(0,0,0,.45);
  --shadow-md:0 2px 4px rgba(0,0,0,.4), 0 14px 32px -16px rgba(0,0,0,.75);
  --shadow-lg:0 4px 10px rgba(0,0,0,.5), 0 28px 64px -22px rgba(0,0,0,.85);
}

.mp-eu{margin:var(--space-10) 0 0}.mp-eu__link{display:inline-flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-4) var(--space-2) var(--space-2);background:var(--surface);border:thin solid var(--line);border-radius:var(--radius-md);color:var(--ink);text-decoration:none;min-height:var(--space-12)}.mp-eu__link:hover{border-color:var(--border-control)}.mp-eu__flag{position:relative;flex:none;width:calc(var(--space-12) - var(--space-1));aspect-ratio:3/2;background:var(--eu-blue);border-radius:var(--radius-sm)}.mp-eu__flag::after{content:'';position:absolute;inset:0;background:var(--eu-gold);mask:url('data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2030%2020%22%3E%3Cpath%20d=%22M15.00%202.22L15.25%202.99L16.06%202.99L15.40%203.46L15.65%204.23L15.00%203.76L14.35%204.23L14.60%203.46L13.94%202.99L14.75%202.99ZM18.33%203.12L18.58%203.88L19.39%203.88L18.74%204.36L18.99%205.13L18.33%204.65L17.68%205.13L17.93%204.36L17.28%203.88L18.08%203.88ZM20.77%205.56L21.02%206.32L21.83%206.32L21.18%206.80L21.43%207.57L20.77%207.09L20.12%207.57L20.37%206.80L19.72%206.32L20.52%206.32ZM21.67%208.89L21.92%209.66L22.72%209.66L22.07%2010.13L22.32%2010.90L21.67%2010.42L21.01%2010.90L21.26%2010.13L20.61%209.66L21.42%209.66ZM20.77%2012.22L21.02%2012.99L21.83%2012.99L21.18%2013.46L21.43%2014.23L20.77%2013.76L20.12%2014.23L20.37%2013.46L19.72%2012.99L20.52%2012.99ZM18.33%2014.66L18.58%2015.43L19.39%2015.43L18.74%2015.90L18.99%2016.67L18.33%2016.20L17.68%2016.67L17.93%2015.90L17.28%2015.43L18.08%2015.43ZM15.00%2015.56L15.25%2016.32L16.06%2016.32L15.40%2016.80L15.65%2017.57L15.00%2017.09L14.35%2017.57L14.60%2016.80L13.94%2016.32L14.75%2016.32ZM11.67%2014.66L11.92%2015.43L12.72%2015.43L12.07%2015.90L12.32%2016.67L11.67%2016.20L11.01%2016.67L11.26%2015.90L10.61%2015.43L11.42%2015.43ZM9.23%2012.22L9.48%2012.99L10.28%2012.99L9.63%2013.46L9.88%2014.23L9.23%2013.76L8.57%2014.23L8.82%2013.46L8.17%2012.99L8.98%2012.99ZM8.33%208.89L8.58%209.66L9.39%209.66L8.74%2010.13L8.99%2010.90L8.33%2010.42L7.68%2010.90L7.93%2010.13L7.28%209.66L8.08%209.66ZM9.23%205.56L9.48%206.32L10.28%206.32L9.63%206.80L9.88%207.57L9.23%207.09L8.57%207.57L8.82%206.80L8.17%206.32L8.98%206.32ZM11.67%203.12L11.92%203.88L12.72%203.88L12.07%204.36L12.32%205.13L11.67%204.65L11.01%205.13L11.26%204.36L10.61%203.88L11.42%203.88Z%22/%3E%3C/svg%3E') center/100% 100% no-repeat}.mp-eu__text{display:flex;flex-direction:column}.mp-eu__title{font-size:var(--text-sm);line-height:var(--text-sm-leading);font-weight:var(--weight-bold)}.mp-eu__law{color:var(--ink-muted);font-size:var(--text-xs);line-height:var(--text-xs-leading)}
/*
 * The presentation site's stylesheet. One file, loaded once.
 *
 * It lives under the same rules as packages/ui/src/components.css, and the guard in
 * infra/scripts/guards reads this file too:
 *
 *   · Every colour, space, radius and font size is a custom property from
 *     packages/ui/src/tokens.ts. A 1px hairline is the only literal allowed.
 *   · Sizes the token scale does not cover — a hero headline, a container width — are set
 *     in `rem`, `em`, `ch`, `%` or `vw`, never in px. That is not a trick to get past the
 *     guard: a marketing headline that scales with the reader's own font size is the
 *     behaviour we want, and the token scale deliberately stops at 36px because the
 *     dashboard has nothing bigger in it.
 *   · Two breakpoints, 56.25em and 68.75em — the 900 and 1100 lines from
 *     technical/06-blocks-and-editor.md §2 at a 16px root, and no third (app/CLAUDE.md
 *     rule 11).
 *   · prefers-reduced-motion removes every transition and every animation. Nothing on this
 *     site carries information in motion, so nothing is lost.
 *
 * Tokens themselves are prepended at build time from `cssVariables('published')` — the
 * published-page scale, not the dashboard's, because this is a page somebody reads once.
 */

/* ---------------------------------------------------------------- font ----------------- */

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---------------------------------------------------------------- base ----------------- */

:root {
  /* Not tokens: the page's own geometry, which the dashboard has no opinion about. */
  --s-measure: 75rem;
  --s-narrow: 44rem;
  --s-gutter: var(--space-5);
  --s-band: calc(var(--space-16) + var(--space-12));
  --s-hairline: 1px;
  color-scheme: light dark;
}

@media (min-width: 56.25em) {
  :root {
    --s-gutter: var(--space-8);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--space-16) + var(--space-4));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--text-base-leading);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-ink);
}

:focus-visible {
  /* The 2px ring of technical/12-design-language.md §6, expressed from the space scale
     because the guard allows no px literal but 1px, and the scale has no 2. */
  outline: calc(var(--space-1) / 2) solid var(--focus);
  outline-offset: calc(var(--space-1) / 2);
  border-radius: var(--radius-sm);
}

.mp-icon {
  display: block;
  flex: none;
}

.s-skip {
  position: absolute;
  left: var(--space-4);
  top: calc(var(--space-16) * -1);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-5);
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: var(--weight-medium);
  transition: top 150ms ease;
}
.s-skip:focus {
  top: var(--space-4);
}

/* ---------------------------------------------------------------- layout --------------- */

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

.s-section {
  padding-block: var(--s-band);
}

.s-section--sunken {
  background: var(--surface-sunken);
}

.s-section--ink {
  --band-bg: var(--ink);
  --band-ink: var(--bg);
  --band-muted: color-mix(in srgb, var(--bg) 68%, var(--ink));
  --band-line: color-mix(in srgb, var(--bg) 20%, transparent);
  background: var(--band-bg);
  color: var(--band-ink);
}

/*
 * In dark mode an inverted band would invert back to light, which reads as a hole in the
 * page rather than as emphasis. The band keeps its job — "this is the serious part" — by
 * going to the sunken ground instead. Written twice, under the preference and under the
 * explicit choice, the same way tokens.ts emits every colour.
 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .s-section--ink {
    --band-bg: var(--surface-sunken);
    --band-ink: var(--ink);
    --band-muted: var(--ink-muted);
    --band-line: var(--line);
  }
}
:root[data-theme='dark'] .s-section--ink {
  --band-bg: var(--surface-sunken);
  --band-ink: var(--ink);
  --band-muted: var(--ink-muted);
  --band-line: var(--line);
}

.s-section--ink .s-eyebrow,
.s-section--ink .s-lead {
  color: var(--band-muted);
}

.s-section--accent {
  background: var(--accent);
  color: var(--on-accent);
}

.s-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 56.25em) {
  .s-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .s-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 68.75em) {
  .s-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.s-center {
  text-align: center;
  margin-block: var(--space-10) 0;
}

/* ---------------------------------------------------------------- type ----------------- */

.s-h1 {
  margin: 0 0 var(--space-5);
  font-size: clamp(2.5rem, 6.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: var(--weight-bold);
  text-wrap: balance;
}

.s-h1--sm {
  font-size: clamp(2.125rem, 4.6vw, 3.5rem);
}

.s-h1__accent {
  display: block;
  color: var(--accent-ink);
}

.s-h2 {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.026em;
  font-weight: var(--weight-bold);
  text-wrap: balance;
}

.s-h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--text-2xl);
  line-height: var(--text-2xl-leading);
  letter-spacing: var(--text-2xl-tracking);
  font-weight: var(--weight-bold);
}

.s-eyebrow {
  margin: 0 0 var(--space-4);
  font-size: var(--text-xs);
  line-height: var(--text-xs-leading);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-weight: var(--weight-medium);
  color: var(--accent-ink);
}

.s-lead {
  margin: 0;
  font-size: var(--text-lg);
  line-height: var(--text-lg-leading);
  color: var(--ink-muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.s-body {
  margin: 0;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.s-head {
  margin-bottom: var(--space-12);
  max-width: var(--s-measure);
}

.s-head--center {
  text-align: center;
  margin-inline: auto;
  max-width: 54rem;
}
.s-head--center .s-lead {
  margin-inline: auto;
}

.s-head--start {
  max-width: 52rem;
}

/* ---------------------------------------------------------------- controls ------------- */

.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: calc(var(--space-10) + var(--space-2));
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: var(--s-hairline) solid transparent;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.s-btn .mp-icon {
  transition: transform 160ms ease;
}
.s-btn:hover .mp-icon {
  transform: translateX(0.125rem);
}

.s-btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}
.s-btn--primary:hover {
  background: var(--accent-hover);
}

.s-btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-control);
}
.s-btn--secondary:hover {
  background: var(--accent-weak);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.s-section--accent .s-btn--primary {
  background: var(--on-accent);
  color: var(--accent);
}
.s-section--accent .s-btn--primary:hover {
  background: var(--on-accent);
  transform: translateY(calc(var(--space-1) * -0.25));
}

.s-btn--ghost {
  background: transparent;
  color: currentcolor;
  border-color: color-mix(in srgb, currentcolor 35%, transparent);
}
.s-btn--ghost:hover {
  border-color: currentcolor;
  background: color-mix(in srgb, currentcolor 10%, transparent);
}

.s-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.s-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: calc(var(--space-10) + var(--space-1));
  color: var(--accent-ink);
  font-weight: var(--weight-medium);
  text-decoration: none;
}
.s-link:hover {
  text-decoration: underline;
  text-underline-offset: var(--space-1);
}
.s-link .mp-icon {
  transition: transform 160ms ease;
}
.s-link:hover .mp-icon {
  transform: translateX(0.1875rem);
}

.s-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--accent-weak);
  color: var(--accent-ink);
  font-size: var(--text-xs);
  line-height: var(--text-xs-leading);
  font-weight: var(--weight-medium);
  white-space: nowrap;
}

.s-chip--honey {
  background: var(--honey-weak);
  color: var(--honey-ink);
}

.s-chip--lg {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  line-height: var(--text-sm-leading);
  background: var(--surface);
  color: var(--ink);
  border: var(--s-hairline) solid var(--line);
}

.s-checks {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.s-checks__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  color: var(--ink-muted);
}

.s-checks__item .mp-icon {
  color: var(--accent);
  margin-top: 0.15em;
}

/* ---------------------------------------------------------------- header --------------- */

/*
 * The header is glass, and ticket 109 asks for the glass to read as glass: a photograph
 * passing behind it should be visible, not a rumour. So the tint is thinner and the blur
 * deeper than the first version's 86% and one step of blur — a frosted pane rather than a
 * nearly opaque bar.
 *
 * The contrast is held by the blur, not by luck. `@supports` below falls back to an opaque
 * bar wherever `backdrop-filter` is missing, because a thin tint with nothing blurring
 * under it is the one combination in which the wordmark lands on a photograph.
 */
.s-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: saturate(180%) blur(var(--space-6));
  border-bottom: var(--s-hairline) solid transparent;
  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}

.s-header[data-scrolled] {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
}

@supports not (backdrop-filter: blur(1px)) {
  .s-header,
  .s-header[data-scrolled] {
    background: var(--bg);
  }
}

.s-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: calc(var(--space-16) + var(--space-2));
}

.s-wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* The logo keeps its own colours on light and dark; the height sets its size. */
.s-wordmark svg {
  display: block;
  height: var(--space-8);
  width: auto;
}

.s-header__nav {
  display: none;
}

@media (min-width: 68.75em) {
  .s-header__nav {
    display: block;
  }
}

.s-header__list {
  display: flex;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
 * Ticket 109: these three read as navigation at rest, and not only under a cursor. An
 * underline is the one affordance that survives a photograph behind the glass, a greyscale
 * print and somebody who does not know the site — so it is always drawn, in the accent at
 * half strength, and goes solid on hover, focus and touch. The 2px focus ring from the base
 * rules sits on top of that, so the keyboard state is the hover state plus the ring.
 */
.s-header__link {
  display: inline-flex;
  align-items: center;
  min-height: calc(var(--space-10) + var(--space-1));
  padding-inline: var(--space-4);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-decoration-thickness: var(--s-hairline);
  text-decoration-color: color-mix(in srgb, var(--accent-ink) 45%, transparent);
  text-underline-offset: var(--space-2);
  transition:
    background-color 150ms ease,
    color 150ms ease,
    text-decoration-color 150ms ease;
}
.s-header__link:hover,
.s-header__link:focus-visible,
.s-header__link:active {
  background: var(--accent-weak);
  color: var(--accent-ink);
  text-decoration-color: currentcolor;
}

.s-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-inline-start: auto;
}

.s-header__signin {
  display: none;
  align-items: center;
  min-height: calc(var(--space-10) + var(--space-1));
  padding-inline: var(--space-4);
  color: var(--ink);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}
.s-header__signin:hover {
  color: var(--accent-ink);
}

.s-header__actions .s-btn {
  display: none;
}

@media (min-width: 56.25em) {
  .s-header__signin,
  .s-header__actions .s-btn {
    display: inline-flex;
  }
}

/*
 * The narrow-screen menu. `<details>` with no script: the browser owns open, close, Escape
 * and the focus order, and the panel is a sheet under the header rather than a drawer,
 * because a drawer needs a scrim and a scrim needs a script.
 */
.s-menu {
  position: relative;
}

@media (min-width: 68.75em) {
  .s-menu {
    display: none;
  }
}

.s-menu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(var(--space-10) + var(--space-1));
  min-height: calc(var(--space-10) + var(--space-1));
  border-radius: var(--radius-sm);
  border: var(--s-hairline) solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--text-xl);
  cursor: pointer;
  list-style: none;
}
.s-menu__btn::-webkit-details-marker {
  display: none;
}
.s-menu__close {
  display: none;
}
.s-menu[open] .s-menu__btn > .mp-icon {
  display: none;
}
.s-menu[open] .s-menu__close {
  display: block;
}

.s-menu__panel {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: calc(100% + var(--space-3));
  z-index: var(--z-dropdown);
  width: max-content;
  min-width: 14rem;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--raised);
  border: var(--s-hairline) solid var(--line);
  box-shadow: var(--shadow-lg);
}

.s-menu__panel ul {
  list-style: none;
  margin: 0 0 var(--space-2);
  padding: 0;
  display: grid;
  gap: var(--space-1);
}

/* The same three links, so the same affordance (ticket 109). */
.s-menu__panel a {
  display: flex;
  align-items: center;
  min-height: calc(var(--space-10) + var(--space-1));
  padding-inline: var(--space-4);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-decoration-thickness: var(--s-hairline);
  text-decoration-color: color-mix(in srgb, var(--accent-ink) 45%, transparent);
  text-underline-offset: var(--space-2);
}
.s-menu__panel a:hover,
.s-menu__panel a:focus-visible,
.s-menu__panel a:active {
  background: var(--accent-weak);
  color: var(--accent-ink);
  text-decoration-color: currentcolor;
}

.s-menu__panel .s-btn {
  display: flex;
  width: 100%;
}

/* Above 900px the header already carries the call to action; the menu must not repeat it. */
@media (min-width: 56.25em) {
  .s-menu__panel .s-btn {
    display: none;
  }
  .s-menu__panel ul {
    margin-bottom: 0;
  }
}

/* ---------------------------------------------------------------- hero ----------------- */

.s-hero {
  padding-block: var(--space-16) var(--s-band);
  overflow: hidden;
}

.s-hero__inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 68.75em) {
  .s-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: var(--space-16);
  }
}

.s-hero__lead {
  font-size: var(--text-xl);
  line-height: var(--text-xl-leading);
  max-width: 34rem;
}

.s-hero__note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-6) 0 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: var(--text-sm-leading);
}
.s-hero__note .mp-icon {
  color: var(--honey-ink);
}

.s-hero__visual {
  position: relative;
  isolation: isolate;
}

.s-hero__photo {
  width: 100%;
  /* 3:2, which is the frame the photograph was taken in: a 4:3 crop of it put the basket
     in the middle and lost the shelves, and the shelves are the point (ticket 112). */
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/*
 * Under 900px the phone sits below the photograph and laps over it, rather than floating
 * beside it: at 375px an absolutely positioned phone is 140px wide, its content wraps to
 * seven hundred pixels of height, and it climbs over the headline. Found on a 375 viewport,
 * which is where these producers actually are (app/CLAUDE.md rule 10).
 */
.s-hero__visual .s-phone {
  width: 62%;
  max-width: 13rem;
  margin: calc(var(--space-16) * -1) auto 0;
  position: relative;
}

@media (min-width: 56.25em) {
  .s-hero__visual .s-phone {
    position: absolute;
    margin: 0;
    inset-block-end: calc(var(--space-10) * -1);
    inset-inline-end: calc(var(--space-12) * -1);
    width: 42%;
    max-width: 15rem;
  }
}

/* ---------------------------------------------------------------- phone ---------------- */

.s-phone {
  border-radius: var(--radius-lg);
  background: var(--raised);
  border: var(--s-hairline) solid var(--line);
  padding: var(--space-2);
  box-shadow: var(--shadow-lg);
}

.s-phone__screen {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.s-phone__photo {
  height: var(--space-16);
  background:
    radial-gradient(
      circle at 30% 20%,
      color-mix(in srgb, var(--honey) 70%, transparent),
      transparent 60%
    ),
    linear-gradient(140deg, var(--accent), var(--accent-hover));
}

.s-phone__body {
  padding: var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.s-phone__kicker {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-muted);
}

.s-phone__title {
  margin: 0;
  font-size: var(--text-lg);
  line-height: var(--text-lg-leading);
  font-weight: var(--weight-bold);
}

.s-phone__text {
  margin: 0;
  font-size: var(--text-xs);
  line-height: var(--text-xs-leading);
  color: var(--ink-muted);
}

.s-phone__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-block: var(--space-1);
}

.s-phone__panel {
  border: var(--s-hairline) solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
}

.s-phone__panelHead {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

.s-phone__panelBody {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

/* „Sastojci" as rows, which is how the published page shows it (ticket 113). */
.s-phone__comp {
  margin: var(--space-1) 0 0;
  font-size: var(--text-xs);
}

.s-phone__compRow {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-1);
  border-top: var(--s-hairline) solid var(--line);
}
.s-phone__compRow:first-child {
  border-top: 0;
}

.s-phone__comp dt {
  color: var(--ink-muted);
}

.s-phone__comp dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-medium);
}

/* ---------------------------------------------------------------- categories ----------- */

.s-cats {
  padding-block: var(--space-12);
  border-block: var(--s-hairline) solid var(--line);
  background: var(--surface-sunken);
}

.s-cats__label {
  margin: 0 0 var(--space-6);
  text-align: center;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: var(--text-sm-leading);
}

.s-marquee {
  display: flex;
  gap: var(--space-3);
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    var(--ink) var(--space-16),
    var(--ink) calc(100% - var(--space-16)),
    transparent
  );
}

.s-marquee__track {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: none;
  animation: s-marquee 56s linear infinite;
}

.s-marquee:hover .s-marquee__track {
  animation-play-state: paused;
}

@keyframes s-marquee {
  to {
    transform: translateX(calc(-100% - var(--space-3)));
  }
}

/* ---------------------------------------------------------------- moment --------------- */

.s-moment {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 68.75em) {
  .s-moment {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-16);
  }
}

.s-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-6);
}

.s-steps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
}

.s-steps__item.is-bad {
  border-color: color-mix(in srgb, var(--danger) 35%, var(--line));
  background: var(--danger-weak);
}

.s-steps__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--accent-ink);
}
.s-steps__item.is-bad .s-steps__num {
  color: var(--danger-ink);
}

.s-steps__heading {
  margin: 0 0 var(--space-1);
  font-size: var(--text-lg);
  line-height: var(--text-lg-leading);
  font-weight: var(--weight-bold);
}

.s-steps__body {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: var(--text-sm-leading);
}

.s-moment__figure {
  margin: 0;
}

/* The supplied illustration has a portrait composition, so it stays compact beside the steps. */
.s-moment__illustration {
  display: block;
  width: 100%;
  max-width: 24rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: var(--s-hairline) solid var(--line);
  box-shadow: var(--shadow-md);
}

.s-pull {
  margin: var(--space-16) auto 0;
  max-width: 48rem;
  text-align: center;
  border: 0;
  padding: 0;
}
.s-pull p {
  margin: 0;
  font-size: clamp(1.375rem, 2.6vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.022em;
  font-weight: var(--weight-bold);
  text-wrap: balance;
}

/* ---------------------------------------------------------------- track ---------------- */

.s-track {
  display: grid;
  gap: var(--s-band);
}

.s-track__row {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 68.75em) {
  .s-track__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: var(--space-16);
  }
  .s-track__row:nth-child(even) .s-track__text {
    order: 2;
  }
}

.s-track__num {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--accent-ink);
}
.s-track__num span {
  font-family: var(--font-ui);
  font-weight: var(--weight-regular);
  color: var(--ink-muted);
}

.s-after {
  margin: var(--s-band) auto 0;
  text-align: center;
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  background: var(--honey-weak);
  border: var(--s-hairline) solid color-mix(in srgb, var(--honey) 40%, transparent);
  max-width: 52rem;
}
.s-after .s-h3 {
  color: var(--honey-ink);
}

/* ---------------------------------------------------------------- cards ---------------- */

.s-card {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.s-card:hover {
  transform: translateY(calc(var(--space-1) * -0.5));
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.s-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-12);
  height: var(--space-12);
  border-radius: var(--radius-sm);
  background: var(--accent-weak);
  color: var(--accent-ink);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.s-card__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--honey-ink);
  font-weight: var(--weight-bold);
}

.s-card__heading {
  margin: 0;
  font-size: var(--text-lg);
  line-height: var(--text-lg-leading);
  font-weight: var(--weight-bold);
  text-wrap: balance;
}

.s-card__body {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: var(--text-sm-leading);
}

/* ---------------------------------------------------------------- stats band ----------- */

.s-stats .s-stat {
  padding: var(--space-8);
  border-radius: var(--radius-md);
  border: var(--s-hairline) solid var(--band-line);
  background: color-mix(in srgb, var(--band-ink) 5%, transparent);
}

.s-stat__value {
  margin: 0 0 var(--space-3);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: var(--weight-bold);
}

.s-stat__value span {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  line-height: var(--text-sm-leading);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-weight: var(--weight-medium);
  color: var(--band-muted);
}

.s-stat__body {
  margin: 0;
  color: var(--band-muted);
  font-size: var(--text-sm);
  line-height: var(--text-sm-leading);
}

/* ---------------------------------------------------------------- split ---------------- */

.s-split {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 68.75em) {
  .s-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-16);
  }
}

.s-split__visual {
  display: grid;
  gap: var(--space-6);
}

/* ---------------------------------------------------------------- mocks ---------------- */

.s-mock {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.s-mock__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: var(--s-hairline) solid var(--line);
  background: var(--surface-sunken);
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

.s-mock__barLabel {
  margin-inline-start: var(--space-2);
}

.s-mock__barAction {
  margin-inline-start: auto;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: var(--weight-medium);
}

.s-dot {
  width: var(--space-2);
  height: var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--line);
}

.s-editor {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--surface-sunken);
}

.s-editor__palette {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  align-content: start;
}

.s-editor__paletteItem {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

.s-editor__paletteItem.is-lifted {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent-weak);
  box-shadow: var(--shadow-md);
  transform: translateY(calc(var(--space-1) * -1)) rotate(-1.5deg);
}

.s-editor__canvas {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
}

.s-editor__block {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
}

.s-editor__block--photo {
  height: var(--space-12);
  background: linear-gradient(140deg, var(--accent-weak), var(--honey-weak));
}

.s-editor__block--drop {
  border: var(--s-hairline) dashed var(--accent);
  background: var(--accent-weak);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--space-10);
}

.s-editor__dropLabel {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--accent-ink);
}

.s-editor__line {
  display: block;
  height: var(--space-2);
  width: 60%;
  border-radius: var(--radius-pill);
  background: var(--line);
}
.s-editor__line--wide {
  width: 85%;
}
.s-editor__line--short {
  width: 35%;
}

.s-mock--code {
  padding: var(--space-8);
  text-align: center;
}

.s-code {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  justify-items: center;
}

@media (min-width: 56.25em) {
  .s-code {
    grid-template-columns: auto minmax(0, 1fr);
    text-align: start;
    justify-items: start;
  }
}

.s-code__symbol {
  width: var(--space-16);
  min-width: 11rem;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
}
.s-code__symbol svg {
  width: 100%;
  height: auto;
  display: block;
}

.s-code__score {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--ink-muted);
}

.s-code__scoreValue {
  font-size: var(--text-3xl);
  line-height: var(--text-3xl-leading);
  font-weight: var(--weight-bold);
  color: var(--success-ink);
}

.s-code__scoreLabel {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.s-code__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.s-code__checks li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}
.s-code__checks .mp-icon {
  color: var(--success);
}

.s-code__caption {
  margin: var(--space-6) 0 0;
  font-size: var(--text-xs);
  line-height: var(--text-xs-leading);
  color: var(--ink-muted);
}

.s-files {
  list-style: none;
  margin: 0;
  padding: var(--space-2);
  /* The prepress callout used to close this card (ticket 119 removed it), so the list
     itself now has to end somewhere rather than against the border. */
  padding-bottom: var(--space-3);
  display: grid;
  gap: var(--space-1);
}

.s-files__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
}

.s-files__name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.s-files__note {
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

.s-mock--stats {
  padding: var(--space-6);
  display: grid;
  gap: var(--space-5);
}

.s-stats__head {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.s-stats__value {
  margin: 0;
  font-size: var(--text-3xl);
  line-height: 1;
  font-weight: var(--weight-bold);
}

.s-stats__label {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

.s-stats__chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: var(--space-16);
}

/*
 * Seven heights as seven classes. They were a `style="--bar:71%"` attribute until the
 * policy on the live host blocked every one of them — `style-src 'self'` covers the
 * attribute too — and the chart shipped as a row of nothing. A number that belongs to a
 * drawing belongs in the stylesheet.
 */
.s-stats__bar {
  position: relative;
  flex: 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    to top,
    var(--accent),
    color-mix(in srgb, var(--accent) 55%, var(--surface))
  );
}
.s-stats__bar--1 {
  height: 38%;
}
.s-stats__bar--2 {
  height: 52%;
}
.s-stats__bar--3 {
  height: 44%;
}
.s-stats__bar--4 {
  height: 71%;
}
.s-stats__bar--5 {
  height: 63%;
}
.s-stats__bar--6 {
  height: 96%;
  /* Saturday, the peak — the one day in planning/02-customer.md §5 she did not expect. */
  background: linear-gradient(to top, var(--honey), var(--honey-weak));
}
.s-stats__bar--7 {
  height: 84%;
}

.s-stats__barDay {
  position: absolute;
  inset-block-end: calc(var(--space-5) * -1);
  inset-inline: 0;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

.s-stats__rows {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
}
.s-stats__rows li {
  display: flex;
  justify-content: space-between;
  padding-block: var(--space-2);
  border-top: var(--s-hairline) solid var(--line);
  color: var(--ink-muted);
}
.s-stats__num {
  font-weight: var(--weight-bold);
  color: var(--ink);
}

.s-swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
}

.s-swap__card {
  margin: 0;
}

.s-swap__screen {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: var(--space-16);
}

.s-swap__card--after .s-swap__screen {
  border-color: var(--honey);
  background: var(--honey-weak);
}

.s-swap__line {
  font-size: var(--text-xs);
  line-height: var(--text-xs-leading);
  color: var(--ink-muted);
}

.s-swap__line--head {
  font-weight: var(--weight-bold);
  color: var(--ink);
}

.s-swap__card--after .s-swap__line--head {
  color: var(--honey-ink);
}

.s-swap__caption {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  text-align: center;
}

.s-swap__arrow {
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------- groups --------------- */

.s-groups {
  display: grid;
  gap: var(--space-6);
}

.s-group {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
}

@media (min-width: 56.25em) {
  .s-group {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-12);
    padding: var(--space-10);
  }
}

.s-group__kicker {
  margin: 0 0 var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--honey-ink);
  font-weight: var(--weight-bold);
}

.s-group__value {
  margin: var(--space-6) 0 0;
  padding-top: var(--space-5);
  border-top: var(--s-hairline) solid var(--line);
  font-weight: var(--weight-medium);
  color: var(--accent-ink);
}

.s-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-5);
  max-width: 52rem;
  margin-inline: auto;
}

.s-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-12);
  height: var(--space-12);
  border-radius: var(--radius-sm);
  background: var(--honey-weak);
  color: var(--honey-ink);
  font-size: var(--text-xl);
}

/* ---------------------------------------------------------------- page hero ------------ */

.s-pageHero {
  padding-block: var(--space-16) var(--space-12);
}

.s-pageHero__inner {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 68.75em) {
  .s-pageHero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--space-16);
  }
}

.s-pageHero__figure {
  margin: 0;
}
.s-pageHero__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------------- faq ------------------ */

.s-faq {
  max-width: 52rem;
  margin-inline: auto;
  display: grid;
  gap: var(--space-2);
}

.s-faq__item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
  overflow: hidden;
}

.s-faq__item[open] {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.s-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: calc(var(--space-10) + var(--space-4));
  padding: var(--space-4) var(--space-6);
  cursor: pointer;
  font-weight: var(--weight-medium);
  font-size: var(--text-lg);
  line-height: var(--text-lg-leading);
  list-style: none;
}
.s-faq__q::-webkit-details-marker {
  display: none;
}

.s-faq__sign {
  position: relative;
  flex: none;
  width: var(--space-5);
  height: var(--space-5);
  color: var(--accent-ink);
}
.s-faq__sign::before,
.s-faq__sign::after {
  content: '';
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 100%;
  height: var(--s-hairline);
  border-top: calc(var(--space-1) / 2) solid currentcolor;
  border-radius: var(--radius-pill);
  transition: transform 200ms ease;
}
.s-faq__sign::after {
  transform: rotate(90deg);
}
.s-faq__item[open] .s-faq__sign::after {
  transform: rotate(0deg);
}

.s-faq__a {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--ink-muted);
  max-width: 60ch;
}
.s-faq__a p {
  margin: 0;
}

/* ---------------------------------------------------------------- cta ------------------ */

.s-section--cta {
  text-align: center;
}

.s-cta {
  max-width: 50rem;
  margin-inline: auto;
}

.s-cta__lead {
  margin-inline: auto;
  color: color-mix(in srgb, var(--on-accent) 82%, var(--accent));
}

.s-cta .s-actions {
  justify-content: center;
}

/* ---------------------------------------------------------------- 404 ------------------ */

.s-404 {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  padding-block: var(--space-16);
}

.s-404 .s-lead {
  margin-inline: auto;
}

.s-404 .s-actions {
  justify-content: center;
}

.s-404__code {
  margin: 0 0 var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-caps);
  color: var(--honey-ink);
  font-weight: var(--weight-bold);
}

.s-404__note {
  margin: var(--space-12) 0 0;
  padding-top: var(--space-6);
  border-top: var(--s-hairline) solid var(--line);
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: var(--text-sm-leading);
}

/* ---------------------------------------------------------------- footer --------------- */

.s-footer {
  background: var(--surface-sunken);
  border-top: var(--s-hairline) solid var(--line);
  padding-block: var(--space-16) var(--space-10);
}

.s-footer__inner {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 56.25em) {
  .s-footer__inner {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
  }
}

.s-footer__blurb {
  margin: var(--space-5) 0 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: var(--text-sm-leading);
  max-width: 34ch;
}

.s-footer__colHead {
  margin: 0 0 var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: var(--weight-medium);
}

.s-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-1);
}

.s-footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: calc(var(--space-10) + var(--space-1));
  color: var(--ink);
  text-decoration: none;
  font-size: var(--text-sm);
}
.s-footer__col a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: var(--space-1);
}

.s-footer__legal {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: var(--s-hairline) solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-5);
  color: var(--ink-muted);
  font-size: var(--text-xs);
  line-height: var(--text-xs-leading);
}
.s-footer__legalText {
  display: grid;
  gap: var(--space-2);
  max-width: 68ch;
}
.s-footer__legal p {
  margin: 0;
}

/*
 * The theme preference (ticket 109). A segmented group of three, in the legal row, where it
 * is findable and not in the way — the header is for navigation and the call to action.
 *
 * `aria-pressed` carries the state and the fill follows it, so the selected choice is not
 * colour alone. Each button clears the 44px touch target.
 */
.s-themePick {
  display: inline-flex;
  flex: none;
  padding: calc(var(--space-1) / 2);
  gap: calc(var(--space-1) / 2);
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: var(--s-hairline) solid var(--line);
}

.s-themePick__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--space-10);
  padding-inline: var(--space-4);
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}
.s-themePick__btn:hover {
  color: var(--accent-ink);
  background: var(--accent-weak);
}
.s-themePick__btn[aria-pressed='true'] {
  background: var(--accent);
  color: var(--on-accent);
}

/* ---------------------------------------------------------------- motion --------------- */

/*
 * The only motion on the site that is not a hover: sections arrive. Eight pixels and
 * 500ms, once, and never again — see site.js, which unobserves after the first crossing.
 * Without JavaScript the element is already in its final state, because `.s-reveal` only
 * takes the hidden state when the script has said it is running.
 */
[data-reveal] .s-reveal {
  opacity: 0;
  transform: translateY(var(--space-2));
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-reveal] .s-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] .s-reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .s-header,
  .s-skip,
  .s-marquee {
    display: none;
  }
}

/* ---------------------------------------------------------------- 2026-11-17 ----------- */

/* Screen-reader text. */
.s-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Trust chips under the hero's buttons. */
.s-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.s-trust__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border: var(--s-hairline) solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: var(--text-sm);
  color: var(--ink);
}

.s-trust__chip .mp-icon {
  width: 1em;
  height: 1em;
  color: var(--accent-ink);
}

/* The try-it panel: controls on one side, a phone with the real page on the other. */
.s-try {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 56.25em) {
  .s-try {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
}

.s-try__controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.s-try__label {
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--ink);
}

.s-try__input {
  font: inherit;
  padding: var(--space-3) var(--space-4);
  border: var(--s-hairline) solid var(--border-control);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  max-width: 26rem;
}

.s-try__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.s-try__chip,
.s-faq__tab {
  font: inherit;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  border: var(--s-hairline) solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.s-try__chip[aria-pressed='true'],
.s-faq__tab[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.s-swatch {
  width: var(--space-10);
  height: var(--space-10);
  border-radius: var(--radius-pill);
  border: var(--s-hairline) solid var(--line);
  cursor: pointer;
}

.s-swatch[aria-pressed='true'] {
  outline: var(--space-1) solid var(--focus);
  outline-offset: var(--space-1);
}

.s-swatch--accent {
  background: var(--accent);
}
.s-swatch--honey {
  background: var(--honey);
}
.s-swatch--warning {
  background: var(--warning);
}
.s-swatch--success {
  background: var(--success);
}
.s-swatch--danger {
  background: var(--danger);
}
.s-swatch--ink {
  background: var(--ink);
}

.s-device {
  width: min(100%, 21rem);
  margin: 0 auto;
  padding: var(--space-3);
  border-radius: calc(var(--radius-lg) * 2);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.s-device__screen {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  border: 0;
  border-radius: calc(var(--radius-lg) * 1.4);
  background: var(--surface);
}

/* The comparison table. */
.s-compare {
  overflow-x: auto;
}

.s-compare__table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.s-compare__table th,
.s-compare__table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: var(--s-hairline) solid var(--line);
  text-align: center;
}

.s-compare__table tbody th {
  text-align: start;
  font-weight: var(--weight-regular);
}

.s-compare__table thead th {
  font-weight: var(--weight-bold);
}

.s-compare__table .is-us {
  background: var(--accent-weak);
  color: var(--accent-ink);
}

/* An icon alone in its cell, centred as a block so stray template whitespace cannot push it. */
.s-compare__table td .mp-icon {
  display: block;
  width: 1.25em;
  height: 1.25em;
  margin-inline: auto;
}

.s-compare__table .is-yes .mp-icon {
  color: var(--success);
}

/* On a phone the table scrolls sideways; the row labels stay put. */
.s-compare__table tbody th,
.s-compare__table thead th:first-child {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: var(--band-bg, var(--surface-sunken));
}

.s-compare__table .is-no {
  color: var(--ink-muted);
}

/* FAQ topic tabs. */
.s-faq__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

/* Big step numerals. */
.s-track__num {
  font-size: var(--text-3xl);
  line-height: 1;
}

/* ---------------------------------------------------------------- hero visual, 2026-11-17 */

/*
 * The photograph, the real demo page in a phone standing on its right edge, and a small
 * code to scan on its lower left corner. Everything sits inside the column; nothing
 * reaches into the header or past the edge of the window. On a phone the photograph is
 * enough: the try-it panel right under the hero has the phone.
 */
.s-hero__visual {
  display: grid;
}

.s-hero__photo {
  width: 100%;
}

.s-hphone {
  display: none;
  /* The page is laid out at a phone's width (22.5rem) and drawn at 62 %. */
  width: calc(22.5rem * 0.62 + var(--space-2) * 2);
  height: calc(46rem * 0.62 + var(--space-2) * 2);
  padding: var(--space-2);
  border-radius: calc(var(--radius-lg) * 1.6);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.s-hphone__screen {
  display: block;
  width: 22.5rem;
  height: 46rem;
  border: 0;
  border-radius: calc(var(--radius-lg) * 1.6);
  transform: scale(0.62);
  transform-origin: 0 0;
  pointer-events: none;
  background: var(--surface);
}

.s-hero__visual--solo {
  justify-items: center;
}

.s-hero__visual--solo .s-hphone {
  display: block;
}

.s-scan {
  position: absolute;
  inset-inline-start: var(--space-3);
  inset-block-end: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  width: 6.5rem;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--raised);
  border: var(--s-hairline) solid var(--line);
  box-shadow: var(--shadow-md);
  color: var(--ink-muted);
  text-decoration: none;
}

.s-scan__code {
  width: 100%;
}

.s-scan__code svg {
  display: block;
  width: 100%;
  height: auto;
}

.s-scan__text {
  font-size: var(--text-xs);
  line-height: var(--text-xs-leading);
  font-weight: var(--weight-medium);
  white-space: nowrap;
}

@media (min-width: 56.25em) {
  .s-hero__visual {
    padding-block: var(--space-10) var(--space-12);
  }

  .s-hero__photo {
    width: 80%;
  }

  .s-hphone {
    display: block;
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: 50%;
    translate: 0 -50%;
  }

  .s-hero__visual--solo .s-hphone {
    position: relative;
    inset: auto;
    translate: none;
  }

  .s-scan {
    inset-inline-start: calc(var(--space-6) * -1);
    inset-block-end: var(--space-4);
  }
}

/* The EU badge (2026-11-17): its rules come from @mp/ui (euBadgeCss), so it looks as it does on a food page. */
.s-hero__eu,
.s-footer__eu {
  margin-top: var(--space-6);
}
