:root {
  color-scheme: light;
  --forest: #07563e;
  --forest-deep: #043f31;
  --forest-ink: #03372b;
  --ink: #17382d;
  --muted: #60746d;
  --paper: #fcfefc;
  --cream: #fbf9f3;
  --white: #fff;
  --mint: #eaf5ef;
  --mint-soft: #f2faf5;
  --mint-accent: #a8ddbf;
  --line: #dce9e2;
  --amber: #d98118;
  --red: #d84b47;
  --shadow: 0 24px 70px rgba(4, 63, 49, 0.12);
  --soft-shadow: 0 12px 38px rgba(4, 63, 49, 0.08);
  --motion-fast: 180ms;
  --motion-base: 420ms;
  --motion-slow: 720ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.2, .8, .2, 1);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--forest);
  font-weight: 800;
  transform: translateY(-150%);
}

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

.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;
}

.shell { width: min(100% - 36px, 1180px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(7, 86, 62, 0.09);
  background: rgba(252, 254, 252, 0.9);
  backdrop-filter: blur(18px);
  transition: background var(--motion-base) ease, border-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(7, 86, 62, .14);
  background: rgba(252, 254, 252, .96);
  box-shadow: 0 10px 34px rgba(4, 63, 49, .07);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint-accent), var(--forest));
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest-deep);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.brand img { border-radius: 11px; }
.brand-lockup { gap: 8px; }
.brand-lockup .brand-icon { width: 34px; height: 34px; border-radius: 10px; }
.brand-lockup .brand-wordmark { width: 84px; height: auto; border-radius: 0; transform: translateY(4px); }

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.nav-links a:not(.nav-cta):hover { color: var(--forest); }

.nav-links .nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(7, 86, 62, .16);
}

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  gap: 4px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: var(--forest);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) 0 58px;
  background:
    radial-gradient(circle at 85% 14%, rgba(168, 221, 191, 0.38), transparent 27rem),
    radial-gradient(circle at 8% 92%, rgba(234, 245, 239, 0.8), transparent 23rem),
    var(--cream);
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -350px;
  bottom: -350px;
  border: 1px solid rgba(7, 86, 62, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(168, 221, 191, .06), 0 0 0 140px rgba(168, 221, 191, .035);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .82fr);
  align-items: center;
  gap: clamp(38px, 7vw, 94px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 5px 13px;
  border: 1px solid rgba(7, 86, 62, .12);
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--forest-ink);
  letter-spacing: -.04em;
  line-height: 1.04;
}

h1 { margin-bottom: 24px; font-size: clamp(46px, 6.3vw, 78px); }
h2 { margin-bottom: 18px; font-size: clamp(38px, 5.2vw, 62px); }
h3 { margin-bottom: 9px; font-size: clamp(20px, 2.4vw, 26px); }
h1 em, h2 em { color: var(--forest); font-family: var(--serif); font-weight: 700; font-style: normal; }

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #455e55;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
}

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

.app-store-button {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  border-radius: 16px;
  background: #111;
  color: var(--white);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.05;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.app-store-button:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 15px 32px rgba(0,0,0,.2); }
.app-store-button small { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 550; letter-spacing: .02em; }
.app-store-icon { width: 25px; height: 29px; display: grid; place-items: center; font-size: 16px; }

.text-link { font-weight: 800; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform var(--motion-fast) var(--ease-out); }
.benefit-line { margin: 26px 0 0; color: var(--forest); font-size: 14px; font-weight: 750; }

.hero-visual { position: relative; z-index: 1; min-height: 620px; display: grid; place-items: center; transform-style: preserve-3d; }
.hero-visual > img {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  height: auto;
  object-fit: contain;
  border-radius: 40px;
  box-shadow: 0 38px 90px rgba(4, 63, 49, .18);
  transform: perspective(1200px) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg)) translate3d(0, var(--hero-lift, 0px), 0);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}

