/* EasyPlate's website (packet 89; Chris, 2026-10-08): an extension of the
   app, so its colours, gradients, shadows and corners are the app's own. Every
   --app- value below is copied from the app's theme (easyplate-frontend/
   theme/theme.ts), and a test there keeps the two equal. The --site- values
   are the website's own, for things the app has no token for. No colour is
   written anywhere else in this file. */

@font-face { font-family: "Lora"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/lora-500.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 500; font-style: italic; font-display: swap; src: url("fonts/lora-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/lora-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/nunito-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/nunito-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/nunito-800.woff2") format("woff2"); }

:root {
  /* The app's palette. */
  --app-green-deep: #2F6B4A;
  --app-green-dark: #3E8760;
  --app-green: #4A9B6F;
  --app-green-soft: #5FAF82;
  --app-green-light: #7BBF95;
  --app-green-pale: #E4F1E9;
  --app-mint: #A8D5BA;
  --app-mint-tint: rgba(168,213,186,0.35);
  --app-cream: #FFF9F0;
  --app-track: #F4F1E7;
  --app-white: #FFFFFF;
  --app-divider: #E4E0D0;
  --app-divider-warm: #D9CFBD;
  --app-gold: #F0CE8F;
  --app-gold-border: rgba(240,206,143,0.6);
  --app-tip-fill: #F6E7C8;
  --app-tip-text: #7A5526;
  --app-peach-fill: #FBEAD6;
  --app-peach: #C98A3C;
  --app-heading: #111111;
  --app-body: #555555;
  --app-body-muted: #666666;
  --app-faint: #6B6B6B;
  --app-hairline: rgba(17,17,17,0.06);
  --app-outline: rgba(17,17,17,0.07);
  --app-chip-fill: rgba(255,255,255,0.92);
  --app-chip-text: #55554D;
  --app-danger: #B3261E;
  --app-app-background: #F5F0E8;
  --app-hero-tint: rgba(255,249,240,0.28);
  --app-hero-line: rgba(255,249,240,0.5);
  --app-dot-idle: #B9DAC7;

  /* The app's gradients. */
  --app-gradient-primary: linear-gradient(160deg, #2F6B4A, #3E8760);
  --app-gradient-hero: linear-gradient(150deg, #2F6B4A 0%, #4A9B6F 80%, #5FAF82 100%);
  --app-gradient-badge: linear-gradient(135deg, #2F6B4A, #4A9B6F);
  --app-gradient-sheen: linear-gradient(105deg, rgba(255,249,240,0), rgba(240,206,143,0.6), rgba(255,249,240,0));

  /* The app's shadows. */
  --app-shadow-subtle: 0 1px 2px rgba(0,0,0,0.05);
  --app-shadow-card: 0 4px 14px rgba(0,0,0,0.06);
  --app-shadow-welcome-card: 0 8px 24px rgba(0,0,0,0.08);
  --app-shadow-cta: 0 8px 20px rgba(47,107,74,0.38);
  --app-shadow-auth-card: 0 12px 32px rgba(0,0,0,0.1);
  --app-shadow-cta-strong: 0 10px 24px rgba(47,107,74,0.4);
  --app-shadow-loading-card: 0 16px 40px rgba(0,0,0,0.1);
  --app-shadow-splash-badge: 0 20px 44px rgba(47,107,74,0.22);
  --app-shadow-hero: 0 10px 24px rgba(47,107,74,0.38);
  --app-shadow-meal-single: 0 6px 18px rgba(0,0,0,0.09);

  /* The app's corners. */
  --app-radius-badge: 6px;
  --app-radius-note: 10px;
  --app-radius-chip: 12px;
  --app-radius-input: 14px;
  --app-radius-button: 16px;
  --app-radius-soon-card: 18px;
  --app-radius-card: 20px;
  --app-radius-hero-card: 22px;
  --app-radius-sheet: 24px;
  --app-radius-welcome-card: 26px;
  --app-radius-loading-card: 28px;
  --app-radius-splash-badge: 44px;
  --app-radius-pill: 9999px;

  /* The website's own. */
  --site-frost: rgba(255,249,240,0.82);
  --site-frost-edge: rgba(17,17,17,0.05);
  --site-wash: linear-gradient(180deg, rgba(245,240,232,0.55) 0%, rgba(245,240,232,0.2) 45%, rgba(245,240,232,0.75) 100%);
  --site-glass: rgba(255,255,255,0.78);
  --site-phone-bezel: #18201B;
  --site-phone-edge: rgba(255,255,255,0.14);
  --site-shadow-phone: 0 40px 80px rgba(20,30,24,0.24), 0 12px 24px rgba(20,30,24,0.12);
  --site-shadow-photo: 0 30px 60px rgba(47,107,74,0.16), 0 8px 18px rgba(0,0,0,0.08);
  --site-shadow-lift: 0 18px 40px rgba(0,0,0,0.1);
  --site-focus: 0 0 0 3px rgba(74,155,111,0.35);
  /* The Help page's videos (packet 187): the play button's shadow, and the
     backing of the link to YouTube without scripts. */
  --site-video-shadow: 0 6px 20px rgba(29,42,35,0.28);
  --site-video-veil: rgba(47,107,74,0.86);
  --site-placeholder: rgba(240,206,143,0.38);
  --site-edge-fade: linear-gradient(90deg, rgba(245,240,232,1), rgba(245,240,232,0));
  --site-glow: radial-gradient(closest-side, rgba(255,249,240,0.3), rgba(255,249,240,0));

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
  --page: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--app-app-background);
  color: var(--app-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--app-green-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--app-green-dark); }
:focus-visible { outline: none; box-shadow: var(--site-focus); border-radius: var(--app-radius-badge); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--app-heading); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 em, h2 em, h3 em { font-weight: 500; font-style: italic; color: var(--app-green-deep); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--app-white); border-radius: var(--app-radius-chip); font-weight: 700; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--app-green-deep); margin-bottom: 14px;
}
.eyebrow svg { width: 15px; height: 15px; color: var(--app-gold); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--app-body-muted); margin: 0; }
section { padding: clamp(72px, 10vw, 120px) 0; }

