/* OD-LAYOUT-PRIMITIVES v1: structure only: display, flex/grid, overflow, wrapping, ratio, geometry.
   Put this @layer first; product CSS outside the layer wins ordinary layout rules.
   Native hidden and closed-dialog states take precedence over component display rules. */
@layer od-layout {
  [hidden]:not([hidden="until-found" i]) { display: none !important; }
  dialog:not([open]) { display: none !important; }

  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  /* containers */
  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  /* stacked information: each piece is its own line: never sibling inline spans */
  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  /* media keeps its intrinsic ratio by default; never a distorted or cropped
     cover by accident. height:auto lets the ratio win over an <img height="…">
     attribute. Cropping to a uniform box is an explicit opt-in: set --od-ratio
     AND add .od-media-cover together (per the core rule, only where a crop is
     deliberate: tile thumbs, decorative fills: never on full-frame content). */
  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  /* functional inline SVG icons opt into bounded geometry; content SVGs keep their own */
  .od-icon { display: inline-block; inline-size: var(--od-icon-size, 1em); block-size: var(--od-icon-size, 1em); flex: none; }

  /* data text only: authored copy is rewritten to its budget instead */
  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }   /* block-level reservation for a shared baseline */
  .od-nowrap  { white-space: nowrap; }           /* 数字+单位 · 价格+起 · 日期+星期 */
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; } /* CJK labels break at spaces / <wbr> first */

  /* screen skeleton (optional): bars take their own space, the middle scrolls: no padding guessed for chrome */
  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  /* horizontal rail: the next item peeks at the edge; trailing room survives overflow */
  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
:root [hidden]:where(:not([hidden="until-found" i])) { display: none; }
/* /OD-LAYOUT-PRIMITIVES v1 */

/* BasketRun landing page.
   Green is the brand and covers about a third of the page. Every colour is a
   variable on :root, and dark mode follows the system setting. The phones
   hold code-built copies of the app's real screens; their own colours live
   in the "App screens" block further down. */

:root {
  /* Brand */
  --primary: #2d6a4f;
  --on-primary: #ffffff;
  --primary-soft: #e3eee8;
  --primary-line: #cfe3d8;
  --accent: #e8a838;
  --on-accent: #1a1a1a;
  --accent-ink: #8a5a00;
  --accent-soft: #fbf1df;

  /* Surfaces and text */
  --surface: #ffffff;
  --text: #1a1a1a;
  --subtle: #5f6672;
  --line: #e7e3da;
  --line-strong: #d6d0c3;

  /* Section grounds, top to bottom */
  --bg-hero-top: #2d6a4f;
  --bg-hero-bottom: #1f4d39;
  --bg-cream: #f8f6f1;
  --bg-tint: #e3eee8;
  --bg-deep: #2d6a4f;
  --bg-pricing: #cfe3d8;
  --bg-footer: #173b2c;

  /* Text and lines on deep green */
  --on-deep: #f8f6f1;
  --on-deep-subtle: #cfe3d8;
  --on-deep-line: rgb(248 246 241 / 0.24);
  --on-deep-fill: rgb(248 246 241 / 0.12);
  --footer-text: #cfe3d8;

  /* Pieces with their own colour */
  --premium-bg: #2d6a4f;
  --premium-line: #2d6a4f;
  --badge-bg: #000000;
  --badge-text: #ffffff;
  --header-solid: #f8f6f1;
  --glow: rgb(45 106 79 / 0.3);
  --glow-on-deep: rgb(143 213 174 / 0.3);
  --shadow-rgb: 23 59 44;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.36 0 0 0 0 0.29 0 0 0 0 0.19 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.5rem, 1.35rem + 4.4vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3rem);
  --fs-h3: 1.375rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-caption: 0.8125rem;

  /* Space, on a 4px grid */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(64px, 9vw, 128px);
  --header-h: 72px;

  /* Shape and depth */
  --radius-card: 24px;
  --radius-panel: 28px;
  --radius-inner: 16px;
  --radius-control: 14px;
  --shadow-1: 0 1px 2px rgb(var(--shadow-rgb) / 0.05), 0 4px 12px -2px rgb(var(--shadow-rgb) / 0.06), 0 16px 32px -16px rgb(var(--shadow-rgb) / 0.12);
  --shadow-2: 0 1px 2px rgb(var(--shadow-rgb) / 0.06), 0 8px 20px -4px rgb(var(--shadow-rgb) / 0.12), 0 28px 48px -20px rgb(var(--shadow-rgb) / 0.22);
  --shadow-phone: 0 2px 4px rgb(var(--shadow-rgb) / 0.12), 0 24px 48px -12px rgb(var(--shadow-rgb) / 0.32), 0 60px 90px -40px rgb(var(--shadow-rgb) / 0.4);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-press: 160ms;
  --dur-hover: 200ms;
  --dur-state: 280ms;
  --dur-reveal: 520ms;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #5fae8a;
    --on-primary: #10261c;
    --primary-soft: #20332a;
    --primary-line: #2f4a3d;
    --accent-ink: #f0b95a;
    --accent-soft: #3a2f1c;

    --surface: #2a2a2a;
    --text: #f0ede8;
    --subtle: #a8afba;
    --line: #3a3a3a;
    --line-strong: #4a4a4a;

    --bg-hero-top: #183a2b;
    --bg-hero-bottom: #10291d;
    --bg-cream: #1a1a1a;
    --bg-tint: #20332a;
    --bg-deep: #183a2b;
    --bg-pricing: #183a2b;
    --bg-footer: #0f241a;

    --on-deep: #f0ede8;
    --on-deep-subtle: #c3dccf;
    --footer-text: #c3dccf;

    --premium-bg: #24573f;
    --premium-line: #5fae8a;
    --header-solid: #1a1a1a;
    --glow: rgb(95 174 138 / 0.22);
    --glow-on-deep: rgb(95 174 138 / 0.3);
    --shadow-rgb: 0 0 0;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.97 0 0 0 0 0.92 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

    color-scheme: dark;
  }
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--s-4));
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg-cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}

img,
svg,
canvas,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--primary);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus, var(--primary));
  outline-offset: 3px;
  border-radius: 6px;
}

.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

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

.skip-link {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  translate: 0 -200%;
}

.skip-link:focus-visible {
  translate: 0 0;
}

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

/* Section grounds. Neighbouring sections never share a ground. */

.ground-cream {
  background-color: var(--bg-cream);
  background-image: var(--grain);
}

.ground-tint {
  background-color: var(--bg-tint);
}

.ground-pricing {
  background-color: var(--bg-pricing);
  --subtle: #47505a;
}

.ground-deep {
  background-color: var(--bg-deep);
  color: var(--on-deep);
  --focus: var(--on-deep);
}

@media (prefers-color-scheme: dark) {
  .ground-pricing {
    --subtle: #c3dccf;
  }
}

.ground-deep a:not(.store-badge) {
  color: var(--on-deep);
  text-decoration: underline;
}

/* Type */

.display,
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100;
  font-optical-sizing: auto;
  color: inherit;
  text-wrap: balance;
}

.display {
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--subtle);
  max-width: 56ch;
  text-wrap: pretty;
}

.ground-deep .lead {
  color: var(--on-deep-subtle);
}

.section-head {
  display: grid;
  justify-items: start;
  gap: var(--s-4);
  max-width: 720px;
  margin-bottom: var(--s-7);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section {
  padding-block: var(--section-pad);
  overflow-x: clip;
}

/* The app's amber pill ("IN PROGRESS"), used as a section eyebrow. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Cards and controls */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 52px;
  padding: var(--s-3) var(--s-6);
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: translate var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-out);
}

.button:active {
  translate: 0 1px;
  box-shadow: none;
  transition-duration: var(--dur-press);
}

.button--cream {
  background: #f8f6f1;
  color: #2d6a4f;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.12), 0 8px 20px -8px rgb(0 0 0 / 0.35);
}

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-2);
  margin-inline: calc(var(--s-2) * -1);
  border: 0;
  background: none;
  color: var(--primary);
  font-weight: 600;
  font-size: var(--fs-small);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.ground-deep .text-button {
  color: var(--on-deep);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.chip--maybe {
  background: var(--accent);
  color: var(--on-accent);
}

.chip--must {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary-line);
}

