/* =========================================================================
   EHO App · Bright and bold · bright.css            (draft, 13 Oct 2026)
   Tokens and shared components for the Bright and bold home pages
   (home/options/bright/*.html). Light only. Specimen: kit.html.

   1. Copy this into each page's <head>, in this order:

   <meta name="color-scheme" content="light">
   <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='32' fill='%2315140f'/%3E%3Cpath fill='%23ffe59a' d='M21 17h22v7H28v5h13v6H28v5h15v7H21z'/%3E%3C/svg%3E">
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,800&family=DM+Sans:wght@400;500;700&display=swap" rel="stylesheet">
   <script>(function(d){d.classList.add('js');var o=false;try{var m=localStorage.getItem('eho-bright-motion');o=m==='off'||(m!=='on'&&matchMedia('(prefers-reduced-motion: reduce)').matches)}catch(e){o=matchMedia('(prefers-reduced-motion: reduce)').matches}if(o)d.classList.add('b-motion-off');setTimeout(function(){if(!d.classList.contains('b-ready'))d.classList.remove('js')},3000)})(document.documentElement);</script>
   <link rel="stylesheet" href="bright.css">
   <script src="bright.js" defer></script>

      The inline script sets html.js (the gate for every "hidden until
      revealed" state) and the motion state before first paint, so nothing
      flashes. If bright.js never starts, it drops html.js after 3 s and the
      page shows everything. Without JavaScript everything is visible.

   2. Put class="b-page" on <body>.

   3. Pages that also load the animation kit's app replica
      (home/animations/kit/eho-anim.css) must load it BEFORE this file.
      eho-anim.css sets body fonts and its own --ink, --mint, --coral,
      --butter and --sky (saturated, for the app). That is why every token
      here is prefixed --b-: the two files can share a page without one
      silently recolouring the other. The phone frame is the kit's .dev;
      .ph is the app replica's input placeholder. This file defines neither.

   Everything is namespaced b- so it can be lifted into production as is.
   Motion: html.b-motion-off (set by the Motion switch, or by
   prefers-reduced-motion) shows every "revealed" state at once, kills
   transitions and pauses CSS animations. Page loops should also give
   themselves a still frame under .b-motion-off.
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  color-scheme: light;

  /* the plan's table (docs/home-redesign/2026-10-13-assets-and-home-page-plan.md) */
  --b-bg: #fffdf7;      /* page */
  --b-ink: #15140f;     /* text, outlines, buttons, offset shadows */
  --b-dim: #57544b;     /* secondary text: 7.4:1 on the page, 5.2:1 or better on every pastel */
  --b-mint: #c6efd6;
  --b-butter: #ffe59a;
  --b-coral: #ffcbb8;
  --b-sky: #d2e7ff;
  --b-lilac: #e3dbff;
  --b-ok: #1f9d5c;      /* ticks and "done": graphics only (3.5:1), never small text, never on its own */
  --b-amber: #f59e0b;   /* the app's brand amber, sparingly */
  --b-alert: #e5533d;   /* alerts: graphics only, always with a word or icon */

  /* derived */
  --b-paper: #ffffff;
  --b-cream: #f7f2e6;   /* a well, a hair darker than the page */
  --b-line: rgba(21, 20, 15, .14);
  --b-on-ink: #fffdf7;  /* text on ink */
  --b-on-ink-dim: rgba(255, 253, 247, .7);
  --b-app-bg: #111210;  /* today's dark app, for concept panels */

  --b-font-head: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --b-font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --b-font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --b-track: -.035em;   /* heading tracking */

  --b-r-sm: 16px;
  --b-r-md: 24px;
  --b-r-lg: 30px;
  --b-r-xl: 36px;
  --b-border: 2px solid var(--b-ink);
  --b-shadow: 4px 4px 0 var(--b-ink);
  --b-shadow-lg: 6px 6px 0 var(--b-ink);

  --b-spring: cubic-bezier(.34, 1.56, .64, 1);      /* overshoot, for pops and releases */
  --b-spring-big: cubic-bezier(.3, 1.9, .5, 1);     /* stickers */
  --b-out: cubic-bezier(.22, 1, .36, 1);            /* quick ease-out, for reveals */
  --b-inout: cubic-bezier(.65, 0, .35, 1);          /* strokes being drawn */

  --b-gut: clamp(16px, 4.4vw, 56px);
  --b-max: 1240px;
  --b-nav-h: 72px;
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--b-nav-h) + 16px); }
html:not(.b-motion-off) { scroll-behavior: smooth; }
[hidden] { display: none !important; }

.b-page {
  margin: 0; min-height: 100vh;
  background: var(--b-bg); color: var(--b-ink);
  font: 400 17px/1.55 var(--b-font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;            /* stray sticker overhangs never cause sideways scroll (clip keeps sticky working) */
}
/* element defaults use :where() so they have no specificity: any b- class beats them */
:where(.b-page) :where(h1, h2, h3, h4) { margin: 0; font-family: var(--b-font-head); font-weight: 800; letter-spacing: var(--b-track); text-wrap: balance; }
:where(.b-page) :where(p) { margin: 0; text-wrap: pretty; }
:where(.b-page) :where(a) { color: inherit; }
:where(.b-page) :where(img, svg) { max-width: 100%; }
:where(.b-page) ::selection { background: var(--b-butter); color: var(--b-ink); }
:where(.b-page) :focus-visible { outline: 3px solid var(--b-ink); outline-offset: 3px; }
:where(.b-page) :focus:not(:focus-visible) { outline: none; }

/* type scale */
.b-display { font: 800 clamp(64px, 9.4vw, 136px)/.88 var(--b-font-head); letter-spacing: var(--b-track); }
.b-h1 { font: 800 clamp(48px, 7vw, 96px)/.92 var(--b-font-head); letter-spacing: var(--b-track); }
.b-h2 { font: 800 clamp(38px, 5.4vw, 72px)/.98 var(--b-font-head); letter-spacing: var(--b-track); }
.b-h3 { font: 800 clamp(22px, 2.1vw, 28px)/1.08 var(--b-font-head); letter-spacing: -.025em; }
.b-h4 { font: 800 19px/1.15 var(--b-font-head); letter-spacing: -.02em; }
.b-lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--b-dim); max-width: 34em; }
.b-body { font-size: 17px; line-height: 1.55; }
.b-small { font-size: 14.5px; line-height: 1.45; }
.b-dim { color: var(--b-dim); }
.b-num { font-variant-numeric: tabular-nums; }