/* Buttons */

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--app-radius-button);
  font: 800 16px/1 var(--font-body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--app-gradient-primary); color: var(--app-cream); box-shadow: var(--app-shadow-cta); }
.btn-primary:hover { color: var(--app-cream); transform: translateY(-2px); box-shadow: var(--app-shadow-cta-strong); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--app-white); color: var(--app-green-deep); box-shadow: var(--app-shadow-subtle), inset 0 0 0 1px var(--app-outline); }
.btn-ghost:hover { color: var(--app-green-deep); transform: translateY(-2px); box-shadow: var(--app-shadow-card), inset 0 0 0 1px var(--app-outline); }
.btn-cream { background: var(--app-cream); color: var(--app-green-deep); box-shadow: inset 0 0 0 1.5px var(--app-gold-border), var(--app-shadow-welcome-card); }
.btn-cream:hover { color: var(--app-green-deep); transform: translateY(-2px); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: var(--app-radius-input); white-space: nowrap; }
.btn-wide { width: 100%; }
.btn-danger { background: var(--app-danger); color: var(--app-white); box-shadow: var(--app-shadow-subtle); }
.btn-danger:hover { color: var(--app-white); transform: translateY(-2px); box-shadow: var(--app-shadow-card); }
.btn[disabled] { opacity: 0.5; cursor: default; transform: none; }

/* The app's gold sheen, crossing a finish button now and then. */
.sheen::after {
  content: ""; position: absolute; z-index: -1; inset: 0 auto 0 -60%; width: 55%;
  background: var(--app-gradient-sheen);
  transform: skewX(-12deg) translateX(0);
  animation: sheen 5.5s var(--ease) 1.2s infinite;
}
.btn-primary.sheen { box-shadow: var(--app-shadow-cta), inset 0 0 0 1px var(--app-gold-border); }
@keyframes sheen {
  0% { transform: skewX(-12deg) translateX(0); }
  32%, 100% { transform: skewX(-12deg) translateX(330%); }
}

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 20;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.site-header.is-scrolled, .page-plain .site-header {
  background: var(--site-frost);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--site-frost-edge);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { color: var(--app-heading); font-weight: 700; font-size: 15px; text-decoration: none; opacity: 0.78; transition: opacity 0.2s; }
.nav > a:not(.btn):hover { opacity: 1; color: var(--app-green-deep); }