.chip--notnow {
  background: transparent;
  color: var(--subtle);
  border-color: var(--line-strong);
}

.meter {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #e3eee8;
  overflow: hidden;
}

.meter__fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: #2d6a4f;
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform 450ms var(--ease-out);
}

.ticks {
  display: grid;
  gap: var(--s-3);
}

.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--s-3);
  align-items: start;
}

.ticks li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 0.15em;
  border-radius: 999px;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.ground-deep .ticks li::before,
.plan--premium .ticks li::before {
  background-color: var(--on-deep-fill);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8f6f1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  .ticks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fae8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  }
}

@media (hover: hover) and (pointer: fine) {
  .button--cream:hover {
    translate: 0 -2px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.14), 0 14px 28px -10px rgb(0 0 0 / 0.4);
  }

  .text-button:hover {
    text-decoration-thickness: 2px;
  }

  .problem-card,
  .plan,
  .panel {
    transition: translate var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
  }

  .problem-card:hover,
  .plan:hover {
    translate: 0 -3px;
    box-shadow: var(--shadow-2);
  }
}

/* Store badges: black, as the stores require */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 56px;
  padding: var(--s-2) var(--s-5) var(--s-2) var(--s-4);
  border-radius: var(--radius-control);
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid rgb(255 255 255 / 0.28);
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 10px 24px -12px rgb(0 0 0 / 0.5);
  transition: translate var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}

.store-badge__logo {
  --od-icon-size: 26px;
}

.store-badge__text {
  display: grid;
  line-height: 1.15;
}

.store-badge__small {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.store-badge__big {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.store-badge:active {
  translate: 0 1px;
  transition-duration: var(--dur-press);
}

@media (hover: hover) and (pointer: fine) {
  .store-badge:hover {
    translate: 0 -2px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.24), 0 16px 32px -12px rgb(0 0 0 / 0.55);
  }
}

/* Header: cream text over the green hero, a solid bar once you scroll. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--on-deep);
  --focus: var(--on-deep);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-state) var(--ease-out), color var(--dur-state) var(--ease-out), box-shadow var(--dur-state) var(--ease-out), border-color var(--dur-state) var(--ease-out);
}

.site-header.is-scrolled {
  background-color: var(--header-solid);
  color: var(--text);
  --focus: var(--primary);
  border-color: var(--line);
  box-shadow: 0 8px 24px -16px rgb(var(--shadow-rgb) / 0.3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav__list {
  display: flex;
  gap: var(--s-1);
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-3);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fs-small);
  transition: background-color var(--dur-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .site-nav__list a:hover {
    background: var(--on-deep-fill);
  }

  .site-header.is-scrolled .site-nav__list a:hover {
    background: var(--primary-soft);
  }
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: inherit;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header.is-scrolled .soon-badge {
  color: var(--primary);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  --od-icon-size: 20px;
}

.menu-button__close {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-button__open {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-button__close {
  display: inline-block;
}

@media (max-width: 767px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    order: 3;
  }

  .site-nav__list {
    display: none;
    position: absolute;
    top: calc(100% + var(--s-2));
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    padding: var(--s-2);
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius-inner);
    box-shadow: var(--shadow-2);
    --focus: var(--primary);
  }

  .site-nav__list.is-open {
    display: flex;
  }

  .site-nav__list a {
    width: 100%;
    min-height: 48px;
    font-size: var(--fs-body);
  }

  .site-header__inner {
    position: relative;
  }
}

@media (max-width: 420px) {
  .soon-badge {
    display: none;
  }
}

/* Hero: full-bleed deep green */

.hero {
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  padding-bottom: var(--s-8);
  background: linear-gradient(180deg, var(--bg-hero-top) 0%, var(--bg-hero-top) 35%, var(--bg-hero-bottom) 100%);
  color: var(--on-deep);
  --focus: var(--on-deep);
}

.hero__grid {
  display: grid;
  gap: var(--s-6);
  align-items: center;
  padding-top: var(--s-5);
}

.hero__copy {
  display: grid;
  gap: var(--s-5);
  max-width: 640px;
}

.hero .display {
  color: var(--on-deep);
}

.hero__mark {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}

.hero__lead {
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--on-deep-subtle);
}

.hero__note {
  color: var(--on-deep-subtle);
  font-size: var(--fs-small);
}

.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% 10% 14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-on-deep), transparent);
  pointer-events: none;
}

.stage {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
}

.stage > * {
  grid-area: 1 / 1;
}

.stage__poster,
.stage__poster img,
.stage__canvas {
  width: 100%;
  height: 100%;
}

.stage__poster {
  transition: opacity 450ms var(--ease-out);
}

.stage__canvas {
  opacity: 0;
  transition: opacity 450ms var(--ease-out);
  /* The cart rolls in from the left: fade it in across the edge rather
     than have it appear cut off. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%);
  mask-image: linear-gradient(to right, transparent, #000 6%);
}

.stage.is-live .stage__canvas {
  opacity: 1;
}

.stage.is-live .stage__poster {
  opacity: 0;
}

.stage__tags {
  position: relative;
  pointer-events: none;
  overflow: visible;
}

.price-tag {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.12), 0 12px 24px -8px rgb(0 0 0 / 0.35);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  translate: -50% calc(-100% + 8px);
  transition: opacity 180ms var(--ease-in), translate 180ms var(--ease-in);
  will-change: transform;
}

.price-tag.is-on {
  opacity: 1;
  translate: -50% -100%;
  transition: opacity 220ms var(--ease-out), translate 220ms var(--ease-out);
}

.price-tag__price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.chip--floating {
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.4);
  opacity: 0;
  translate: -50% -130%;
  transition: opacity 220ms var(--ease-out);
}

.chip--floating.is-on {
  opacity: 1;
}

/* The total card stays white on every theme so it pops off the green. */
.total-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-3);
  width: min(100%, 340px);
  margin-top: calc(var(--s-6) * -1);
  padding: var(--s-5);
  background: #ffffff;
  color: #1a1a1a;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.12), 0 24px 48px -16px rgb(0 0 0 / 0.45);
  --focus: #2d6a4f;
}

.total-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}

.total-card__run {
  font-size: var(--fs-caption);
  color: #5f6672;
  font-weight: 500;
}

.total-card__figures {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--s-2);
}

.total-card__word {
  font-weight: 600;
  font-size: var(--fs-small);
}

.total-card__amount {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #2d6a4f;
}

.total-card__of {
  color: #5f6672;
  font-size: var(--fs-small);
  white-space: nowrap;
}

.total-card .meter {
  height: 12px;
}

.total-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 44px;
  margin-bottom: calc(var(--s-2) * -1);
}

.total-card__count {
  color: #5f6672;
  font-size: var(--fs-caption);
}

.total-card .text-button {
  color: #2d6a4f;
}

@media (min-width: 1024px) {
  .hero {
    padding-bottom: var(--s-9);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-6);
  }

  .hero__visual {
    justify-items: stretch;
  }

  .hero__visual > * {
    grid-area: 1 / 1;
  }

  /* Square, so the cart sits in the upper right with the total card
     tucked under its handle, clear of the wheels. */
  .stage {
    max-width: none;
    aspect-ratio: 1 / 1;
  }

  .total-card {
    align-self: end;
    justify-self: start;
    width: 300px;
    margin: 0 0 var(--s-5) 0;
  }
}

/* Problem */

.problem__list {
  display: grid;
  gap: var(--s-4);
}

.problem-card {
  display: grid;
  align-content: start;
  gap: var(--s-2);
  padding: var(--s-6);
}

.problem-card__title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.25;
}

.problem-card p {
  color: var(--subtle);
}

@media (min-width: 768px) {
  .problem__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-5);
  }
}

/* How it works */

.how__grid {
  display: grid;
  gap: var(--s-7);
}

.how__steps {
  display: grid;
  gap: var(--s-5);
}

.how-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: var(--s-4);
  row-gap: var(--s-2);
  align-content: start;
}

.how-step__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--primary-line);
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-state) var(--ease-out), color var(--dur-state) var(--ease-out), border-color var(--dur-state) var(--ease-out);
}

.how-step__title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.how-step p {
  grid-column: 2;
  color: var(--subtle);
  max-width: 44ch;
}