/* utilities */
.b-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.b-stack { display: grid; gap: var(--b-gap, 18px); justify-items: start; align-content: start; }
.b-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--b-gap, 12px); }
.b-grid { display: grid; gap: var(--b-gap, 18px); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--b-min, 260px)), 1fr)); }

/* ---------- 3. Layout ---------------------------------------------------- */
.b-wrap { width: 100%; max-width: calc(var(--b-max) + 2 * var(--b-gut)); margin-inline: auto; padding-inline: var(--b-gut); }
.b-section { position: relative; padding-block: clamp(72px, 9.5vw, 136px); }
.b-section--tight { padding-block: clamp(48px, 6vw, 84px); }
.b-block { position: relative; border-radius: var(--b-r-xl); padding: clamp(24px, 4.2vw, 60px); }

/* pastel tints: ink text only */
.b-tint-mint { background: var(--b-mint); }
.b-tint-butter { background: var(--b-butter); }
.b-tint-coral { background: var(--b-coral); }
.b-tint-sky { background: var(--b-sky); }
.b-tint-lilac { background: var(--b-lilac); }
.b-tint-paper { background: var(--b-paper); }
.b-tint-cream { background: var(--b-cream); }
.b-tint-ink, .b-on-ink { background: var(--b-ink); color: var(--b-on-ink); }
.b-on-ink .b-dim, .b-on-ink .b-lede { color: var(--b-on-ink-dim); }
.b-on-ink :focus-visible { outline-color: var(--b-butter); }

/* ---------- 4. Nav ------------------------------------------------------- */
/* <header class="b-nav" data-b-nav> … see kit.html for the full markup */
.b-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 247, .88); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); border-bottom: 2px solid transparent; transition: border-color .25s; }
.b-nav.is-scrolled { border-bottom-color: var(--b-ink); }
.b-nav-inner { display: flex; align-items: center; gap: 28px; min-height: var(--b-nav-h); }
.b-logo { display: inline-flex; align-items: center; gap: 10px; font: 800 22px/1 var(--b-font-head); letter-spacing: -.03em; text-decoration: none; color: var(--b-ink); flex: none; min-height: 44px; }
.b-logo-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--b-ink); color: var(--b-butter); font: 800 20px/1 var(--b-font-head); letter-spacing: 0; transition: transform .5s var(--b-spring); }
.b-logo:hover .b-logo-mark { transform: rotate(-12deg) scale(1.06); }
.b-nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.b-nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; flex: none; font-weight: 500; font-size: 15.5px; color: var(--b-dim); text-decoration: none; border-radius: 999px; transition: color .2s; }
.b-nav-links a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 6px; border-radius: 3px; background: var(--b-butter); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--b-out); }
.b-nav-links a:hover, .b-nav-links a[aria-current] { color: var(--b-ink); }
.b-nav-links a:hover::after, .b-nav-links a[aria-current]::after { transform: scaleX(1); }
.b-nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.b-nav-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 700; font-size: 15.5px; text-decoration: none; color: var(--b-ink); }
.b-nav-login:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* burger (phones) */
.b-nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: var(--b-border); border-radius: 50%; background: var(--b-paper); color: var(--b-ink); cursor: pointer; padding: 0; flex: none; transition: transform .45s var(--b-spring), box-shadow .2s; }
.b-nav-toggle:active { transform: scale(.92); }
.b-burger, .b-burger::before, .b-burger::after { position: absolute; left: 50%; top: 50%; width: 18px; height: 2.5px; margin: -1.25px 0 0 -9px; border-radius: 2px; background: currentColor; transition: transform .35s var(--b-spring), opacity .2s; }
.b-burger::before, .b-burger::after { content: ''; left: 0; top: 0; margin: 0; }
.b-burger::before { transform: translateY(-6px); }
.b-burger::after { transform: translateY(6px); }
.b-nav.is-open .b-burger { background: transparent; }
.b-nav.is-open .b-burger::before { transform: rotate(45deg); background: var(--b-ink); }
.b-nav.is-open .b-burger::after { transform: rotate(-45deg); background: var(--b-ink); }
.b-nav.is-open .b-nav-toggle { background: var(--b-butter); box-shadow: 3px 3px 0 var(--b-ink); }

/* the phone menu panel */
.b-nav-menu { position: absolute; left: 0; right: 0; top: 100%; padding: 10px var(--b-gut) 18px; }
.b-nav-menu-card { display: grid; gap: 4px; padding: 14px; background: var(--b-paper); border: var(--b-border); border-radius: var(--b-r-md); box-shadow: var(--b-shadow-lg); transform-origin: top right; animation: b-menu-in .42s var(--b-spring) both; }
.b-nav-menu-card > a:not(.b-btn) { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; border-radius: 14px; font: 800 26px/1 var(--b-font-head); letter-spacing: var(--b-track); text-decoration: none; }
.b-nav-menu-card > a:not(.b-btn)::after { content: '→'; font: 700 18px var(--b-font-body); opacity: .4; transition: transform .3s var(--b-spring), opacity .2s; }
.b-nav-menu-card > a:not(.b-btn):hover { background: var(--b-cream); }
.b-nav-menu-card > a:not(.b-btn):hover::after { transform: translateX(4px); opacity: 1; }
.b-nav-menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 14px 4px 2px; border-top: 2px dashed var(--b-line); }
.b-nav-menu-foot .b-btn { flex: 1 1 100%; }
@keyframes b-menu-in { from { opacity: 0; transform: translateY(-8px) scale(.96); } }

@media (max-width: 980px) {
  :root { --b-nav-h: 64px; }
  .b-nav-links, .b-nav-actions > .b-motion, .b-nav-login { display: none; }
  .b-nav-toggle { display: inline-block; }
  .b-nav-actions { gap: 10px; }
}
@media (min-width: 981px) { .b-nav-menu { display: none !important; } }
/* without JavaScript: no switch or burger (they need it); on phones the links sit in a row that scrolls */
html:not(.js) .b-motion, html:not(.js) .b-nav-toggle { display: none !important; }
@media (max-width: 980px) {
  html:not(.js) .b-nav-inner { flex-wrap: wrap; row-gap: 0; }
  html:not(.js) .b-nav-links { display: flex; order: 3; width: 100%; margin: 0 0 6px -12px; overflow-x: auto; }
}