/* The phone menu (packet 118): the computer's section links, in a <details>,
   so it opens without scripts and from the keyboard. */
.menu { display: none; position: relative; }
.menu summary {
  display: grid; place-items: center; width: 42px; height: 42px; cursor: pointer; list-style: none;
  border-radius: var(--app-radius-input); background: var(--app-white); color: var(--app-green-deep);
  box-shadow: var(--app-shadow-subtle), inset 0 0 0 1px var(--app-outline);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { box-shadow: var(--site-focus), inset 0 0 0 1px var(--app-outline); }
.menu[open] summary { background: var(--app-green-pale); }
.menu summary svg { width: 20px; height: 20px; }
.menu-links {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 1; display: grid; min-width: 210px; padding: 8px;
  background: var(--app-white); border-radius: var(--app-radius-card); box-shadow: var(--app-shadow-loading-card);
}
.menu-links a { padding: 12px 14px; border-radius: var(--app-radius-chip); color: var(--app-heading); font-weight: 700; font-size: 16px; text-decoration: none; }
.menu-links a:hover { color: var(--app-green-deep); background: var(--app-green-pale); }
@media (max-width: 860px) {
  .nav { gap: 10px; }
  .nav > a:not(.btn) { display: none; }
  .menu { display: block; }
}

/* Hero */

.hero { position: relative; padding: clamp(28px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; margin-bottom: 22px;
  background: var(--app-white); border-radius: var(--app-radius-pill); box-shadow: var(--app-shadow-subtle), inset 0 0 0 1px var(--app-outline);
  font-size: 13.5px; font-weight: 700; color: var(--app-green-deep);
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--app-green-soft); box-shadow: 0 0 0 4px var(--app-mint-tint); }
.hero h1 { font-size: clamp(46px, 7.4vw, 84px); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; max-width: 520px; color: var(--app-body); margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.reassure { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: var(--app-body-muted); }
.reassure svg { width: 18px; height: 18px; color: var(--app-green); flex: none; }

.hero-art { position: relative; min-height: 520px; }
.hero-photo {
  position: absolute; inset: 0 0 64px 64px; overflow: hidden;
  border-radius: var(--app-radius-loading-card); box-shadow: var(--site-shadow-photo);
  background: var(--app-track);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: drift 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
.hero-art .phone { position: absolute; left: 0; bottom: 0; width: clamp(190px, 21vw, 236px); transform: rotate(-4deg); }
.float-card {
  position: absolute; right: clamp(-8px, 1vw, 24px); bottom: 18px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px;
  background: var(--site-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: var(--app-radius-card); box-shadow: var(--app-shadow-loading-card);
  animation: bob 7s ease-in-out infinite;
}
.float-card .badge { width: 42px; height: 42px; }
.float-card strong { display: block; color: var(--app-heading); font-size: 15px; line-height: 1.25; }
.float-text span { font-size: 13px; color: var(--app-body-muted); line-height: 1.3; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .reassure, .hero-top, .hero-top .stores { justify-content: center; }
  .hero-art { min-height: 0; aspect-ratio: 1 / 0.92; max-width: 560px; width: 100%; margin: 8px auto 0; }
  .hero-photo { inset: 0 0 52px 18%; }
}
@media (max-width: 520px) {
  .hero-art .phone { width: 46%; }
  .float-card { right: -4px; bottom: 0; padding: 10px 14px 10px 10px; }
  .float-card .badge { width: 34px; height: 34px; }
}

/* Icon badges, as the app's */

.badge {
  display: inline-grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--app-gradient-badge); color: var(--app-cream);
  box-shadow: var(--app-shadow-hero);
}
.badge svg { width: 50%; height: 50%; }
.badge-pale { background: var(--app-green-pale); color: var(--app-green-deep); box-shadow: none; }

/* A phone, framing a screen from the app */

.phone {
  position: relative; padding: 9px; border-radius: 44px; container-type: inline-size;
  background: var(--site-phone-bezel); box-shadow: var(--site-shadow-phone), inset 0 0 0 1.5px var(--site-phone-edge);
}
.phone::before {
  content: ""; position: absolute; z-index: 2; top: calc(9px + 3.4cqw); left: 50%; width: 30%; height: 7.6cqw;
  transform: translateX(-50%); border-radius: var(--app-radius-pill); background: var(--site-phone-bezel);
}
.phone::after {
  content: "9:41"; position: absolute; z-index: 2; top: calc(9px + 4.4cqw); left: calc(9px + 9cqw);
  font: 800 4.6cqw/1 var(--font-body); color: var(--app-heading);
}
.phone img {
  width: 100%; aspect-ratio: 640 / 1385; object-fit: cover; object-position: top;
  padding-top: 14cqw; border-radius: 12cqw; background: var(--app-app-background);
}

/* The meals ribbon. The fading edges are the ribbon's own, outside the strip
   that moves, so they stay at the screen's sides whether the strip moves by
   itself or, with reduced motion, is swiped (packet 118). */

.ribbon { overflow: hidden; position: relative; }
.ribbon-scroll { padding: 0 0 clamp(64px, 9vw, 100px); }
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: clamp(40px, 10vw, 160px); pointer-events: none;
  background: var(--site-edge-fade);
}
.ribbon::before { left: 0; }
.ribbon::after { right: 0; transform: scaleX(-1); }
.ribbon-track { display: flex; gap: 20px; width: max-content; animation: ribbon 70s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.ribbon li { width: 260px; flex: none; }
.ribbon figure { margin: 0; overflow: hidden; border-radius: var(--app-radius-card); background: var(--app-white); box-shadow: var(--app-shadow-card); }
.ribbon img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ribbon figcaption { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 14px; }
.ribbon figcaption span { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--app-green); }
.ribbon figcaption strong { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--app-heading); }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }

/* Why EasyPlate */

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
  padding: 30px 26px 28px; background: var(--app-white); border-radius: var(--app-radius-welcome-card);
  box-shadow: var(--app-shadow-card); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--site-shadow-lift); }
.value h3 { font-size: 21px; margin: 22px 0 8px; }
.value p { margin: 0; font-size: 15.5px; color: var(--app-body-muted); }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; gap: 14px; }
  .value { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: start; padding: 22px 22px 22px 20px; }
  .value .badge { width: 52px; height: 52px; grid-row: span 2; }
  .value h3 { margin: 4px 0 4px; }
}

/* How it works */

.how { background: var(--app-cream); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--app-gold), var(--app-mint));
  transform-origin: left; transform: scaleX(var(--drawn, 1)); transition: transform 1.6s var(--ease) 0.2s;
}
.js .steps.reveal::before { --drawn: 0; }
.js .steps.reveal.is-visible::before { --drawn: 1; }
.step { position: relative; text-align: center; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--app-white); box-shadow: var(--app-shadow-welcome-card), inset 0 0 0 1.5px var(--app-gold-border);
  font: italic 500 28px/1 var(--font-display); color: var(--app-green-deep);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--app-body-muted); margin: 0 auto; max-width: 240px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Features */

.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 7vw, 96px); }
.feature + .feature { margin-top: clamp(56px, 8vw, 104px); }
/* Each app picture stands in front of a photo of food (Chris, 2026-10-14:
   "I'd like all 3 to have a themed image behind them"; packet 122). */
.feature-art { position: relative; display: grid; place-items: center; padding: 32px 0; }
.feature-art .phone { position: relative; width: min(290px, 70%); }
.feature-art .backdrop-photo {
  position: absolute; inset: 10% 0; overflow: hidden; border-radius: var(--app-radius-splash-badge); box-shadow: var(--site-shadow-photo);
}
.feature-art .backdrop-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy h3 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 18px; }
.feature-copy > p { font-size: 18px; margin-bottom: 26px; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 600; color: var(--app-heading); }
.ticks svg { width: 22px; height: 22px; flex: none; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--app-green-pale); color: var(--app-green-deep); }
.feature.flip .feature-art { order: 2; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-art { order: 0; }
  .feature-copy { max-width: 560px; margin: 0 auto; }
}

/* Pricing */