.visual-halo {
  position: absolute;
  inset: 8% -3% 4%;
  border-radius: 50% 50% 46% 54%;
  background: linear-gradient(145deg, var(--mint-accent), #dff2e7);
  transform: rotate(-4deg);
}

.hero-proof {
  position: absolute;
  z-index: 3;
  min-width: 158px;
  padding: 13px 16px;
  border: 1px solid rgba(7, 86, 62, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .93);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { color: var(--forest); font-size: 14px; }
.hero-proof span { color: var(--muted); font-size: 12px; }
.proof-left { left: -16px; top: 30%; }
.proof-right { right: -12px; bottom: 18%; }

.trust-strip { border-block: 1px solid var(--line); background: var(--white); }
.trust-grid { min-height: 84px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-grid span { padding: 8px 26px; color: var(--ink); font-size: 14px; font-weight: 750; text-align: center; }
.trust-grid span + span { border-left: 1px solid var(--line); }
.trust-grid b { margin-right: 9px; color: var(--mint-accent); font-size: 12px; }

.section { padding: clamp(74px, 10vw, 126px) 0; scroll-margin-top: 70px; }
.section-heading { max-width: 720px; }
.section-heading.centred { margin: 0 auto 54px; text-align: center; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }

.steps-layout { max-width: 1120px; margin-inline: auto; }
.steps-list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.steps-list::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--mint-accent), rgba(7,86,62,.3));
}
.steps-list li {
  position: relative;
  z-index: 1;
  min-height: 225px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 28px 0 0;
}
.steps-list h3 { margin-bottom: 9px; font-size: 23px; }
.steps-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.step-number { width: 50px; height: 50px; display: grid; place-items: center; border: 6px solid var(--paper); border-radius: 50%; background: var(--forest); color: var(--white); font-size: 12px; font-weight: 900; box-shadow: 0 8px 20px rgba(7,86,62,.18); transition: transform var(--motion-base) var(--ease-out), background var(--motion-base) ease; }

.section-dark { position: relative; overflow: hidden; background: var(--forest-deep); }
.section-dark::before, .section-dark::after { content: ""; position: absolute; border-radius: 50%; background: rgba(168, 221, 191, .08); }
.section-dark::before { width: 460px; height: 460px; top: -250px; right: -100px; }
.section-dark::after { width: 330px; height: 330px; bottom: -200px; left: -100px; }
.light-heading { position: relative; z-index: 1; margin-bottom: 48px; }
.light-heading h2, .light-heading p:not(.eyebrow) { color: var(--white); }
.light-heading h2 em { color: var(--mint-accent); }
.light-heading p:not(.eyebrow) { opacity: .74; }
.eyebrow-dark { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #c8f2d9; }

.product-theatre {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(460px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 36px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 32px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
}

.theatre-controls { display: grid; align-content: center; gap: 10px; }
.theatre-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) 24px;
  align-items: start;
  gap: 14px;
  padding: 21px 18px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
  color: rgba(255,255,255,.66);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color var(--motion-base) ease, background var(--motion-base) ease, border-color var(--motion-base) ease, transform var(--motion-base) var(--ease-out);
}
.theatre-number { padding-top: 3px; color: var(--mint-accent); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.theatre-tab strong, .theatre-tab small { display: block; }
.theatre-tab strong { margin-bottom: 7px; color: var(--white); font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.theatre-tab small { font-size: 14px; line-height: 1.5; }
.theatre-arrow { align-self: center; color: var(--mint-accent); font-size: 22px; opacity: 0; transform: translateX(-8px); transition: opacity var(--motion-base) ease, transform var(--motion-base) var(--ease-out); }
.theatre-tab.is-active { border-color: rgba(168,221,191,.22); background: rgba(255,255,255,.09); color: rgba(255,255,255,.78); }
.theatre-tab.is-active .theatre-arrow { opacity: 1; transform: translateX(0); }

.theatre-stage {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(168,221,191,.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 75% 12%, rgba(168,221,191,.22), transparent 20rem),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(0,0,0,.08));
}
.theatre-stage::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -190px;
  bottom: -190px;
  border: 1px solid rgba(168,221,191,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(168,221,191,.035), 0 0 0 96px rgba(168,221,191,.02);
}
.theatre-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(20px, 14px, 0) scale(.975);
  transition: opacity 480ms ease, transform 720ms var(--ease-out);
}
.theatre-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}
.theatre-panel[data-theatre-panel="pantry"]::before { background-image: linear-gradient(rgba(252,254,252,.08), rgba(252,254,252,.08)), url('/assets/pantry-backdrop.webp'); }
.theatre-panel[data-theatre-panel="recipes"]::before { background-image: linear-gradient(rgba(4,63,49,.08), rgba(4,63,49,.18)), url('/assets/recipes-backdrop.webp'); }
.theatre-panel[data-theatre-panel="cooked"]::before { background-image: linear-gradient(rgba(252,254,252,.05), rgba(252,254,252,.05)), url('/assets/cooked-backdrop.webp'); }
.theatre-panel.is-active { z-index: 2; opacity: 1; pointer-events: auto; transform: none; }
.theatre-panel img { position: relative; z-index: 1; width: auto; max-width: 88%; max-height: 600px; object-fit: contain; border: 1px solid rgba(7,86,62,.09); border-radius: 24px; box-shadow: 0 30px 76px rgba(0,0,0,.25); }
.theatre-caption { position: absolute; z-index: 3; right: 18px; bottom: 14px; color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }

