@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Azeret Mono";
  src: url("assets/azeret-mono.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --aubergine: #2d1230;
  --aubergine-deep: #1d0b20;
  --aubergine-soft: #513553;
  --fennel: #cad8a3;
  --fennel-light: #e1e8c9;
  --tomato: #ae3322;
  --tomato-dark: #842519;
  --tomato-on-dark: #e05b43;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d4;
  --white: #fffdf8;
  --ink: #211b1b;
  --ink-muted: #675e59;
  --rule: rgba(45, 18, 48, 0.2);
  --font-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --shadow-app: 18px 18px 0 rgba(29, 11, 32, 0.58);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-width: 1240px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img {
  object-fit: cover;
}

a {
  color: inherit;
}

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

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

::selection {
  background: var(--tomato);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 4px;
}

:is(.site-header, .hero, .planner, .final-cta, .site-footer) :focus-visible {
  outline-color: var(--fennel);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--aubergine);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(var(--section-width), calc(100% - 64px));
  margin-inline: auto;
}

.mono-label,
.eyebrow,
.rank,
.range-scale,
.store-comparison strong,
.comparison-head {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  color: var(--aubergine-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-intro {
  max-width: 780px;
}

.section-intro h2 {
  max-width: 760px;
  margin-top: 20px;
  color: var(--aubergine);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-intro > p:last-child {
  max-width: 640px;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.55;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  max-width: none;
}

.split-intro > p:last-child {
  margin-bottom: 4px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(245, 241, 232, 0.18);
  background: rgba(45, 18, 48, 0.96);
  color: var(--paper);
}

.nav-wrap {
  display: flex;
  width: min(1400px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
}

.nav-links a,
.nav-cta {
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

.nav-links a {
  position: relative;
  color: rgba(245, 241, 232, 0.76);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--fennel);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 8px 11px;
  border: 1px solid var(--fennel);
  color: var(--fennel);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(350px, 0.68fr) minmax(600px, 1.32fr);
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: var(--aubergine);
  color: var(--paper);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 650px;
  padding: clamp(var(--space-7), 6vh, var(--space-8))
    clamp(var(--space-6), 4vw, var(--space-8)) var(--space-6)
    max(var(--space-6), calc((100vw - 1400px) / 2));
  flex-direction: column;
  justify-content: center;
}

.hero .eyebrow {
  color: var(--fennel);
}

.hero h1 {
  max-width: 650px;
  margin-top: 0;
  font-size: clamp(62px, 6.25vw, 102px);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.89;
}

.hero-deck {
  max-width: 590px;
  margin-top: clamp(26px, 4vh, 42px);
  color: rgba(245, 241, 232, 0.8);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  margin-top: 30px;
  align-items: center;
  gap: 20px;
}

.app-store-link {
  display: inline-flex;
  flex: none;
  border: 1px solid transparent;
}

.app-store-link img {
  width: 164px;
  height: auto;
}

.hero-actions p {
  color: rgba(245, 241, 232, 0.66);
  font-size: 13px;
  line-height: 1.4;
}

.hero-actions strong {
  color: var(--paper);
  font-weight: 650;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: var(--space-5) max(var(--space-5), calc((100vw - 1400px) / 2))
    var(--space-5) 3%;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 18%;
  overflow: hidden;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: rgba(29, 11, 32, 0.18);
  content: "";
}

.hero-photo img {
  width: 100%;
  height: 100%;
}

.app-panel {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin-left: auto;
  padding: var(--space-5);
  border: 1px solid rgba(45, 18, 48, 0.25);
  background: rgba(255, 253, 248, 0.97);
  box-shadow: var(--shadow-app);
  color: var(--ink);
}

.app-topbar {
  display: flex;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--rule);
  align-items: center;
  justify-content: space-between;
}

.mono-label {
  color: var(--aubergine-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-transform: uppercase;
}

.app-topbar h2 {
  margin-top: var(--space-1);
  color: var(--aubergine);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 630;
  letter-spacing: -0.04em;
  line-height: 1;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--aubergine);
  border-radius: 50%;
  place-items: center;
  color: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
}

.hero-week {
  margin-top: 4px;
}

.hero-week li {
  display: grid;
  min-height: 62px;
  border-bottom: 1px solid rgba(45, 18, 48, 0.13);
  padding-block: 8px;
  align-items: center;
  grid-template-columns: 44px 38px minmax(0, 1fr) auto;
  gap: 12px;
}

.date-chip {
  color: var(--aubergine-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.05;
  text-align: center;
}

.date-chip b {
  font-size: 14px;
}

.meal-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fennel);
}

.thumb-tomato {
  background: var(--tomato);
  box-shadow: inset 9px -6px 0 var(--aubergine);
}

.thumb-fennel {
  background: var(--fennel);
  box-shadow: inset -9px 7px 0 #728458;
}

.thumb-aubergine {
  background: var(--aubergine);
  box-shadow: inset 10px -6px 0 var(--tomato);
}

.thumb-paper {
  border: 1px dashed var(--aubergine-soft);
  background: transparent;
}

.meal-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.meal-copy b {
  overflow: hidden;
  color: var(--aubergine);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meal-copy small {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 11px;
}

.meal-state {
  color: var(--aubergine-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.shopping-plan {
  margin-top: var(--space-4);
  border: 1px solid rgba(45, 18, 48, 0.2);
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(45, 18, 48, 0.08);
}

.grocery-match-heading {
  display: flex;
  padding: var(--space-4);
  border-bottom: 1px solid var(--rule);
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.grocery-match-heading h3 {
  margin-top: var(--space-1);
  color: var(--aubergine);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.grocery-match-heading p {
  margin-top: 5px;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.3;
}

.match-badge {
  flex: none;
  padding: var(--space-1) var(--space-2);
  background: var(--fennel-light);
  color: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.grocery-match-summary {
  display: grid;
  border-bottom: 1px solid var(--rule);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grocery-match-summary p {
  display: grid;
  min-height: 66px;
  padding: var(--space-3) var(--space-4);
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-2);
}

.grocery-match-summary p + p {
  border-left: 1px solid var(--rule);
}

.grocery-match-summary strong {
  color: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}

.grocery-match-summary span {
  max-width: 110px;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.25;
}

.match-review {
  display: grid;
  min-height: 43px;
  margin: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(194, 65, 47, 0.42);
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-3);
  background: rgba(232, 91, 69, 0.08);
}

.match-review .mono-label {
  color: var(--tomato-dark);
  font-size: 10px;
}

.match-review p {
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.3;
}

.match-review strong {
  color: var(--aubergine);
  font-weight: 700;
}

.match-total {
  display: grid;
  padding: 0 var(--space-3) var(--space-3);
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: var(--space-3);
}

.match-total > span:first-child {
  display: flex;
  min-width: 116px;
  flex-direction: column;
  justify-content: center;
}

.match-total > span small {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.match-total > span strong {
  color: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.grocery-match-action {
  display: flex;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: var(--tomato);
  box-shadow: 3px 3px 0 var(--aubergine);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    box-shadow 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.grocery-match-action > span {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.grocery-match-action small {
  color: rgba(255, 253, 248, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 650;
}

.grocery-match-action b {
  font-family: var(--font-mono);
}

.grocery-match-action:hover {
  box-shadow: 5px 5px 0 var(--aubergine);
  transform: translate(-2px, -2px);
}

.grocery-match-action:active {
  box-shadow: 1px 1px 0 var(--aubergine);
  transform: translate(2px, 2px);
}

.workflow {
  padding-block: clamp(100px, 13vw, 180px);
}

.workflow-intro {
  max-width: 940px;
}

.workflow-spread {
  display: grid;
  margin-top: clamp(60px, 8vw, 110px);
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}

.recipe-image {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  height: min(
    760px,
    calc(100svh - var(--header-height) - (var(--space-4) * 2))
  );
  min-height: 520px;
  overflow: hidden;
  background: var(--paper-deep);
}

.recipe-image::after {
  position: absolute;
  inset: 0;
  background: rgba(45, 18, 48, 0.06);
  content: "";
  pointer-events: none;
}

.recipe-image img {
  width: 100%;
  height: 100%;
}

.recipe-image figcaption {
  position: absolute;
  z-index: 2;
  top: var(--space-4);
  left: var(--space-4);
  display: grid;
  width: min(315px, calc(100% - (var(--space-4) * 2)));
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--aubergine);
  gap: 3px;
  background: var(--paper);
  box-shadow: 6px 6px 0 rgba(45, 18, 48, 0.78);
  color: var(--aubergine);
}

.recipe-image figcaption span {
  color: var(--tomato-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
}

.recipe-image figcaption strong {
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.recipe-image figcaption small {
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.3;
}

.workflow-panel {
  --workflow-pad: clamp(24px, 3.5vw, 48px);

  border: 1px solid var(--rule);
  border-left: 0;
  background: var(--white);
}

.workflow-path {
  position: relative;
}

.workflow-path::before {
  position: absolute;
  z-index: 0;
  top: 52px;
  bottom: 52px;
  left: calc(var(--workflow-pad) + 18px);
  width: 1px;
  background: var(--tomato);
  content: "";
}

.workflow-step {
  position: relative;
  z-index: 1;
  display: grid;
  padding: var(--workflow-pad);
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
}

.workflow-motion-trigger {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.workflow-step + .workflow-step {
  border-top: 1px solid var(--rule);
}

.ticket-number {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--aubergine);
  border-radius: 50%;
  place-items: center;
  background: var(--white);
  color: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.workflow-step-copy {
  min-width: 0;
}

.workflow-step-copy > .mono-label {
  color: var(--tomato-dark);
}

.workflow-step h3 {
  margin-top: var(--space-1);
  color: var(--aubergine);
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 630;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.workflow-step-note {
  max-width: 610px;
  margin-top: var(--space-3);
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.5;
}

.source-strip {
  display: grid;
  margin-top: var(--space-4);
  border: 1px solid var(--rule);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-strip li {
  display: flex;
  min-width: 0;
  padding: var(--space-3);
  flex-direction: column;
  gap: var(--space-1);
}

.source-strip li + li {
  border-left: 1px solid var(--rule);
}

.source-strip b,
.shelf-prices b {
  color: var(--aubergine);
  font-size: 13px;
  font-weight: 680;
}

.source-strip span,
.shelf-prices small {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.35;
}

.source-strip .source-selected {
  position: relative;
  background: var(--fennel-light);
  box-shadow: inset 0 -3px 0 var(--fennel);
}

.source-strip .source-selected::after {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tomato);
  content: "";
}

.week-builder,
.ingredient-sheet {
  margin-top: var(--space-4);
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--paper);
}

.week-builder > header,
.ingredient-sheet > header {
  display: flex;
  min-height: 42px;
  padding: var(--space-2) var(--space-3);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.week-builder > header strong,
.ingredient-sheet > header strong {
  color: var(--aubergine);
  font-size: 11px;
  font-weight: 680;
}

.week-builder-days {
  position: relative;
  display: grid;
  border-top: 1px solid var(--rule);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.week-builder-days::before {
  position: absolute;
  z-index: 2;
  top: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--tomato);
  content: "";
  transform-origin: left;
}

.week-build-day {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 128px;
  padding: var(--space-3);
  flex-direction: column;
  gap: var(--space-2);
  background: var(--white);
}

.week-build-day + .week-build-day {
  border-left: 1px solid var(--rule);
}

.week-build-day > span {
  color: var(--tomato-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  order: 1;
}

.week-build-day > strong {
  color: var(--aubergine);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.2;
  order: 2;
}

.week-build-day > small {
  margin-top: auto;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  order: 3;
}

.week-build-day.is-anchor {
  background: var(--aubergine);
}

.week-build-day.is-anchor > span,
.week-build-day.is-anchor > small {
  color: var(--fennel);
}

.week-build-day.is-anchor > strong {
  color: var(--paper);
}

.ingredient-sheet > ul {
  display: grid;
  border-top: 1px solid var(--rule);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ingredient-sheet li {
  position: relative;
  display: grid;
  min-height: 37px;
  padding: 8px var(--space-3);
  border-bottom: 1px solid var(--rule);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2);
  background: var(--white);
}

.ingredient-sheet li:nth-child(odd) {
  border-right: 1px solid var(--rule);
}

.ingredient-sheet li > span {
  position: relative;
  width: fit-content;
  color: var(--aubergine);
  font-size: 11px;
  font-weight: 620;
  line-height: 1.2;
}

.ingredient-sheet li > small {
  padding: 3px 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ingredient-sheet .is-home > span {
  color: var(--ink-muted);
}

.ingredient-sheet .is-home > span::after {
  position: absolute;
  top: 52%;
  right: -2px;
  left: -2px;
  height: 1px;
  background: var(--aubergine);
  content: "";
  transform-origin: left;
}

.ingredient-sheet .is-home > small {
  background: var(--fennel-light);
  color: var(--aubergine);
}

.ingredient-sheet .to-buy > small {
  background: rgba(232, 91, 69, 0.11);
  color: var(--tomato-dark);
}

.ingredient-sheet > footer {
  display: flex;
  min-height: 48px;
  padding: var(--space-2) var(--space-3);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: var(--aubergine);
  color: var(--paper);
  font-size: 11px;
}

.ingredient-sheet > footer b {
  color: var(--fennel);
  font-family: var(--font-mono);
  font-size: 17px;
}

.ingredient-sheet > footer strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.basket-constant {
  display: flex;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-3);
  border-left: 3px solid var(--tomato);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: var(--paper);
}

.basket-constant strong {
  color: var(--aubergine);
  font-size: 12px;
}

.basket-constant span {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.shelf-prices {
  margin-top: var(--space-2);
  border: 1px solid var(--rule);
}

.shelf-prices div {
  display: grid;
  min-height: 66px;
  padding: var(--space-3);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
}

.shelf-prices div + div {
  border-top: 1px solid var(--rule);
}

.shelf-prices .best-price {
  background: var(--fennel-light);
}

.shelf-prices dt {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.stock-meter {
  width: min(150px, 100%);
  height: 3px;
  margin-top: 4px;
  overflow: hidden;
  background: rgba(45, 18, 48, 0.12);
}

.stock-meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--tomato);
  transform-origin: left;
}

.shelf-prices dd {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  color: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.shelf-prices dd span {
  color: var(--tomato-dark);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.workflow.has-workflow-motion
  .workflow-step:not(.has-entered)
  :is(
    .source-strip,
    .week-builder,
    .ingredient-sheet,
    .basket-constant,
    .shelf-prices
  ) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(24px);
}

.workflow-step.is-active .ticket-number {
  animation: workflow-ticket 2s var(--ease-out) both;
}

.workflow-step.is-active
  :is(
    .source-strip,
    .week-builder,
    .ingredient-sheet,
    .basket-constant,
    .shelf-prices
  ) {
  animation: workflow-proof-enter 560ms var(--ease-out) both;
}

.workflow-step.is-active .shelf-prices {
  animation-delay: 220ms;
}

.workflow-step.is-active .source-strip li {
  animation: workflow-rise 760ms var(--ease-out) both;
}

.workflow-step.is-active .source-strip li:nth-child(2) {
  animation-delay: 180ms;
}
.workflow-step.is-active .source-strip li:nth-child(3) {
  animation-delay: 360ms;
}

.workflow-step.is-active .week-builder > header {
  animation: workflow-rise 560ms var(--ease-out) both;
}

.workflow-step.is-active .week-builder-days::before {
  animation: workflow-rail 1100ms var(--ease-out) 180ms both;
}

.workflow-step.is-active .week-build-day {
  animation: workflow-build-day 720ms var(--ease-out) 180ms both;
}

.workflow-step.is-active .week-build-day:nth-child(2) {
  animation-delay: 500ms;
}
.workflow-step.is-active .week-build-day:nth-child(3) {
  animation-delay: 820ms;
}
.workflow-step.is-active .week-build-day:nth-child(4) {
  animation-delay: 1140ms;
}

.workflow-step.is-active .ingredient-sheet > header,
.workflow-step.is-active .ingredient-sheet > footer {
  animation: workflow-rise 560ms var(--ease-out) both;
}

.workflow-step.is-active .ingredient-sheet .is-home {
  animation: workflow-rise 560ms var(--ease-out) 120ms both;
}

.workflow-step.is-active .ingredient-sheet .is-home:nth-child(2) {
  animation-delay: 240ms;
}
.workflow-step.is-active .ingredient-sheet .is-home:nth-child(3) {
  animation-delay: 360ms;
}
.workflow-step.is-active .ingredient-sheet .is-home:nth-child(4) {
  animation-delay: 480ms;
}
.workflow-step.is-active .ingredient-sheet .is-home:nth-child(5) {
  animation-delay: 600ms;
}

.workflow-step.is-active .ingredient-sheet .is-home > span::after {
  animation: workflow-strike 520ms var(--ease-out) 450ms both;
}

.workflow-step.is-active .ingredient-sheet .is-home:nth-child(2) > span::after {
  animation-delay: 600ms;
}
.workflow-step.is-active .ingredient-sheet .is-home:nth-child(3) > span::after {
  animation-delay: 750ms;
}
.workflow-step.is-active .ingredient-sheet .is-home:nth-child(4) > span::after {
  animation-delay: 900ms;
}
.workflow-step.is-active .ingredient-sheet .is-home:nth-child(5) > span::after {
  animation-delay: 1050ms;
}

.workflow-step.is-active .ingredient-sheet .to-buy {
  animation: workflow-buy 650ms var(--ease-out) 800ms both;
}

.workflow-step.is-active .ingredient-sheet .to-buy:nth-child(7) {
  animation-delay: 900ms;
}
.workflow-step.is-active .ingredient-sheet .to-buy:nth-child(8) {
  animation-delay: 1000ms;
}
.workflow-step.is-active .ingredient-sheet .to-buy:nth-child(9) {
  animation-delay: 1100ms;
}
.workflow-step.is-active .ingredient-sheet .to-buy:nth-child(10) {
  animation-delay: 1200ms;
}
.workflow-step.is-active .ingredient-sheet .to-buy:nth-child(11) {
  animation-delay: 1300ms;
}

.workflow-step.is-active .ingredient-sheet > footer {
  animation-delay: 1480ms;
}

.workflow-step.is-active .stock-meter i {
  animation: workflow-meter 960ms var(--ease-out) 520ms both;
}

.workflow-step.is-active .shelf-prices div {
  animation: workflow-price 700ms var(--ease-out) 620ms both;
}

.workflow-step.is-active .shelf-prices div + div {
  animation-delay: 900ms;
}

@keyframes workflow-proof-enter {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes workflow-ticket {
  0% {
    background: var(--white);
    color: var(--tomato);
    transform: scale(0.78);
  }
  100% {
    background: var(--tomato);
    color: var(--white);
    transform: scale(1);
  }
}

@keyframes workflow-rise {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes workflow-rail {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes workflow-build-day {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes workflow-strike {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes workflow-buy {
  0% {
    opacity: 0;
    background: rgba(232, 91, 69, 0.22);
    transform: translateX(-8px);
  }
  100% {
    opacity: 1;
    background: var(--white);
    transform: translateX(0);
  }
}

@keyframes workflow-meter {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes workflow-price {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.planner {
  padding-block: clamp(90px, 11vw, 160px);
  background: var(--aubergine);
  color: var(--paper);
}

.planner-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: clamp(60px, 9vw, 140px);
}

.light-intro h2 {
  color: var(--paper);
}

.light-intro > p:last-child {
  color: rgba(245, 241, 232, 0.7);
}

.planner .eyebrow,
.planner .mono-label {
  color: var(--fennel);
}

.cadence-control {
  padding-bottom: var(--space-1);
}

.cadence-readout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: var(--space-2);
}

.cadence-readout .mono-label {
  grid-column: 1 / -1;
  margin-bottom: var(--space-2);
}

.cadence-readout output {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: clamp(64px, 7vw, 90px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.85;
}

.cadence-readout > span:last-child {
  padding-bottom: var(--space-1);
  color: rgba(245, 241, 232, 0.6);
  font-size: 13px;
  text-align: right;
}

.range-row {
  display: grid;
  margin-top: var(--space-5);
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: var(--space-4);
}

.stepper {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--tomato-on-dark);
  color: var(--aubergine);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 650;
  line-height: 1;
  transition:
    box-shadow 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.stepper[data-step="1"] {
  background: var(--fennel);
  box-shadow: 4px 4px 0 var(--tomato-on-dark);
}

.stepper:hover:not(:disabled) {
  box-shadow: 6px 6px 0 var(--tomato-on-dark);
  transform: translate(-2px, -2px);
}

.stepper:active:not(:disabled) {
  box-shadow: 2px 2px 0 var(--tomato-on-dark);
  transform: translate(2px, 2px);
}

.stepper:disabled {
  box-shadow: none;
  opacity: 0.3;
  cursor: not-allowed;
}

input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  accent-color: var(--tomato-on-dark);
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border: 1px solid rgba(245, 241, 232, 0.7);
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.18);
}

input[type="range"]::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border: 4px solid var(--tomato-on-dark);
  border-radius: 50%;
  appearance: none;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--fennel);
}

input[type="range"]::-moz-range-track {
  height: 8px;
  border: 1px solid rgba(245, 241, 232, 0.7);
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.18);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid var(--tomato-on-dark);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--fennel);
}

.range-scale {
  display: flex;
  margin: var(--space-2) 57px 0;
  justify-content: space-between;
  color: rgba(245, 241, 232, 0.64);
  font-size: 11px;
}

.range-scale span {
  display: grid;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(245, 241, 232, 0.24);
  border-radius: 50%;
  place-items: center;
}

.week-editor {
  margin-top: clamp(50px, 7vw, 80px);
}

.week-key {
  display: flex;
  min-height: 40px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.25);
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(245, 241, 232, 0.68);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.week-key span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.week-key i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.key-cook {
  background: var(--tomato-on-dark);
}

.key-leftover {
  background: var(--fennel);
}

.key-out {
  border: 1px solid rgba(245, 241, 232, 0.6);
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.day-card {
  min-width: 0;
  border-right: 1px solid rgba(245, 241, 232, 0.2);
  border-bottom: 1px solid rgba(245, 241, 232, 0.25);
}

.day-card:first-child {
  border-left: 1px solid rgba(245, 241, 232, 0.2);
}

.day-button {
  display: flex;
  width: 100%;
  min-height: 255px;
  padding: 18px 14px 16px;
  border: 0;
  border-radius: 0;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  text-align: left;
}

.day-button:hover,
.day-button:focus-visible {
  background: rgba(245, 241, 232, 0.07);
}

.day-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.day-date {
  margin-top: 4px;
  color: rgba(245, 241, 232, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
}

.state-mark {
  width: 30px;
  height: 30px;
  margin-top: 30px;
  border-radius: 50%;
  background: var(--tomato-on-dark);
}

.state-leftover .state-mark {
  border: 2px solid #84945d;
  background: var(--fennel);
}

.state-out .state-mark {
  border: 1px dashed rgba(245, 241, 232, 0.65);
  background: transparent;
}

.day-meal {
  margin-top: auto;
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.day-state {
  margin-top: 7px;
  color: rgba(245, 241, 232, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
}

.state-out .day-meal {
  color: rgba(245, 241, 232, 0.46);
}

.week-total {
  display: grid;
  padding: 20px;
  grid-template-columns: 1.2fr 0.8fr auto;
  gap: 20px;
  background: var(--fennel);
  color: var(--aubergine);
}

.week-total > div {
  display: flex;
  flex-direction: column;
}

.week-total .mono-label {
  color: rgba(45, 18, 48, 0.65);
}

.week-total strong {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 650;
}

.week-total .total-price {
  min-width: 130px;
  padding-left: 24px;
  border-left: 1px solid rgba(45, 18, 48, 0.2);
  text-align: right;
}

.total-price strong {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.pantry {
  padding-block: clamp(100px, 13vw, 180px);
}

.pantry-layout {
  display: grid;
  margin-top: clamp(60px, 8vw, 100px);
  grid-template-columns: minmax(0, 1fr);
}

.pantry-screen {
  min-width: 0;
  border: 1px solid var(--rule);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--paper-deep);
}

.pantry-screen-header {
  display: flex;
  min-height: 76px;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--rule);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.pantry-screen-header h3,
.pantry-explainer h3 {
  margin-top: var(--space-1);
  color: var(--aubergine);
  font-size: 32px;
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.pantry-sync {
  padding: var(--space-1) var(--space-2);
  background: var(--fennel-light);
  color: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pantry-zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pantry-zone + .pantry-zone {
  border-left: 1px solid var(--rule);
}

.pantry-zone header {
  display: flex;
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--rule);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  background: var(--paper);
}

.pantry-zone h4 {
  margin: 0;
  color: var(--aubergine);
  font-size: 18px;
  font-weight: 680;
}

.pantry-zone header span {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.pantry-zone li {
  display: flex;
  min-height: 84px;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--rule);
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2);
}

.pantry-zone li > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
}

.pantry-zone li b {
  color: var(--aubergine);
  font-size: 13px;
  font-weight: 650;
}

.pantry-zone li small {
  color: var(--ink-muted);
  font-size: 11px;
}

.pantry-zone li em {
  align-self: flex-start;
  padding: var(--space-1) var(--space-2);
  background: var(--fennel-light);
  color: var(--aubergine-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.pantry-zone li em.use-soon,
.pantry-zone li.quick-check em {
  background: var(--paper-deep);
  color: var(--tomato-dark);
}

.pantry-zone li.quick-check {
  background: var(--paper-deep);
}

.pantry-activity {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.activity-heading {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.activity-heading > span:last-child {
  color: var(--ink-muted);
  font-size: 12px;
}

.pantry-activity li {
  display: grid;
  min-height: 58px;
  padding-block: var(--space-3);
  border-top: 1px solid var(--rule);
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
}

.pantry-activity time {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
}

.pantry-activity li > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.pantry-activity b {
  color: var(--aubergine);
  font-size: 12px;
}

.pantry-activity small {
  margin-top: var(--space-1);
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pantry-activity strong {
  color: var(--tomato);
  font-family: var(--font-mono);
  font-size: 14px;
}

.pantry-explainer {
  position: relative;
  width: min(970px, 78%);
  margin-top: var(--space-5);
  margin-left: auto;
  padding: var(--space-6);
  background: var(--aubergine);
  color: var(--paper);
}

.pantry-caption::before {
  position: absolute;
  top: calc(-1 * var(--space-5));
  right: clamp(56px, 14vw, 180px);
  width: 0;
  height: 0;
  border-right: var(--space-5) solid transparent;
  border-bottom: var(--space-5) solid var(--aubergine);
  border-left: var(--space-5) solid transparent;
  content: "";
}

.pantry-caption-question {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: var(--space-5);
}

.pantry-caption-question::after {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tomato-on-dark);
  box-shadow: 5px 5px 0 var(--fennel);
  color: var(--white);
  content: "?";
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 750;
  grid-column: 2;
  grid-row: 1 / 3;
  line-height: 1;
  place-items: center;
  transform: rotate(6deg);
}

.pantry-caption-question .mono-label,
.pantry-caption-question h3 {
  grid-column: 1;
}

.pantry-caption-question .mono-label,
.pantry-explainer > ol .pantry-caption-number {
  color: var(--fennel);
}

.pantry-caption-question h3 {
  max-width: 720px;
  margin-top: var(--space-2);
  color: var(--paper);
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 0.98;
}

.pantry-explainer > ol {
  display: grid;
  margin-top: var(--space-6);
  border-top: 1px dashed rgba(245, 241, 232, 0.38);
  border-bottom: 1px dashed rgba(245, 241, 232, 0.38);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pantry-explainer > ol li {
  display: grid;
  min-width: 0;
  padding: var(--space-5) var(--space-4);
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: var(--space-2);
  row-gap: var(--space-2);
}

.pantry-explainer > ol li + li {
  border-left: 1px dashed rgba(245, 241, 232, 0.3);
}

.pantry-explainer > ol .pantry-caption-number {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fennel);
  box-shadow: 3px 3px 0 var(--tomato-on-dark);
  color: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  grid-row: 1 / 3;
  grid-column: 1;
  letter-spacing: 0.02em;
  place-items: center;
  transform: rotate(-5deg);
}

.pantry-explainer > ol li:nth-child(2) .pantry-caption-number {
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--tomato-on-dark);
  transform: rotate(4deg);
}

.pantry-explainer > ol li:nth-child(3) .pantry-caption-number {
  background: var(--tomato-on-dark);
  box-shadow: 3px 3px 0 var(--fennel);
  color: var(--white);
  transform: rotate(-3deg);
}

.pantry-explainer > ol b,
.pantry-explainer > ol .pantry-caption-detail {
  grid-column: 2;
}

.pantry-explainer > ol b {
  color: var(--paper);
  font-size: 15px;
  line-height: 1.2;
}

.pantry-explainer > ol .pantry-caption-detail {
  color: rgba(245, 241, 232, 0.74);
  font-size: 13px;
  line-height: 1.5;
}

.pantry-confirmation {
  display: grid;
  width: min(560px, calc(100% - 8px));
  margin: var(--space-6) 8px 0 auto;
  padding: var(--space-4) var(--space-5);
  align-items: center;
  background: var(--fennel);
  box-shadow: 7px 7px 0 var(--tomato-on-dark);
  grid-template-columns: minmax(138px, auto) minmax(240px, 1fr);
  gap: var(--space-4);
  transform: rotate(-0.6deg);
}

.pantry-confirmation .mono-label {
  color: var(--tomato-dark);
}

.confirmation-status {
  display: block;
  margin: 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-left: 1px solid rgba(45, 18, 48, 0.3);
  color: var(--aubergine);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.shop {
  padding-block: clamp(100px, 13vw, 180px);
  border-top: 1px solid rgba(45, 18, 48, 0.14);
  border-bottom: 1px solid rgba(45, 18, 48, 0.14);
  background: var(--paper-deep);
}

.shopping-method-control {
  margin-top: clamp(52px, 7vw, 88px);
  border: 1px solid var(--aubergine);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(45, 18, 48, 0.16);
}

.shopping-method-control > .mono-label {
  display: block;
  padding: 11px var(--space-4);
  background: var(--aubergine);
  color: var(--paper);
}

.fulfillment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fulfillment-tabs button {
  position: relative;
  display: grid;
  min-height: 84px;
  padding: var(--space-4) var(--space-5);
  border: 0;
  border-radius: 0;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  background: var(--paper);
  color: var(--aubergine-soft);
  cursor: pointer;
  text-align: left;
  transition:
    background-color 260ms var(--ease-out),
    color 260ms var(--ease-out);
}

.fulfillment-tabs button + button {
  border-left: 1px solid var(--aubergine);
}

.fulfillment-tabs button::after {
  position: absolute;
  right: var(--space-5);
  bottom: -1px;
  left: var(--space-5);
  height: 4px;
  background: var(--tomato);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms var(--ease-out);
}

.fulfillment-tabs button:hover:not([aria-selected="true"]) {
  background: var(--fennel-light);
  color: var(--aubergine);
}

.fulfillment-tabs button[aria-selected="true"] {
  background: var(--aubergine);
  color: var(--paper);
}

.fulfillment-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.method-number {
  color: var(--tomato);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.fulfillment-tabs button[aria-selected="true"] .method-number {
  color: var(--fennel);
}

.method-copy,
.method-copy strong,
.method-copy small {
  display: block;
}

.method-copy strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.method-copy small {
  margin-top: 4px;
  color: currentColor;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.74;
}

.price-and-fulfillment {
  display: grid;
  margin-top: var(--space-7);
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.82fr);
  align-items: stretch;
  gap: var(--space-5);
}

.fulfillment,
.store-comparison {
  min-width: 0;
  border: 1px solid rgba(45, 18, 48, 0.26);
  background: var(--white);
}

.fulfillment {
  border-color: var(--aubergine);
}

.fulfillment-panel {
  min-height: 100%;
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
}

.fulfillment-panel[hidden] {
  display: none;
}

.trip-panel-header {
  display: flex;
  min-height: 74px;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
}

.trip-panel-header h3 {
  max-width: 520px;
  margin-top: var(--space-2);
  color: var(--aubergine);
  font-size: clamp(27px, 2.6vw, 38px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.cart-status {
  flex: none;
  padding: var(--space-2) var(--space-3);
  background: var(--fennel-light);
  color: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  text-align: right;
}

.trip-panel-deck {
  max-width: 650px;
  margin-top: var(--space-3);
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
}

.retailer-options {
  display: grid;
  margin-top: var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.retailer-option {
  min-width: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.retailer-option.is-selected {
  border-color: var(--aubergine);
  box-shadow: inset 0 4px 0 var(--tomato);
}

.retailer-option header {
  display: flex;
  min-height: 88px;
  padding: var(--space-4);
  border-bottom: 1px solid var(--rule);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.retailer-kicker {
  color: var(--aubergine-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.retailer-option h3 {
  margin-top: var(--space-1);
  color: var(--aubergine);
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1;
}

.retailer-option header > strong {
  color: var(--tomato);
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: -0.04em;
}

.retailer-option dl {
  padding-inline: var(--space-4);
}

.retailer-option dl div {
  display: flex;
  min-height: 42px;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--rule);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.retailer-option dt,
.retailer-option dd {
  font-size: 11px;
  line-height: 1.25;
}

.retailer-option dt {
  color: var(--ink-muted);
}

.retailer-option dd {
  color: var(--aubergine);
  font-weight: 650;
  text-align: right;
}

.retailer-option dd.review-state {
  color: var(--tomato-dark);
}

.retailer-action,
.interface-action {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: var(--tomato);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.retailer-action {
  margin: var(--space-4);
  padding: var(--space-3);
}

.retailer-action.secondary-action {
  border: 1px solid var(--aubergine);
  background: transparent;
  color: var(--aubergine);
}

.checkout-note {
  margin-top: var(--space-4);
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.45;
}

.interface-action {
  margin-top: var(--space-5);
  padding: 12px 14px;
  font-size: 13px;
}

.interface-action span {
  font-family: var(--font-mono);
  font-size: 11px;
}

.aisle-route-layout {
  display: grid;
  margin-top: var(--space-5);
  grid-template-columns: minmax(260px, 1fr) minmax(230px, 0.78fr);
  align-items: stretch;
  gap: var(--space-5);
}

.aisle-route-list {
  border: 1px solid var(--rule);
  background: var(--paper);
}

.aisle-route-list li {
  display: grid;
  min-height: 54px;
  padding: 9px var(--space-3);
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
}

.aisle-route-list li + li {
  border-top: 1px solid var(--rule);
}

.aisle-route-number,
.aisle-location,
.schematic-caption {
  font-family: var(--font-mono);
}

.aisle-route-number {
  color: var(--tomato);
  font-size: 11px;
  font-weight: 700;
}

.aisle-route-copy b,
.aisle-route-copy small {
  display: block;
}

.aisle-route-copy b {
  color: var(--aubergine);
  font-size: 15px;
}

.aisle-route-copy small {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 11px;
}

.aisle-location {
  color: var(--aubergine-soft);
  font-size: 11px;
  font-weight: 650;
  text-align: right;
  text-transform: uppercase;
}

.aisle-schematic {
  position: relative;
  display: grid;
  min-width: 0;
  padding: var(--space-3);
  place-items: center;
  background: var(--aubergine);
  box-shadow: 8px 8px 0 var(--fennel);
}

.aisle-schematic svg {
  width: 100%;
  max-width: 360px;
  color: var(--tomato-on-dark);
}

.store-outline {
  fill: rgba(255, 253, 248, 0.04);
  stroke: rgba(245, 241, 232, 0.3);
}

.aisle-line {
  fill: none;
  stroke: var(--tomato-on-dark);
  stroke-width: 4;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.aisle-stop circle {
  fill: var(--fennel);
  stroke: var(--aubergine);
  stroke-width: 2;
}

.aisle-stop text {
  fill: var(--aubergine);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.schematic-caption {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  left: var(--space-3);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.store-heading {
  display: flex;
  min-height: 118px;
  padding: var(--space-4) 18px;
  border-bottom: 1px solid var(--rule);
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.store-heading h3 {
  max-width: 270px;
  margin-top: var(--space-2);
  color: var(--aubergine);
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.store-heading > span {
  max-width: 110px;
  color: var(--tomato-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.store-columns,
.store-comparison li {
  display: grid;
  grid-template-columns: 34px minmax(90px, 0.72fr) minmax(130px, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.store-columns {
  min-height: 36px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.store-comparison li {
  min-height: 66px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--rule);
}

.store-comparison li.best-store {
  background: var(--fennel-light);
}

.rank {
  color: var(--ink-muted);
  font-size: 11px;
}

.store-comparison li b {
  color: var(--aubergine);
  font-size: 15px;
}

.store-note {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--ink-muted);
  font-size: 12px;
}

.store-note em {
  padding: 3px 5px;
  background: var(--aubergine);
  color: var(--fennel);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-comparison li strong {
  color: var(--aubergine);
  font-size: 14px;
}

.best-store strong {
  color: var(--tomato-dark) !important;
}

.store-footnote {
  padding: 18px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.45;
}

.fulfillment-panel.is-entering {
  animation: trip-panel-enter 520ms var(--ease-out) both;
}

.fulfillment-panel.is-entering .retailer-option,
.fulfillment-panel.is-entering .aisle-route-list li {
  animation: trip-item-enter 480ms var(--ease-out) both;
}

.fulfillment-panel.is-entering :is(.retailer-option, .aisle-route-list li):nth-child(2) {
  animation-delay: 70ms;
}

.fulfillment-panel.is-entering .aisle-route-list li:nth-child(3) {
  animation-delay: 120ms;
}

.fulfillment-panel.is-entering .aisle-route-list li:nth-child(4) {
  animation-delay: 170ms;
}

.fulfillment-panel.is-entering .aisle-route-list li:nth-child(5) {
  animation-delay: 220ms;
}

.fulfillment-panel.is-entering .aisle-route-list li:nth-child(6) {
  animation-delay: 270ms;
}

.fulfillment-panel.is-entering .aisle-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: trip-route-draw 900ms var(--ease-out) 120ms both;
}

.fulfillment-panel.is-entering .aisle-stop {
  opacity: 0;
  transform: translateY(8px);
  transform-box: fill-box;
  transform-origin: center;
  animation: trip-stop-enter 420ms var(--ease-out) both;
}

.fulfillment-panel.is-entering .aisle-stop:nth-of-type(1) {
  animation-delay: 170ms;
}

.fulfillment-panel.is-entering .aisle-stop:nth-of-type(2) {
  animation-delay: 250ms;
}

.fulfillment-panel.is-entering .aisle-stop:nth-of-type(3) {
  animation-delay: 330ms;
}

.fulfillment-panel.is-entering .aisle-stop:nth-of-type(4) {
  animation-delay: 410ms;
}

.fulfillment-panel.is-entering .aisle-stop:nth-of-type(5) {
  animation-delay: 490ms;
}

.fulfillment-panel.is-entering .aisle-stop:nth-of-type(6) {
  animation-delay: 570ms;
}

.shop.has-shop-motion :is(.shopping-method-control, .fulfillment, .store-comparison) {
  opacity: 0;
  transform: translateY(24px);
}

.shop.has-shop-motion.is-shop-visible .shopping-method-control {
  animation: trip-sheet-reveal 720ms var(--ease-out) both;
}

.shop.has-shop-motion.is-shop-visible .fulfillment {
  animation: trip-sheet-reveal 720ms var(--ease-out) 110ms both;
}

.shop.has-shop-motion.is-shop-visible .store-comparison {
  animation: trip-sheet-reveal 720ms var(--ease-out) 190ms both;
}

@keyframes trip-sheet-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trip-panel-enter {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trip-item-enter {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trip-route-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes trip-stop-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.compare {
  padding-block: clamp(100px, 13vw, 180px);
}

.comparison {
  margin-top: clamp(60px, 8vw, 100px);
  box-shadow: 0 0 0 1px rgba(45, 18, 48, 0.26);
}

.comparison-head,
.comparison-row {
  display: grid;
  grid-template-columns: 1.12fr repeat(3, 1fr);
}

.comparison-head {
  min-height: 64px;
  align-items: center;
  background: var(--aubergine);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-head span,
.comparison-row > * {
  padding-inline: clamp(12px, 2vw, 25px);
  padding-block: 12px;
}

.comparison-head .kitless-col {
  align-self: stretch;
  display: flex;
  align-items: center;
  background: var(--fennel);
  color: var(--aubergine);
}

.comparison-row {
  min-height: 88px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  align-items: stretch;
}

.comparison-row > * {
  display: flex;
  align-items: center;
}

.comparison-row > * + * {
  border-left: 1px solid var(--rule);
}

.comparison-row b {
  color: var(--aubergine);
  font-size: 14px;
}

.comparison-row span,
.comparison-row strong {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.35;
}

.comparison-row strong {
  background: rgba(202, 216, 163, 0.43);
  color: var(--aubergine);
  font-weight: 650;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: min(82vh, 850px);
  overflow: hidden;
  background: var(--aubergine-deep);
  place-items: center;
  color: var(--white);
}

.final-cta > img,
.final-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-scrim {
  background: rgba(29, 11, 32, 0.56);
}

.final-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  padding-block: 70px;
  text-align: center;
}

.final-content .eyebrow {
  justify-content: center;
  color: var(--fennel);
}

.final-content h2 {
  margin-top: 26px;
  font-size: clamp(68px, 9vw, 138px);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.83;
}

.final-content > p:not(.eyebrow) {
  max-width: 580px;
  margin: 28px auto 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
}

.final-badge {
  margin-top: 30px;
}

.site-footer {
  display: flex;
  min-height: 100px;
  padding: 28px max(24px, calc((100vw - var(--section-width)) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--aubergine-deep);
  color: var(--paper);
}

.footer-wordmark {
  font-size: 21px;
}

.site-footer p {
  color: rgba(245, 241, 232, 0.55);
  font-size: 12px;
}

.site-footer > a:last-child {
  color: var(--fennel);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(340px, 0.8fr) minmax(500px, 1.2fr);
  }

  .hero-copy {
    padding-right: 28px;
    padding-left: 32px;
  }

  .hero h1 {
    font-size: clamp(58px, 6.2vw, 76px);
  }

  .hero-visual {
    padding-left: 0;
  }

  .app-panel {
    padding: var(--space-4);
  }

  .hero-week li {
    min-height: 54px;
  }

  .shopping-plan {
    margin-top: var(--space-3);
  }


  .pantry-explainer {
    padding: var(--space-5);
  }
}

@media (max-width: 1100px) {
  .pantry-caption {
    width: 84%;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 60px;
  }

  .section-shell {
    width: min(var(--section-width), calc(100% - 40px));
  }

  .nav-wrap {
    width: calc(100% - 32px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero-copy {
    max-width: 780px;
    min-height: auto;
    padding: var(--space-8) var(--space-6) var(--space-7);
  }

  .hero h1 {
    font-size: clamp(64px, 10.5vw, 96px);
  }

  .hero-visual {
    min-height: 0;
    padding: var(--space-5) var(--space-6) var(--space-8);
  }

  .hero-photo {
    inset: 0;
  }

  .app-panel {
    width: min(720px, calc(100% - 20px));
    margin: 0 auto;
  }

  .workflow-spread {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  }

  .workflow-panel {
    --workflow-pad: var(--space-5);
  }

  .planner-heading {
    grid-template-columns: 1fr 310px;
    gap: 50px;
  }

  .day-grid {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-color: var(--fennel) transparent;
    grid-template-columns: repeat(7, minmax(140px, 1fr));
    scroll-snap-type: x proximity;
  }

  .day-card {
    scroll-snap-align: start;
  }

  .pantry-caption {
    width: 88%;
  }

  .price-and-fulfillment {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .fulfillment {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .workflow-spread {
    grid-template-columns: 1fr;
  }

  .recipe-image {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .recipe-image img {
    object-position: center 68%;
  }

  .workflow-panel {
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: calc(100% - 32px);
  }

  .section-intro h2 {
    font-size: clamp(39px, 11vw, 58px);
  }

  .section-intro > p:last-child {
    font-size: 16px;
  }

  .split-intro,
  .planner-heading {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    min-height: auto;
    padding: 50px 20px 42px;
  }

  .hero h1 {
    font-size: clamp(55px, 16vw, 74px);
  }

  .hero-deck {
    max-width: 600px;
    font-size: 18px;
  }

  .hero-visual {
    min-height: 0;
    padding: var(--space-5) var(--space-4) var(--space-8);
  }

  .app-panel {
    width: 100%;
    padding: var(--space-4);
    box-shadow: 8px 10px 0 rgba(29, 11, 32, 0.6);
  }

  .hero-week li {
    grid-template-columns: 36px 32px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .shopping-plan {
    padding: var(--space-3);
  }

  .planner-heading {
    align-items: start;
  }

  .cadence-control {
    max-width: 440px;
  }

  .day-grid {
    grid-template-columns: repeat(7, minmax(126px, 1fr));
  }

  .day-button {
    min-height: 220px;
  }

  .week-total {
    grid-template-columns: 1fr 1fr;
  }

  .week-total .total-price {
    grid-column: 1 / -1;
    padding: 15px 0 0;
    border-top: 1px solid rgba(45, 18, 48, 0.2);
    border-left: 0;
    text-align: left;
  }

  .pantry-zones {
    grid-template-columns: 1fr;
  }

  .pantry-zone + .pantry-zone {
    border-left: 0;
  }

  .pantry-zone li {
    min-height: 72px;
  }

  .pantry-caption {
    width: 100%;
    margin-top: var(--space-5);
    margin-left: 0;
    padding: var(--space-5);
  }

  .pantry-caption::before {
    right: auto;
    left: var(--space-6);
  }

  .pantry-caption-question {
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: var(--space-4);
  }

  .pantry-caption-question::after {
    width: 52px;
    box-shadow: 4px 4px 0 var(--fennel);
    font-size: 36px;
  }

  .pantry-explainer > ol {
    display: block;
    margin-top: var(--space-5);
  }

  .pantry-explainer > ol li {
    padding-inline: 0;
  }

  .pantry-explainer > ol li + li {
    border-top: 1px dashed rgba(245, 241, 232, 0.3);
    border-left: 0;
  }

  .pantry-confirmation {
    width: calc(100% - 7px);
    margin: var(--space-5) 7px 0 0;
    padding: var(--space-4);
    align-items: start;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    transform: rotate(-0.35deg);
  }

  .confirmation-status {
    padding: var(--space-3) 0 0;
    border-top: 1px solid rgba(45, 18, 48, 0.3);
    border-left: 0;
  }

  .retailer-options {
    grid-template-columns: 1fr;
  }

  .trip-panel-header {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-3);
  }

  .cart-status {
    text-align: left;
  }

  .aisle-route-layout {
    grid-template-columns: 1fr;
  }

  .aisle-schematic {
    min-height: 300px;
  }

  .store-columns {
    display: none;
  }

  .store-comparison li {
    grid-template-columns: 25px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .store-note {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .store-comparison li strong {
    grid-column: 3;
    grid-row: 1;
  }

  .comparison-head,
  .comparison-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .comparison-head span:first-child {
    display: none;
  }

  .comparison-row b {
    grid-column: 1 / -1;
    min-height: 46px;
    padding-block: 12px;
    border-bottom: 1px solid var(--rule);
    background: var(--paper-deep);
  }

  .comparison-row span,
  .comparison-row strong {
    min-height: 96px;
    padding-block: 15px;
    align-items: flex-start;
    font-size: 11px;
  }

  .comparison-row > span:first-of-type {
    border-left: 0;
  }

  .final-cta {
    min-height: 700px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .wordmark {
    font-size: 21px;
  }

  .nav-cta {
    padding: 7px 9px;
    font-size: 12px;
  }

  .hero-copy {
    justify-content: flex-start;
    padding-top: 42px;
  }

  .hero h1 {
    margin-top: 0;
    font-size: clamp(49px, 14.7vw, 64px);
    line-height: 0.9;
  }

  .hero-deck {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.42;
  }

  .hero-actions {
    margin-top: 25px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .app-store-link img {
    width: 150px;
  }

  .hero-visual {
    padding-inline: 12px;
  }

  .app-panel {
    padding: var(--space-3);
  }

  .hero-week li {
    min-height: 54px;
    grid-template-columns: 32px 28px minmax(0, 1fr) auto;
  }

  .meal-thumb {
    width: 27px;
    height: 27px;
  }

  .meal-copy b {
    font-size: 12px;
  }

  .meal-copy small {
    font-size: 11px;
  }

  .meal-state {
    font-size: 11px;
  }

  .grocery-match-heading {
    flex-direction: column;
  }

  .grocery-match-summary {
    grid-template-columns: 1fr;
  }

  .grocery-match-summary p + p {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .match-review {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .match-total {
    grid-template-columns: 1fr;
  }

  .recipe-image figcaption {
    top: var(--space-3);
    left: var(--space-3);
    width: calc(100% - (var(--space-3) * 2));
    padding: var(--space-3);
  }

  .recipe-image figcaption strong {
    font-size: 16px;
  }

  .workflow-panel {
    --workflow-pad: var(--space-4);
  }

  .workflow-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: var(--space-2);
  }

  .workflow-step h3 {
    font-size: 25px;
  }

  .workflow-step-note {
    font-size: 14px;
  }

  .source-strip {
    grid-template-columns: 1fr;
  }

  .source-strip li + li {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .week-builder-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .week-build-day:nth-child(3) {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .week-build-day:nth-child(4) {
    border-top: 1px solid var(--rule);
  }

  .week-key {
    gap: 12px 16px;
  }

  .week-total {
    padding: 16px;
    gap: 16px;
  }

  .week-total strong {
    font-size: 13px;
  }

  .shopping-method-control {
    box-shadow: 5px 5px 0 rgba(45, 18, 48, 0.16);
  }

  .fulfillment-tabs {
    grid-template-columns: 1fr;
  }

  .fulfillment-tabs button {
    min-height: 76px;
    padding: 12px 14px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: var(--space-2);
  }

  .fulfillment-tabs button + button {
    border-top: 1px solid var(--aubergine);
    border-left: 0;
  }

  .fulfillment-tabs button::after {
    right: 14px;
    left: 14px;
  }

  .method-copy strong {
    font-size: 17px;
  }

  .price-and-fulfillment {
    margin-top: 36px;
    gap: var(--space-4);
  }

  .fulfillment-panel {
    min-height: 0;
    padding: 20px 16px;
  }

  .trip-panel-header h3 {
    font-size: 28px;
  }

  .store-comparison li {
    padding-inline: 13px;
  }

  .pantry-screen-header,
  .pantry-activity {
    padding-inline: var(--space-4);
  }

  .pantry-activity li {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .retailer-option header,
  .retailer-option dl {
    padding-inline: var(--space-3);
  }

  .aisle-route-list li {
    padding-inline: 10px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .aisle-location {
    max-width: 88px;
    font-size: 11px;
  }

  .aisle-schematic {
    min-height: 250px;
    padding: var(--space-2);
  }

  .store-heading {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .store-heading > span {
    max-width: none;
    text-align: left;
  }

  .comparison-head,
  .comparison-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .comparison-head span,
  .comparison-row > * {
    padding-inline: 8px;
  }

  .comparison-head {
    font-size: 11px;
  }

  .comparison-row span,
  .comparison-row strong {
    min-height: 105px;
    font-size: 12px;
    line-height: 1.4;
  }

  .final-content {
    width: calc(100% - 32px);
  }

  .final-content h2 {
    font-size: clamp(62px, 20vw, 84px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