.how-step.is-active .how-step__num {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.how__stage {
  display: grid;
  justify-items: center;
  gap: var(--s-4);
}

.how__tabs {
  display: flex;
  gap: var(--s-2);
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--primary-line);
}

.how__tab {
  min-height: 44px;
  min-width: 72px;
  padding: 0 var(--s-4);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--subtle);
  font-weight: 600;
  font-size: var(--fs-small);
  cursor: pointer;
  transition: background-color var(--dur-state) var(--ease-out), color var(--dur-state) var(--ease-out);
}

.how__tab[aria-pressed="true"] {
  background: var(--primary);
  color: var(--on-primary);
}

.how__screens {
  display: grid;
}

.how__screens > .a {
  transition: opacity 400ms var(--ease-out);
}

.how__screens > .a:not(.is-current) {
  opacity: 0;
}

@media (min-width: 900px) {
  .how__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-8);
  }

  .how__steps {
    gap: 0;
  }

  .how-step {
    min-height: 74vh;
    align-content: center;
    opacity: 0.45;
    transition: opacity var(--dur-state) var(--ease-out);
  }

  .how-step.is-active {
    opacity: 1;
  }

  .how__stage {
    position: sticky;
    top: calc(var(--header-h) + max(var(--s-4), (100vh - var(--header-h) - 700px) / 2));
    align-self: start;
  }

  .how__tabs {
    display: none;
  }
}

/* Budget fit */

.budget__grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

.budget__copy {
  display: grid;
  justify-items: start;
  gap: var(--s-5);
}

.legend {
  display: grid;
  gap: var(--s-3);
}

.legend > div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: var(--s-3);
  align-items: center;
}

.legend dd {
  color: var(--subtle);
}

.over-note {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-inner);
  background: var(--accent-soft);
  color: var(--text);
  font-size: var(--fs-small);
  max-width: 48ch;
}

.over-note__icon {
  --od-icon-size: 22px;
  color: var(--accent-ink);
}

@media (min-width: 900px) {
  .budget__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-8);
  }
}

/* Sharing */

.share__grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

.share__copy {
  display: grid;
  justify-items: start;
  gap: var(--s-5);
}

.share__demo {
  display: grid;
  justify-items: center;
  gap: var(--s-4);
}

.share__phones {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: clamp(12px, 3vw, 40px);
}

.share__phone {
  display: grid;
  justify-items: center;
  gap: var(--s-3);
}

.share__phone figcaption {
  display: grid;
  justify-items: center;
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.35;
}

.share__phone figcaption span {
  display: block;
  color: var(--on-deep-subtle);
  font-weight: 400;
}

@media (min-width: 900px) {
  .share__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--s-8);
  }
}

/* Features: four large panels, alternating white and soft green */

.features__panels {
  display: grid;
  gap: var(--s-5);
}

.panel {
  display: grid;
  gap: var(--s-6);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-panel);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.panel--green {
  background: var(--bg-tint);
  border-color: var(--primary-line);
}

.panel__copy {
  display: grid;
  align-content: start;
  gap: var(--s-5);
}

.panel__head {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 16px;
  background: #e3eee8;
  border: 1px solid #cfe3d8;
  color: #2d6a4f;
  --od-icon-size: 28px;
}

.panel__title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.feature-list {
  display: grid;
  gap: var(--s-4);
}

.feature-list li {
  display: grid;
  gap: 2px;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.panel--green .feature-list li {
  border-color: var(--primary-line);
}

.feature__name {
  font-weight: 600;
}

.feature-list li > p:not(.feature__name) {
  color: var(--subtle);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.panel__devices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-6);
}

.device-fig {
  display: grid;
  justify-items: center;
  gap: var(--s-3);
}

.device-fig figcaption {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--subtle);
  text-align: center;
}

@media (min-width: 900px) {
  .panel {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: var(--s-7);
  }

  .panel--wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel--wide .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-6);
  }

  .panel--flip {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .panel--flip .panel__copy {
    order: 2;
  }
}

/* Offline and privacy */

.offline__grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

.offline__copy {
  display: grid;
  justify-items: start;
  gap: var(--s-6);
}

.offline__points {
  display: grid;
  gap: var(--s-5);
}

.offline__points > div {
  display: grid;
  gap: var(--s-2);
}

.offline__point-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.offline__points p {
  color: var(--subtle);
  max-width: 52ch;
}

@media (min-width: 900px) {
  .offline__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: var(--s-8);
  }
}

/* Pricing */

.plans {
  display: grid;
  gap: var(--s-4);
  max-width: 880px;
  margin-inline: auto;
}

.plan {
  display: grid;
  align-content: start;
  gap: var(--s-4);
  padding: var(--s-6);
  border-radius: var(--radius-card);
}

.plan--free {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.plan--premium {
  background: var(--premium-bg);
  color: #f8f6f1;
  border: 1px solid var(--premium-line);
  box-shadow: var(--shadow-2);
  --subtle: #cfe3d8;
  --focus: #f8f6f1;
}

.plan__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.plan__name {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
}

.plan__amount {
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.plan__per {
  color: var(--subtle);
  font-weight: 500;
}

.plan__note {
  color: var(--subtle);
  font-size: var(--fs-small);
}

.plan__list {
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.plan--premium .plan__list {
  border-color: rgb(248 246 241 / 0.24);
}

.plan .button {
  justify-self: start;
  margin-top: var(--s-2);
}

.pricing__accounts {
  max-width: 62ch;
  margin: var(--s-6) auto 0;
  text-align: center;
  color: var(--subtle);
}

@media (min-width: 768px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5);
  }
}

/* FAQ */

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

.faq__head {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: var(--s-4);
}

.faq__list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 64px;
  padding-block: var(--s-3);
  cursor: pointer;
  list-style: none;
  border-radius: 8px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__q {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-item__chev {
  --od-icon-size: 22px;
  color: var(--primary);
  transition: rotate var(--dur-state) var(--ease-out);
}

.faq-item[open] .faq-item__chev {
  rotate: 180deg;
}

.faq-item__a {
  padding-bottom: var(--s-5);
}

.faq-item__a p {
  color: var(--subtle);
  max-width: 64ch;
}

@supports (interpolate-size: allow-keywords) {
  .faq__list {
    interpolate-size: allow-keywords;
  }

  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size var(--dur-state) var(--ease-out), content-visibility var(--dur-state) allow-discrete;
  }

  .faq-item[open]::details-content {
    block-size: auto;
  }
}

@media (min-width: 900px) {
  .faq__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: var(--s-8);
    align-items: start;
  }
}

/* Final call to action: full-bleed deep green */

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

.cta__copy {
  display: grid;
  justify-items: start;
  gap: var(--s-5);
}

.cta__lead {
  color: var(--on-deep-subtle);
  font-size: var(--fs-lead);
}

.cta__still {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
}

.cta__still::before {
  content: "";
  position: absolute;
  inset: 4% 6% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-on-deep), transparent);
}

.cta__still img {
  position: relative;
}

@media (min-width: 900px) {
  .cta__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

/* Footer: the darkest green */

.site-footer {
  padding-block: var(--s-7);
  background: var(--bg-footer);
  color: var(--footer-text);
  --focus: #f8f6f1;
}

.site-footer__inner {
  display: grid;
  gap: var(--s-4);
  align-items: center;
}

.site-footer .brand {
  margin-right: 0;
  color: #f8f6f1;
}

.site-footer .brand__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--s-5);
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f8f6f1;
  font-size: var(--fs-small);
  text-decoration: underline;
}

.site-footer__copy {
  color: var(--footer-text);
  font-size: var(--fs-small);
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
    gap: var(--s-6);
  }

  .site-footer__nav {
    justify-content: center;
  }
}

/* Devices. --s is the scale of the app's 390-point screen. The frame,
   the Dynamic Island and the home indicator scale with it. */

.device {
  --s: 0.7;
  --bezel: calc(var(--s) * 15px);
  --screen-r: calc(var(--s) * 55px);
  position: relative;
  flex: none;
  width: calc(390px * var(--s) + 2 * var(--bezel));
  padding: var(--bezel);
  border-radius: calc(var(--screen-r) + var(--bezel));
  background: #121212;
  box-shadow: inset 0 0 0 1px #3a3a3c, inset 0 0 0 3px #121212, inset 0 0 0 4px #2a2a2c, var(--shadow-phone);
}