/* ---------- 5. Motion switch -------------------------------------------- */
/* <button type="button" class="b-motion" role="switch" aria-checked="true" data-b-motion-toggle>
     <span class="b-motion-track" aria-hidden="true"></span>
     <span class="b-motion-text">Motion <span class="b-motion-state" aria-hidden="true">on</span></span>
   </button>
   Every copy on the page stays in sync; bright.js fills in the state. */
.b-motion { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px 0 9px; border: var(--b-border); border-radius: 999px; background: var(--b-paper); color: var(--b-ink); font: 700 14px/1 var(--b-font-body); cursor: pointer; white-space: nowrap; transition: transform .45s var(--b-spring), box-shadow .2s; }
.b-motion:hover { box-shadow: 3px 3px 0 var(--b-ink); transform: translate(-1px, -1px); }
.b-motion:active { transform: scale(.95); box-shadow: none; }
.b-motion-track { position: relative; width: 36px; height: 22px; border-radius: 999px; background: var(--b-ink); flex: none; transition: background .25s; }
.b-motion-track::after { content: ''; position: absolute; top: 3px; left: 17px; width: 16px; height: 16px; border-radius: 50%; background: var(--b-butter); transition: left .4s var(--b-spring), background .25s; }
.b-motion-state { display: inline-block; min-width: 1.6em; color: var(--b-dim); font-weight: 500; }
.b-motion[aria-checked="false"] .b-motion-track { background: var(--b-cream); box-shadow: inset 0 0 0 2px var(--b-ink); }
.b-motion[aria-checked="false"] .b-motion-track::after { left: 3px; background: var(--b-ink); }

/* ---------- 6. Buttons --------------------------------------------------- */
/* <a class="b-btn">Start 30-day free trial</a>  ·  b-btn--outline  ·  b-btn--sm / --lg  ·  b-btn--block */
.b-btn {
  --b-btn-bg: var(--b-ink); --b-btn-fg: #fff; --b-btn-under: var(--b-butter);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: var(--b-border); border-radius: 999px;
  background: var(--b-btn-bg); color: var(--b-btn-fg);
  font: 700 16.5px/1.1 var(--b-font-body); letter-spacing: -.005em; text-align: center; text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
  box-shadow: 0 0 0 var(--b-btn-under), 0 0 0 0 var(--b-ink);
  transition: transform .5s var(--b-spring), box-shadow .22s var(--b-out), background-color .2s, color .2s;
}
/* hover: the pill lifts off a butter "underlay" outlined in ink */
.b-btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--b-btn-under), 4px 4px 0 2px var(--b-ink); }
/* press: squash quickly, then spring back with a small overshoot on release (the "bounce") */
.b-btn:active { transform: translate(1px, 1px) scale(.95); box-shadow: 0 0 0 var(--b-btn-under), 0 0 0 0 var(--b-ink); transition-duration: .08s; }
.b-btn--outline { --b-btn-bg: var(--b-paper); --b-btn-fg: var(--b-ink); --b-btn-under: var(--b-ink); }
.b-btn--outline:hover { box-shadow: 4px 4px 0 var(--b-ink), 4px 4px 0 0 var(--b-ink); }
.b-btn--butter { --b-btn-bg: var(--b-butter); --b-btn-fg: var(--b-ink); --b-btn-under: var(--b-ink); }
.b-btn--butter:hover { box-shadow: 4px 4px 0 var(--b-ink), 4px 4px 0 0 var(--b-ink); }
.b-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.b-btn--lg { min-height: 60px; padding: 0 32px; font-size: 18px; }
.b-btn--block { display: flex; width: 100%; }
.b-btn-ico { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; border-radius: 50%; background: var(--b-butter); color: var(--b-ink); border: 2px solid var(--b-ink); flex: none; }
.b-btn-ico svg { width: 11px; height: 11px; margin-left: 2px; }
.b-btn-arrow { display: inline-block; transition: transform .4s var(--b-spring); }
.b-btn:hover .b-btn-arrow { transform: translateX(4px); }
/* on ink, the primary inverts */
.b-on-ink .b-btn:not(.b-btn--outline) { --b-btn-bg: var(--b-butter); --b-btn-fg: var(--b-ink); --b-btn-under: var(--b-coral); border-color: var(--b-butter); }
.b-on-ink .b-btn:not(.b-btn--outline):hover { box-shadow: 4px 4px 0 var(--b-btn-under), 4px 4px 0 2px var(--b-on-ink); }
@media (max-width: 420px) { .b-btn { padding: 0 20px; } .b-btn--lg { padding: 0 24px; font-size: 17px; } }

/* ---------- 7. Chips and status ----------------------------------------- */
/* small print under the hero: <ul class="b-dots"><li>No card for trial</li>…</ul> */
.b-dots { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 500; }
.b-dots li { display: inline-flex; align-items: center; gap: 8px; }
.b-dots li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--b-ok); flex: none; }

/* <span class="b-chip b-chip--mint">Walk-in fridge</span>; as a toggle: <button class="b-chip" aria-pressed="false"> */
.b-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--b-paper); box-shadow: inset 0 0 0 1.5px var(--b-line); color: var(--b-ink); font: 500 14.5px/1.1 var(--b-font-body); white-space: nowrap; text-decoration: none; }
.b-chip .b-icon { --b-icon-size: 22px; --b-icon-stroke: 3px; margin-left: -4px; }
.b-chip--mint { background: var(--b-mint); box-shadow: none; }
.b-chip--butter { background: var(--b-butter); box-shadow: none; }
.b-chip--coral { background: var(--b-coral); box-shadow: none; }
.b-chip--sky { background: var(--b-sky); box-shadow: none; }
.b-chip--lilac { background: var(--b-lilac); box-shadow: none; }
.b-chip--ink { background: var(--b-ink); color: var(--b-on-ink); box-shadow: none; }
button.b-chip, a.b-chip { min-height: 44px; padding: 0 18px; border: 0; cursor: pointer; font-weight: 700; transition: transform .45s var(--b-spring), background-color .2s, color .2s, box-shadow .2s; }
button.b-chip:hover, a.b-chip:hover { box-shadow: inset 0 0 0 2px var(--b-ink); }
button.b-chip:active, a.b-chip:active { transform: scale(.94); transition-duration: .08s; }
button.b-chip[aria-pressed="true"] { background: var(--b-ink); color: var(--b-on-ink); box-shadow: 3px 3px 0 var(--b-butter); }