.pricing { background: var(--app-cream); }
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 24px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px 32px 32px;
  background: var(--app-white); border-radius: var(--app-radius-welcome-card); box-shadow: var(--app-shadow-card);
}
.plan.featured { box-shadow: var(--app-shadow-loading-card), inset 0 0 0 1.5px var(--app-gold-border); }
.plan-tag {
  position: absolute; top: -14px; left: 32px; padding: 6px 14px; border-radius: var(--app-radius-pill);
  background: var(--app-tip-fill); color: var(--app-tip-text); font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em;
}
.plan h3 { font-size: 23px; margin-bottom: 4px; }
.plan .plan-note { font-size: 15px; color: var(--app-body-muted); margin-bottom: 22px; }
.plan .price + .plan-note { margin: 6px 0 0; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price strong { font: 600 48px/1 var(--font-display); color: var(--app-heading); letter-spacing: -0.02em; }
.price span { font-size: 16px; font-weight: 700; color: var(--app-body-muted); }
.plan .ticks { margin: 22px 0 30px; }
.plan .ticks li { font-size: 15.5px; }
.plan .btn { margin-top: auto; }
.fine-print { max-width: 640px; margin: 34px auto 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--app-body-muted); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; max-width: 480px; } }

/* What's next: the features voted on in the app (packet 110), drawn as the
   app's vote cards, with no padlocks (packet 118). */

.soon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 720px; margin: 0 auto; }
.soon-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px 20px;
  border-radius: var(--app-radius-soon-card); background: var(--app-chip-fill); color: var(--app-chip-text);
  box-shadow: var(--app-shadow-subtle); font-weight: 800; font-size: 14.5px;
}
.soon-card .badge { width: 48px; height: 48px; background: var(--app-track); color: var(--app-chip-text); box-shadow: none; }

/* Questions */

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--app-white); border-radius: var(--app-radius-card); box-shadow: var(--app-shadow-card); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px;
  cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; color: var(--app-heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--app-green-deep); transition: transform 0.3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 26px 6px; margin: 0 0 18px; color: var(--app-body); font-size: 16px; }
.faq details[open] p { animation: open 0.4s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Closing invitation */

.closing { padding-top: 0; }
.closing-card {
  position: relative; overflow: hidden; padding: clamp(44px, 7vw, 76px) clamp(24px, 6vw, 72px);
  border-radius: var(--app-radius-splash-badge); background: var(--app-gradient-hero); box-shadow: var(--app-shadow-hero);
  color: var(--app-cream); text-align: center;
}
.closing-card::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -380px;
  background: var(--site-glow);
}
.closing-card > * { position: relative; }
.closing-card .badge { background: var(--app-hero-tint); box-shadow: inset 0 0 0 1px var(--app-hero-line); color: var(--app-gold); }
.closing-card h2 { color: var(--app-cream); font-size: clamp(32px, 4.6vw, 50px); margin: 22px 0 14px; }
.closing-card h2 em { color: var(--app-gold); }
.closing-card p { max-width: 520px; margin: 0 auto 30px; font-size: 18px; opacity: 0.92; }
.divider-spark { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 26px; max-width: 220px; color: var(--app-gold); }
.divider-spark::before, .divider-spark::after { content: ""; flex: 1; height: 1px; background: var(--app-hero-line); }
.divider-spark svg { width: 12px; height: 12px; }

/* The stores' badges, once their links are set (packet 115): Apple's and
   Google's own artwork at the same height (Apple: at least 40px; Google: no
   smaller than the others), with a quarter of that height clear all round,
   and never animated (Apple's guidelines; Trace). */

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.stores a { display: block; flex: none; border-radius: var(--app-radius-note); }
.stores img { height: 44px; width: auto; }
/* The home page's top line (packet 194; Chris, 2026-11-24): the live stores' badges where the pill was, and
   beside them a pill for the store still to come. Once a page, as Apple asks, and still (no rise). */
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.hero-top .stores { margin: 0; }
.hero-top .hero-pill { margin-bottom: 0; }
/* On a phone the two share one line down to 360 wide: the badge at 40 high (Apple's smallest on screen) and the
   pill a little smaller. Narrower than that, the pill goes under the badge. */
@media (max-width: 520px) {
  .hero-top { gap: 8px; }
  .hero-top .stores img { height: 40px; }
  .hero-top .hero-pill { font-size: 12.5px; gap: 6px; padding: 6px 11px 6px 8px; }
}
@media (max-width: 920px) { .join-copy .stores { justify-content: center; } }

/* Ava's row (packet 194): the plan it's part of, under her list. */
.feature-note { margin-top: 18px; font-size: 14px; color: var(--app-body-muted); }