.device__screen {
  position: relative;
  width: calc(390px * var(--s));
  height: calc(844px * var(--s));
  overflow: hidden;
  border-radius: var(--screen-r);
  background: #f8f6f1;
  isolation: isolate;
}

/* Dynamic Island and home indicator, above everything in the screen. */
.device__screen::before,
.device__screen::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 20;
  translate: -50% 0;
  border-radius: 999px;
  pointer-events: none;
}

.device__screen::before {
  top: calc(var(--s) * 11px);
  width: calc(var(--s) * 124px);
  height: calc(var(--s) * 36px);
  background: #000000;
}

.device__screen::after {
  bottom: calc(var(--s) * 8px);
  width: calc(var(--s) * 134px);
  height: calc(var(--s) * 5px);
  background: #1a1a1a;
}

.device--lock .device__screen::before {
  display: none;
}

.device--lock .device__screen::after {
  background: #ffffff;
}

.device--tablet {
  --bezel: calc(var(--s) * 26px);
  --screen-r: calc(var(--s) * 18px);
  width: calc(1180px * var(--s) + 2 * var(--bezel));
}

.device--tablet .device__screen {
  width: calc(1180px * var(--s));
  height: calc(844px * var(--s));
}

.device--tablet .device__screen::before {
  display: none;
}

.device--tablet::before {
  content: "";
  position: absolute;
  top: calc(var(--bezel) / 2 - 3px);
  left: 50%;
  width: 6px;
  height: 6px;
  translate: -50% 0;
  border-radius: 50%;
  background: #2a2a2c;
}

/* A soft round green glow behind each phone. */
.glow {
  position: relative;
  display: grid;
  justify-items: center;
}

.glow::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(135%, 100vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  pointer-events: none;
}

.ground-deep .glow::before {
  background: radial-gradient(closest-side, var(--glow-on-deep), transparent 72%);
}

.glow > * {
  position: relative;
  z-index: 1;
}

/* Phone sizes per spot on the page, mobile first. */
.how .device { --s: 0.62; }
.budget .device { --s: 0.64; }
.share .device { --s: 0.36; }
.features .device { --s: 0.56; }
.features .device--tablet { --s: 0.22; }
.offline .device { --s: 0.62; }

@media (min-width: 420px) {
  .share .device { --s: 0.42; }
  .features .device--tablet { --s: 0.28; }
}

@media (min-width: 640px) {
  .share .device { --s: 0.56; }
  .features .device--tablet { --s: 0.42; }
}

@media (min-width: 900px) {
  .how .device { --s: 0.74; }
  .budget .device { --s: 0.72; }
  .share .device { --s: 0.56; }
  .features .device { --s: 0.58; }
  .features .device--tablet { --s: 0.46; }
  .offline .device { --s: 0.7; }
}

@media (min-width: 1200px) {
  .share .device { --s: 0.6; }
  .features .device--tablet { --s: 0.56; }
}

/* Scroll reveals: main.js adds .motion to <html> only when motion is allowed,
   so content is always visible without JavaScript. */

.motion [data-reveal] {
  opacity: 0;
  translate: 0 20px;
  transition: opacity var(--dur-reveal) var(--ease-out), translate var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.motion [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

@supports (animation-timeline: view()) {
  /* Progressive enhancement: the step numbers fill as each step crosses
     the middle of the screen. */
  @media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
    .how-step__num {
      animation: step-in linear both;
      animation-timeline: view();
      animation-range: entry 60% cover 40%;
    }

    @keyframes step-in {
      from { scale: 0.86; }
      to { scale: 1; }
    }
  }
}

/* App screens.
   Each phone holds a code-built copy of a real BasketRun screen, measured
   from the app's own screenshots (780px wide at 2x, so 1px here = 1pt).
   They are drawn at the app's size, 390 by 844 points, then scaled to
   the frame with --s, so proportions never drift. These colours are the
   app's own and stay the same in both page themes. */

.a {
  --a-bg: #f8f6f1;
  --a-card: #ffffff;
  --a-text: #1a1a1a;
  --a-subtle: #636a77;
  --a-green: #2d6a4f;
  --a-green-soft: #e5edea;
  --a-amber: #e8a838;
  --a-amber-ink: #8a5a00;
  --a-amber-soft: #fbf1df;
  --a-red: #b91c1c;
  --a-line: #efefef;
  --a-card-line: #f0f0f0;
  --a-control-line: #e0e0e0;
  --a-track: #dfe5dd;
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 844px;
  overflow: hidden;
  transform: scale(var(--s));
  transform-origin: 0 0;
  background: var(--a-bg);
  color: var(--a-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  pointer-events: none;
}

.a--tablet {
  width: 1180px;
}

.a b,
.a strong {
  font-weight: inherit;
}

.ai {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Status bar: the app's background colour, above every screen. */
.a-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 4px 28px 0 50px;
  background: var(--a-bg);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.a-status svg {
  width: 77px;
  height: 13px;
  fill: currentColor;
}

.a--tablet .a-status {
  height: 24px;
  padding: 0 22px;
  font-size: 14px;
}

.a--tablet .a-status svg {
  width: 66px;
  height: 11px;
}

.a-view {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.a--tablet .a-view {
  top: 24px;
}

.a-scroll {
  position: relative;
  will-change: transform;
}

.a-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: #ffffff;
  border-top: 1px solid #ececec;
}

/* Shared app parts */

.a-cb {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--a-subtle);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.a-cb .ai {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  stroke-width: 3.4;
  opacity: 0;
  transition: opacity 160ms var(--ease-out);
}

.a-cb.on {
  background: var(--a-green);
  border-color: var(--a-green);
}

.a-cb.on .ai {
  opacity: 1;
}

.a-circle {
  display: grid;
  place-items: center;
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 2px solid var(--a-subtle);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), scale 200ms var(--ease-out);
}

.a-circle .ai {
  width: 13px;
  height: 13px;
  stroke: #ffffff;
  stroke-width: 3.4;
  opacity: 0;
}

.a-circle.on {
  background: var(--a-green);
  border-color: var(--a-green);
}

.a-circle.on .ai {
  opacity: 1;
}

.a-tap {
  scale: 0.86;
}

.a-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--a-track);
  overflow: hidden;
}

.a-bar > i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--a-green);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform 500ms var(--ease-out);
}

.a-seg {
  display: flex;
  align-items: center;
  height: 47px;
  padding: 4px;
  border-radius: 14px;
  background: #e9e8e3;
}

.a-seg > span {
  display: grid;
  place-items: center;
  height: 39.5px;
  border-radius: 11px;
  font-size: 18px;
  font-weight: 600;
  color: var(--a-subtle);
}

.a-seg > .on {
  background: var(--a-green);
  color: #ffffff;
}

.a-finish {
  font-size: 17px;
  font-weight: 600;
  color: var(--a-green);
}

.a-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  padding: 0 14px 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--a-subtle);
}

.a-sec__arrows {
  display: flex;
  gap: 29px;
  color: var(--a-text);
}

.a-sec__arrows .ai {
  width: 20px;
  height: 20px;
}

.a-sec__arrows .off {
  color: #b9b9b9;
}

.a-pill {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border-radius: 5px;
  background: var(--a-amber);
  color: #1a1a1a;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.a-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-weight: 600;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out);
}

.a-btn--primary {
  background: var(--a-green);
  color: #ffffff;
}

.a-btn--outline {
  border: 1px solid var(--a-green);
  color: var(--a-green);
}

.a-nothere {
  display: grid;
  place-items: center;
  flex: none;
  width: 87.5px;
  height: 43.5px;
  border-radius: 999px;
  border: 1px solid var(--a-control-line);
  background: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.a-nothere--back {
  color: var(--a-green);
}

.a-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 47px;
  padding-left: 17px;
  border: 1px solid #c9c9c9;
  border-radius: 12px;
  background: #ffffff;
  font-size: 18px;
}

.a-field__label {
  position: absolute;
  top: -9px;
  left: 12px;
  padding: 0 5px;
  background: inherit;
  font-size: 13px;
  line-height: 16px;
  color: var(--a-subtle);
}

.a-field .ai {
  position: absolute;
  right: 18px;
  top: 50%;
  translate: 0 -50%;
  color: var(--a-subtle);
}