/* status: word + icon, colour is never the only signal.
   <span class="b-status b-status--done">Done</span>  ·  --due  ·  --overdue */
.b-status { --b-st-c: var(--b-ok); --b-st-bg: var(--b-mint); --b-st-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-7.6'/%3E%3C/svg%3E");
  display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 11px 0 4px; border-radius: 999px; background: var(--b-st-bg); color: var(--b-ink); font: 700 13.5px/1 var(--b-font-body); white-space: nowrap; }
.b-status::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: var(--b-st-c) var(--b-st-i) center / 14px no-repeat; flex: none; }
.b-status--due { --b-st-c: var(--b-amber); --b-st-bg: var(--b-butter); --b-st-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315140f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5V12l3.6 2.4'/%3E%3C/svg%3E"); }
.b-status--overdue { --b-st-c: var(--b-alert); --b-st-bg: var(--b-coral); --b-st-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 6v7.5M12 18h.01'/%3E%3C/svg%3E"); }
.b-status--paper { --b-st-bg: var(--b-paper); box-shadow: inset 0 0 0 1.5px var(--b-line); }

/* ---------- 8. Section heading ------------------------------------------ */
/* <header class="b-head"><p class="b-eyebrow">…</p><h2 class="b-h2">…</h2><p class="b-lede">…</p></header> */
.b-head { display: grid; gap: 18px; justify-items: start; max-width: 52rem; margin-bottom: clamp(36px, 4.6vw, 64px); }
.b-head--center { justify-items: center; text-align: center; margin-inline: auto; }
.b-head--center .b-lede { margin-inline: auto; }
.b-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--b-mint); color: var(--b-ink); font: 700 12.5px/1.2 var(--b-font-body); letter-spacing: .09em; text-transform: uppercase; }
.b-eyebrow-n { font-variant-numeric: tabular-nums; opacity: .55; }
.b-eyebrow--butter { background: var(--b-butter); }
.b-eyebrow--coral { background: var(--b-coral); }
.b-eyebrow--sky { background: var(--b-sky); }
.b-eyebrow--lilac { background: var(--b-lilac); }
.b-eyebrow--paper { background: var(--b-paper); box-shadow: inset 0 0 0 1.5px var(--b-line); }
.b-on-ink .b-eyebrow { background: var(--b-butter); }

/* ---------- 9. Highlighter ---------------------------------------------- */
/* <em class="b-hl">ready.</em> — a marker stroke under key words, drawn left to right when it scrolls in.
   --b-hl sets the colour (default butter). Keep it to one or two words: it does not wrap. */
.b-hl { position: relative; z-index: 0; isolation: isolate; font-style: normal; white-space: nowrap; }
.b-hl::after {
  content: ''; position: absolute; z-index: -1; left: -.07em; right: -.12em; bottom: .13em; height: .42em;
  background: var(--b-hl, var(--b-butter));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 10.5C40 6 101 3.6 193 6.2 196.8 6.4 199 9 198.6 13L197.2 27.4C196.9 30.6 194.6 32.4 191.4 32.6 131 36.4 63 37.8 6.2 35.4 3.4 35.3 1.6 33.5 1.5 30.6L1.2 14.8C1.1 12.4 2.1 10.8 4 10.5Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 10.5C40 6 101 3.6 193 6.2 196.8 6.4 199 9 198.6 13L197.2 27.4C196.9 30.6 194.6 32.4 191.4 32.6 131 36.4 63 37.8 6.2 35.4 3.4 35.3 1.6 33.5 1.5 30.6L1.2 14.8C1.1 12.4 2.1 10.8 4 10.5Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: rotate(-1.4deg); transform-origin: left center;
  clip-path: inset(0 0 0 0);
  transition: clip-path .75s var(--b-inout) var(--b-delay, .2s);
}
.b-hl--coral { --b-hl: var(--b-coral); }
.b-hl--mint { --b-hl: var(--b-mint); }
.b-hl--sky { --b-hl: var(--b-sky); }
.b-hl--lilac { --b-hl: var(--b-lilac); }
.b-hl--paper { --b-hl: var(--b-paper); }
.b-tint-butter .b-hl:not([class*="b-hl--"]) { --b-hl: var(--b-paper); }
.js:not(.b-motion-off) .b-hl:not(.is-in)::after { clip-path: inset(0 100% 0 0); }

/* ---------- 10. Stickers ------------------------------------------------- */
/* <span class="b-sticker b-sticker--butter"><svg class="b-tick">…</svg> Walk-in fridge 3.6°C</span>
   Rotated (--b-tilt), offset shadow, pops in with overshoot when it scrolls into view.
   data-b-nopop opts out of the pop. Pin around a .b-stage with b-pin-tl / -tr / -bl / -br. */
.b-sticker {
  --b-tilt: -4deg; --b-sticker-bg: var(--b-paper);
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px 8px 13px;
  border: var(--b-border); border-radius: 999px; background: var(--b-sticker-bg); color: var(--b-ink);
  font: 700 14.5px/1.15 var(--b-font-body); white-space: nowrap;
  box-shadow: 4px 4px 0 var(--b-ink);
  transform: rotate(var(--b-tilt)) scale(1); opacity: 1;
  transition: transform .62s var(--b-spring-big) var(--b-delay, 0s), opacity .16s linear var(--b-delay, 0s);
}
.b-sticker--r { --b-tilt: 4deg; }
.b-sticker--r2 { --b-tilt: 3deg; }
.b-sticker--l2 { --b-tilt: -3deg; }
.b-sticker--butter { --b-sticker-bg: var(--b-butter); }
.b-sticker--coral { --b-sticker-bg: var(--b-coral); }
.b-sticker--mint { --b-sticker-bg: var(--b-mint); }
.b-sticker--sky { --b-sticker-bg: var(--b-sky); }
.b-sticker--lilac { --b-sticker-bg: var(--b-lilac); }
.b-sticker--ink { --b-sticker-bg: var(--b-ink); color: var(--b-on-ink); box-shadow: 4px 4px 0 var(--b-butter); }
.b-sticker--lg { padding: 10px 19px 10px 15px; font-size: 17px; box-shadow: 5px 5px 0 var(--b-ink); }
.b-sticker--tag { border-radius: 12px; }
.b-sticker .b-tick { width: 20px; height: 20px; margin-left: -3px; }
.b-sticker--lg .b-tick { width: 24px; height: 24px; }
.b-sticker .b-icon { --b-icon-size: 24px; --b-icon-stroke: 3px; margin: -4px 0 -4px -5px; }
.js:not(.b-motion-off) .b-sticker:not([data-b-nopop]):not(.is-in) { opacity: 0; transform: rotate(calc(var(--b-tilt) - 18deg)) scale(.3); }