.benefits-section { background: var(--cream); }
.benefits-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: clamp(40px, 8vw, 110px); align-items: start; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.benefits-grid li { min-height: 96px; display: flex; align-items: flex-start; gap: 13px; padding: 22px 4px; border-top: 1px solid var(--line); background: transparent; }
.benefits-grid li span { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--forest); font-weight: 900; transition: transform var(--motion-base) var(--ease-out), background var(--motion-base) ease; }
.benefits-grid strong { padding-top: 3px; line-height: 1.3; }

.cooked-section { background: var(--paper); }
.cooked-card { display: grid; grid-template-columns: minmax(0,.75fr) minmax(480px,1fr); gap: clamp(34px, 7vw, 90px); align-items: center; padding: clamp(32px, 6vw, 72px); border-radius: 36px; background: linear-gradient(135deg, var(--forest), var(--forest-deep)); color: var(--white); box-shadow: var(--shadow); }
.cooked-copy h2, .cooked-copy p { color: var(--white); }
.cooked-copy p:not(.eyebrow) { margin: 0; opacity: .75; font-size: 18px; }
.stock-demo { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; gap: 8px; padding: 22px; border-radius: 25px; background: var(--white); color: var(--ink); }
.stock-label { display: block; margin-bottom: 13px; color: var(--forest); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.stock-column p { display: flex; justify-content: space-between; gap: 14px; margin: 10px 0; }
.stock-column p span { color: var(--muted); }
.stock-arrow { color: var(--mint-accent); font-size: 34px; font-weight: 300; text-align: center; }
.stock-after { padding: 16px; border-radius: 18px; background: var(--mint-soft); }

.faq-section { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: minmax(0,.65fr) minmax(480px,1fr); gap: clamp(38px, 8vw, 100px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 42px 22px 0; color: var(--ink); font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 5px; top: 31px; width: 16px; height: 2px; border-radius: 2px; background: var(--forest); transition: transform var(--motion-base) var(--ease-out); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details p { margin: -8px 44px 22px 0; color: var(--muted); }
.faq-list details[open] p { animation: answer-in 320ms var(--ease-out) both; }

.final-cta { padding: clamp(66px, 9vw, 110px) 0; background: var(--forest); color: var(--white); }
.final-cta-inner { display: grid; grid-template-columns: minmax(0,1fr) 250px; align-items: center; gap: 64px; }
.final-cta h2, .final-cta p { color: var(--white); }
.final-cta h2 em { color: var(--mint-accent); }
.final-cta p:not(.eyebrow) { max-width: 650px; margin: 0 0 27px; opacity: .75; font-size: 18px; }
.app-store-light { background: var(--white); color: var(--forest-deep); }
.app-store-light:hover { color: var(--forest-deep); }
.qr-placeholder { min-height: 250px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 25px; background: rgba(255,255,255,.09); text-align: center; }
.qr-placeholder span { color: rgba(255,255,255,.65); font-size: 12px; }
.qr-slot { width: 92px; height: 92px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.45); border-radius: 14px; color: var(--mint-accent); font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: .08em; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-rise 780ms var(--ease-out) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 70ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 140ms; }
  .hero-copy > *:nth-child(4) { animation-delay: 210ms; }
  .hero-copy > *:nth-child(5) { animation-delay: 280ms; }
  .hero-visual { animation: hero-stage-in 920ms 130ms var(--ease-out) both; }
  .visual-halo { animation: halo-breathe 2400ms 500ms var(--ease-soft) 2 alternate; }
  .hero-proof { animation: proof-in 700ms 520ms var(--ease-out) both; }
  .proof-right { animation-delay: 640ms; }
  .theatre-panel.is-active img { animation: scene-settle 720ms var(--ease-out) both; }
  html.motion-ready .reveal { opacity: 0; transform: translate3d(0, 20px, 0) scale(.992); transition: opacity var(--motion-base) ease, transform var(--motion-slow) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
  html.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
  .stock-demo.is-visible .stock-after { animation: stock-settle 720ms 260ms var(--ease-out) both; }
  .stock-demo.is-visible .stock-arrow { animation: arrow-nudge 620ms 190ms var(--ease-out) both; }
}

@keyframes hero-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes hero-stage-in { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes proof-in { from { opacity: 0; transform: translate3d(0, 12px, 0) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes halo-breathe { from { transform: rotate(-4deg) scale(.985); } to { transform: rotate(-1deg) scale(1.025); } }
@keyframes arrow-nudge { 0% { opacity: .25; transform: translateX(-8px); } 55% { opacity: 1; transform: translateX(5px); } 100% { opacity: 1; transform: none; } }
@keyframes stock-settle { from { opacity: .55; transform: translateX(-10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@keyframes scene-settle { from { opacity: .35; transform: translate3d(0, 16px, 0) scale(.985); } to { opacity: 1; transform: none; } }

@media (hover: hover) and (pointer: fine) {
  .nav-links .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 11px 25px rgba(7,86,62,.22); }
  .text-link:hover span { transform: translateY(3px); }
  .steps-list li:hover .step-number { background: var(--mint-accent); color: var(--forest-deep); transform: translateY(-3px) scale(1.06); }
  .theatre-tab:hover { background: rgba(255,255,255,.055); color: rgba(255,255,255,.82); transform: translateX(3px); }
  .benefits-grid li:hover span { transform: scale(1.08); }
}

.site-footer { padding: 62px 0 28px; background: var(--forest-ink); color: rgba(255,255,255,.65); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 48px; }
.brand-light { color: var(--white); }
.footer-brand p { max-width: 380px; margin: 18px 0 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-links div { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 4px; color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.footer-links a { color: rgba(255,255,255,.68); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.footer-bottom span:last-child { max-width: 510px; text-align: right; }

/* Legal, support, download and utility pages */
.page-main { width: min(100% - 36px, 980px); margin: 0 auto; padding: 70px 0 96px; }
.page-hero { max-width: 790px; margin-bottom: 38px; }
.page-hero h1 { font-size: clamp(44px, 8vw, 70px); }
.page-hero .lead { margin: 0; color: var(--muted); font-size: clamp(18px, 2.6vw, 21px); }
.meta { margin-top: 18px; color: var(--muted); font-size: 13px; }
.card, .policy-section { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: var(--soft-shadow); }
.card { padding: clamp(22px, 5vw, 34px); }
.contact-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; background: linear-gradient(135deg, var(--forest), var(--forest-deep)); color: var(--white); border: 0; }
.contact-card h2, .contact-card p { color: inherit; }
.contact-card p { margin: 8px 0 0; opacity: .78; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 14px; background: var(--white); color: var(--forest-deep); font-weight: 800; text-decoration: none; white-space: nowrap; }
.button-primary { background: var(--forest); color: var(--white); }
.button-primary:hover { color: var(--white); }
.support-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.support-grid .card { box-shadow: none; }
.support-icon { width: 44px; height: 44px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 14px; background: var(--mint); color: var(--forest); font-size: 20px; font-weight: 900; }
.support-grid p, .policy-section p { margin: 0; color: var(--muted); }
.policy-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); align-items: start; gap: 28px; }
.contents { position: sticky; top: 94px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(234,245,239,.66); }
.contents strong { display: block; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.contents a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.policy-section { margin-bottom: 16px; padding: clamp(22px,5vw,34px); box-shadow: none; scroll-margin-top: 92px; }
.policy-section h2 { font-size: clamp(24px,4vw,31px); }
.policy-section h3 { margin-top: 22px; font-size: 18px; }
.policy-section p + p, .policy-section p + ul, .policy-section ul + p { margin-top: 14px; }
.policy-section ul { margin: 12px 0 0; padding-left: 21px; color: var(--muted); }
.policy-section li + li { margin-top: 8px; }
.notice { margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--mint-accent); border-radius: 0 14px 14px 0; background: var(--mint); color: var(--ink); }
.simple-footer { border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); }
.simple-footer .footer-bottom { min-height: 90px; align-items: center; padding: 20px 0; border: 0; }
.simple-footer .footer-bottom a { color: var(--forest); }
.utility-page { min-height: calc(100vh - 163px); display: grid; place-items: center; padding: 70px 18px; background: radial-gradient(circle at 80% 10%, var(--mint), transparent 28rem), var(--cream); }
.utility-card { width: min(100%, 720px); padding: clamp(32px,7vw,64px); border: 1px solid var(--line); border-radius: 32px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); text-align: center; }
.utility-card .brand { justify-content: center; margin-bottom: 30px; }
.utility-card h1 { font-size: clamp(42px,8vw,66px); }
.utility-card p { max-width: 560px; margin: 0 auto 26px; color: var(--muted); font-size: 18px; }
.status-pill { display: inline-flex; margin-bottom: 18px; padding: 6px 13px; border-radius: 999px; background: var(--mint); color: var(--forest); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(350px,.75fr); gap: 38px; }
  .hero-visual { min-height: 540px; max-height: 620px; }
  .hero-visual > img { max-height: 590px; }
  .hero-proof { display: none; }
  .product-theatre { grid-template-columns: 1fr; }
  .theatre-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: stretch; }
  .theatre-tab { grid-template-columns: 28px minmax(0,1fr); padding: 17px 14px; }
  .theatre-arrow { display: none; }
  .theatre-stage { min-height: 620px; }
  .cooked-card { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-list::before { display: none; }
  .steps-list li { min-height: 210px; padding-right: 40px; }
}

@media (max-width: 760px) {
  .nav { min-height: 64px; }
  .menu-button { display: grid; }
  .menu-button span:not(.sr-only) { transition: transform var(--motion-base) var(--ease-out), opacity var(--motion-fast) ease; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; transform: scaleX(.4); }
  .menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 18px; right: 18px; display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px) scale(.985); transition: opacity var(--motion-fast) ease, transform 260ms var(--ease-out), visibility 0s var(--motion-fast); }
  .nav-links.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .nav-links a { min-height: 46px; display: flex; align-items: center; padding: 8px 12px; border-radius: 12px; }
  .nav-links .nav-cta { justify-content: center; margin-top: 6px; }
  .hero-section { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .benefit-line { text-align: center; }
  .hero-visual { min-height: 540px; max-height: 620px; }
  .hero-visual > img { width: min(100%, 540px); max-height: 590px; }
  .visual-halo { inset: 4% 3%; }
  .trust-grid { grid-template-columns: 1fr; padding: 12px 0; }
  .trust-grid span { padding: 10px; }
  .trust-grid span + span { border-left: 0; border-top: 1px solid var(--line); }
  .benefits-layout, .faq-layout, .footer-main, .policy-layout { grid-template-columns: 1fr; }
  .theatre-controls { grid-template-columns: 1fr; }
  .theatre-tab { grid-template-columns: 34px minmax(0,1fr) 22px; }
  .theatre-arrow { display: block; }
  .theatre-stage { min-height: 580px; }
  .theatre-panel { padding: 22px; }
  .theatre-panel img { max-height: 525px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid li { min-height: 84px; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 38px; text-align: center; }
  .final-cta p:not(.eyebrow) { margin-inline: auto; }
  .qr-placeholder { display: none; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom span:last-child { text-align: left; }
  .contents { position: static; }
  .contact-card { grid-template-columns: 1fr; align-items: start; }
  .contact-card .button { width: 100%; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .shell, .page-main { width: min(100% - 28px, 1180px); }
  .brand-lockup .brand-icon { width: 32px; height: 32px; }
  .brand-lockup .brand-wordmark { width: 80px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  h2 { font-size: clamp(35px, 10vw, 48px); }
  .hero-actions { flex-direction: column; gap: 17px; }
  .app-store-button { width: 100%; max-width: 280px; justify-content: center; }
  .hero-visual { min-height: 390px; max-height: 460px; }
  .hero-visual > img { max-height: 430px; border-radius: 26px; }
  .steps-list { display: block; }
  .steps-list::before { display: block; top: 4px; right: auto; bottom: 34px; left: 21px; width: 1px; height: auto; }
  .steps-list li { min-height: 0; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 16px; padding: 0 0 34px; }
  .step-number { width: 42px; height: 42px; }
  .product-theatre { padding: 12px; border-radius: 27px; }
  .theatre-tab { padding: 15px 12px; }
  .theatre-tab small { font-size: 13px; }
  .theatre-stage { min-height: 500px; border-radius: 22px; }
  .theatre-panel { padding: 16px; }
  .theatre-panel img { max-height: 450px; border-radius: 18px; }
  .theatre-caption { display: none; }
  .cooked-card { width: calc(100% - 20px); padding: 28px 18px; border-radius: 28px; }
  .stock-demo { grid-template-columns: 1fr; padding: 16px; }
  .stock-arrow { transform: rotate(90deg); }
  .stock-column { padding: 8px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 18px; }
  .simple-footer .footer-bottom { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