.a-toggle {
  position: relative;
  flex: none;
  width: 52px;
  height: 32px;
  border-radius: 999px;
  background: #e3e3e3;
  transition: background-color 250ms var(--ease-out);
}

.a-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.18);
  transition: translate 250ms var(--ease-out);
}

.a-toggle.on {
  background: var(--a-green);
}

.a-toggle.on::after {
  translate: 20px 0;
}

/* Sheets over a dimmed screen */
.a-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgb(0 0 0 / 0.54);
  transition: opacity 350ms var(--ease-out);
}

.a-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  background: var(--a-bg);
  border-radius: 22px 22px 0 0;
  transition: transform 450ms var(--ease-out);
}

.a-sheet__handle {
  width: 40px;
  height: 5px;
  margin: 11px auto 0;
  border-radius: 3px;
  background: #cfcfcf;
}

.a[data-sheet="down"] .a-scrim {
  opacity: 0;
}

.a[data-sheet="down"] .a-sheet {
  transform: translateY(102%);
}

.a-thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 10px;
}

.a-thumb svg {
  width: 56px;
  height: 56px;
}

.a-thumb--yogurt { background: #dce6ef; }
.a-thumb--coffee { background: #eadfd3; }

/* 01: Plan a run */

.p-hdr {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 17px;
}

.p-title {
  flex: 1;
  margin-left: 22px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.p-hdr .ai + .ai {
  margin-left: 32px;
}

.p-search {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 47px;
  margin: 4px 16px 0;
  padding-left: 17px;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  background: #ffffff;
  color: var(--a-subtle);
  font-size: 17px;
}

.p-search .ai {
  width: 20px;
  height: 20px;
}

.p-chips {
  display: flex;
  gap: 9px;
  margin-top: 9px;
  padding-left: 16px;
  overflow: hidden;
  white-space: nowrap;
}

.p-chip {
  display: flex;
  align-items: center;
  flex: none;
  height: 39px;
  padding: 0 17px;
  border: 1px solid var(--a-control-line);
  border-radius: 999px;
  background: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

.p-chip.on {
  background: #d7dfd7;
  border-color: var(--a-green);
}

.p-desc {
  margin: 13px 20px 0;
  font-size: 14px;
  line-height: 18px;
  color: var(--a-subtle);
}

.p-chips + .p-desc + .a-sec {
  margin-top: 22px;
}

.p-card {
  margin: 15px 16px 0;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

.p-card + .a-sec {
  margin-top: 19px;
}

.p-row {
  padding: 12px 13px 9px 22px;
  border-bottom: 1px solid #ededed;
}

.p-row:last-child {
  border-bottom: 0;
}

.p-line {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 51px 84px;
  align-items: center;
}

.p-name {
  margin-left: 23.5px;
}

.p-name b {
  display: block;
  font-size: 17px;
  font-weight: 500;
  line-height: 20px;
}

.p-row.is-off .p-name b {
  color: var(--a-subtle);
}

.p-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 14px;
  line-height: 16px;
  color: var(--a-subtle);
}

.p-last {
  display: inline-block;
  padding: 0 6px;
  border-radius: 5px;
  background: var(--a-amber-soft);
  color: var(--a-amber-ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 16px;
  transition: opacity 250ms var(--ease-out), scale 250ms var(--ease-out);
}

.p-in {
  display: grid;
  place-items: center;
  height: 38.5px;
  border: 1px solid #dadada;
  border-radius: 9px;
  background: #ffffff;
  font-size: 17px;
}

.p-in--price {
  margin-left: 9px;
}

.p-in > span {
  transition: opacity 200ms var(--ease-out);
}

.p-state {
  display: flex;
  align-items: center;
  height: 43.5px;
  margin: 8.5px 0 0 29.5px;
}

.p-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 43.5px;
  min-width: 88px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
}

.p-pill--must {
  background: var(--a-green-soft);
  color: var(--a-green);
}

.p-pill--maybe {
  border: 1.5px dashed var(--a-amber-ink);
  background: #ffffff;
  color: var(--a-amber-ink);
}

.p-pill--not {
  min-width: 0;
  padding: 0;
  margin-left: 1px;
  font-weight: 500;
  color: var(--a-subtle);
}

.p-dock {
  height: 291.5px;
  padding: 13px 16px 0;
}

.p-sum {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 15px;
}

.p-sum__l { font-size: 16px; line-height: 20px; color: var(--a-subtle); }
.p-sum__r { font-size: 20px; line-height: 20px; font-weight: 700; text-align: right; }
.p-sum__l2 { font-size: 15px; line-height: 19px; color: var(--a-subtle); }
.p-sum__r2 { font-size: 15px; line-height: 19px; font-weight: 600; color: var(--a-subtle); text-align: right; }

.p-over {
  grid-column: 1 / -1;
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: var(--a-red);
  transition: opacity 300ms var(--ease-out);
}

.p-drop {
  height: 43px;
  margin-top: 6.5px;
  border-radius: 12px;
  background: #ffffff;
  font-size: 17px;
}

.p-start {
  height: 51px;
  margin-top: 13px;
  font-size: 18px;
}

/* 02: Over budget, leave items off */

.o-sheet {
  height: 643.5px;
  padding: 0 24.5px;
}

.o-sheet .a-sheet__handle {
  margin-top: 10.75px;
}

.o-title {
  margin-top: 17px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--a-red);
  transition: color 300ms var(--ease-out);
}

.o-title.is-under {
  color: var(--a-green);
}

.o-desc {
  margin-top: 1px;
  font-size: 15px;
  line-height: 18px;
  color: var(--a-subtle);
}

.o-list {
  margin-top: 4.5px;
}

.o-row {
  display: grid;
  grid-template-columns: 19px 1fr auto;
  align-items: center;
  column-gap: 19px;
  height: 56px;
  padding-left: 4.5px;
  font-size: 17px;
}

.o-row .a-cb {
  width: 19px;
  height: 19px;
  border-radius: 4.5px;
}

.o-row span:last-child {
  font-size: 16px;
  font-weight: 700;
}

.o-btn {
  position: absolute;
  left: 24.5px;
  right: 24.5px;
  bottom: 41px;
  height: 51px;
  background: #e4e3e0;
  color: #9a9a9a;
  font-size: 17px;
}

.o-btn.on {
  background: var(--a-green);
  color: #ffffff;
}

/* 03: Shopping */

.s-hdr {
  display: flex;
  align-items: center;
  height: 55px;
  padding-left: 17px;
}

.s-hdr .a-seg {
  margin-left: 18.5px;
}

.s-hdr .a-seg > span:first-child { width: 77.5px; }
.s-hdr .a-seg > span:last-child { width: 73px; }
.s-hdr .s-search { margin-left: 17.5px; }
.s-hdr .s-share { margin-left: 30px; }
.s-hdr .a-finish { margin-left: 29px; }

.s-count {
  padding: 10px 16px 0;
  font-size: 15px;
  line-height: 17px;
  font-weight: 600;
}

.s-bar {
  margin: 7px 16px 0;
}

.s-toget {
  margin: 20px 20px 0;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--a-subtle);
}

.s-sec {
  margin: 15.5px 20px 0;
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
}

.s-card + .s-sec {
  margin-top: 9px;
}

.s-card {
  margin: 7px 16px 0;
  background: #ffffff;
  border: 1px solid var(--a-card-line);
  border-radius: 16px;
  overflow: hidden;
}

.s-row {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 64px;
  padding: 10px 8px 10px 20px;
  border-bottom: 1px solid var(--a-line);
  overflow: hidden;
  transition: opacity 300ms var(--ease-out), height 400ms var(--ease-out), min-height 400ms var(--ease-out), padding 400ms var(--ease-out);
}

.s-row:last-child {
  border-bottom: 0;
}

.s-row.is-gone {
  opacity: 0;
  min-height: 0;
  height: 0;
  padding-block: 0;
  border-bottom-width: 0;
}

.s-main {
  margin-left: 21px;
}

.s-main b {
  display: block;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
}

.s-row.is-out .s-main b {
  color: var(--a-subtle);
}

.s-sub {
  margin-top: 1px;
  font-size: 15px;
  line-height: 18px;
  color: var(--a-subtle);
}

.s-note {
  display: grid;
  grid-template-columns: 13px 1fr;
  gap: 5px;
  letter-spacing: -0.01em;
  margin-top: 6px;
  font-size: 16px;
  line-height: 18px;
}

.s-note .ai {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  stroke-width: 2;
  color: var(--a-subtle);
}

.s-row .a-thumb {
  margin-right: 8px;
}

.s-dock {
  height: 119px;
  padding: 12px 16px 0;
}

.s-dock__grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.s-dock small {
  display: block;
  font-size: 15px;
  line-height: 18px;
  color: var(--a-subtle);
}

.s-cart {
  display: block;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.s-left {
  text-align: right;
}

.s-left strong {
  display: block;
  font-size: 22px;
  line-height: 26px;
  font-weight: 700;
}

.s-spare {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--a-subtle);
}

/* 04: Run summary */

.r-title {
  display: flex;
  align-items: center;
  height: 57px;
  padding: 0 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.r-date {
  margin-top: 18.5px;
  text-align: center;
  font-size: 15px;
  line-height: 18px;
  color: var(--a-subtle);
}

.r-card {
  margin: 15.5px 20px 0;
  padding: 15.5px 20.5px 13px;
  background: #ffffff;
  border: 1px solid var(--a-card-line);
  border-radius: 16px;
}

.r-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  font-size: 16px;
  color: var(--a-subtle);
}

.r-kv strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--a-text);
}