.b-stage { position: relative; }
.b-pin { position: absolute; z-index: 4; }
.b-pin-tl { left: 7%; top: -18px; }
.b-pin-tr { right: -14px; top: -16px; }
.b-pin-bl { left: -14px; bottom: 14%; }
.b-pin-br { right: 10%; bottom: -18px; }
@media (max-width: 640px) {
  .b-pin-tl { left: 4%; }
  .b-pin-tr { right: 6px; }
  .b-pin-bl { left: 6px; }
  .b-pin-br { right: 6%; }
  .b-pin-hide-sm { display: none; }
}

/* ---------- 11. Ticks ---------------------------------------------------- */
/* <svg class="b-tick" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="11"/><path pathLength="1" d="M6.8 12.6l3.4 3.4 7-7.2"/></svg>
   The tick draws itself when it scrolls in. b-tick--ink, b-tick--line (no disc). */
.b-tick { width: 24px; height: 24px; flex: none; overflow: visible; vertical-align: middle; }
.b-tick circle { fill: var(--b-ok); transform-origin: center; transform-box: fill-box; transition: transform .5s var(--b-spring) var(--b-delay, 0s); }
.b-tick path { fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .42s var(--b-out) calc(var(--b-delay, 0s) + .16s); }
.b-tick--ink circle { fill: var(--b-ink); }
.b-tick--ink path { stroke: var(--b-butter); }
.b-tick--line circle { fill: none; }
.b-tick--line path { stroke: var(--b-ink); stroke-width: 3; }
.js:not(.b-motion-off) .b-tick:not(.is-in) circle { transform: scale(0); }
.js:not(.b-motion-off) .b-tick:not(.is-in) path { stroke-dashoffset: 1; }

