/* CycleChef website. Colours come straight from the app's asset catalogue. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --raspberry: #d2526b;
  --raspberry-ink: #a8324d;   /* raspberry dark enough for small text on blush */
  --button: #c4455f;          /* raspberry dark enough for white button text */
  --plum: #2e2126;
  --plum-soft: #6e5d63;
  --blush: #f9e4e8;
  --blush-deep: #f3d0d7;
  --white: #fff;

  --menstrual: #c04f68;  --menstrual-soft: #f7e2e7;
  --follicular: #5f9268; --follicular-soft: #e3eee4;
  --ovulatory: #d98844;  --ovulatory-soft: #fae8d8;
  --luteal: #84639f;     --luteal-soft: #ece3f2;

  --great: #3f7f52; --good: #6f9a3e; --okay: #c98a2e; --limit: #c2553f;

  --display: "Fraunces", "New York", Georgia, serif;
  --text: "Figtree", -apple-system, system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --sticker-edge:
    drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
    drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
    drop-shadow(0 10px 14px rgb(46 33 38 / 0.18));
  --forky-shadow: drop-shadow(0 14px 22px rgb(46 33 38 / 0.16));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--plum);
  font: 400 1.125rem/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--plum); color: var(--white);
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Type ---------------------------------------------------------------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

/* Buttons ------------------------------------------------------------- */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  background: var(--button); color: var(--white);
  border-radius: 999px;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  box-shadow: 0 4px 0 #8f2e44;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #8f2e44; }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 #8f2e44; }