.r-kv .r-spent {
  font-size: 26px;
  color: var(--a-green);
  letter-spacing: -0.01em;
}

.r-head {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 24px;
  margin: 25.5px 23px 0;
  font-size: 17px;
  font-weight: 700;
}

.r-badge {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.r-badge--got { background: var(--a-green); color: #ffffff; }
.r-badge--out { background: var(--a-amber); color: #1a1a1a; }
.r-badge--skip { background: #e6e6e6; color: #1a1a1a; }

.r-list {
  margin: 8.5px 20px 0;
  background: #ffffff;
  border: 1px solid var(--a-card-line);
  border-radius: 16px;
  overflow: hidden;
}

.r-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 9px 16.5px;
  border-bottom: 1px solid var(--a-line);
  font-size: 16.5px;
  line-height: 18px;
}

.r-item:last-child {
  border-bottom: 0;
}

.r-item small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 15px;
  color: var(--a-subtle);
}

.r-item strong {
  font-size: 17px;
  font-weight: 700;
}

.r-group {
  transition: opacity 350ms var(--ease-out), translate 350ms var(--ease-out);
}

.r-group.is-waiting {
  opacity: 0;
  translate: 0 12px;
}

.r-details {
  height: 50.5px;
  margin: 26.5px 20px 0;
  border-radius: 12px;
  font-size: 17px;
}

.r-details .ai {
  width: 20px;
  height: 20px;
}

.r-home {
  height: 51.5px;
  margin: 13.5px 20px 0;
  font-size: 17px;
  font-weight: 700;
}

/* 05: Home */

.h-hdr {
  display: flex;
  align-items: center;
  height: 55px;
  padding: 0 17px 0 15.5px;
}

.h-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.h-name {
  flex: 1;
  margin-left: 10.5px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h-hdr .ai + .ai {
  margin-left: 36px;
}

.h-greet {
  margin-top: 17px;
  padding: 0 20px;
}

.h-greet b {
  display: block;
  font-size: 24px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h-greet span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 18px;
  color: var(--a-subtle);
}

.h-run {
  margin: 15px 16px 0;
  padding: 20.5px 20.5px 21px;
  background: #ffffff;
  border: 1.5px solid var(--a-green);
  border-radius: 18px;
  transition: box-shadow 400ms var(--ease-out);
}

.h-run.is-pinged {
  box-shadow: 0 0 0 6px rgb(45 106 79 / 0.16);
}

.h-run__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--a-subtle);
}

.h-run__count {
  margin-top: 11px;
  font-size: 19px;
  line-height: 23px;
  font-weight: 700;
}

.h-run .a-bar {
  margin-top: 11px;
  background: #eaf0ed;
}

.h-run__who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 16px;
  color: var(--a-subtle);
}

.h-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e1eae6;
  color: var(--a-green);
  font-size: 12px;
  font-weight: 700;
}

.h-continue {
  height: 51.5px;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
}

.h-continue .ai {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.h-stores-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  margin: 30.5px 12px 0 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--a-subtle);
}

.h-add {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--a-green);
}

.h-add .ai {
  width: 16px;
  height: 16px;
}

.h-stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 16.5px 16px 0;
}

.h-store {
  display: flex;
  flex-direction: column;
  min-height: 181px;
  padding: 14.5px;
  background: #ffffff;
  border: 1px solid var(--a-card-line);
  border-radius: 16px;
}

.h-store--active {
  border-color: var(--a-green);
}

.h-store__top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.h-tile {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--a-green-soft);
  color: var(--a-green);
}

.h-tile .ai {
  width: 20px;
  height: 20px;
}

.h-store__name {
  margin-top: 8px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.h-store__sub {
  margin-top: 4px;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  line-height: 19px;
  color: var(--a-subtle);
}

.h-store__foot {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
}

.h-store .a-bar {
  height: 6px;
  margin-bottom: 8px;
  background: #eaf0ed;
}

/* 06: Lock Screen and Live Activity */

.a--lock {
  background: linear-gradient(180deg, #1f3b4c 0%, #162a37 50%, #0e1a22 100%);
  color: #ffffff;
}

.a--lock .a-status {
  justify-content: flex-end;
  background: transparent;
  color: #ffffff;
}

.l-island {
  position: absolute;
  top: 11px;
  left: 95.5px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 199px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #000000;
  color: #7fcfa2;
  font-size: 15px;
  font-weight: 700;
}

.l-island .ai {
  width: 15px;
  height: 15px;
}

.l-date {
  position: absolute;
  top: 78px;
  width: 100%;
  text-align: center;
  font-size: 19px;
  line-height: 24px;
  font-weight: 600;
  color: #f1f3f4;
}

.l-time {
  position: absolute;
  top: 96px;
  width: 100%;
  text-align: center;
  font-size: 92px;
  line-height: 92px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.l-card {
  position: absolute;
  left: 16.5px;
  right: 18px;
  padding: 17px 16px 0;
  border-radius: 22px;
  background: rgb(0 0 0 / 0.45);
}

.l-card--activity { top: 213px; height: 100px; }
.l-card--island { top: 369px; height: 98px; border-radius: 30px; background: #000000; }

.l-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.l-row__start {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7fcfa2;
  font-size: 16px;
}

.l-row__start .ai {
  width: 16px;
  height: 16px;
}

.l-bar {
  height: 6px;
  margin-top: 14px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.22);
  overflow: hidden;
}

.l-bar > i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #7fcfa2;
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform 600ms var(--ease-out);
}

.l-next {
  margin-top: 13px;
  font-size: 14px;
  font-weight: 600;
}

.l-go {
  font-weight: 400;
  color: #c8cdd0;
}

.l-label--a { top: 346px; }
.l-label--b { top: 500px; }

.l-label {
  position: absolute;
  left: 16.5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #aeb7be;
}

.l-notif {
  position: absolute;
  top: 523px;
  left: 16.5px;
  right: 18px;
  height: 114px;
  padding: 15px 17px 0;
  border-radius: 20px;
  background: #f1f3f4;
  color: #1a1a1a;
}

.l-notif__app {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5f6368;
}

.l-notif__app i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--a-green);
}

.l-notif__title {
  margin-top: 7px;
  font-size: 17px;
  font-weight: 700;
}

.l-notif__next {
  margin-top: 3px;
  font-size: 15px;
  color: #5f6368;
}

.l-notif .l-bar {
  margin-top: 8px;
  background: #d1ddd9;
}

.l-notif .l-bar > i {
  background: var(--a-green);
}

/* 07: Favorites */

.f-hdr {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 17px;
}

.f-hdr .p-title {
  margin-left: 21px;
}

.f-sub {
  margin: 0 21px;
  font-size: 15px;
  line-height: 18px;
  color: var(--a-subtle);
}

.f-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 37.5px;
  margin: 12px 18px 0 16.5px;
  border: 1px solid #8e8e8e;
  border-radius: 999px;
  overflow: hidden;
}