/* list with ticks (pricing, features) */
.b-ticks { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.b-ticks li { position: relative; padding-left: 34px; line-height: 1.4; }
.b-ticks li::before { content: ''; position: absolute; left: 0; top: -1px; width: 23px; height: 23px; border-radius: 50%; background: var(--b-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d5c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-7.6'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: inset 0 0 0 2px var(--b-ink); }

/* ---------- 12. Cards and tiles ----------------------------------------- */
/* sticker card: white, ink border, offset shadow. b-card--lift for links. Tints: b-card--mint etc. */
.b-card { position: relative; display: grid; gap: 10px; align-content: start; justify-items: start; min-width: 0; padding: clamp(22px, 2.3vw, 30px); background: var(--b-paper); border: var(--b-border); border-radius: var(--b-r-md); box-shadow: var(--b-shadow-lg); }
.b-card--mint { background: var(--b-mint); }
.b-card--butter { background: var(--b-butter); }
.b-card--coral { background: var(--b-coral); }
.b-card--sky { background: var(--b-sky); }
.b-card--lilac { background: var(--b-lilac); }
.b-card--lift { text-decoration: none; color: inherit; transition: transform .5s var(--b-spring), box-shadow .25s var(--b-out); }
.b-card--lift:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--b-ink); }
.b-card--lift:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--b-ink); transition-duration: .08s; }
/* flat pastel tile (mock D's day cards) */
.b-tile { position: relative; display: grid; gap: 10px; align-content: start; justify-items: start; min-width: 0; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--b-r-lg); background: var(--b-butter); }
.b-tile--mint { background: var(--b-mint); }
.b-tile--coral { background: var(--b-coral); }
.b-tile--sky { background: var(--b-sky); }
.b-tile--lilac { background: var(--b-lilac); }
.b-tile--paper { background: var(--b-paper); box-shadow: inset 0 0 0 2px var(--b-line); }
.b-when { font: 700 12.5px/1.2 var(--b-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--b-dim); }
.b-card p:not([class]), .b-tile p:not([class]) { color: #2c2a24; }

/* ---------- 13. Icons ---------------------------------------------------- */
/* <svg class="b-icon" aria-hidden="true"><use href="icons.svg#i-food-chicken"/></svg>
   Sizes: default 48 · b-icon--32 · b-icon--24 (stroke 3) · b-icon--64. The sprite reads
   --b-icon-fill (pastel behind), --b-icon-shift and --b-icon-stroke from here. */
.b-icon { --b-icon-size: 48px; width: var(--b-icon-size); height: var(--b-icon-size); flex: none; display: inline-block; vertical-align: middle; overflow: visible; color: var(--b-ink); }
.b-icon--64 { --b-icon-size: 64px; }
.b-icon--40 { --b-icon-size: 40px; }
.b-icon--32 { --b-icon-size: 32px; }
.b-icon--24 { --b-icon-size: 24px; --b-icon-stroke: 3px; }
.b-icon--20 { --b-icon-size: 20px; --b-icon-stroke: 3.2px; }
.b-icon--flat { --b-icon-shift: 0 0; }
.b-icon--nofill { --b-icon-fill: transparent; }

/* icon chip: a pastel square (or disc) holding an icon; the icon's own fill turns white so it still reads */
.b-ichip { --b-ichip-bg: var(--b-mint); --b-ichip-size: 56px; display: inline-grid; place-items: center; width: var(--b-ichip-size); height: var(--b-ichip-size); border-radius: calc(var(--b-ichip-size) * .32); background: var(--b-ichip-bg); flex: none; }
.b-ichip .b-icon { --b-icon-size: calc(var(--b-ichip-size) * .62); --b-icon-fill: #fff; }
.b-ichip--sm { --b-ichip-size: 40px; }
.b-ichip--sm .b-icon { --b-icon-size: 24px; --b-icon-stroke: 3px; }
.b-ichip--lg { --b-ichip-size: 76px; }
.b-ichip--round { border-radius: 50%; }
.b-ichip--outline { border: var(--b-border); box-shadow: 3px 3px 0 var(--b-ink); }
.b-ichip--paper { --b-ichip-bg: var(--b-paper); }
.b-ichip--paper .b-icon { --b-icon-fill: initial; }
.b-ichip--butter { --b-ichip-bg: var(--b-butter); }
.b-ichip--coral { --b-ichip-bg: var(--b-coral); }
.b-ichip--sky { --b-ichip-bg: var(--b-sky); }
.b-ichip--lilac { --b-ichip-bg: var(--b-lilac); }

/* ---------- 14. Flip cards ---------------------------------------------- */
/* <div class="b-flip b-flip--butter" data-b-flip>
     <button type="button" class="b-flip-inner" aria-pressed="false">
       <span class="b-flip-face b-flip-front"> icon chip · <span class="b-flip-name">Temperature Checks</span> · hint </span>
       <span class="b-flip-face b-flip-back"><span class="b-flip-name">…</span><span class="b-flip-text">one line</span></span>
     </button></div>
   Mouse: hover. Touch: tap. Keyboard: Enter or Space, Esc to turn back. Both faces are always in the
   accessibility tree, so screen readers get the line either way. With motion off it cross-fades. */
.b-flips { --b-flip-min: 230px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--b-flip-min)), 1fr)); }
.b-flip { --b-flip-bg: var(--b-butter); position: relative; min-width: 0; perspective: 1100px; }
.b-flip--mint { --b-flip-bg: var(--b-mint); }
.b-flip--coral { --b-flip-bg: var(--b-coral); }
.b-flip--sky { --b-flip-bg: var(--b-sky); }
.b-flip--lilac { --b-flip-bg: var(--b-lilac); }
.b-flip-inner { display: grid; width: 100%; height: 100%; min-height: 236px; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: var(--b-r-lg); transform-style: preserve-3d; transition: transform .7s var(--b-spring); -webkit-tap-highlight-color: transparent; }
.b-flip-face { grid-area: 1 / 1; position: relative; display: grid; align-content: space-between; gap: 16px; padding: 22px 22px 24px; border-radius: var(--b-r-lg); -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: opacity .18s linear; }
.b-flip-front { background: var(--b-flip-bg); }
.b-flip-back { background: var(--b-ink); color: var(--b-on-ink); transform: rotateY(180deg); align-content: space-between; }
.b-flip-name { display: block; font: 800 clamp(21px, 1.9vw, 25px)/1.05 var(--b-font-head); letter-spacing: -.03em; }
.b-flip-back .b-flip-name { font-size: 15px; letter-spacing: -.01em; color: var(--b-flip-bg); }
.b-flip-text { display: block; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; color: var(--b-on-ink); }
.b-flip-hint { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: var(--b-border); background: var(--b-paper); transition: transform .5s var(--b-spring); }
.b-flip-hint svg { width: 16px; height: 16px; }
.b-flip-front .b-ichip { --b-ichip-bg: var(--b-paper); }
.b-flip-front .b-ichip .b-icon { --b-icon-fill: var(--b-flip-bg); }
.b-flip:hover .b-flip-hint { transform: rotate(180deg); }
.b-flip.is-flipped .b-flip-inner { transform: rotateY(180deg); }
.b-flip-inner:focus-visible { outline: 3px solid var(--b-ink); outline-offset: 4px; }
/* without JavaScript, hover and focus turn it */
html:not(.js) .b-flip:hover .b-flip-inner, html:not(.js) .b-flip-inner:focus { transform: rotateY(180deg); }
/* motion off: no turning, a quick cross-fade instead */
.b-motion-off .b-flip-inner { transform: none !important; transition: none; }
.b-motion-off .b-flip-back { transform: none; opacity: 0; }
.b-motion-off .b-flip-face { -webkit-backface-visibility: visible; backface-visibility: visible; transition: opacity .18s linear !important; }
.b-motion-off .b-flip.is-flipped .b-flip-front { opacity: 0; }
.b-motion-off .b-flip.is-flipped .b-flip-back { opacity: 1; }
@media (max-width: 560px) {
  .b-flips { grid-template-columns: 1fr 1fr; gap: 12px; }
  .b-flip-inner { min-height: 208px; }
  .b-flip-face { padding: 16px 15px 18px; gap: 12px; }
  .b-flip-name { font-size: 19px; }
  .b-flip-text { font-size: 15px; line-height: 1.4; }
  .b-flip-hint { top: 12px; right: 12px; width: 32px; height: 32px; }
  .b-flip .b-ichip { --b-ichip-size: 48px; }
}
@media (max-width: 340px) { .b-flips { grid-template-columns: 1fr; } }

/* ---------- 15. Made for the whole team -------------------------------- */
/* .b-team bento: tile A (shared tablet, tall) · B (PIN) · C (any phone) · D (15 minutes, wide) */
.b-team { display: grid; gap: 16px; grid-template-columns: 1.2fr 1fr 1fr; }
.b-team > :nth-child(1) { grid-row: span 2; }
.b-team > :nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 900px) {
  .b-team { grid-template-columns: 1fr 1fr; }
  .b-team > :nth-child(1) { grid-row: auto; grid-column: 1 / -1; }
  .b-team > :nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .b-team { grid-template-columns: 1fr; } }

/* avatars: tap your name */
.b-avatars { display: flex; flex-wrap: wrap; align-items: center; padding-left: 8px; }
.b-avatar { --b-av-bg: var(--b-butter); position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-left: -5px; border-radius: 50%; border: var(--b-border); background: var(--b-av-bg); font: 800 18px/1 var(--b-font-head); letter-spacing: -.02em; color: var(--b-ink); transition: transform .45s var(--b-spring); }
.b-avatar:nth-child(2n) { transform: rotate(4deg); }
.b-avatar:nth-child(3n) { transform: rotate(-5deg); }
.b-avatar.is-on { z-index: 1; transform: translateY(-6px) rotate(-3deg) scale(1.08); box-shadow: 3px 3px 0 var(--b-ink); }
.b-avatar.is-on::after { content: ''; position: absolute; right: -6px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--b-ink); background: var(--b-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-7.6'/%3E%3C/svg%3E") center / 13px no-repeat; }
.b-avatar--mint { --b-av-bg: var(--b-mint); }
.b-avatar--coral { --b-av-bg: var(--b-coral); }
.b-avatar--sky { --b-av-bg: var(--b-sky); }
.b-avatar--lilac { --b-av-bg: var(--b-lilac); }

/* PIN dots: four dots fill one by one when they scroll in (dots only, never digits) */
.b-pin-dots { display: inline-flex; gap: 12px; padding: 12px 16px; border-radius: 999px; background: var(--b-paper); border: var(--b-border); }
.b-pin-dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--b-ink); background: var(--b-ink); transition: background-color .12s linear, transform .4s var(--b-spring); }
.b-pin-dots i:nth-child(2) { transition-delay: .22s; }
.b-pin-dots i:nth-child(3) { transition-delay: .44s; }
.b-pin-dots i:nth-child(4) { transition-delay: .66s; }
.js:not(.b-motion-off) .b-pin-dots:not(.is-in) i { background: transparent; transform: scale(.8); }