/* Footer */

.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--app-divider); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0; font: italic 500 17px/1.4 var(--font-display); color: var(--app-green-deep); }
.store-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.store-soon span, .store-soon a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--app-radius-chip);
  background: var(--app-white); box-shadow: inset 0 0 0 1px var(--app-outline); font-size: 12.5px; font-weight: 700; color: var(--app-body-muted);
}
.store-soon a { color: var(--app-green-deep); text-decoration: none; }
.store-soon a:hover { color: var(--app-green-deep); text-decoration: underline; }
/* A live store's badge (packet 195): the artwork alone, as the stores ask. */
.store-soon a.store-badge { padding: 0; background: none; box-shadow: none; border-radius: var(--app-radius-note); }
.store-soon a.store-badge img { display: block; height: 40px; width: auto; margin: 0; }
.site-footer h2 { font: 800 12.5px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--app-heading); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer li a { color: var(--app-body); text-decoration: none; font-size: 15px; }
.site-footer li a:hover { color: var(--app-green-deep); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--app-divider); font-size: 13.5px; color: var(--app-faint); }
.store-credits { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--app-faint); }
/* At phone width Contact, with its long address, has a row of its own, and
   the two columns of links share theirs evenly, so none wraps (packet 118).
   The narrowest phones get one column. */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-contact a { overflow-wrap: anywhere; }
}
@media (max-width: 359px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Pages over the app's photo: sign-up, not found and the reset link */

.photo-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--app-app-background); position: relative; }
.photo-page::before {
  content: ""; position: fixed; inset: 0; z-index: 0;
  background: var(--site-wash), url("images/backdrop.webp") center / cover no-repeat;
}
.photo-page.quiet::before { background: var(--site-wash), url("images/backdrop-quiet.webp") center / cover no-repeat; }
.photo-page > header, .photo-page > main, .photo-page > footer { position: relative; z-index: 1; }
/* The header sits above the page, so the phone menu opens over it (packet 118),
   and stays at the top as the page scrolls, as on every other page (packet 136):
   the rule above would otherwise make it scroll away. */
.photo-page > .site-header { position: sticky; top: 0; z-index: 2; }
.photo-page main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 24px var(--gutter) 72px; }
/* The footer has the page's own background, not the photo (packet 118). */
.photo-page .site-footer { background: var(--app-app-background); }

.join { display: grid; grid-template-columns: 1fr 440px; gap: clamp(32px, 7vw, 96px); align-items: center; width: 100%; max-width: 1080px; }
/* The words beside the form have a card of their own, so they read over the
   photo (Chris, 2026-10-14: "It needs a card"; packet 122). */