.f-seg span {
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 500;
  border-left: 1px solid #8e8e8e;
}

.f-seg span:first-child {
  border-left: 0;
}

.f-seg .on {
  background: #cfdad1;
}

.f-list {
  margin: 13px 18px 0 16.5px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

.f-row {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 20px 0 16px;
  border-bottom: 1px solid var(--a-line);
}

.f-row:last-child {
  border-bottom: 0;
}

.f-row > div:first-child {
  flex: 1;
}

.f-row b {
  display: block;
  font-size: 16.5px;
  line-height: 20px;
  font-weight: 500;
}

.f-row small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 17px;
  color: var(--a-subtle);
}

.f-qty {
  display: flex;
  align-items: center;
  color: var(--a-green);
}

.f-qty .ai {
  width: 23px;
  height: 23px;
  stroke-width: 1.5;
  transition: scale 160ms var(--ease-out);
}

.f-qty .f-less {
  color: var(--a-text);
}

.f-qty .f-n {
  width: 34px;
  margin-right: 6px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--a-text);
}

.f-qty .f-less,
.f-qty .f-n {
  transition: opacity 200ms var(--ease-out);
}

.f-row:not(.is-added) .f-less,
.f-row:not(.is-added) .f-n {
  opacity: 0;
}

.f-dock {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 111px;
  padding: 13px 18px 0 16.5px;
  transition: transform 400ms var(--ease-out);
}

.f-dock.is-hidden {
  transform: translateY(100%);
}

.f-dock small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 17px;
  color: var(--a-subtle);
}

.f-dock strong {
  display: block;
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
}

.f-review {
  width: 144px;
  height: 48px;
  font-size: 16px;
  font-weight: 700;
}

/* 08: Item editor */

.e-under {
  padding-top: 0;
}

.e-under .p-search {
  margin-top: 9px;
}

.e-under .s-card {
  height: 61px;
  display: flex;
  align-items: center;
  padding-left: 44px;
  font-size: 17px;
  font-weight: 500;
}

.e-sheet {
  height: 775.5px;
  padding: 0 25.5px 0 24.5px;
}

.e-sheet .a-sheet__handle {
  margin-top: 22px;
}

.e-cat {
  margin-left: 43px;
}

.e-under .e-sec {
  margin-top: 26px;
}

.e-title {
  margin-top: 24.5px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 800;
}

.e-photo {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 14.5px;
}

.e-photo .a-thumb {
  width: 87.5px;
  height: 87.5px;
  border-radius: 12px;
}

.e-photo .a-thumb svg {
  width: 80px;
  height: 80px;
}

.e-change {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 600;
  color: var(--a-green);
}

.e-change .ai {
  width: 18px;
  height: 18px;
}

.e-fields {
  display: grid;
  gap: 13px;
  margin-top: 20.5px;
}

.e-fields .a-field {
  height: 54.5px;
  padding-left: 18.5px;
  border-color: #d9d9d9;
  font-size: 17px;
}

.e-fields .a-field__label {
  font-size: 12px;
}

.e-stores-label {
  margin-top: 17.5px;
  font-size: 14px;
  line-height: 17px;
  color: var(--a-subtle);
}

.e-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 7px;
  margin-top: 8px;
}

.e-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34.5px;
  padding: 0 12px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #ffffff;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 250ms var(--ease-out), border-color 250ms var(--ease-out);
}

.e-chip .ai {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.e-chip.on {
  background: #d7dfd7;
  border-color: var(--a-green);
}

.e-chip .e-tick {
  display: none;
}

.e-chip.on .e-tick {
  display: block;
}

.e-note {
  position: relative;
  height: 87px;
  margin-top: 17px;
  padding: 16px 50px 0 16.5px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: #ffffff;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
  font-size: 15px;
  line-height: 20px;
  color: var(--a-subtle);
}

.e-note .a-field__label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  font-size: 12px;
}

.e-note .ai {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 20px;
  height: 20px;
  color: var(--a-subtle);
}

.e-save {
  height: 51px;
  margin-top: 20.5px;
  font-size: 17px;
  font-weight: 700;
}

.e-cancel {
  margin-top: 19px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--a-subtle);
}

/* 09: Voice input */

.v-hdr {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 17px 0 17px;
}

.v-hdr .a-seg > span { width: 77.5px; }
.v-hdr .ai { margin-left: auto; }
.v-hdr .a-finish { margin-left: 22px; }

.v-under .s-sec {
  margin: 17px 22px 0;
}

.v-skel {
  height: 66px;
  margin: 11px 17px 0;
  border-radius: 16px;
  background: #ffffff;
}

.v-sheet {
  height: 459px;
  padding: 0 24.5px;
}

.v-sheet .a-sheet__handle {
  margin-top: 13.5px;
}

.v-title {
  margin-top: 16.5px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
}

.v-quote {
  min-height: 22px;
  margin-top: 0;
  font-size: 16px;
  line-height: 22px;
  font-style: italic;
  color: var(--a-subtle);
}

.v-quote span {
  transition: opacity 200ms var(--ease-out);
}

.v-quote span.is-waiting {
  opacity: 0;
}

.v-card {
  margin-top: 15.5px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
}

.v-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  column-gap: 19px;
  height: 64.4px;
  padding-left: 18.5px;
  border-bottom: 1px solid var(--a-line);
  transition: opacity 300ms var(--ease-out), translate 300ms var(--ease-out);
}

.v-row:last-child {
  border-bottom: 0;
}

.v-row.is-waiting {
  opacity: 0;
  translate: 0 8px;
}

.v-row .a-cb {
  width: 20px;
  height: 20px;
  border-radius: 4.5px;
}

.v-row b {
  display: block;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.v-row small {
  display: block;
  font-size: 15px;
  line-height: 18px;
  color: var(--a-subtle);
}

.v-make {
  height: 52px;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
}

.v-again {
  margin-top: 18px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--a-green);
}

/* 10: Shopping in Arabic, right to left */

.a--rtl {
  font-family: "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, -apple-system, system-ui, sans-serif;
  text-align: right;
}

.a--rtl .a-status {
  direction: ltr;
}

.ar-hdr {
  display: flex;
  align-items: center;
  height: 55px;
  padding: 0 19px 0 15px;
}

.ar-hdr .a-seg {
  margin-inline-start: 18px;
  height: 42px;
}

.ar-hdr .a-seg > span {
  height: 36px;
  font-size: 17px;
  font-weight: 700;
}

.ar-hdr .a-seg > span:first-child { width: 82px; }
.ar-hdr .a-seg > span:last-child { width: 75px; }
.ar-hdr .ar-search { margin-inline-start: 20px; }
.ar-hdr .ar-share { margin-inline-start: 27px; }
.ar-hdr .a-finish { margin-inline-start: auto; font-size: 15px; font-weight: 700; }

.ar-count {
  padding: 9px 16px 0;
  font-size: 15px;
  line-height: 18px;
  font-weight: 700;
}

.ar-bar {
  margin: 8px 16px 0;
}

.ar-bar > i {
  transform-origin: right center;
}

.ar-toget {
  margin: 20px 18px 0;
  font-size: 12.5px;
  line-height: 16px;
  font-weight: 600;
  color: var(--a-subtle);
}

.ar-sec {
  margin: 18px 18px 0;
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
}

.ar-card {
  margin: 12px 16px 0;
  background: #ffffff;
  border: 1px solid var(--a-card-line);
  border-radius: 16px;
  overflow: hidden;
}

.ar-card + .ar-sec {
  margin-top: 13px;
}

.ar-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  height: 64.6px;
  padding: 0 21px 0 10px;
  border-bottom: 1px solid var(--a-line);
  overflow: hidden;
  transition: opacity 300ms var(--ease-out), height 400ms var(--ease-out);
}

.ar-row:last-child {
  border-bottom: 0;
}

.ar-row.is-gone {
  opacity: 0;
  height: 0;
  border-bottom-width: 0;
}

.ar-row .a-circle {
  width: 22px;
  height: 22px;
}

.ar-main {
  margin-inline-start: 20px;
}

.ar-main b {
  display: block;
  font-size: 16.5px;
  line-height: 22px;
  font-weight: 700;
}

.ar-main small {
  display: block;
  font-size: 13px;
  line-height: 17px;
  color: var(--a-subtle);
}