.button[aria-disabled="true"] { cursor: default; }
.button[aria-disabled="true"]:hover,
.button[aria-disabled="true"]:active { transform: none; box-shadow: 0 4px 0 #8f2e44; }
.button-small { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; box-shadow: 0 3px 0 #8f2e44; }
.button-light { background: var(--white); color: var(--raspberry-ink); box-shadow: 0 4px 0 #7d2338; }
.button-light:hover { box-shadow: 0 6px 0 #7d2338; }
.button-light[aria-disabled="true"]:hover { box-shadow: 0 4px 0 #7d2338; }

/* Nav ----------------------------------------------------------------- */

.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto;
  padding: 20px var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 11px; box-shadow: 0 2px 8px rgb(46 33 38 / 0.15); }

/* Forky + speech bubbles --------------------------------------------- */

.forky { filter: var(--forky-shadow); user-select: none; -webkit-user-drag: none; }

.bubble {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  padding: 14px 20px;
  font-size: 1.0625rem; line-height: 1.4;
  box-shadow: 0 10px 24px rgb(46 33 38 / 0.08);
}

.says { display: flex; align-items: flex-end; gap: 0; }
.says .forky { width: clamp(72px, 9vw, 104px); flex: none; position: relative; z-index: 1; margin-right: -8px; }
.says .bubble { border-bottom-left-radius: 6px; }

/* Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(12px, 3vw, 40px) var(--gutter) clamp(64px, 9vw, 120px);
}

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-size: clamp(3.2rem, 7.6vw, 7.75rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0 0 clamp(24px, 3vw, 36px);
}
.hero-title .line { display: flex; align-items: center; flex-wrap: nowrap; }
.hero-title .line > span { white-space: nowrap; }
.hero-title .line:nth-child(2) { padding-left: 0.5em; }
.hero-title .line:nth-child(3) { color: var(--raspberry); }
.hero-title .line:nth-child(4) { padding-left: 1.1em; color: var(--raspberry); }

.h-sticker { filter: var(--sticker-edge); pointer-events: none; }
.hero-title .h-sticker { height: 0.78em; width: auto; flex: none; margin-left: 0.12em; }
.s-beet { transform: rotate(12deg) translateY(-0.06em); }
.s-spinach { transform: rotate(-14deg); margin-left: 0.18em !important; }
.s-pumpkin { transform: rotate(8deg) translateY(0.04em); height: 0.62em !important; }

.lede { max-width: 34ch; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--plum); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.cta-note { font-size: 0.9375rem; color: var(--plum-soft); font-weight: 600; }

.hero-forky { position: relative; justify-self: center; width: min(100%, 430px); padding-top: 120px; }
.forky-button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 40px;
}
.forky-hero { width: 100%; transform-origin: 50% 90%; }
.forky-button:hover .forky-hero { animation: wiggle 0.5s ease; }
.bubble-hero {
  position: absolute; top: 0; left: -8%; right: 6%;
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  min-height: calc(2.8em + 28px);
}
.bubble-hero::after {
  content: ""; position: absolute; left: 58%; bottom: -14px;
  border: 14px solid transparent; border-top-color: var(--white); border-bottom: 0;
}
.bubble-hero .caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em;
  background: var(--raspberry); animation: blink 0.9s steps(1) infinite;
}
.hero-forky .s-kale { position: absolute; width: 26%; left: -6%; bottom: 8%; transform: rotate(-18deg); }
.hero-forky .s-sprouts { position: absolute; width: 24%; right: -2%; bottom: 20%; transform: rotate(10deg); }

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-6deg); }
  60% { transform: rotate(5deg); }
}
@keyframes blink { 50% { opacity: 0; } }

/* The one orchestrated load: words rise, stickers slap on, Forky pops up. */
.js .hero-title .line > span { display: inline-block; animation: rise 0.8s cubic-bezier(.2,.8,.2,1) both; }
.js .hero-title .line:nth-child(2) > span { animation-delay: 0.08s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: 0.16s; }
.js .hero-title .line:nth-child(4) > span { animation-delay: 0.24s; }
.js .h-sticker { animation: slap 0.5s cubic-bezier(.3,1.6,.5,1) both; }
.js .s-beet { animation-delay: 0.55s; }
.js .s-spinach { animation-delay: 0.7s; }
.js .s-pumpkin { animation-delay: 0.82s; }
.js .hero-forky .s-kale { animation-delay: 0.95s; }
.js .hero-forky .s-sprouts { animation-delay: 1.05s; }
.js .forky-button { animation: pop 0.7s cubic-bezier(.3,1.5,.5,1) 0.3s both; }
.js .bubble-hero { animation: fade 0.3s ease 0.8s both; }
.js .lede, .js .cta-row { animation: fade 0.6s ease 0.45s both; }

@keyframes rise { from { transform: translateY(0.45em); opacity: 0; } }
@keyframes slap { from { scale: 1.8; opacity: 0; } }
@keyframes pop { from { transform: translateY(40px) scale(0.85); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* Waitlist ------------------------------------------------------------ */

.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;
}
.soon-line { margin-top: 28px; font-weight: 700; }
.waitlist { margin-top: 14px; max-width: 34rem; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input[type="email"] {
  flex: 1 1 15rem; min-width: 0; min-height: 56px; padding: 0 22px;
  border: 2px solid var(--plum); border-radius: 999px;
  background: var(--white); color: var(--plum);
  font: 500 1.0625rem var(--text);
}
.waitlist input[type="email"]::placeholder { color: #9a8a90; }
.waitlist input[type="email"]:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 2px; }
.waitlist .button { flex: none; border: 0; cursor: pointer; }
.waitlist .button:disabled { cursor: default; transform: none; }
.waitlist-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist-note { margin-top: 12px; font-size: 0.9375rem; color: var(--plum-soft); font-weight: 600; }
.waitlist-note a { color: inherit; text-underline-offset: 3px; }
.waitlist.is-error input[type="email"] { border-color: var(--limit); }
.waitlist.is-error .waitlist-note { color: #9e3a26; }
.waitlist.is-joined .waitlist-row { display: none; }
.waitlist.is-joined .waitlist-note {
  margin-top: 0; padding: 16px 22px; border-radius: 22px;
  background: var(--white); color: var(--plum); font-size: 1.0625rem;
  box-shadow: 0 8px 20px rgb(46 33 38 / 0.08);
}
.waitlist-light input[type="email"] { border-color: var(--white); }
.waitlist-light .waitlist-note { color: #fbe7eb; }
.waitlist-light.is-error input[type="email"] { border-color: var(--plum); }
.waitlist-light.is-error .waitlist-note { color: var(--white); }
.get-copy .waitlist { margin-top: 28px; }
[hidden] { display: none !important; }

/* The gap --------------------------------------------------------------- */

.gap { background: var(--plum); color: var(--blush); }
.gap-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px; align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 10vw, 136px) var(--gutter);
}
.gap .display { font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
.slips { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.slip {
  background: #fffaf6; color: var(--plum);
  font-family: var(--display); font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 24;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.25;
  padding: 18px 22px; border-radius: 4px;
  box-shadow: 0 8px 18px rgb(0 0 0 / 0.3);
}
.slip:nth-child(1) { transform: rotate(-2.5deg); }
.slip:nth-child(2) { transform: rotate(1.8deg) translateX(18px); }
.slip:nth-child(3) { transform: rotate(-1deg) translateX(-6px); }
.slip span {
  text-decoration: line-through;
  text-decoration-color: var(--raspberry);
  text-decoration-thickness: 0.08em;
}
.says-gap { grid-column: 1 / -1; max-width: 640px; margin-left: auto; }
.says-gap .bubble { color: var(--plum); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.says-gap em { font-style: normal; font-weight: 700; color: var(--raspberry-ink); }
.source { grid-column: 1 / -1; font-size: 0.8125rem; color: #cdb9bf; text-align: right; }

/* Seasons wheel ------------------------------------------------------------ */

.seasons {
  --accent: var(--menstrual);
  --soft: var(--menstrual-soft);
  position: relative;
  height: 420vh;
  background: var(--soft);
  transition: background-color 0.6s ease;
}
.seasons[data-phase="follicular"] { --accent: var(--follicular); --soft: var(--follicular-soft); }
.seasons[data-phase="ovulatory"] { --accent: var(--ovulatory); --soft: var(--ovulatory-soft); }
.seasons[data-phase="luteal"] { --accent: var(--luteal); --soft: var(--luteal-soft); }

.seasons-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "head head" "wheel copy" "tabs copy";
  gap: 12px 64px;
  align-items: center;
}
.seasons-head { grid-area: head; display: flex; align-items: baseline; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; }
.seasons-head .display { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.seasons-head p { color: var(--plum-soft); font-weight: 600; }

.wheel-wrap { grid-area: wheel; position: relative; width: min(100%, 58vh, 480px); aspect-ratio: 1; justify-self: center; }
.wheel { width: 100%; height: 100%; overflow: visible; }
.wheel-track { fill: none; stroke: rgb(255 255 255 / 0.6); stroke-width: 34; }
.wheel-arcs path { fill: none; stroke-width: 34; stroke-linecap: butt; opacity: 0.28; transition: opacity 0.4s ease; }
.wheel-arcs path.on { opacity: 1; }
.wheel-ticks line { stroke: var(--plum); stroke-opacity: 0.25; stroke-width: 2; }
.wheel-dot { fill: var(--white); stroke: var(--plum); stroke-width: 4; }
.wheel-center { position: absolute; inset: 18%; display: grid; place-items: center; }
.wheel-center::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: rgb(255 255 255 / 0.55); }
.wheel-forky { position: relative; width: 70%; }
.wheel-forky.swap { animation: pop 0.45s cubic-bezier(.3,1.5,.5,1); }
.wheel-day {
  position: absolute; right: -2%; top: 2%;
  background: var(--plum); color: var(--white);
  border-radius: 999px; padding: 6px 16px;
  font-weight: 700; font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.wheel-day strong { font-size: 1.125rem; }

.season-copy { grid-area: copy; max-width: 32rem; }
.season-name {
  font-family: var(--display); font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-size: clamp(4rem, 9vw, 8rem); line-height: 0.85; letter-spacing: -0.04em;
  color: var(--accent);
  transition: color 0.4s ease;
}
.season-meta { margin-top: 10px; font-weight: 700; color: var(--plum-soft); }
.season-tagline {
  margin-top: 18px;
  font-family: var(--display); font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15;
}
.season-body { margin-top: 12px; color: var(--plum); max-width: 46ch; }
.plate { margin-top: 22px; }
.plate-label, .season-move span:first-child { font-weight: 700; font-size: 0.9375rem; }
.plate-items { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.plate-items li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 999px;
  padding: 6px 16px 6px 6px; font-weight: 600; font-size: 0.9375rem;
  box-shadow: 0 4px 10px rgb(46 33 38 / 0.08);
}
.plate-items .food-icon { width: 34px; height: 34px; display: grid; place-items: center; font-size: 1.375rem; }
.plate-items img.food-icon { padding: 3px; }
.season-move { margin-top: 18px; font-size: 1rem; color: var(--plum); }

.season-tabs { grid-area: tabs; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.season-tabs button {
  border: 2px solid var(--plum); background: transparent; border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: 0.9375rem; cursor: pointer;
}
.season-tabs button[aria-current="true"] { background: var(--plum); color: var(--white); }

/* Scanner ------------------------------------------------------------------ */

.scanner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px 72px; align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 11vw, 152px) var(--gutter);
}
.scanner-copy > p { margin-top: 18px; max-width: 46ch; }
.scanner-copy > .display + p { margin-top: 28px; }
.scanner-copy .display { font-size: clamp(2.5rem, 5vw, 4.5rem); }

.picker { border: 0; margin: 28px 0 0; padding: 0; min-width: 0; }
.picker legend { padding: 0; font-weight: 700; margin-bottom: 10px; }
.phase-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.phase-pills label { position: relative; }
.phase-pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.phase-pills span {
  display: block; padding: 9px 18px; border-radius: 999px;
  border: 2px solid var(--plum); font-weight: 700; font-size: 0.9375rem;
}
.phase-pills input:checked + span { background: var(--plum); color: var(--white); }
.phase-pills input:focus-visible + span { outline: 3px solid var(--raspberry); outline-offset: 3px; }

.food-tray { display: flex; flex-wrap: wrap; gap: 10px; }
.food-tray button {
  width: 68px; height: 68px; padding: 8px;
  border: 0; border-radius: 20px; background: var(--white); cursor: pointer;
  display: grid; place-items: center; font-size: 2rem; line-height: 1;
  box-shadow: 0 4px 0 var(--blush-deep);
  transition: transform 0.12s ease;
}
.food-tray button:hover { transform: translateY(-3px) rotate(-4deg); }
.food-tray button[aria-pressed="true"] { outline: 3px solid var(--raspberry); outline-offset: 2px; }
.food-tray img { width: 100%; height: 100%; object-fit: contain; }

.scan-card {
  background: var(--white);
  border-radius: 36px;
  padding: 18px 18px 22px;
  box-shadow: 0 30px 60px rgb(46 33 38 / 0.14);
  max-width: 440px; width: 100%; justify-self: center;
  transform: rotate(1.5deg);
}
.scan-viewfinder {
  position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, #f6eee6 0 34%, transparent 35%),
    linear-gradient(160deg, #e9d5c4, #d9bca6);
  display: grid; place-items: center;
}
.corner { position: absolute; width: 34px; height: 34px; border: 4px solid var(--white); }
.corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.scan-sticker { width: 46%; aspect-ratio: 1; display: grid; place-items: center; font-size: 6.5rem; line-height: 1; filter: var(--sticker-edge); }
.scan-sticker img { width: 100%; height: 100%; object-fit: contain; }
.scan-sticker.peel { animation: peel 0.6s cubic-bezier(.3,1.5,.5,1); }
.scan-flash { position: absolute; inset: 0; background: var(--white); opacity: 0; pointer-events: none; }
.scan-flash.go { animation: flash 0.35s ease-out; }
@keyframes flash { from { opacity: 0.95; } to { opacity: 0; } }
@keyframes peel { from { transform: scale(0.6) rotate(-20deg); opacity: 0; } }

.scan-result { display: flex; align-items: center; gap: 18px; margin: 20px 6px 0; }
.score { position: relative; width: 92px; height: 92px; flex: none; --score-color: var(--great); }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-track { fill: none; stroke: #f1e7ea; stroke-width: 11; }
.score-fill {
  fill: none; stroke: var(--score-color); stroke-width: 11; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--score, 92));
  transition: stroke-dashoffset 0.8s cubic-bezier(.2,.8,.2,1), stroke 0.3s ease;
}
.score strong {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 2rem;
  font-variation-settings: "SOFT" 100, "opsz" 72;
  font-variant-numeric: tabular-nums;
}
.scan-name { font-family: var(--display); font-weight: 700; font-size: 1.625rem; line-height: 1.1; font-variation-settings: "SOFT" 100, "opsz" 48; }
.scan-band { font-weight: 700; color: var(--score-color, var(--great)); margin-top: 2px; }
.scan-reasons { list-style: none; margin: 16px 6px 0; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; line-height: 1.4; }
.scan-reasons li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.scan-reasons li::before { content: "✓"; font-weight: 800; color: var(--great); }
.scan-reasons li.minus::before { content: "!"; color: var(--limit); text-align: center; }
.says-scan { margin: 16px 0 0; }
.says-scan .forky { width: 76px; }
.says-scan .bubble { background: var(--blush); box-shadow: none; font-size: 0.9375rem; }

/* Symptoms ------------------------------------------------------------------ */

.symptoms {
  background: var(--button); color: var(--white);
  padding: clamp(80px, 11vw, 144px) var(--gutter);
}
.symptoms > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.symptoms .display { font-size: clamp(2.75rem, 7vw, 6.25rem); }
.symptoms-intro { margin-top: 18px; max-width: 46ch; font-size: 1.1875rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chips button {
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 12px 20px; font-weight: 700; font-size: 1rem;
  background: rgb(255 255 255 / 0.18); color: var(--white);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.chips button:hover { background: rgb(255 255 255 / 0.3); transform: rotate(-2deg); }
.chips button[aria-selected="true"] { background: var(--white); color: var(--raspberry-ink); transform: rotate(-2deg); }
.chips button:focus-visible { outline-color: var(--white); }

.symptom-panel {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center;
  margin-top: 36px;
}
.symptom-panel .forky { width: 100%; }
.symptom-panel .forky.swap { animation: pop 0.45s cubic-bezier(.3,1.5,.5,1); }
.symptom-promise {
  font-family: var(--display); font-weight: 700;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.015em;
  max-width: 22ch;
}
.recipe-card {
  display: inline-block; margin-top: 24px;
  background: var(--white); color: var(--plum);
  border-radius: 20px; padding: 16px 22px;
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 24px rgb(46 33 38 / 0.18);
}
.recipe-kicker { font-size: 0.875rem; font-weight: 700; color: var(--raspberry-ink); }
.recipe-title { font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; font-variation-settings: "SOFT" 100, "opsz" 36; }
.recipe-why { font-size: 0.9375rem; color: var(--plum-soft); }

/* Week / phones ------------------------------------------------------------- */

.week {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 64px; align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 11vw, 152px) var(--gutter);
}
.week-copy .display { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.week-copy p { margin-top: 18px; max-width: 42ch; }
.phones { position: relative; height: clamp(440px, 52vw, 640px); }
.phone {
  position: absolute; margin: 0;
  width: 46%;
  border-radius: 13% / 6%;
  overflow: hidden;
  background: var(--plum);
  padding: 2.4%;
  box-shadow: 0 30px 50px rgb(46 33 38 / 0.22);
}
.phone img { border-radius: 11% / 5%; width: 100%; }
.phone-a { left: 0; top: 10%; transform: rotate(-7deg); }
.phone-b { left: 27%; top: 0; z-index: 2; transform: rotate(1deg); }
.phone-c { right: 0; top: 14%; transform: rotate(8deg); }
.phones-forky { position: absolute; z-index: 3; width: 26%; left: 14%; bottom: -8%; transform: rotate(-6deg); }

/* Trust ---------------------------------------------------------------------- */

.trust {
  background: var(--plum); color: var(--blush);
  padding: clamp(80px, 11vw, 144px) var(--gutter);
}
.trust > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.trust-head { display: flex; align-items: center; gap: 24px; }
.trust-head .forky { width: clamp(96px, 12vw, 150px); flex: none; }
.trust-head .display { font-size: clamp(2.5rem, 5.6vw, 5rem); max-width: 14ch; }
.trust-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 64px; margin-top: 56px; margin-bottom: 0;
}
.trust-list dt {
  font-family: var(--display); font-weight: 700; font-size: 1.625rem; line-height: 1.15;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48;
  color: var(--white);
}
.trust-list dd { margin: 8px 0 0; max-width: 40ch; color: #e8d6db; }
.disclaimer { margin-top: 56px; font-size: 0.875rem; color: #bfaab0; }

/* Get ------------------------------------------------------------------------ */

.get {
  position: relative;
  background: var(--button); color: var(--white);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center; gap: 24px 64px;
  padding: clamp(72px, 10vw, 128px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  overflow: hidden;
}
.get-forky { width: min(100%, 380px); justify-self: center; }
.get .display { font-size: clamp(3rem, 7.4vw, 6.75rem); }
.get-copy p { margin-top: 18px; max-width: 38ch; font-size: 1.1875rem; }
.get-copy > .button { margin-top: 32px; }

/* Footer ----------------------------------------------------------------------- */

.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  max-width: var(--max); margin: 0 auto;
  padding: 36px var(--gutter) 48px;
  font-size: 0.9375rem; color: var(--plum-soft);
}
.footer .brand { font-size: 1.25rem; color: var(--plum); }
.footer .brand img { border-radius: 9px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a { font-weight: 600; text-underline-offset: 4px; }

/* Legal pages ------------------------------------------------------------------ */

.doc { max-width: 44rem; margin: 0 auto; padding: 24px var(--gutter) 96px; }
.doc-head { display: flex; align-items: flex-end; gap: 16px; margin: 24px 0 40px; }
.doc-head .forky { width: 96px; flex: none; }
.doc h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
.doc .updated { margin-top: 8px; color: var(--plum-soft); font-weight: 600; font-size: 0.9375rem; }
.doc h2 {
  font-family: var(--display); font-weight: 700; font-size: 1.625rem; line-height: 1.2;
  font-variation-settings: "SOFT" 100, "opsz" 48;
  margin: 44px 0 12px;
}
.doc p, .doc li { max-width: 68ch; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 1.2em; margin: 12px 0; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--raspberry-ink); font-weight: 600; text-underline-offset: 3px; }
.doc details { background: var(--white); border-radius: 18px; padding: 16px 20px; margin-top: 12px; }
.doc summary { cursor: pointer; font-weight: 700; }
.doc details p { margin-top: 10px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--white); border-radius: 24px; padding: 22px 24px; margin-top: 8px;
}
.contact-card .button { margin-left: auto; }

/* Responsive ------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-forky { width: min(72%, 320px); padding-top: 96px; margin-top: 8px; }
  .bubble-hero { left: -20%; right: -20%; }
  .gap-inner, .scanner, .week { grid-template-columns: 1fr; }
  .says-gap { margin-left: 0; }
  .source { text-align: left; }
  .scan-card { transform: none; }
  .week-copy { order: -1; }
  .phones { height: clamp(420px, 110vw, 640px); }
  .symptom-panel { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
  .trust-list { grid-template-columns: 1fr; }
  .get { grid-template-columns: 1fr; text-align: left; }
  .get-forky { width: 220px; justify-self: start; }

  .seasons { height: 460vh; }
  .seasons-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "head" "wheel" "copy" "tabs";
    gap: 10px; align-items: start;
    padding-top: 20px; padding-bottom: 16px;
  }
  .seasons-head p { display: none; }
  .seasons-head .display { font-size: clamp(1.75rem, 7vw, 2.75rem); }
  .wheel-wrap { width: min(62vw, 30svh, 300px); }
  .season-copy { max-width: none; }
  .season-name { font-size: clamp(2.75rem, 12vw, 4rem); }
  .season-meta { margin-top: 4px; font-size: 0.9375rem; }
  .season-tagline { margin-top: 6px; font-size: 1.25rem; }
  .season-body { margin-top: 8px; font-size: 0.9375rem; line-height: 1.45; }
  .plate { margin-top: 12px; }
  .plate-items li { padding: 4px 12px 4px 4px; font-size: 0.875rem; }
  .plate-items .food-icon { width: 28px; height: 28px; font-size: 1.125rem; }
  .season-move { margin-top: 10px; font-size: 0.9375rem; }
  .season-tabs button { padding: 6px 12px; font-size: 0.875rem; }
}

@media (max-width: 520px) {
  body { font-size: 1.0625rem; }
  .nav .button-small { font-size: 0.8125rem; padding: 0 14px; }
  .brand { font-size: 1.25rem; }
  .brand img { width: 34px; height: 34px; }
  .hero-title { font-size: clamp(3rem, 15.5vw, 5rem); }
  .hero-title .line:nth-child(2) { padding-left: 0.3em; }
  .hero-title .line:nth-child(4) { padding-left: 0.6em; }
  .symptom-panel { grid-template-columns: 1fr; }
  .symptom-panel .forky { width: 110px; }
  .trust-head { flex-direction: column; align-items: flex-start; }
  .contact-card .button { margin-left: 0; }
}

@media (max-height: 700px) and (min-width: 961px), (max-height: 760px) and (max-width: 960px) {
  .season-body { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .bubble-hero .caret { display: none; }
}
.doc form { margin-top: 28px; }
.doc form .button { border: 0; cursor: pointer; }
