/* ThatFridge landing page (/ only), on top of site.css.
   The pixel scene + crew sprites carry the brand; the type stays calm around them. */

.walker {
  --fx: 1;
  position: absolute; width: var(--walker, 96px); height: var(--walker, 96px);
  transform: translate(-50%, -88%) scaleX(var(--fx));
  transition-property: left, top; transition-timing-function: linear;
}
.walker.flip { --fx: -1; }
.card-wrap { position: relative; width: min(600px, 100%); margin-top: 24px; }
.peek {
  position: absolute; z-index: 0; right: 40px; top: -100px;
  width: 144px; height: 144px;
  animation: peek 5s var(--ease) 1.2s infinite;
}
@keyframes peek {
  0%, 60%, 100% { transform: translateY(0); }
  70%, 88% { transform: translateY(-10px); }
}
.hero-card {
  position: relative; z-index: 1;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px;
  min-height: 380px; padding: 28px 30px 24px;
  background: rgba(244, 238, 227, 0.94);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .hero-card { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
.hero-card h1 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 46px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-card h1 em.s { color: var(--accent); font-size: 1.08em; }
.hero-card .crew-line {
  margin: 0; align-self: start;
  font-size: 18px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em;
}
.crew-dots { display: inline-flex; gap: 5px; margin-right: 8px; vertical-align: 1px; }
.crew-dots i { width: 9px; height: 9px; display: block; }
/* Mini fridge list: shows the product inside the hero card. */
.ticket { align-self: center; border-top: 1px solid var(--line); }
.ticket-head {
  display: flex; justify-content: space-between; margin: 10px 0 2px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.ticket ul, .snip { list-style: none; margin: 0; padding: 0; }
.ticket li, .snip li {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px;
  padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 500;
}
.ticket li img, .snip li img { width: 32px; height: 32px; }
.pill {
  font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.p-red { color: var(--guardian-ink); background: color-mix(in srgb, var(--guardian) 18%, #fff); }
.p-amber { color: var(--chef-ink); background: color-mix(in srgb, var(--chef) 22%, #fff); }
.p-green { color: var(--shopkeeper-ink); background: color-mix(in srgb, var(--shopkeeper) 20%, #fff); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.stack {
  margin: 0; text-align: right;
  font-weight: 700; font-size: 26px; line-height: 0.95; letter-spacing: -0.04em; color: var(--accent);
}
.stack span { display: block; padding-left: 0.7em; }
.card-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.demo-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.demo-link svg { width: 16px; height: 16px; fill: var(--accent); }
.demo-link span { font-size: 13px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.demo-link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* QR to the App Store: desktop with a mouse only (a phone can't scan its own screen). */
.qr { display: none; margin: 0; align-items: center; gap: 10px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.qr img { width: 74px; height: 74px; flex: none; image-rendering: pixelated; border: 1px solid var(--line); }
.qr-cta { margin-top: 22px; font-size: 14px; }
.qr-cta img { width: 96px; height: 96px; }
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .card-foot .stack { display: none; }
  .qr { display: flex; }
}

.hero-tag {
  margin: 44px 0 0; max-width: 17em; text-align: center;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  text-wrap: balance;
}
.hero-tag em.s { font-size: 1.1em; }

.side-milk {
  display: flex; align-items: center; gap: 8px; margin: 40px 0 0;
  font-size: 13px; color: var(--ink-2);
}
.side-milk img { width: 16px; height: 16px; }
.side-milk b { font-weight: 600; color: var(--ink); }
.side-milk.urgent b { color: var(--guardian-ink); }

/* Landing-only: milk countdown under the side index (shares the index's reveal). */
.js .side-milk { opacity: 0; transform: translateX(-14px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .side.on .side-milk { opacity: 1; transform: none; transition-delay: 420ms; }


/* Longer landing index: tighter dashes so all entries fit one screen. */
.side li + li::before { margin: 9px 0; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }
h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5.4vw, 68px); line-height: 1; font-weight: 600; letter-spacing: -0.045em;
  text-wrap: balance;
}
h2 em.s { color: var(--accent); font-size: 1.06em; }
.lede { margin: 0; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }

/* Why it matters */
.why .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.why-copy p {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500;
}
.why-copy p + p { color: var(--ink-2); }
.inline-food { display: inline-block; width: 32px; height: 32px; vertical-align: -0.2em; margin: 0 0.08em; }
.why-copy .source {
  font-size: 15px; line-height: 1.5; font-weight: 400; letter-spacing: 0;
  margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
}
.source strong { color: var(--ink); font-size: 18px; letter-spacing: -0.02em; }
.source a { text-underline-offset: 3px; }

/* How it works */
.how { background: var(--paper-2); }
.how-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.step { background: var(--paper); padding: 28px 28px 32px; display: flex; flex-direction: column; min-height: 360px; }
.step-top { display: flex; justify-content: space-between; align-items: flex-start; }
.step-num { font-size: 14px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sprite-tile { width: 112px; height: 112px; display: grid; place-items: center; }
.sprite-tile img { width: 96px; height: 96px; }
/* Small real-UI snippets so every step shows the product. */
.snip { margin-top: 16px; background: var(--nav); border: 1px solid var(--line); padding: 4px 12px; }
.snip li:last-child { border-bottom: 0; }
.snip-card {
  margin-top: 16px; padding: 14px 14px 12px; background: var(--nav); border: 1px solid var(--line);
  display: grid; gap: 2px;
}
.snip-card b { font-weight: 600; letter-spacing: -0.01em; }
.snip-card > span { font-size: 14px; color: var(--ink-2); }
.snip-icons { display: flex; gap: 6px; margin-top: 8px; }
.snip-icons img { width: 32px; height: 32px; }
.step h3 { margin: 36px 0 6px; font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.who { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.step p:last-child { margin: 0; color: var(--ink-2); }
.ways { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.ways li { font-size: 13px; font-weight: 500; padding: 5px 9px; border: 1px solid var(--line); background: var(--nav); }

/* Real app preview (dark band so the dark screenshots sit in their own world) */
.preview { background: var(--night-2); color: var(--nav); overflow: hidden; }
/* Pixel "staircase" edges instead of a straight cut between cream and dark. */
.preview::before, .preview::after {
  content: ""; position: absolute; left: 0; right: 0; height: 16px; background-repeat: repeat-x; background-size: 64px 16px;
}
.preview::before {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16' shape-rendering='crispEdges'%3E%3Cpath fill='%23ebe3d3' d='M0 0h64v4h-8v4h-8v4H32v4H24v-4h-8V8H8V4H0z'/%3E%3C/svg%3E");
}
.preview::after {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16' shape-rendering='crispEdges'%3E%3Cpath fill='%23f4eee3' d='M0 16h64v-4h-8V8h-8V4H32V0H24v4h-8v4H8v4H0z'/%3E%3C/svg%3E");
}
.preview .eyebrow { color: rgba(255, 253, 248, 0.7); }
.preview .eyebrow::before { background: #26c6da; }
.preview h2 em.s { color: #7fdce8; }
.preview .lede { color: rgba(255, 253, 248, 0.72); }
.shots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px);
  margin: 104px 0 0; padding: 0; list-style: none;
}
.shots figure { margin: 0; }
/* Own compositor layer: the big soft shadows are painted once, then just moved by the parallax. */
@media (min-width: 861px) { .shots figure { will-change: transform; } }
.shots img {
  width: 100%; height: auto; aspect-ratio: 1320 / 2868; object-fit: cover;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.shots li:nth-child(2) { transform: translateY(40px); }
.shots figcaption { margin-top: 16px; font-size: 15px; color: rgba(255, 253, 248, 0.72); }
.shots figcaption b { display: block; color: var(--nav); font-weight: 600; font-size: 17px; }

/* Demo video: a dark "fridge cinema" between Why (paper) and How (paper-2). Teal matches the
   video's own poster and the preview band. */
.demo {
  background:
    radial-gradient(70% 55% at 50% 62%, rgba(38, 198, 218, 0.16), rgba(38, 198, 218, 0) 70%),
    var(--night-2);
  color: var(--nav); overflow: hidden;
}
.demo::before, .demo::after {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; height: 16px; background-repeat: repeat-x; background-size: 64px 16px;
}
.demo::before {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16' shape-rendering='crispEdges'%3E%3Cpath fill='%23f4eee3' d='M0 0h64v4h-8v4h-8v4H32v4H24v-4h-8V8H8V4H0z'/%3E%3C/svg%3E");
}
.demo::after {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16' shape-rendering='crispEdges'%3E%3Cpath fill='%23ebe3d3' d='M0 16h64v-4h-8V8h-8V4H32V0H24v4h-8v4H8v4H0z'/%3E%3C/svg%3E");
}
/* Same film grain as the hero (keyframes in site.css), fainter, behind the content. */
.demo-grain {
  position: absolute; inset: -50%; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.09; mix-blend-mode: overlay;
  animation: grain 0.9s steps(3) infinite;
}
.demo .wrap { position: relative; z-index: 1; }
.demo .eyebrow { color: rgba(255, 253, 248, 0.7); }
.demo .eyebrow::before { background: #26c6da; }
.demo h2 em.s { color: #7fdce8; }
.demo .lede { color: rgba(255, 253, 248, 0.72); max-width: 24em; }
.demo :focus-visible { outline-color: var(--nav); box-shadow: none; }
.demo-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }

/* --sp: crew sprite size (whole multiples of the 48px art), --lift: how much of a sprite stands
   over the screen. Bottom padding leaves room for the crew once they sit down. */
.theater {
  --sp: 144px; --lift: 0.4; position: relative; margin: 80px auto 0; padding-bottom: calc(var(--sp) * 1.1);
  /* Never taller than the viewport (landscape phones): width follows the height left after the nav. */
  max-width: min(1000px, calc((100svh - 96px) * 16 / 9));
}
.dolly { position: relative; }
/* Projector glow: a blurred copy of the poster spilling light around the screen. */
.glow {
  position: absolute; inset: 2% -3% -6%; z-index: 0; pointer-events: none;
  filter: blur(72px) saturate(1.6); opacity: 0.7; transform: translateZ(0);
  transition: opacity 900ms var(--ease);
}
.glow img { width: 100%; height: 100%; object-fit: cover; }
.theater.playing .glow { opacity: 0.9; }
.screen {
  position: relative; z-index: 1; aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(255, 253, 248, 0.04);
}
.screen:has(.play:focus-visible) { outline: 2px solid var(--nav); outline-offset: 4px; }
.screen iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  opacity: 0; transition: opacity 500ms var(--ease);
}
.screen iframe.ready { opacity: 1; }

.play {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 20px;
  color: var(--nav); text-decoration: none;
}
.play:focus-visible { outline: none; }
.play picture, .play picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.play picture img { object-fit: cover; transition: transform 1200ms var(--ease), filter 600ms var(--ease); }
.play::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 60% at 50% 50%, rgba(13, 17, 22, 0.05), rgba(13, 17, 22, 0.4));
  transition: opacity 600ms var(--ease);
}
.play:hover picture img { transform: scale(1.03); filter: brightness(1.08); }
.play:hover::after { opacity: 0.6; }

/* Pixel play button: stepped-corner tile (clip-path) with a teal halo that breathes while idle. */
.play-btn {
  --oct: polygon(16px 0, calc(100% - 16px) 0, calc(100% - 16px) 8px, calc(100% - 8px) 8px, calc(100% - 8px) 16px, 100% 16px,
    100% calc(100% - 16px), calc(100% - 8px) calc(100% - 16px), calc(100% - 8px) calc(100% - 8px), calc(100% - 16px) calc(100% - 8px),
    calc(100% - 16px) 100%, 16px 100%, 16px calc(100% - 8px), 8px calc(100% - 8px), 8px calc(100% - 16px), 0 calc(100% - 16px),
    0 16px, 8px 16px, 8px 8px, 16px 8px);
  position: relative; z-index: 1; width: 104px; height: 104px; display: grid; place-items: center;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  transition: transform 300ms var(--ease);
}
.play-btn::before, .play-btn::after { content: ""; position: absolute; inset: 0; clip-path: var(--oct); }
.play-btn::before { background: #26c6da; animation: halo 2.6s var(--ease) infinite; }
.play-btn::after { background: var(--nav); transition: background-color 250ms var(--ease); }
.play-btn svg { position: relative; z-index: 1; width: 48px; height: 48px; margin-left: 4px; fill: var(--night-2); }
.play:hover .play-btn, .play:focus-visible .play-btn { transform: translateY(-3px) scale(1.05); }
.play:hover .play-btn::after, .play:focus-visible .play-btn::after { background: #7fdce8; }
@keyframes halo {
  0% { transform: scale(1); opacity: 0.6; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.play-label {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 7px 7px 16px; font-size: 15px;
  background: rgba(13, 17, 22, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px;
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .play-label { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
.play-label b { font-weight: 600; letter-spacing: -0.01em; }
.play-label span {
  padding: 3px 9px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
  background: rgba(255, 253, 248, 0.14); border-radius: 999px;
}

/* The crew in the front row: standing and bobbing over the screen's edge, then sitting down
   below it as silhouettes (rim-lit by the screen) once the video plays, clear of its controls. */
.audience {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: calc(var(--sp) * (var(--lift) - 1)); height: var(--sp);
  margin: 0; padding: 0; list-style: none; pointer-events: none;
}
.audience li {
  position: absolute; bottom: 0; width: var(--sp); height: var(--sp);
  transform: translateX(-50%);
  transition: transform 800ms var(--ease), filter 800ms var(--ease);
}
.audience img { width: 100%; height: 100%; animation: bob 2.8s steps(2, jump-none) infinite; }
.seat-guardian { left: 7%; }
.seat-chef { left: 17%; }
.seat-organizer { left: 83%; }
.seat-shopkeeper { left: 93%; }
.seat-organizer img, .seat-shopkeeper img { scale: -1 1; }
.seat-chef img { animation-delay: -0.7s; }
.seat-organizer img { animation-delay: -1.4s; }
.seat-shopkeeper img { animation-delay: -2.1s; }
@keyframes bob {
  0%, 60% { transform: translateY(0); }
  80% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.theater.playing .audience li {
  transform: translate(-50%, calc(var(--lift) * 100% + 6%));
  filter: brightness(0.16) saturate(0) drop-shadow(0 -2px 0 rgba(127, 220, 232, 0.55));
}
.theater.playing .audience img { animation: none; }
.theater.playing .seat-chef { transition-delay: 90ms; }
.theater.playing .seat-organizer { transition-delay: 180ms; }
.theater.playing .seat-shopkeeper { transition-delay: 270ms; }

.demo-fine { margin: 8px 0 0; text-align: center; font-size: 14px; color: rgba(255, 253, 248, 0.62); }
.demo-fine a { color: var(--nav); text-underline-offset: 3px; }

/* Landscape phones: smaller crew so they don't swallow the short screen. */
@media (max-height: 560px) and (orientation: landscape) {
  .theater { --sp: 96px; --lift: 0.3; margin-top: 48px; }
  .play-btn { width: 80px; height: 80px; }
  .play-btn svg { width: 36px; height: 36px; }
}

/* Desktop: the screen dollies forward as it scrolls into view (scroll-driven, no JS). */
@keyframes dolly { from { transform: translateY(32px) scale(0.86); } to { transform: none; } }
@supports (animation-timeline: view()) {
  @media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
    .dolly { animation: dolly linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}

/* "And there's more inside": the features the screenshots don't show, on the dark preview band. */
.also { margin-top: 120px; }
.also-title { margin: 0 0 24px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.also-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none;
  background: rgba(255, 253, 248, 0.1); border: 1px solid rgba(255, 253, 248, 0.1); border-radius: 18px; overflow: hidden;
}
.also-grid li {
  display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; row-gap: 4px; align-content: start;
  padding: 24px; background: var(--night-2); transition: background-color 250ms var(--ease);
}
.also-grid li:hover { background: #121a22; }
.also-grid img { grid-row: span 2; width: 32px; height: 32px; }
.also-grid b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.also-grid span { font-size: 15px; color: rgba(255, 253, 248, 0.68); }

/* Waste calculator: inputs card + a paper receipt with a stepped tear-off edge. */
.cost { background: var(--paper-3); }
.cost-head .lede { max-width: 30em; }
.calc { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 48px; }
.calc-in { background: var(--nav); border: 1px solid var(--line); border-radius: 20px; padding: 6px 28px; }
.calc-row { min-width: 0; margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); }
.calc-row:last-child { border-bottom: 0; }
.calc-row legend { float: left; width: 100%; padding: 0; }
.calc-row legend + * { clear: both; }
.calc-row legend, .calc-row > label { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.stepper button {
  width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 600 20px/1 var(--sans); color: var(--ink);
}
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 40px; text-align: center; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.range { display: flex; align-items: center; gap: 16px; }
.range input { flex: 1; min-width: 0; height: 28px; accent-color: var(--accent); }
.range output { min-width: 5.5em; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bin { display: flex; flex-wrap: wrap; gap: 4px; min-height: 24px; margin: 14px 0 0; }
.bin img { width: 24px; height: 24px; animation: pop 320ms var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(0.6); } }
.price { display: flex; gap: 8px; }
.price select, .price input {
  height: 48px; padding: 0 12px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; font: 600 17px/1 var(--sans);
}
.price input { width: 8em; font-variant-numeric: tabular-nums; }
.receipt {
  --teeth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h16v2h-2v2h-2v2h-2v2H6V6H4V4H2V2H0z'/%3E%3C/svg%3E");
  padding: 26px 26px 38px; background: var(--nav);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, var(--teeth) bottom / 16px 8px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, var(--teeth) bottom / 16px 8px repeat-x;
}
.receipt-head {
  display: flex; justify-content: space-between; margin: 0; padding-bottom: 12px; border-bottom: 2px dashed var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.receipt-total {
  margin: 18px 0 0; font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -0.05em;
  color: var(--guardian-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.receipt-lines { list-style: none; margin: 18px 0 0; padding: 0; border-top: 2px dashed var(--line); }
.receipt-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.receipt-lines li[hidden] { display: none; }
.receipt-lines li > span { color: var(--ink-2); }
.receipt-lines b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt-pro b { color: var(--shopkeeper-ink); }
.receipt-say { margin: 16px 0 20px; font-weight: 600; letter-spacing: -0.01em; }
.receipt .btn { width: 100%; justify-content: center; }
.calc-note { margin: 24px 0 0; max-width: 60em; font-size: 14px; color: var(--ink-2); }
.calc-note a { text-underline-offset: 3px; }
/* Without JS the inputs do nothing: show the note only. */
html:not(.js) .calc { display: none; }

/* FAQ: native <details>, smooth open where the browser can animate to height:auto. */
.faq-list { max-width: 860px; margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  list-style: none; cursor: pointer;
  font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 16px; height: 16px; transition: transform 300ms var(--ease);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpath fill='%231b1916' d='M7 2h2v5h5v2H9v5H7V9H2V7h5z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { max-width: 46em; margin: 0 0 24px; color: var(--ink-2); }
.faq details a, .faq-more a { text-underline-offset: 3px; }
.faq-more { margin: 28px 0 0; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 400ms var(--ease), content-visibility 400ms allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* Android waitlist card */
.android { padding-top: 0; }
.android-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 56px); border-radius: 24px; color: var(--nav);
  background: radial-gradient(60% 90% at 100% 0%, rgba(57, 224, 127, 0.16), rgba(57, 224, 127, 0) 70%), var(--night-2);
}
.android-card .eyebrow { color: rgba(255, 253, 248, 0.7); }
.android-card .eyebrow::before { background: var(--shopkeeper); }
.android-card h2 { font-size: clamp(32px, 4.2vw, 54px); }
.android-card h2 em.s { color: #8ff0b5; }
.android-card .lede { color: rgba(255, 253, 248, 0.72); }
.android-card :focus-visible { outline-color: var(--nav); box-shadow: none; }
.wait { position: relative; }
.wait-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wait-row {
  display: flex; gap: 8px; padding: 6px;
  background: rgba(255, 253, 248, 0.06); border: 1px solid rgba(255, 253, 248, 0.18); border-radius: 999px;
  transition: border-color 200ms var(--ease);
}
.wait-row:focus-within { border-color: var(--nav); }
.wait-row input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; background: transparent;
  color: var(--nav); font: 500 17px/1 var(--sans);
}
.wait-row input::placeholder { color: rgba(255, 253, 248, 0.45); }
.wait-row input:focus-visible { outline: none; }
.wait .btn { background: var(--shopkeeper); color: var(--night-2); }
.wait .btn:hover { background: #8ff0b5; }
.wait .btn:disabled { opacity: 0.6; cursor: progress; }
.wait-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wait-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 14px; color: rgba(255, 253, 248, 0.72); cursor: pointer; }
.wait-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--shopkeeper); }
.wait-consent a { color: var(--nav); text-underline-offset: 3px; }
.wait-msg { min-height: 1.4em; margin: 12px 0 0; font-size: 15px; font-weight: 600; color: #8ff0b5; }
.wait-msg.bad { color: #ffb4ae; }
.wait-msg a { color: inherit; }
.wait.done .wait-row, .wait.done .wait-consent { display: none; }

/* Phones: sticky "Get the app" bar (shown by the inline script). */
.sticky-get { display: none; }
@media (max-width: 860px) {
  .sticky-get {
    position: fixed; z-index: 45; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px;
    background: var(--nav); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 12px 32px rgba(27, 25, 22, 0.22);
    transform: translateY(calc(100% + 24px)); transition: transform 450ms var(--ease);
  }
  .sticky-get[hidden] { display: none; }
  .sticky-get.on { transform: none; }
  .sticky-get img { width: 48px; height: 48px; flex: none; }
  .sticky-get p { flex: 1; min-width: 0; margin: 0; line-height: 1.2; }
  .sticky-get b { display: block; font-size: 15px; font-weight: 600; }
  .sticky-get span { font-size: 13px; color: var(--ink-2); }
}

/* Meet the crew */
.crew-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; }
.mate {
  background: var(--nav); border: 1px solid var(--line); padding: 20px 20px 24px; display: flex; flex-direction: column;
  transition: border-color 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.mate:hover { border-color: var(--c); transform: translateY(-4px); box-shadow: 0 4px 0 0 var(--c); }
.mate .sprite-tile { width: 100%; height: 176px; margin-bottom: 20px; transition: background-color 250ms var(--ease); }
.mate .sprite-tile img { width: 144px; height: 144px; }
.mate h3 { margin: 0; font-size: 26px; letter-spacing: -0.035em; font-weight: 600; }
.mate .role { margin: 2px 0 14px; font-size: 14px; font-weight: 600; }
/* Pixel speech bubble: square "cut" corners from stacked box-shadows, stepped tail. */
.bubble {
  position: relative; margin: auto 4px 4px; padding: 12px 14px;
  font-size: 16px; line-height: 1.4; color: var(--ink); background: var(--paper);
  box-shadow: 0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink);
  transition: transform 250ms var(--ease);
}
.bubble::before {
  content: ""; position: absolute; left: 20px; top: -12px; width: 8px; height: 8px;
  background: var(--ink); box-shadow: 4px 4px 0 0 var(--paper), 4px 0 0 0 var(--ink);
}
.mate:hover .bubble { transform: translateY(-3px) rotate(-1deg); }
.mate p.does { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); }

.t-guardian { background: color-mix(in srgb, var(--guardian) 16%, var(--paper)); }
.t-organizer { background: color-mix(in srgb, var(--organizer) 14%, var(--paper)); }
.t-chef { background: color-mix(in srgb, var(--chef) 18%, var(--paper)); }
.t-shopkeeper { background: color-mix(in srgb, var(--shopkeeper) 16%, var(--paper)); }
.c-guardian { color: var(--guardian-ink); }
.c-organizer { color: var(--organizer-ink); }
.c-chef { color: var(--chef-ink); }
.c-shopkeeper { color: var(--shopkeeper-ink); }
.d-guardian { background: var(--guardian); }
.d-organizer { background: var(--organizer); }
.d-chef { background: var(--chef); }
.d-shopkeeper { background: var(--shopkeeper); }

/* Benefits */
.benefits { background: var(--paper-2); }
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin: 56px 0 0; }
.group { border-top: 2px solid var(--ink); padding-top: 20px; }
.group h3 { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.group li img { width: 32px; height: 32px; margin-top: -2px; }
.group li b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.group li span { color: var(--ink-2); font-size: 15px; }
.group a { text-underline-offset: 3px; }

/* Final CTA */
.cta { padding-bottom: clamp(80px, 10vw, 140px); }
.cta-card {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  background: var(--nav); border: 1px solid var(--line); padding: clamp(28px, 5vw, 64px);
}
.cta-card h2 { font-size: clamp(34px, 4.6vw, 60px); }
.cta-card .fine { margin: 18px 0 0; font-size: 14px; color: var(--ink-2); }
.fridge-stage { position: relative; aspect-ratio: 1 / 1.05; }
.fridge-stage .fridge {
  position: absolute; left: 50%; top: 50%; width: 64%; transform: translate(-50%, -50%);
  box-shadow: 0 24px 50px rgba(27, 25, 22, 0.25);
}
/* "Open the fridge": the light comes on and the crew walk up when the card scrolls in. */
.fridge-stage .fridge { transition: filter 1200ms var(--ease) 300ms, box-shadow 1200ms var(--ease) 300ms; }
.js .cta-card:not(.in) .fridge { filter: brightness(0.35) saturate(0.4); }
.js .cta-card.in .fridge { box-shadow: 0 24px 50px rgba(27, 25, 22, 0.25), 0 0 90px rgba(120, 205, 255, 0.55); }
.fridge-stage .mate-sprite {
  position: absolute; width: 96px; height: 96px;
  transition: transform 900ms var(--ease), opacity 600ms var(--ease);
}
.js .cta-card:not(.in) .ms-guardian, .js .cta-card:not(.in) .ms-organizer { transform: translateX(-80px); opacity: 0; }
.js .cta-card:not(.in) .ms-chef, .js .cta-card:not(.in) .ms-shopkeeper { transform: translateX(80px); opacity: 0; }
.cta-card.in .ms-guardian { transition-delay: 700ms; }
.cta-card.in .ms-chef { transition-delay: 850ms; }
.cta-card.in .ms-organizer { transition-delay: 1000ms; }
.cta-card.in .ms-shopkeeper { transition-delay: 1150ms; }
.fridge-stage .ms-guardian { left: 2%; top: 6%; }
.fridge-stage .ms-chef { right: 0; top: 18%; }
.fridge-stage .ms-organizer { left: 0; bottom: 10%; }
.fridge-stage .ms-shopkeeper { right: 4%; bottom: 2%; }

/* Official App Store badge (Apple artwork, unmodified). Apple: >= 40px tall, clear space ~1/4 height. */
.store-badge { display: inline-block; border-radius: 10px; line-height: 0; transition: transform 200ms var(--ease); }
.store-badge:hover { transform: translateY(-1px); }
.store-badge img { height: 50px; width: auto; }
.cta-card .store-badge { margin-top: 4px; }

/* Pixel label (stepped 2px corners, no pill). The .group selector beats `.group li span`,
   which used to turn the text grey on brown. */
.pro-tag, .group li .pro-tag {
  display: inline-block; margin-left: 8px; padding: 4px 7px 3px; vertical-align: 3px;
  font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--nav); background: var(--accent);
  clip-path: polygon(2px 0, calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px, 100% calc(100% - 2px),
    calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px), 0 2px, 2px 2px);
}

/* Pricing: shelf price tags in the site's pixel language. Card shapes are drawn on ::before/::after
   with stepped clip-paths, so the crew "peek" window above each card isn't clipped. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pricing {
  --step: polygon(12px 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px,
    100% calc(100% - 12px), calc(100% - 6px) calc(100% - 12px), calc(100% - 6px) calc(100% - 6px), calc(100% - 12px) calc(100% - 6px),
    calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 6px), 6px calc(100% - 6px), 6px calc(100% - 12px), 0 calc(100% - 12px),
    0 12px, 6px 12px, 6px 6px, 12px 6px);
  --step-sm: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 2px, calc(100% - 2px) 2px, calc(100% - 2px) 4px, 100% 4px,
    100% calc(100% - 4px), calc(100% - 2px) calc(100% - 4px), calc(100% - 2px) calc(100% - 2px), calc(100% - 4px) calc(100% - 2px),
    calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 2px), 2px calc(100% - 2px), 2px calc(100% - 4px), 0 calc(100% - 4px),
    0 4px, 2px 4px, 2px 2px, 4px 2px);
  --bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
}
.pricing-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }

/* Yearly/Monthly: a pixel switch whose ink block slides under the chosen label. */
.billing {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr;
  min-width: 0; margin: 0 36px 0 0; padding: 4px; border: 0;
}
.billing::before, .billing::after { content: ""; position: absolute; z-index: -2; clip-path: var(--step-sm); }
.billing::before { inset: 0; background: var(--ink); }
.billing::after { inset: 2px; background: var(--nav); }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color 300ms var(--ease);
}
.billing input:checked + label { color: var(--nav); }
.billing input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -4px; }
.billing-knob {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--ink); clip-path: var(--step-sm); transition: transform 450ms var(--bounce);
}
.pricing:has(#bill-monthly:checked) .billing-knob { transform: translateX(100%); }
/* "Save 44%" as a price sticker; it slumps when you pick monthly. */
.save-sticker {
  position: absolute; z-index: 2; top: -18px; right: -36px; padding: 5px 8px 4px; pointer-events: none;
  font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--ink); background: var(--chef);
  clip-path: var(--step-sm); transform: rotate(-7deg);
  transition: transform 450ms var(--bounce), opacity 300ms var(--ease);
}
.pricing:has(#bill-monthly:checked) .save-sticker { transform: rotate(5deg) scale(0.86); opacity: 0.5; }

.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; margin-top: 88px; align-items: stretch; }
.plan { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 36px 32px 30px; }
.plan::before, .plan::after { content: ""; position: absolute; z-index: -1; clip-path: var(--step); pointer-events: none; }
.plan::before { inset: 0; background: rgba(27, 25, 22, 0.16); }
.plan::after { inset: 1px; background: var(--nav); }
.js .plan.rv.in { transition: opacity 600ms var(--ease), transform 400ms var(--ease), filter 400ms var(--ease); }
.plan-free:hover { transform: translateY(-2px); }
.plan-pro { color: var(--nav); filter: drop-shadow(0 28px 36px rgba(13, 17, 22, 0.26)); }
.plan-pro::before { background: radial-gradient(80% 55% at 88% 0%, rgba(38, 198, 218, 0.24), rgba(38, 198, 218, 0) 70%), var(--night-2); }
.plan-pro::after {
  inset: 0; opacity: 0.08; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.plan-pro:hover { transform: translateY(-4px); filter: drop-shadow(0 40px 48px rgba(13, 17, 22, 0.34)); }
.plan-pro :focus-visible { outline-color: var(--nav); box-shadow: none; }

/* A crew member peeks over each card once it scrolls in, then bobs now and then. */
.plan-peek { position: absolute; top: -76px; right: 28px; width: 96px; height: 76px; overflow: hidden; pointer-events: none; }
.plan-peek img { width: 96px; height: 96px; transform: translateY(84px); transition: transform 700ms var(--bounce) 450ms; }
.plan.in .plan-peek img, html:not(.js) .plan-peek img { transform: translateY(2px); }
.plan.in .plan-peek img { animation: peek-bob 5s var(--ease) 2s infinite; }
@keyframes peek-bob {
  0%, 60%, 100% { transform: translateY(2px); }
  70%, 86% { transform: translateY(-8px); }
}
/* Pixel ribbon with a stepped swallowtail. */
.plan-flag {
  position: absolute; top: -13px; left: 28px; margin: 0; padding: 6px 22px 5px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: #26c6da; color: var(--night-2);
  clip-path: polygon(0 0, 100% 0, 100% 20%, calc(100% - 4px) 20%, calc(100% - 4px) 40%, calc(100% - 8px) 40%,
    calc(100% - 8px) 60%, calc(100% - 4px) 60%, calc(100% - 4px) 80%, 100% 80%, 100% 100%, 0 100%);
}

/* Shelf-tag price: small currency, big whole number, raised cents. */
.plan h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.plan-pro h3 { color: #7fdce8; }
.plan-price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 14px; margin: 14px 0 8px; }
.price-row { display: inline-flex; align-items: flex-end; gap: 12px; }
.tag { display: inline-flex; align-items: flex-start; line-height: 0.82; font-weight: 700; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.tag .cur { margin: 6px 3px 0 0; font-size: 26px; letter-spacing: 0; }
.tag b { font-size: 84px; font-weight: 700; }
.tag sup { margin-top: 6px; font-size: 30px; line-height: 1; letter-spacing: -0.02em; vertical-align: baseline; }
.per { padding-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.plan-pro .per { color: rgba(255, 253, 248, 0.62); }
/* The yearly price struck through at the monthly rate; the line draws in after the card arrives. */
.was {
  margin-bottom: 4px; font-size: 18px; font-weight: 600; line-height: 1.2; text-decoration: none; color: rgba(255, 253, 248, 0.55);
  background: linear-gradient(var(--guardian), var(--guardian)) 0 52% / 0% 2px no-repeat;
  transition: background-size 500ms var(--ease) 350ms, opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s;
}
.plan.in .was, html:not(.js) .was { background-size: 100% 2px; }
.pricing:has(#bill-monthly:checked) .was {
  opacity: 0; visibility: hidden; transform: translateY(6px); background-size: 0% 2px;
  transition: background-size 300ms var(--ease), opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s 300ms;
}

/* Yearly <-> monthly: both versions stacked in one grid cell; the old one rolls up, the new one up from below. */
.swap { display: inline-grid; vertical-align: top; }
.swap > * { grid-area: 1 / 1; transition: transform 480ms var(--ease), opacity 320ms var(--ease), visibility 0s; }
.swap > .monthly, .pricing:has(#bill-monthly:checked) .swap > .yearly {
  opacity: 0; visibility: hidden;
  transition: transform 480ms var(--ease), opacity 320ms var(--ease), visibility 0s 480ms;
}
.swap > .monthly { transform: translateY(60%); }
.pricing:has(#bill-monthly:checked) .swap > .yearly { transform: translateY(-60%); }
.pricing:has(#bill-monthly:checked) .swap > .monthly {
  opacity: 1; visibility: visible; transform: none;
  transition: transform 480ms var(--ease) 60ms, opacity 320ms var(--ease) 60ms, visibility 0s;
}
.roll { overflow: clip; padding-top: 4px; }
.plan-note .swap { display: grid; }
.monthly-sr, .pricing:has(#bill-monthly:checked) .yearly-sr { display: none; }
.pricing:has(#bill-monthly:checked) .monthly-sr { display: inline; }

.plan-for { margin: 0 0 22px; color: var(--ink-2); }
.plan-pro .plan-for { color: rgba(255, 253, 248, 0.72); }

/* Credits meter: 8 pixel blocks = 400 credits. Free lights 1, Pro all 8 (crew colours), block by block. */
.meter { margin: 0 0 22px; padding-top: 18px; border-top: 2px dashed var(--line); }
.plan-pro .meter { border-color: rgba(255, 253, 248, 0.16); --meter-line: rgba(255, 253, 248, 0.22); }
.meter-label { margin: 0; font-size: 15px; color: var(--ink-2); }
.meter-label b { margin-right: 2px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-pro .meter-label { color: rgba(255, 253, 248, 0.72); }
.plan-pro .meter-label b { color: var(--nav); }
.meter-bar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 10px 0 8px; }
.meter-bar i {
  height: 14px; box-shadow: inset 0 0 0 2px var(--meter-line, rgba(27, 25, 22, 0.18));
  transition: background-color 200ms steps(2), box-shadow 200ms steps(2);
  transition-delay: calc(var(--i) * 90ms + 500ms);
}
.plan-pro .meter-bar i:nth-child(4n+1) { --meter-fill: var(--guardian); }
.plan-pro .meter-bar i:nth-child(4n+2) { --meter-fill: var(--chef); }
.plan-pro .meter-bar i:nth-child(4n+3) { --meter-fill: var(--organizer); }
.plan-pro .meter-bar i:nth-child(4n+4) { --meter-fill: var(--shopkeeper); }
.plan.in .meter[data-fill="1"] i:first-child, .plan.in .meter[data-fill="8"] i,
html:not(.js) .meter[data-fill="1"] i:first-child, html:not(.js) .meter[data-fill="8"] i {
  background: var(--meter-fill, var(--accent)); box-shadow: none;
}
.meter-note { margin: 0; font-size: 13px; color: var(--ink-2); }
.plan-pro .meter-note { color: rgba(255, 253, 248, 0.62); }

.plan-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.plan-list li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.plan-list img { width: 16px; height: 16px; margin-top: 4px; }
.plan .btn { margin-top: auto; justify-content: center; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--nav); }
.plan-pro .btn { background: #26c6da; color: var(--night-2); }
.plan-pro .btn:hover { background: #7fdce8; }
.plan-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 253, 248, 0.62); }
.pricing-fine { margin: 24px 0 0; font-size: 14px; color: var(--ink-2); max-width: 60em; }
.pricing-fine a { text-underline-offset: 3px; }

/* From the team: auto-scrolling quotes with faded edges; pauses on hover/focus. */
.team { overflow: hidden; }
.marquee {
  margin-top: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 20px; width: max-content; list-style: none; margin: 0; padding: 8px 0 12px; }
.marquee-track.run { animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee-track.paused { animation-play-state: paused; }
.marquee-toggle {
  margin-top: 20px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--nav); color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer;
}
.marquee-toggle:hover { border-color: var(--ink); }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.quote {
  width: min(460px, 80vw); padding: 28px 28px 22px;
  background: var(--nav); border: 1px solid var(--line); border-radius: 16px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.quote p { margin: 0; }
.quote > p:first-child { font-size: 18px; line-height: 1.5; letter-spacing: -0.01em; }
.who-q { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.who-q img { width: 48px; height: 48px; background: var(--paper-2); }
.who-q b { color: var(--ink); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .crew-grid, .also-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 28px; }
}
@media (max-width: 860px) {
  .why .wrap, .cta-card, .groups, .plans, .calc, .android-card { grid-template-columns: 1fr; }
  .also { margin-top: 72px; }
  .plans { gap: 88px; }
  .plan-pro { order: -1; }  /* single column: lead with the plan we want seen */
  .fridge-stage { max-width: 440px; width: 100%; margin: 0 auto; }
  /* Screenshots become a swipeable strip inside the section (the page itself never scrolls sideways). */
  .shots {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 12px; scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots li { flex: 0 0 min(72vw, 300px); scroll-snap-align: center; }
  .shots li:nth-child(2) { transform: none; }
}

/* Phone: the hero becomes a composed poster, not a squeezed desktop card. */
@media (max-width: 640px) {

  .hero { justify-content: flex-end; padding: 120px 16px 40px; }
  .card-wrap { margin-top: 0; }
  .peek { display: none; }
  .hero-card {
    min-height: 0; padding: 22px 20px 20px; gap: 14px;
    background: rgba(244, 238, 227, 0.95);
  }
  .hero-card h1 { font-size: clamp(32px, 9.4vw, 40px); line-height: 1.04; }
  .poster-sprite { display: flex !important; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
  .poster-sprite img { width: 48px; height: 48px; }
  .ticket { display: none; }
  .hero-card .crew-line { display: none; }
  .stack { display: none; }
  .card-foot { justify-content: center; }
  .card-ctas { align-items: center; }
  .also-grid { grid-template-columns: 1fr; }
  .also-grid li { padding: 20px; }
  .calc-in { padding: 4px 20px; }
  .receipt { padding: 22px 20px 34px; }
  .card-foot .store-badge img { height: 56px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 30px 22px 26px; }
  .tag b { font-size: 68px; }
  .tag sup { font-size: 26px; }
  .hero-tag { display: none; }


  .theater { --sp: 96px; --lift: 0.3; margin-top: 48px; }
  .screen { border-radius: 12px; }
  .play { gap: 14px; }
  .play-btn { width: 72px; height: 72px; --oct: polygon(12px 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px,
    100% calc(100% - 12px), calc(100% - 6px) calc(100% - 12px), calc(100% - 6px) calc(100% - 6px), calc(100% - 12px) calc(100% - 6px),
    calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 6px), 6px calc(100% - 6px), 6px calc(100% - 12px), 0 calc(100% - 12px),
    0 12px, 6px 12px, 6px 6px, 12px 6px); }
  .play-btn svg { width: 32px; height: 32px; margin-left: 3px; }
  .play-label { font-size: 14px; padding: 5px 5px 5px 12px; }
  .seat-guardian { left: 8%; }
  .seat-chef { left: 25%; }
  .seat-organizer { left: 75%; }
  .seat-shopkeeper { left: 92%; }
  /* Small phones: two crew at full crispness beat four squeezed ones; smaller button + label. */
  @media (max-width: 400px) {
    .seat-chef, .seat-organizer { display: none; }
    .play { gap: 10px; }
    .play-btn { width: 56px; height: 56px; }
    .play-btn svg { width: 26px; height: 26px; }
    .play-label { font-size: 13px; gap: 8px; }
    .play-label span { font-size: 12px; padding: 2px 7px; }
  }

  .mate .sprite-tile { height: 128px; }
  .mate .sprite-tile img { width: 96px; height: 96px; }
  .crew-grid { grid-template-columns: 1fr; }
}
.poster-sprite { display: none; }

@media (prefers-reduced-motion: reduce) {
  .peek { animation: none; }
  .walker, .mate, .bubble, .fridge-stage .fridge, .fridge-stage .mate-sprite { transition: none; }
  .js .side-milk { transition: none; }
  .demo-grain, .play-btn::before, .audience img, .bin img { animation: none; }
  .sticky-get, .faq summary::after, .also-grid li { transition: none; }
  .faq details::details-content { transition: none; }
  .billing-knob, .save-sticker, .swap > *, .was, .meter-bar i, .plan-peek img, .js .plan.rv.in { transition: none !important; }
  .plan.in .plan-peek img { animation: none; }
  .plan-free:hover, .plan-pro:hover { transform: none; }
  .play picture img, .play-btn, .audience li, .glow, .screen iframe { transition: none; }
  .play:hover picture img { transform: none; }
}