.ar-row .a-nothere {
  width: 86.5px;
  height: 42px;
  font-size: 15px;
  font-weight: 700;
}

.ar-dock {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 111px;
  padding: 14px 15px 0 16px;
}

.ar-dock small {
  display: block;
  font-size: 13px;
  line-height: 18px;
  color: var(--a-subtle);
}

.ar-dock strong {
  display: block;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.ar-dock .ar-left {
  margin-top: 9px;
  text-align: left;
}

.ar-dock .ar-left small {
  text-align: right;
}

.ar-dock .ar-left strong {
  font-size: 17px;
  line-height: 22px;
}

/* 11: iPad layout */

.t-grid {
  display: grid;
  grid-template-columns: 246.5px 574.2px 1fr;
  grid-template-rows: 64px 1fr;
  height: 100%;
}

.t-side {
  grid-row: 1 / 3;
  padding: 16px 12px 0 13px;
  background: #ffffff;
  border-right: 1px solid #ececec;
}

.t-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 7px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.t-brand img {
  width: 32.7px;
  height: 32.7px;
  border-radius: 7px;
}

.t-nav {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.t-nav__item {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 52px;
  padding-left: 13px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
}

.t-nav__item .ai {
  width: 20px;
  height: 20px;
  color: var(--a-subtle);
}

.t-nav__item--on {
  height: 65.5px;
  margin: 2px 0;
  background: var(--a-green-soft);
  color: var(--a-green);
  font-size: 15px;
  font-weight: 600;
}

.t-nav__item--on .ai {
  color: var(--a-green);
}

.t-nav__item--on > div {
  flex: 1;
  padding-right: 11px;
}

.t-nav__item small,
.t-store small {
  display: block;
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
  color: var(--a-subtle);
}

.t-nav__item .a-bar {
  height: 4px;
  margin-top: 7px;
  background: #cfdad3;
}

.t-label {
  margin: 22px 0 0 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--a-subtle);
}

.t-store {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 59px;
  padding-left: 13px;
  font-size: 15px;
  font-weight: 600;
}

.t-store .ai {
  width: 20px;
  height: 20px;
  color: var(--a-subtle);
}

.t-store--first {
  margin-top: 9.5px;
}

.t-top {
  grid-column: 2 / 4;
  display: flex;
  align-items: center;
  padding: 0 21px 0 18.5px;
}

.t-top .a-seg {
  height: 48px;
}

.t-top .a-seg > span {
  width: 82px;
  height: 40px;
  font-size: 16px;
}

.t-top .t-icons {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.t-top .a-finish {
  margin-left: 30px;
  font-size: 16px;
}

.t-main {
  padding: 6px 17px 0 18.3px;
  border-right: 1px solid #e4e4e4;
  overflow: hidden;
}

.t-toget {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--a-subtle);
}

.t-sec {
  margin: 19px 0 0 4px;
  font-size: 15px;
  line-height: 18px;
  font-weight: 700;
}

.t-card {
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid var(--a-card-line);
  border-radius: 14px;
  overflow: hidden;
}

.t-row {
  display: grid;
  grid-template-columns: 22.5px 1fr auto;
  align-items: center;
  height: 64.6px;
  padding: 0 11.6px 0 18.2px;
  border-bottom: 1px solid var(--a-line);
  overflow: hidden;
  transition: opacity 300ms var(--ease-out), height 400ms var(--ease-out);
}

.t-row:last-child {
  border-bottom: 0;
}

.t-row.is-gone {
  opacity: 0;
  height: 0;
  border-bottom-width: 0;
}

.t-row .a-circle {
  width: 22.5px;
  height: 22.5px;
}

.t-row > div {
  margin-left: 22.3px;
}

.t-row b {
  display: block;
  font-size: 15.5px;
  line-height: 19px;
  font-weight: 500;
}

.t-row small {
  display: block;
  font-size: 12.5px;
  line-height: 16px;
  color: var(--a-subtle);
}

.t-row .a-nothere {
  width: 88px;
  height: 44px;
  font-size: 15px;
}

.t-right {
  position: relative;
  padding: 8px 17px 0 15.8px;
}

.t-right__count {
  font-size: 13px;
  font-weight: 700;
}

.t-right .a-bar {
  margin-top: 11px;
}

.t-incart {
  margin: 23px 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--a-subtle);
}

.t-cart {
  margin-top: 9px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

.t-cart__row {
  display: grid;
  grid-template-columns: 19px 1fr auto;
  align-items: center;
  column-gap: 15px;
  height: 56.4px;
  padding: 0 16px 0 18px;
  border-bottom: 1px solid var(--a-line);
  font-size: 15px;
  color: var(--a-subtle);
  overflow: hidden;
  transition: opacity 300ms var(--ease-out), height 400ms var(--ease-out);
}

.t-cart__row:last-child {
  border-bottom: 0;
}

.t-cart__row.is-waiting {
  opacity: 0;
  height: 0;
  border-bottom-width: 0;
}

.t-cart__row strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--a-text);
}

.t-check {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--a-green);
}

.t-check .ai {
  width: 11px;
  height: 11px;
  stroke: #ffffff;
  stroke-width: 3.4;
}

.t-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 17px 0 15.8px;
  background: #ffffff;
  border-top: 1px solid #ececec;
}

.t-foot small {
  display: block;
  font-size: 12px;
  line-height: 15px;
  color: var(--a-subtle);
}

.t-foot strong {
  display: block;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.t-foot div:last-child {
  text-align: right;
}

.t-foot div:last-child strong {
  font-size: 16px;
  line-height: 20px;
}

/* 12: Settings */

.g-label {
  margin: 29px 20px 9px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--a-subtle);
}

.g-label:first-of-type {
  margin-top: 23px;
}

.g-card {
  margin: 0 16px;
  background: #ffffff;
  border: 1px solid var(--a-card-line);
  border-radius: 16px;
  overflow: hidden;
}

.g-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
  min-height: 56px;
  padding: 12.5px 25px 12.5px 19px;
  border-bottom: 1px solid var(--a-line);
}

.g-row:last-child {
  border-bottom: 0;
}

.g-row > .ai {
  width: 21px;
  height: 21px;
  color: var(--a-subtle);
  stroke-width: 1.6;
}

.g-row b {
  display: block;
  font-size: 17px;
  line-height: 20px;
  font-weight: 400;
}

.g-row small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 16px;
  color: var(--a-subtle);
}

.g-row .g-end {
  color: var(--a-subtle);
}

.g-row--danger b,
.g-row--danger > .ai {
  color: var(--a-red);
}

.g-row--premium > .ai {
  color: var(--a-green);
}

/* Reduced motion: every phone shows its finished screen, still. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* Legal pages (/privacy/ and /terms/) share this stylesheet. Their rules are
   scoped to pages whose body holds a .wrap, so they never touch this page. */

body:has(> .wrap) {
  font-family: var(--font-body);
  font-size: 1rem;
  background-image: none;

  & a {
    color: var(--primary);
    text-underline-offset: 0.15em;
  }

  & .wrap {
    max-width: 44rem;
    margin: 0 auto;
    padding: 0 1rem;
  }

  & header.site {
    padding: 1rem 0;
  }

  & header.site a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    gap: 0.75rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
  }

  & header.site img {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
  }

  & main {
    padding: 1.5rem 0 3rem;
  }

  & h1 {
    font-size: 2.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    text-wrap: balance;
  }

  & h2 {
    font-size: 1.375rem;
    line-height: 1.3;
    margin: 2rem 0 0.5rem;
    text-wrap: balance;
  }

  & p,
  & ul {
    margin: 0 0 1rem;
    max-width: 68ch;
    text-wrap: pretty;
  }

  & main ul {
    padding-left: 1.5rem;
    list-style: disc;
  }

  & li {
    margin-bottom: 0.5rem;
  }

  & .meta {
    color: var(--subtle);
    font-size: 0.875rem;
  }

  & footer.site {
    border-top: 1px solid var(--line);
    padding: 1rem 0 3rem;
    color: var(--subtle);
    font-size: 0.875rem;
  }

  & footer.site nav {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.5rem;
    margin-bottom: 0.5rem;
  }

  & footer.site nav a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  @media (min-width: 40rem) {
    & h1 {
      font-size: 3rem;
    }
  }
}