.copy-card {
  padding: clamp(28px, 4vw, 44px); background: var(--app-white);
  border-radius: var(--app-radius-welcome-card); box-shadow: var(--app-shadow-auth-card);
}
.join-copy h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.05; margin-bottom: 20px; }
.join-copy > p { font-size: 18.5px; max-width: 470px; margin-bottom: 28px; }
@media (max-width: 920px) {
  .join { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .join-copy { text-align: center; }
  .join-copy > p { margin-left: auto; margin-right: auto; }
  .join-copy .ticks { justify-items: center; }
}
@media (max-width: 520px) {
  .join-copy .ticks { display: none; }
  /* With the ticks hidden, the card ends at what comes before them. */
  .join-copy > :nth-last-child(2) { margin-bottom: 0; }
}

.auth-card {
  width: 100%; padding: 34px 30px 30px; background: var(--app-white);
  border-radius: var(--app-radius-welcome-card); box-shadow: var(--app-shadow-auth-card);
}
.auth-card .card-logo { height: 36px; width: auto; margin: 0 auto 22px; }
.auth-card h2 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.auth-card .card-sub { text-align: center; font-size: 15px; color: var(--app-body-muted); margin-bottom: 24px; }
.field { display: block; margin-bottom: 14px; }
.field-label { display: block; font-size: 13px; font-weight: 800; color: var(--app-heading); margin: 0 0 6px 4px; }
.field-label small { font-weight: 600; color: var(--app-faint); }
.input {
  display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 52px;
  background: var(--app-cream); border-radius: var(--app-radius-input); box-shadow: inset 0 0 0 1px var(--app-divider);
  transition: box-shadow 0.2s;
}
.input:focus-within { box-shadow: inset 0 0 0 1.5px var(--app-green), var(--site-focus); }
.input.has-error { box-shadow: inset 0 0 0 1.5px var(--app-danger); }
.input > svg { width: 18px; height: 18px; flex: none; color: var(--app-faint); }
.input input {
  flex: 1; min-width: 0; height: 50px; border: 0; background: none; outline: none;
  font: 600 16px var(--font-body); color: var(--app-heading);
}
.input input::placeholder { color: var(--app-faint); font-weight: 400; }
.show-toggle { border: 0; background: none; padding: 6px 2px; font: 800 13px var(--font-body); color: var(--app-green-deep); cursor: pointer; }
.hint { font-size: 12.5px; color: var(--app-faint); margin: 6px 0 0 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 22px; font-size: 14.5px; line-height: 1.45; color: var(--app-body); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; background: var(--app-cream); box-shadow: inset 0 0 0 1.5px var(--app-divider-warm); display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s; }
.check input::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid var(--app-cream); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.2s var(--ease); }
.check input:checked { background: var(--app-green-deep); box-shadow: none; }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible { box-shadow: inset 0 0 0 1.5px var(--app-green), var(--site-focus); }
.form-error { display: none; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--app-radius-chip); background: var(--app-peach-fill); color: var(--app-danger); font-size: 14.5px; font-weight: 700; }
.form-error.is-shown { display: block; }
.legal-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.55; text-align: center; color: var(--app-faint); }
.legal-note a { color: var(--app-body-muted); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; }
.done .badge { width: 76px; height: 76px; margin-bottom: 22px; }
.done h2 { margin-bottom: 12px; }
.done p { font-size: 15.5px; color: var(--app-body); }
.done .btn { margin-top: 10px; }
[hidden] { display: none !important; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--app-hero-line); border-top-color: var(--app-cream); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.message-card { max-width: 440px; text-align: center; }
.reset-card { max-width: 440px; }
.reset-card h1 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.message-card .badge { width: 76px; height: 76px; margin-bottom: 22px; }
.message-card h1 { font-size: clamp(30px, 5vw, 38px); margin-bottom: 12px; }
.message-card p { color: var(--app-body); }
.message-card .cta-row { justify-content: center; margin-top: 24px; }
.message-card .small { font-size: 13.5px; color: var(--app-faint); margin: 20px 0 0; }

/* Reading pages: terms, privacy and deleting an account */