/* big number fact: <p class="b-bignum"><span data-b-count="15">15</span><span class="b-bignum-unit">min</span></p> */
.b-bignum { display: flex; align-items: baseline; gap: .08em; font: 800 clamp(84px, 10vw, 136px)/.82 var(--b-font-head); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.b-bignum-unit { font-size: .3em; letter-spacing: -.02em; }

/* a light tablet frame holding a slice of today's dark app (an illustration, not the .dev phone) */
.b-tablet { position: relative; width: 100%; max-width: 420px; padding: 12px; border-radius: 28px; background: #2b2c27; border: var(--b-border); box-shadow: var(--b-shadow-lg); }
.b-tablet::before { content: ''; position: absolute; left: 50%; top: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #55564f; }
.b-tablet-screen { display: grid; gap: 8px; padding: 16px 14px; border-radius: 18px; background: var(--b-app-bg); color: #f0ede6; font: 500 14px/1.3 var(--b-font-body); }
.b-tablet-label { font: 700 11px/1 var(--b-font-body); letter-spacing: .1em; text-transform: uppercase; color: #8a8880; padding: 2px 2px 4px; }
.b-tablet-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #1c1d1a; border: 1px solid #333430; transition: border-color .25s, transform .4s var(--b-spring); }
.b-tablet-row b { display: block; font-weight: 700; font-size: 15px; }
.b-tablet-row small { display: block; color: #8a8880; font-size: 12.5px; }
.b-tablet-row .b-avatar { width: 36px; height: 36px; margin: 0; border-width: 0; font-size: 14px; transform: none; }
.b-tablet-row.is-on { border-color: var(--b-amber); transform: translateX(4px); }

/* ---------- 16. Hero pattern and video ---------------------------------- */
.b-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; padding-block: clamp(28px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.b-hero-copy { display: grid; gap: 22px; justify-items: start; }
.b-hero-visual { position: relative; min-width: 0; padding: clamp(10px, 1.4vw, 18px) clamp(10px, 1.4vw, 18px) 4px; border-radius: var(--b-r-xl); background: var(--b-mint); }
@media (max-width: 900px) { .b-hero { grid-template-columns: minmax(0, 1fr); } }

/* lazy animation iframe: <div class="b-video" data-b-video data-src="../../animations/door-to-table.html?embed" title="…"></div>
   or an <iframe data-src="…"> inside it. bright.js loads it near the viewport, sizes it to the
   animation, turns it upright on phones and lets only one play at a time. */
.b-video { position: relative; min-width: 0; }
.b-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9.85; border: 0; border-radius: 20px; background: rgba(255, 255, 255, .42); transition: background-color .4s; }
.b-video.is-portrait iframe { aspect-ratio: 9 / 17.4; max-width: 480px; margin-inline: auto; }
.b-video.is-loaded iframe { aspect-ratio: auto; background: transparent; }

/* ---------- 17. Pricing -------------------------------------------------- */
.b-plans { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; }
.b-plan { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: clamp(24px, 3vw, 36px); border-radius: var(--b-r-lg); background: var(--b-sky); }
.b-plan--pro { background: var(--b-butter); border: var(--b-border); box-shadow: var(--b-shadow-lg); }
.b-plan-tag { font: 700 12.5px/1.2 var(--b-font-body); letter-spacing: .1em; text-transform: uppercase; }
.b-plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.b-plan-amount { font: 800 clamp(60px, 6.4vw, 84px)/.85 var(--b-font-head); letter-spacing: -.05em; }
.b-plan-per { font-weight: 500; font-size: 17px; color: var(--b-dim); }
.b-plan-note { font-size: 14px; color: var(--b-dim); margin-top: -8px; }
.b-plan .b-ticks { flex: 1; align-content: start; }
.b-plan .b-btn { align-self: stretch; }
.b-plan-sticker { position: absolute; top: -18px; right: 22px; }
@media (max-width: 720px) { .b-plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 18. FAQ ------------------------------------------------------ */
/* <div class="b-faq"><details class="b-faq-item"><summary><span class="b-faq-q">…</span><span class="b-faq-mark" aria-hidden="true"></span></summary><div class="b-faq-a"><p>…</p></div></details>…</div> */
.b-faq { display: grid; gap: 12px; max-width: 880px; }
.b-faq-item { border: var(--b-border); border-radius: var(--b-r-md); background: var(--b-paper); transition: background-color .25s, box-shadow .25s; }
.b-faq-item[open] { background: var(--b-butter); box-shadow: var(--b-shadow); }
.b-faq-item summary { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 16px 14px 22px; cursor: pointer; list-style: none; border-radius: calc(var(--b-r-md) - 2px); }
.b-faq-item summary::-webkit-details-marker { display: none; }
.b-faq-n { font: 700 13px/1 var(--b-font-body); letter-spacing: .06em; color: var(--b-dim); font-variant-numeric: tabular-nums; flex: none; }
.b-faq-q { flex: 1; font: 800 clamp(19px, 1.8vw, 23px)/1.15 var(--b-font-head); letter-spacing: -.025em; }
.b-faq-mark { position: relative; width: 40px; height: 40px; border-radius: 50%; border: var(--b-border); background: var(--b-paper); flex: none; transition: transform .5s var(--b-spring), background-color .2s; }
.b-faq-mark::before, .b-faq-mark::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: var(--b-ink); }
.b-faq-mark::after { transform: rotate(90deg); }
.b-faq-item summary:hover .b-faq-mark { background: var(--b-butter); }
.b-faq-item[open] .b-faq-mark { transform: rotate(135deg); background: var(--b-paper); }
.b-faq-a { padding: 0 22px 22px; }
.b-faq-a p { max-width: 62ch; color: #2c2a24; font-size: 17px; line-height: 1.55; }
.b-faq-a p + p { margin-top: 10px; }
.b-faq-item[open] .b-faq-a { animation: b-faq-in .4s var(--b-out); }
@keyframes b-faq-in { from { opacity: 0; transform: translateY(-6px); } }
@supports (interpolate-size: allow-keywords) {
  .b-faq { interpolate-size: allow-keywords; }
  .b-faq-item::details-content { block-size: 0; overflow-y: clip; transition: block-size .38s var(--b-out), content-visibility .38s allow-discrete; }
  .b-faq-item[open]::details-content { block-size: auto; }
  .b-motion-off .b-faq-item::details-content { transition: none; }
}
/* honest placeholder for an answer nobody has checked yet */
.b-confirm { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--b-coral); color: var(--b-ink); font-weight: 700; font-size: .9em; white-space: nowrap; }

/* ---------- 19. Final call to action ------------------------------------ */
.b-final { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: clamp(36px, 6vw, 84px) clamp(24px, 6vw, 84px); border-radius: var(--b-r-xl); background: var(--b-lilac); overflow: hidden; }
.b-final-copy { display: grid; gap: 22px; justify-items: start; }
.b-final-title { font: 800 clamp(44px, 6.6vw, 92px)/.92 var(--b-font-head); letter-spacing: var(--b-track); max-width: 11em; }
.b-final-small { font-size: 14.5px; font-weight: 500; }
.b-final-badge { position: relative; display: grid; place-items: center; width: clamp(150px, 18vw, 240px); aspect-ratio: 1; border-radius: 50%; background: var(--b-butter); border: var(--b-border); box-shadow: var(--b-shadow-lg); transform: rotate(-8deg); }
.b-final-badge svg { width: 62%; height: 62%; overflow: visible; }
.b-final-badge path { fill: none; stroke: var(--b-ink); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--b-inout) .35s; }
.js:not(.b-motion-off) .b-final-badge:not(.is-in) path { stroke-dashoffset: 1; }
.b-final-badge .b-sticker { position: absolute; left: -26%; bottom: 6%; }
/* phones: the badge leads the block, fully inside it, with its sticker beside it (never clipped, never on the heading) */
@media (max-width: 760px) {
  .b-final { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .b-final-badge { order: -1; justify-self: start; width: 96px; margin: 4px 0 -2px 4px; box-shadow: 4px 4px 0 var(--b-ink); }
  .b-final-badge .b-sticker { left: 84%; bottom: 14%; padding: 6px 12px 6px 11px; font-size: 13px; }
}

/* ---------- 20. Footer --------------------------------------------------- */
.b-footer { background: var(--b-ink); color: var(--b-on-ink); border-radius: var(--b-r-xl) var(--b-r-xl) 0 0; }
.b-footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px 48px; padding-block: clamp(44px, 6vw, 72px) 28px; }
.b-footer .b-logo { color: var(--b-on-ink); }
.b-footer .b-logo-mark { background: var(--b-butter); color: var(--b-ink); }
.b-footer-say { margin-top: 16px; max-width: 30em; color: var(--b-on-ink-dim); font-size: 15.5px; }
.b-footer-links { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 4px 6px; }
.b-footer-links a, .b-footer-links button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--b-on-ink); font: 500 15.5px/1 var(--b-font-body); text-decoration: none; cursor: pointer; }
.b-footer-links a:hover, .b-footer-links button:hover { background: rgba(255, 253, 247, .1); }
.b-footer-links .b-footer-mail { color: var(--b-butter); font-weight: 700; }
.b-footer-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 253, 247, .16); color: var(--b-on-ink-dim); font-size: 13.5px; }
.b-footer :focus-visible { outline-color: var(--b-butter); }
@media (max-width: 760px) {
  .b-footer-inner { grid-template-columns: minmax(0, 1fr); }
  .b-footer-links { justify-content: flex-start; margin-left: -12px; }
}

/* ---------- 21. Reveal on scroll ---------------------------------------- */
/* data-b-reveal (rise) · data-b-reveal="pop" · ="left" · ="right" · ="fade". bright.js adds .is-in.
   Things that scroll in together are staggered automatically; data-b-delay="ms" overrides. */
[data-b-reveal] { transition: opacity .6s var(--b-out) var(--b-delay, 0s), transform .8s var(--b-out) var(--b-delay, 0s); }
[data-b-reveal="pop"] { transition: opacity .25s linear var(--b-delay, 0s), transform .7s var(--b-spring) var(--b-delay, 0s); }
.js:not(.b-motion-off) [data-b-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.js:not(.b-motion-off) [data-b-reveal="pop"]:not(.is-in) { transform: scale(.86) rotate(-2deg); }
.js:not(.b-motion-off) [data-b-reveal="left"]:not(.is-in) { transform: translateX(-36px); }
.js:not(.b-motion-off) [data-b-reveal="right"]:not(.is-in) { transform: translateX(36px); }
.js:not(.b-motion-off) [data-b-reveal="fade"]:not(.is-in) { transform: none; }

/* used by Bright.replay(): reset a state without animating back */
.b-noanim, .b-noanim *, .b-noanim::after, .b-noanim *::after, .b-noanim::before { transition: none !important; }

/* ---------- 22. Motion off ---------------------------------------------- */
/* The switch (or prefers-reduced-motion) sets html.b-motion-off: every revealed state above is
   already shown (their hidden states need :not(.b-motion-off)), transitions stop, CSS animations
   pause, and kit UI animations are dropped so nothing freezes half way. */
.b-motion-off *, .b-motion-off *::before, .b-motion-off *::after { animation-play-state: paused !important; transition-duration: 0s !important; transition-delay: 0s !important; }
.b-motion-off .b-nav-menu-card, .b-motion-off .b-faq-item[open] .b-faq-a { animation: none !important; }
.b-motion-off .b-flip-face { transition-duration: .18s !important; }

/* honour the system setting even before bright.js has run (it also starts motion off) */
@media (prefers-reduced-motion: reduce) {
  html:not(.js) *, html:not(.js) *::before, html:not(.js) *::after { animation: none !important; transition: none !important; }
}
@media print {
  .b-nav, .b-motion, .b-video { display: none !important; }
  .js [data-b-reveal], .js .b-sticker { opacity: 1 !important; transform: none !important; }
}