.page-plain main { padding-bottom: clamp(64px, 9vw, 110px); }
.doc-head { padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.doc-head h1 { font-size: clamp(36px, 5.4vw, 56px); margin-bottom: 14px; }
.doc-head p { color: var(--app-body-muted); margin: 0; font-size: 15px; }
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; max-width: 1040px; margin: 0 auto; align-items: start; }
.toc { position: sticky; top: 100px; font-size: 14px; }
.toc h2 { font: 800 12px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--app-faint); margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--app-body); text-decoration: none; }
.toc a:hover { color: var(--app-green-deep); }
.doc-body {
  padding: clamp(28px, 4vw, 52px); background: var(--app-white); border-radius: var(--app-radius-welcome-card); box-shadow: var(--app-shadow-card);
  font-size: 16.5px; line-height: 1.75; color: var(--app-body);
}
.doc-body h2 { font-size: 24px; margin: 44px 0 14px; scroll-margin-top: 96px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body ul { padding-left: 22px; margin: 0 0 1em; }
.doc-body li { margin-bottom: 6px; }
.doc-body li::marker { color: var(--app-green); }
.doc-body strong { color: var(--app-heading); }
.summary-box { margin: 0 0 36px; padding: 22px 24px; border-radius: var(--app-radius-card); background: var(--app-green-pale); }
.summary-box h2 { font-size: 19px; margin: 0 0 10px; }
.summary-box ul { margin: 0; }
.ph { padding: 1px 6px; border-radius: var(--app-radius-badge); background: var(--site-placeholder); color: var(--app-tip-text); font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.caps { text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto 20px; }
.way { padding: 30px 28px; background: var(--app-white); border-radius: var(--app-radius-welcome-card); box-shadow: var(--app-shadow-card); }
.way h2 { font-size: 22px; margin: 18px 0 12px; }
.way ol { margin: 0 0 4px; padding-left: 20px; display: grid; gap: 8px; }
.way ol li::marker { font-weight: 800; color: var(--app-green-deep); }
.way p:last-child { margin-bottom: 0; }
.way .btn { margin-top: 6px; }
.notice {
  display: flex; gap: 16px; align-items: flex-start; max-width: 900px; margin: 0 auto 20px; padding: 24px 26px;
  border-radius: var(--app-radius-welcome-card); background: var(--app-peach-fill);
}
.notice .badge { width: 46px; height: 46px; background: var(--app-white); color: var(--app-peach); box-shadow: none; }
.notice h2 { font-size: 20px; margin: 2px 0 8px; }
.notice p { margin: 0 0 8px; color: var(--app-body); }
.notice .links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.lists .way h2 { margin-top: 0; }
.lists ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.lists li::marker { color: var(--app-green); }
.delete-here { max-width: 900px; margin: 0 auto 20px; }
.delete-here form, .delete-here .done { max-width: 440px; }
.delete-here .done { text-align: left; }
.delete-here .done .badge { width: 46px; height: 46px; margin-bottom: 14px; }
@media (max-width: 760px) { .ways, .lists { grid-template-columns: 1fr; } }

/* Gentle entrances: content drifts into place as it scrolls in. Without the
   script, everything simply shows. */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.rise { animation: rise 1s var(--ease) both; animation-delay: var(--delay, 0s); }
.d1 { --delay: 0.1s; }
.d2 { --delay: 0.2s; }
.d3 { --delay: 0.3s; }
.d4 { --delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Anyone who has asked for less motion gets none of it. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .steps.reveal::before { --drawn: 1; }
  .ribbon-scroll { overflow-x: auto; }
}

/* Help & tutorials (packet 183): each video a frame, YouTube's player put in
   only when it's played; the questions as the home page's, inside the page. */
/* At least 220 points tall, so YouTube's player gets the 200 by 200 it needs on a phone (Trace). */
.help .video { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 220px; margin: 0 0 22px; border-radius: var(--app-radius-card); overflow: hidden; background: var(--app-green-deep); }
.help .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: 100%; border: 0; cursor: pointer; background: linear-gradient(140deg, var(--app-green-deep), var(--app-green)); color: var(--app-white);
  font: 800 17px/1.3 var(--font-body); text-align: center; padding: 20px;
}
/* The video's thumbnail under the play button (packet 187), all of it: on a
   phone the frame is taller than the picture (YouTube's player needs 200 high),
   so the picture sits in the middle on its own cream. The button is in the
   picture's clear middle and shrinks with the frame to stay clear of the title. */
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--app-cream); }
.video-play svg { position: relative; width: min(64px, 14%); height: auto; aspect-ratio: 1; padding: min(18px, 4%); border-radius: 50%; background: var(--app-white); color: var(--app-green-deep); box-shadow: var(--site-video-shadow); }
/* Drawn inside the frame, which clips anything outside it (Trace). */
.video-play:focus-visible { outline: 3px solid var(--app-white); outline-offset: -8px; }
/* Over the thumbnail, which would hide the outline (Trace, packet 187): a ring
   inside the frame's edge, green with a light ring inside it so it shows on the
   cream and on the green, and a ring round the play button. */
.video-play:focus-visible::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 4px var(--app-green-deep), inset 0 0 0 7px var(--app-white); pointer-events: none; }
.video-play:focus-visible svg { outline: 3px solid var(--app-green-deep); outline-offset: 3px; }
/* Without scripts: the link to YouTube on a dark backing, over the thumbnail. */
.video-link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; color: var(--app-white); font-weight: 800; background: var(--site-video-veil); }
.doc-body .faq { gap: 10px; margin: 0 0 8px; }
.doc-body .faq details { box-shadow: none; background: var(--app-green-pale); }
.doc-body .faq summary { padding: 16px 20px; font-size: 16px; }
.doc-body .faq details p { padding: 0 20px 4px; margin: 0 0 14px; font-size: 15.5px; }
/* On a phone the contents stay, as two columns above the page (Trace's note). */
@media (max-width: 900px) {
  .help .toc { display: block; position: static; margin: 0 0 4px; }
  .help .toc ol { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
}
