@font-face { font-family: 'Google Sans'; src: url(assets/google-sans-latin.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: Poppins; src: url(assets/poppins-latin-300-normal.woff2) format('woff2'); font-weight: 300; font-display: swap; } /* taste-skill-ignore: step badge ring */
@font-face { font-family: Poppins; src: url(assets/poppins-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(assets/poppins-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url(assets/poppins-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  /* Brand (frontend/src/design-system/foundations/tokens.css) */
  --deep: #092d31;
  --bright: #1eadbe;
  --action: #0f4d54;
  --accent: #e54b4b;
  --ink: #0b0c0e;
  --ink-soft: #464a51;
  --paper: #ffffff;
  --ground-2: #f4f5f7;
  --ground-3: #ebedf0;
  /* Tool chapters, the colours each tool wears in the app */
  --assets-deep: #331866;  --assets-light: #d3caff;
  --vehicle-deep: #1a397f; --vehicle-light: #c2ebff;
  --home-deep: #701025;    --home-light: #ffd5de;
  --cogs-deep: #c15a00;    --cogs-light: #ffd8c2;
  --tax-light: #bae4fb;

  --font: Poppins, ui-sans-serif, system-ui, sans-serif;
  --step-display: clamp(46px, 5.9vw, 100px);
  --step-h2: clamp(36px, 4.4vw, 68px);
  --step-h3: clamp(22px, 1.9vw, 28px);
  --step-body: 18px;
  --step-small: 14px;
  /* Past 1600px the content holds a 1440px column; backgrounds still run edge to edge */
  --margin: max(clamp(20px, 5.4vw, 80px), calc((100vw - 1600px) / 2 + 80px));
  --radius: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--step-body); line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: var(--step-h2); line-height: 1.02; }
h3 { font-size: var(--step-h3); line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.dot { font-style: normal; color: var(--accent); }
.frame { padding-inline: var(--margin); }
.svg-library, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--paper); padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; }
::selection { background: var(--tax-light); color: var(--deep); }

/* Buttons */
.pill-button { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 0; border-radius: 99px; padding: 16px 26px; font-weight: 500; font-size: 16px; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.pill-button svg { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.pill-button:hover svg { transform: translateX(4px); }
.pill-button:active { transform: scale(.97); }
.pill-button.dark { background: var(--ink); color: var(--paper); }
.pill-button.dark:hover { background: #24262b; }
.pill-button.red { background: var(--accent); color: var(--paper); }
.pill-button.red:hover { background: #cf3d3d; }
.text-link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
/* Store buttons, measured from the concept at 1440: 270 x 108 (App Store) and 265 x 108
   (Google Play). --k is one concept pixel: 1px on the artboard. */
.stores { --k: 1px; display: flex; flex-wrap: wrap; gap: calc(25 * var(--k)); }
.store { display: inline-flex; align-items: center; height: calc(108 * var(--k)); border-radius: 99px; border: 0; background: #0b0c0e; color: #fff; cursor: pointer; text-align: left; white-space: nowrap;
  font-family: 'Google Sans', var(--font); transition: transform .2s var(--ease), background-color .2s; }
.store:hover { transform: translateY(-2px); }
.store:active { transform: scale(.97); }
.store:disabled { cursor: default; opacity: .72; transform: none; }
/* Glass buttons on the dark panels: a dark see-through fill and a thin light rim */
.hero .store, .closing .store { position: relative; background: rgb(4 10 22 / 52%); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 18px 40px -18px rgb(0 0 0 / 55%); } /* taste-skill-ignore: glass buttons from the concept */
.hero .store::before, .closing .store::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(130deg, rgb(255 255 255 / 42%), rgb(255 255 255 / 8%) 38%, rgb(255 255 255 / 6%) 62%, rgb(255 255 255 / 30%)); /* taste-skill-ignore: glass rim */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); } /* taste-skill-ignore: mask that cuts the rim, not a fill */
.hero .store:hover, .closing .store:hover { background: rgb(12 20 38 / 60%); }
.hero .store:disabled, .closing .store:disabled { background: rgb(4 10 22 / 52%); }
.store span { display: grid; }
.store small { font-weight: 400; line-height: 1; letter-spacing: 0; }
.store-apple { padding: 0 calc(37 * var(--k)) 0 calc(28 * var(--k)); gap: calc(14 * var(--k)); font-size: calc(33.5 * var(--k)); font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.store-apple small { font-size: calc(18.6 * var(--k)); margin-bottom: calc(2 * var(--k)); }
.store-apple svg { width: calc(41 * var(--k)); height: calc(49 * var(--k)); flex: none; }
.store-play { padding: 0 calc(29 * var(--k)) 0 calc(26 * var(--k)); gap: calc(11 * var(--k)); font-size: calc(32 * var(--k)); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.store-play small { font-size: calc(22 * var(--k)); letter-spacing: -0.02em; margin-bottom: calc(4 * var(--k)); }
.store-play svg { width: calc(48 * var(--k)); height: calc(52.5 * var(--k)); flex: none; }
.store-play span { transform: scaleX(.94); transform-origin: left center; margin-right: calc(-10 * var(--k)); }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 104px; }
.brand img { width: 144px; height: auto; }
.brand { flex: none; }
.nav { display: flex; gap: 44px; font-size: 18px; font-weight: 500; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-row { gap: 24px; }
.nav { margin-left: auto; }
.header-app { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 99px; font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ink); background: #fff; transition: transform .2s var(--ease), background-color .2s; }
.header-app svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.header-app:hover svg { transform: translateX(3px); }
.article-page .header-app { color: #fff; background: var(--ink); }
.article-page .header-app:hover { background: #24262b; }
.nav a, .lang-switch { white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: rgb(255 255 255 / 14%); border-radius: 99px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .25s var(--ease); }
.menu-toggle span:first-child { top: 18px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
/* The full navigation needs about 1000px (the French labels are longer); below that it moves into the menu */
@media (max-width: 1200px) { .nav { gap: 30px; font-size: 17px; } }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-toggle { display: block; flex: none; }
  .header-app { margin-left: auto; }
}
.mobile-nav { margin: 0 var(--margin); background: var(--paper); color: var(--ink); border-radius: 24px; padding: 8px; display: grid; }
.mobile-nav a { padding: 14px 18px; text-decoration: none; font-size: 20px; font-weight: 500; border-radius: 16px; }
.mobile-nav a:hover { background: var(--ground-2); }

/* 1. Hero (the concept's opening screen). The title and phone sit on the concept's
   1440 x 1020 artboard, scaled to fit the screen, so their balance never changes. */
.hero {
  --u: min(calc(100vw / 1440), calc(100svh / 1020));
  /* On screens narrower than the artboard's shape the header no longer shrinks with it:
     push the artboard down so the phone clears it, and end the hero with the artboard. */
  --lift: max(0px, 100px - 124 * var(--u));
  position: relative; overflow: hidden; color: #fff; min-height: min(max(640px, 100svh), calc(1020 * var(--u) + var(--lift)));
  background: linear-gradient(243.18deg, #092D31 0%, #0C172D 100%); /* taste-skill-ignore: the approved hero background, layer 1 */
}
/* Hero background, as layered in the concept: base gradient, a violet circle top left,
   a teal circle bottom right, a soft oval along the bottom, then the grain texture. */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(223.15px); }
.glow-violet { --s: max(84vw, 720px); width: var(--s); aspect-ratio: 1; left: calc(var(--s) * -.32); top: calc(var(--s) * -.47);
  background: radial-gradient(50% 50% at 50% 50%, #7D58BC 0%, #1A2854 25%, #B0A7D9 50%, #535BC9 62.5%, #343A90 75%, #1A2854 100%); } /* taste-skill-ignore: concept layer */
.glow-teal { --s: max(100vw, 820px); width: var(--s); aspect-ratio: 1; right: calc(var(--s) * -.46); bottom: calc(var(--s) * -.5);
  background: radial-gradient(50% 50% at 50% 50%, #04EEBC 0%, #09A8AB 50%, #0D7392 75%, #0F3E6A 100%); } /* taste-skill-ignore: concept layer */
.glow-floor { left: 0; right: 0; bottom: 0; height: 320px; background: linear-gradient(0deg, #001A1D 0%, rgba(0, 26, 29, 0) 100%); } /* taste-skill-ignore: concept layer */
.hero-bg::after { content: ''; position: absolute; inset: 0; background: url(assets/art/texture.webp) 0 0 / 512px 512px repeat; mix-blend-mode: overlay; }
.hero-grid { z-index: 2; }
.hero-grid { position: relative; min-height: inherit; display: grid; grid-template-rows: 1fr auto; padding-top: 104px; padding-bottom: calc(60 * var(--u)); }
.hero-stage { position: absolute; left: 50%; top: var(--lift); width: calc(1440 * var(--u)); height: calc(1020 * var(--u)); translate: -50% 0; }
.hero-title { position: absolute; inset: 0; z-index: 2; font-size: calc(93 * var(--u)); line-height: 1; letter-spacing: -0.04em; }
.hero-title .line { position: absolute; display: block; overflow: hidden; padding-bottom: .12em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; }
/* Each line steps outward with the phone's leaning edges, as in the concept */
.l1 { right: calc(990 * var(--u)); top: calc(316 * var(--u)); }
.l2 { right: calc(972 * var(--u)); top: calc(411 * var(--u)); }
.l3 { right: calc(953 * var(--u)); top: calc(506 * var(--u)); }
.r1 { left: calc(852 * var(--u)); top: calc(316 * var(--u)); }
.r2 { left: calc(884 * var(--u)); top: calc(411 * var(--u)); }
.r3 { left: calc(918 * var(--u)); top: calc(506 * var(--u)); }
.sorted, .red { color: var(--accent); }
/* The iPhone render with the real app screen composited in (tools/screen-into-mockup.swift) */
.hero-phone { position: absolute; left: calc(478.6 * var(--u)); top: calc(124 * var(--u)); width: calc(428.7 * var(--u)); height: auto; z-index: 1; filter: drop-shadow(calc(30 * var(--u)) calc(50 * var(--u)) calc(40 * var(--u)) rgb(0 0 0 / 40%)); } /* taste-skill-ignore: floating device */
.hero-foot .stores { --k: min(max(.62px, var(--u)), calc((100vw - 2 * var(--margin)) / 1160)); flex: none; flex-wrap: nowrap; }
.closing .stores { --k: .082cqw; flex-wrap: nowrap; gap: 2cqw; }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; position: relative; z-index: 2; }
.hero-lede { min-width: 0; max-width: 38ch; text-wrap: balance; text-align: right; font-size: max(17px, calc(24 * var(--u))); line-height: 1.3; }

/* iPhone mockup: titanium rim, black bezel, Dynamic Island, side keys; the screen is a real app capture */
.device { --w: 320px; position: relative; width: var(--w); aspect-ratio: 433 / 882; padding: calc(var(--w) * .011); border-radius: calc(var(--w) * .175);
  background: linear-gradient(140deg, #8a8d93 0%, #3a3c41 12%, #1d1e21 40%, #2c2e32 70%, #7d8086 100%); } /* taste-skill-ignore: brushed titanium rim */
.device .glass { position: relative; height: 100%; padding: calc(var(--w) * .036); border-radius: calc(var(--w) * .165); background: #030303; }
.device .glass img { width: 100%; height: 100%; border-radius: calc(var(--w) * .128); object-fit: cover; }
.device .glass::after { content: ''; position: absolute; left: 50%; top: calc(var(--w) * .062); width: calc(var(--w) * .29); height: calc(var(--w) * .085); transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 3; }
.device .keys::before, .device .keys::after { content: ''; position: absolute; width: calc(var(--w) * .012); border-radius: 2px; background: #3a3c41; }
.device .keys::before { left: calc(var(--w) * -.008); top: 18%; height: 25%; background: linear-gradient(#3a3c41 0 16%, transparent 16% 30%, #3a3c41 30% 62%, transparent 62% 70%, #3a3c41 70%); } /* taste-skill-ignore: action and volume keys */
.device .keys::after { right: calc(var(--w) * -.008); top: 28%; height: 14%; }
.device.small { --w: 200px; }
/* The concept's leaning phone: laid back and turned, so its left side shows.
   Laid out at twice its size and scaled down inside the transform so the screen stays sharp.
   Its parent marks the phone's centre and sets --shown, the drawn width. */
.device.lean { --w: calc(var(--shown) * 2); position: absolute; left: 0; top: 0; translate: -50% -50%;
  transform: rotate(-4deg) skewX(15deg) scaleX(.9) scale(.5);
  box-shadow: calc(var(--w) * -.05) calc(var(--w) * .012) 0 #2b2c30, calc(var(--w) * -.044) calc(var(--w) * .01) 0 #4a4c52; } /* taste-skill-ignore: the phone's titanium side, seen at an angle */
.device.lean .keys::before { left: calc(var(--w) * -.05); }
.device.lean .keys::after { display: none; }
.cat-icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--c, #303030); }
.cat-icon i { width: 15px; height: 15px; background: #fff; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

/* 2. How it works: the owner's three numbered cards. Each picture is drawn for its card. */
.how { padding-block: clamp(88px, 8vw, 120px); background: #fff; } /* white, so the #F5F7F9 cards read as cards */
.steps { position: relative; list-style: none; margin: clamp(48px, 5vw, 72px) auto 0; padding: 0; max-width: 1280px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.step { position: relative; container-type: inline-size; aspect-ratio: 407 / 600; border-radius: var(--radius); background: #F5F7F9; overflow: hidden; padding: clamp(22px, 2.2vw, 32px);
  box-shadow: 0px 151px 60px rgba(0, 0, 0, 0.005), 0px 85px 51px rgba(0, 0, 0, 0.01), 0px 38px 38px rgba(0, 0, 0, 0.015), 0px 9px 21px rgba(0, 0, 0, 0.02); } /* taste-skill-ignore: the owner's card shadow, at half strength */
/* A quiet step number: one red accent per card is the title's word */
.badge { display: grid; place-items: center; width: clamp(34px, 11cqw, 46px); aspect-ratio: 1; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #e4e6ea; font-size: clamp(13px, 4.2cqw, 17px); font-weight: 600; letter-spacing: -0.02em; position: relative; z-index: 2; /* taste-skill-ignore: step badge ring */
  /* Poppins draws digits slightly above the middle of its line; 0.04em brings them to the centre */
  line-height: 1; padding-top: 0.04em; font-variant-numeric: tabular-nums; }
.step h3 { position: relative; z-index: 2; margin-top: 6cqw; font-size: clamp(17px, 11cqw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; max-width: 9em; }
.step-pic { position: absolute; z-index: 1; }
/* The owner's card borders: white on the light cards, dark grey on the report card */
.step { border: 1px solid #ffffff; }
.step { box-shadow: 0 1px 2px rgb(16 24 40 / 4%), 0 24px 48px -28px rgb(16 24 40 / 22%); } /* taste-skill-ignore: a visible lift on white */
.step-report { border-color: #373737; }
/* 01: drawn at the card's shape, it fills the card */
.step-snap .step-pic { inset: 0; width: 100%; height: 100%; }
/* 02: the stack sits top right; the words sit at the bottom */
.step-sort .step-pic { bottom: -2%; right: -6%; width: 96%; }
/* Every title sits in the same place, top left under its number */
/* 03: dark teal, a soft glow behind the report, the report along the bottom */
.step-report { background: linear-gradient(180deg, #001A1D 50%, #007583 100%), #F5F7F9; color: #fff; } /* taste-skill-ignore: the owner's card fill */
.step-report .badge { background: rgb(255 255 255 / 10%); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%); } /* taste-skill-ignore: step badge ring */
.report-glow { position: absolute; z-index: 0; left: 20%; top: 52%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: #1BA0B2; filter: blur(223.15px); }
.step-report .step-pic { left: 0; bottom: 0; width: 100%; }

/* 3. Under the hood: the stage holds while three phones turn past like a carousel. The
   script sets --p (0 to 2, the slide in front) on the section and --o (its distance from the
   front) on each phone. */
.under { color: #fff; background: #161230; }
.under-track { height: 340svh; position: relative; }
.under-stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(38% 55% at 18% 38%, rgb(167 127 212 / 70%) 0%, rgb(167 127 212 / 0) 70%), /* taste-skill-ignore: the concept's purple glow */
    radial-gradient(40% 60% at 80% 50%, rgb(108 75 196 / 65%) 0%, rgb(108 75 196 / 0) 70%), /* taste-skill-ignore */
    radial-gradient(34% 50% at 0% 92%, rgb(15 142 149 / 70%) 0%, rgb(15 142 149 / 0) 70%); } /* taste-skill-ignore */
.under-grid { width: 100%; display: grid; grid-template-columns: 5fr 7fr; column-gap: 24px; align-items: center; }
.under-copy h2 { font-size: clamp(36px, 3.6vw, 58px); line-height: 1.04; white-space: nowrap; }
/* The three captions share one place; the one in front shows */
.slides { list-style: none; margin: clamp(32px, 6vh, 64px) 0 0; padding: 0; display: grid; }
.slide-copy { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.slide-copy.on { opacity: 1; transform: none; }
.slide-copy h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -0.02em; }
.slide-copy h3::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; margin-bottom: 18px; background: var(--light); }
.slide-copy p { margin-top: 12px; max-width: 30ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: rgb(255 255 255 / 82%); }
.slide-dots { display: flex; gap: 8px; margin-top: 32px; }
.slide-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgb(255 255 255 / 28%); transition: width .4s var(--ease), background-color .4s; }
.slide-dots i.on { width: 28px; background: #fff; }

.carousel { --shift: calc(var(--phone) * .1); position: relative; height: min(84svh, 800px); perspective: 1100px; transform-style: preserve-3d; --phone: min(23vw, calc(80svh * 433 / 882), 360px); }
.c-phone { position: absolute; left: calc(50% + var(--shift, 0px)); top: 50%; width: var(--phone); translate: -50% -50%; z-index: var(--z);
  transform: translateX(calc(var(--o) * var(--phone) * .98)) translateZ(calc(var(--d) * -260px)) rotateY(calc(var(--a) * -38deg));
  opacity: calc(1.5 - var(--d) * .9); will-change: transform; }
.c-phone .device { --w: var(--phone); filter: drop-shadow(0 40px 50px rgb(0 0 0 / 45%)); } /* taste-skill-ignore: floating device */
.c-phone .device .glass img { width: 100%; height: 100%; }
/* 4. Where does it go: the live thing, in the same purple panel */
/* Light, so it reads apart from the purple panel above. The words and the receipt buttons
   hold still at the top; only the record on the right changes. */
.sort { padding-block: clamp(80px, 8vw, 130px); background: #F5F7F9; color: var(--ink); }
.sort-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-items: start; }
.sort-copy { grid-column: 1 / 7; }
.sort-copy h2 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.04; }
.sort-copy > p { margin-top: 22px; max-width: 34ch; font-size: 20px; color: var(--ink-soft); }
.picks { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; border: 1px solid #fff; border-radius: 20px; padding: 18px 20px; background: #fff; color: var(--ink); cursor: pointer;
  box-shadow: 0px 38px 38px rgba(0, 0, 0, 0.015), 0px 9px 21px rgba(0, 0, 0, 0.02); transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease); } /* taste-skill-ignore: the step cards' soft depth */
.pick:hover { border-color: #e2e5ea; }
.pick:active { transform: scale(.98); }
.pick[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pick b { font-weight: 600; font-size: 17px; line-height: 1.25; }
.pick span { font-size: 14px; opacity: .65; white-space: nowrap; }
.record-wrap { grid-column: 8 / 13; }
[data-ui].record { background: #fff; color: #111; border: 1px solid #fff; border-radius: var(--radius); padding: 28px; font-size: 16px;
  box-shadow: 0px 151px 60px rgba(0, 0, 0, 0.005), 0px 85px 51px rgba(0, 0, 0, 0.01), 0px 38px 38px rgba(0, 0, 0, 0.015), 0px 9px 21px rgba(0, 0, 0, 0.02); }
[data-ui] .record-state { color: #5d6168; }
[data-ui] .record-state button { margin-top: 12px; }
[data-ui] .rec-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding-bottom: 18px; }
[data-ui] .rec-head h3 { font-size: 24px; }
[data-ui] .rec-head p { color: #5d6168; font-size: 14px; margin-top: 2px; }
[data-ui] .rec-total { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
[data-ui] .rec-cat { display: flex; gap: 14px; align-items: center; background: #f4f5f7; border-radius: 20px; padding: 14px 16px; }
[data-ui] .rec-cat .cat-icon { width: 40px; height: 40px; border-radius: 12px; flex: none; }
[data-ui] .rec-cat .cat-icon i { width: 22px; height: 22px; }
[data-ui] .rec-cat b { display: block; font-weight: 600; }
[data-ui] .rec-cat small { color: #5d6168; font-size: 13px; }
[data-ui] dl { margin: 10px 0 0; display: grid; }
[data-ui] dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 4px; border-bottom: 1px solid #ebedf0; }
[data-ui] dt { color: #5d6168; }
[data-ui] dd { margin: 0; font-weight: 500; text-align: right; }
[data-ui] .rec-credit dd { color: #0f4d54; font-weight: 600; }
[data-ui] .rec-rule { margin-top: 16px; border-radius: 20px; padding: 16px 18px; background: var(--light, #f4f5f7); color: #111; display: flex; gap: 12px; align-items: start; font-size: 16px; line-height: 1.45; }
[data-ui] .rec-rule .cat-icon { flex: none; width: 30px; height: 30px; background: var(--field); }
[data-ui] .rec-anim { animation: recIn .45s var(--ease); }
@keyframes recIn { from { opacity: 0; transform: translateY(12px); } }

/* 5. Proof: dark tiles, one tall on the left and two on the right */
.proof { padding-block: clamp(64px, 6vw, 96px); color: #fff;
  background: radial-gradient(50% 60% at 50% 100%, rgb(27 160 178 / 28%) 0%, rgb(27 160 178 / 0) 70%), #001A1D; } /* taste-skill-ignore: the report card's teal, as a section */
.proof .center-lede { color: rgb(255 255 255 / 70%); }
/* Colour tiles with one short line and an oversized picture bleeding off the edges */
/* The tiles take what is left of the screen under the heading, so the section fits one screen */
.tiles { margin: clamp(32px, 3.4vw, 48px) auto 0; max-width: 1280px; height: clamp(460px, calc(100svh - 300px), 680px); display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(14px, 1.6vw, 20px); }
.tile { position: relative; overflow: hidden; border-radius: 36px; border: 0; padding: clamp(28px, 3vw, 44px); container-type: inline-size; text-align: left; font: inherit; color: var(--ink); display: block; }
.tile h3, .tile-title { position: relative; z-index: 2; display: block; max-width: 11em; font-size: clamp(28px, 7cqw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; }
.tile p { position: relative; z-index: 2; margin-top: 14px; max-width: 22em; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.45; opacity: .75; }
.tile-pic { position: absolute; z-index: 1; max-width: none; height: auto; pointer-events: none; transition: transform .6s var(--ease); }
/* A slight zoom from the edge each picture is anchored to */
.tile-pic { transform-origin: 50% 100%; }
.tile-reports .tile-pic { transform-origin: 100% 100%; }
.tile-vault .tile-pic { transform-origin: 50% 50%; }
.tile:hover .tile-pic { transform: scale(1.04); }
.tile-review { grid-row: 1 / 3; background: #BAE4FB; text-align: center; container-type: size; }
.tile-review h3, .tile-review p { margin-inline: auto; }
.tile-review .tile-pic { width: min(64%, 52cqh); height: auto; left: 50%; translate: -50% 0; bottom: 0; } /* centred, the upper part of the phone */ /* the upper part of the phone, standing on the tile's bottom edge */ /* the upper half of the phone, cut by the tile's bottom edge */
.tile-reports { background: #F5F7F9; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.tile-reports .tile-title { max-width: 7.6em; }
.tile-vault h3 { max-width: 7.6em; }
.tile-reports .tile-title, .tile-vault h3 { font-size: clamp(24px, 5.4cqw, 38px); }
.tile-reports .tile-pic { width: 84%; height: auto; right: -6%; bottom: -14%; } /* the owner's folder render, set into the bottom right corner */
.tile-sub { position: relative; z-index: 2; display: block; margin-top: 10px; max-width: 13em; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.4; opacity: .7; }
.tile-vault { background: var(--accent); color: #fff; }

.tile-vault .tile-pic { width: 56%; right: -1%; top: 14%; }
@media (max-width: 1240px) { .tile-vault .tile-pic { width: 52%; top: 18%; } } /* larger, running off the right and bottom edges */
.tile-vault p { max-width: min(15em, 38cqw); opacity: .85; }
/* The two small tiles carry a smaller support line on desktop */
.tile-sub, .tile-vault p { font-size: clamp(13px, .95vw, 14px); }
/* Narrower desktop tiles: the card shrinks so it never meets the words */
.tile-vault .dot { color: #fff; }

/* 7. Pricing (concept) */
.pricing { padding-block: clamp(96px, 10vw, 160px) 40px; }
.center-title { text-align: center; }
.center-lede { text-align: center; margin: 16px auto 0; max-width: 54ch; color: var(--ink-soft); font-size: 20px; }
.billing { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 36px 0 48px; font-weight: 500; font-size: 16px; }
.switch { width: 52px; height: 30px; border-radius: 99px; border: 0; background: var(--ground-3); position: relative; cursor: pointer; transition: background-color .25s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 99px; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgb(0 0 0 / 20%); } /* taste-skill-ignore: control knob */
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"] span { transform: translateX(22px); }
/* Three plans as equal cards inside one soft panel; the middle one is white and lifted */
.plans { background: var(--ground-2); border-radius: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 12px; max-width: 1200px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; min-width: 0; padding: clamp(28px, 2.6vw, 40px); border-radius: 34px; }
.plan.featured { background: #fff; border: 1px solid #fff;
  box-shadow: 0px 85px 51px rgba(0, 0, 0, 0.01), 0px 38px 38px rgba(0, 0, 0, 0.02), 0px 9px 21px rgba(0, 0, 0, 0.03); } /* taste-skill-ignore: the owner's card depth */
/* A glossy ball with a soft glow of its own colour; nothing around it to crop */
.sphere { --c: #10b981; --hi: #a7f3d0; --lo: #065f46; display: block; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--hi) 0%, var(--c) 42%, var(--lo) 100%); /* taste-skill-ignore: the concept's glossy plan sphere */
  box-shadow: 0 10px 28px -4px color-mix(in srgb, var(--c) 60%, transparent), 0 0 40px 6px color-mix(in srgb, var(--c) 22%, transparent); } /* taste-skill-ignore: plan marker from the approved concept */
.sphere-violet { --c: #7c3aed; --hi: #ddd6fe; --lo: #3b0764; } /* taste-skill-ignore: the concept's violet plan sphere */
.sphere-orange { --c: #f97316; --hi: #fed7aa; --lo: #9a3412; }
.plan h3 { font-size: 22px; margin-top: 24px; color: var(--ink-soft); font-weight: 600; letter-spacing: -0.01em; }
.plan .price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; color: var(--ink-soft); font-size: 16px; white-space: nowrap; }
.plan .price strong { font-size: clamp(40px, 3.6vw, 54px); font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.plan .billed { font-size: 14px; color: var(--ink-soft); margin-top: 8px; min-height: 1.5em; }
.plan hr { border: 0; height: 1px; background: #e4e6ea; margin: 24px 0; } /* taste-skill-ignore: divider from the approved plan cards */
.plan h4 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; color: #4b4f56; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.plan .pill-button { margin-top: auto; justify-content: center; width: 100%; }
.fine { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 36px; }
.catalog-state { grid-column: 1 / -1; text-align: center; padding: 64px 24px; color: var(--ink-soft); list-style: none; }
.catalog-state button { margin-top: 16px; }

/* 8. FAQ (concept): plain questions, one open at a time */
.faq { padding-block: clamp(80px, 9vw, 150px); }
.faq-list { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) auto 0; max-width: 920px; display: grid; gap: 12px; }
.faq-list details { background: var(--ground-2); border-radius: 28px; border: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.faq-list details[open]:not(.is-closing) { background: #fff; border-color: #e4e6ea; }
.faq-list summary { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 20px 20px 28px; cursor: pointer; font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .answer { overflow: hidden; }
.faq-list .answer b { color: var(--ink); font-weight: 600; }
.faq-list { overflow-anchor: none; }
/* The plus is drawn from two bars, so it sits exactly in the middle; turned 45° it is the cross */
.faq-list summary::after { content: ''; --bar: #fff; width: 40px; height: 40px; border-radius: 99px;
  background: linear-gradient(var(--bar), var(--bar)) center / 14px 2px no-repeat, linear-gradient(var(--bar), var(--bar)) center / 2px 14px no-repeat, var(--ink); /* taste-skill-ignore: the plus is two bars, not a fill */
  transition: transform .42s var(--ease), background-color .3s; } /* taste-skill-ignore: the plus is two bars, not a fill */
.faq-list summary:hover::after { background-color: #000; }
.faq-list details[open]:not(.is-closing) summary::after { transform: rotate(135deg); --bar: var(--ink); background-color: var(--ground-2); }
.faq-list .answer { padding: 0 28px 24px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; max-width: 70ch; display: grid; gap: 10px; }

/* 9. Resources (concept) */
.resources { padding-block: clamp(80px, 9vw, 140px); }
.resource-row { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.resource { text-decoration: none; display: grid; gap: 22px; }
.resource-art { position: relative; border-radius: 28px; overflow: hidden; background: #f6f7fb; aspect-ratio: 600 / 340; display: block; }
/* The blob bleeds off the top right; its soft edge fades out inside the card */
.resource-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right top; transition: transform .6s var(--ease); }
.resource:hover .resource-art img { transform: translateY(6px) scale(1.04); }
.resource-art strong { position: absolute; left: 34px; bottom: 34px; font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -0.03em; }
.resource-art svg { position: absolute; right: 30px; bottom: 38px; width: 28px; height: 28px; transition: transform .25s var(--ease); }
.resource:hover .resource-art svg { transform: translateX(6px); }
.resource-q { font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; line-height: 1.35; color: var(--ink); max-width: 30ch; }
.resource-meta { margin-top: -14px; font-size: 14px; color: var(--ink-soft); }
.resource:hover .resource-q { text-decoration: underline; text-underline-offset: 3px; }
.resource-more { display: none; }
.resource-more .resource-art { background: var(--ink); color: #fff; }
.resources-all { display: flex; width: fit-content; margin: 40px auto 0; text-decoration: none; }
.resource-grid { margin-top: clamp(40px, 5vw, 64px); row-gap: 48px; }
.resources-index { padding-block: clamp(48px, 6vw, 96px) clamp(80px, 9vw, 140px); }
.resources-index h1 { font-size: var(--step-h2); }
/* Tablets: two by two, the fourth tile leads to every article */
@media (min-width: 761px) and (max-width: 1100px) {
  .resource-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .resource-row .resource-more { display: grid; }
  .resources > .frame > .resources-all { display: none; }
}
.dots { display: none; justify-content: center; gap: 8px; margin-top: 28px; }
.dots i { width: 12px; height: 12px; border-radius: 99px; background: var(--ground-3); }
.dots i.on { background: var(--accent); }

.lang-switch { padding: 6px 14px; border-radius: 99px; background: var(--ground-2); font-size: 15px; }
.lang-switch::after { display: none; }
/* Resource articles: a reading column, the app at the end, then more articles */
.article-page .site-header { position: static; color: var(--ink); }
.article-page .menu-toggle { background: var(--ground-2); }
.article-page .menu-toggle span { background: var(--ink); }
.article { padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 120px); }
.article-head, .article-body { max-width: 720px; margin-inline: auto; }
.article-back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.article-back::before { content: '←'; }
.article-back:hover { color: var(--ink); }
.article-head h1 { margin-top: 20px; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.035em; }
.article-lede { margin-top: 20px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-soft); }
.article-meta { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.article-art { position: relative; margin-top: 36px; border-radius: 28px; overflow: hidden; background: #f6f7fb; aspect-ratio: 720 / 280; }
.article-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right top; }
.article-art strong { position: absolute; left: 32px; bottom: 26px; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em; }
.article-body { margin-top: clamp(40px, 5vw, 56px); font-size: 18px; line-height: 1.7; color: #2f3237; }
.article-body h2 { margin: 48px 0 14px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.article-body h2:first-child { margin-top: 0; }
.article-body p + p, .article-body ul + p { margin-top: 16px; }
.article-body ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.article-body b { color: var(--ink); font-weight: 600; }
/* The 30%: how the app handles it. Words and stores on the left, a large phone rising from
   the bottom edge on the right; on phones the phone sits under the stores. */
.article-app { position: relative; margin: 64px calc(-1 * clamp(0px, (100vw - 720px) / 2 - var(--margin), 140px)) 0; overflow: hidden; border-radius: 44px; color: #fff; container-type: inline-size;
  background: linear-gradient(112deg, #0a1517 0%, #0d2629 34%, #22606a 52%, #0e2a2d 68%, #091719 100%); } /* taste-skill-ignore: the owner's banner, a diagonal teal light */
/* Every size is a share of the banner's width (cqw), measured from the owner's frame */
.article-app-words { position: relative; z-index: 2; padding: 6.1cqw 0 3.6cqw 6.1cqw; }
.article-app h2 { margin: 0; max-width: 50cqw; text-wrap: wrap; color: #fff; font-size: max(24px, 3.7cqw); line-height: 1.13; letter-spacing: -0.03em; }
.article-app ul { list-style: none; padding: 0; margin: 3.4cqw 0 2.9cqw; display: grid; gap: 1.3cqw; max-width: 50cqw; font-size: max(14px, 1.75cqw); line-height: 1.18; letter-spacing: -0.015em; color: rgb(255 255 255 / 86%); }
.article-app li { display: flex; gap: .55em; align-items: flex-start; }
.article-app li svg { display: none; }
.article-app li::before { content: ''; flex: none; width: 1.15em; height: 1.15em; margin-top: .15em; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13.5 9.5 19 20 5.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13.5 9.5 19 20 5.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.article-app .stores { --k: .075cqw; gap: 2.4cqw; flex-wrap: nowrap; }
.article-app .store { position: relative; background: rgb(4 10 22 / 45%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 20%); } /* taste-skill-ignore: glass store button on the dark banner */
.article-app-phone { position: absolute; inset: 0; pointer-events: none; }
.article-app-phone .device { --w: 29.8cqw; position: absolute; left: 61.7cqw; top: 5.6cqw; filter: drop-shadow(0 30px 40px rgb(0 0 0 / 45%)); } /* taste-skill-ignore: floating device */
.article-app-phone .device .glass img { width: 100%; height: 100%; }
@media (max-width: 760px) {
  .article-app { grid-template-columns: 1fr; margin-inline: 0; border-radius: 32px; background: linear-gradient(160deg, #0a1517 0%, #0d2629 38%, #22606a 60%, #0e2a2d 82%, #091719 100%); } /* taste-skill-ignore: the owner's banner */
  .article-app-words { padding: 36px 26px 0; }
  .article-app h2 { max-width: none; }
  .article-app ul { max-width: none; font-size: 15px; gap: 12px; }
  .article-app-phone { position: relative; inset: auto; }
  .article-app h2 { font-size: 30px; }
  .article-app ul { margin: 22px 0 24px; font-size: 15px; }
  .article-app .stores { --k: min(.62px, calc((100vw - 2 * var(--margin) - 52px) / 560)); position: relative; z-index: 3; }
  /* The phone starts just under the store buttons, peeking only slightly behind them */
  .article-app-phone { height: 294px; margin-top: 14px; }
  .article-app-phone .device { --w: 240px; top: 0; left: 50%; translate: -50% 0; }
}

.article-sources { margin-top: 56px; padding-top: 32px; border-top: 1px solid #e4e6ea; } /* taste-skill-ignore: separates the sources */
.article-sources h2 { margin: 0 0 12px; font-size: 18px; }
.article-sources ul { font-size: 16px; }
.article-sources a { color: var(--action); text-underline-offset: 3px; }
.article-sources p { margin-top: 20px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.article-more .resource-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.article-more { padding-block: clamp(56px, 7vw, 100px); background: var(--ground-2); border-radius: 56px 56px 0 0; }
@media (max-width: 760px) {
  .article-body { font-size: 17px; }
  .article-art { aspect-ratio: 4 / 3; border-radius: 24px; }
  .article-art strong { left: 22px; bottom: 18px; }
  .resource-row.resource-grid { grid-template-columns: 1fr; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .article-more { border-radius: 36px 36px 0 0; }
  .article-more .resource-row { grid-template-columns: 86%; max-width: none; margin-inline: calc(-1 * var(--margin)); }
}

/* Product: alternating rows of a picture card and its words */
.features { display: grid; gap: clamp(48px, 7vw, 104px); padding-bottom: clamp(72px, 9vw, 128px); max-width: calc(1180px + 2 * var(--margin)); margin-inline: auto; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature:nth-child(even) .feature-visual { order: 2; }
.feature-visual { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 36px; background: #F5F7F9; border: 1px solid #fff;
  box-shadow: 0 1px 2px rgb(16 24 40 / 4%), 0 24px 48px -28px rgb(16 24 40 / 22%); } /* taste-skill-ignore: the step cards' lift */
.feature-visual > img { position: absolute; }
.feature-snap .feature-visual > img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.feature-sort .feature-visual > img { width: 86%; right: -4%; bottom: -10%; }
.feature-tools .feature-visual { background: #161230; }
.feature-review .feature-visual { background: #BAE4FB; }
.feature-report .feature-visual { background: linear-gradient(180deg, #001A1D 50%, #007583 100%); border-color: #373737; } /* taste-skill-ignore: the owner's card fill */
.feature-report .feature-visual > img { left: 0; bottom: 0; width: 100%; }
.feature-report .report-glow { z-index: 0; }
/* Product cards 3 and 4: the carousel's iPhone frame holding real app screens */
.feature-phones { position: absolute; inset: 0; container-type: size; }
.feature-phones .device { position: absolute; left: 50%; bottom: -14%; translate: -50% 0; --w: min(46cqw, 52cqh); filter: drop-shadow(0 30px 40px rgb(0 0 0 / 35%)); } /* taste-skill-ignore: floating device */
.feature-phones .device .glass img { width: 100%; height: 100%; object-fit: cover; }
.feature-phones .device.side { --w: min(36cqw, 42cqh); bottom: -6%; opacity: .9; }
.feature-phones .device.side:first-child { left: 24%; rotate: -8deg; }
.feature-phones .device.side:last-child { left: 76%; rotate: 8deg; }
.feature-phones .device.front { z-index: 2; }
.feature-phones .device:only-child { --w: min(56cqw, 66cqh); bottom: -22%; }
.feature-n { width: 44px; font-size: 16px; }
.feature-words h2 { margin-top: 20px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.035em; }
.feature-words > p { margin-top: 16px; max-width: 34ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-soft); }
.feature-words ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; font-size: 16px; line-height: 1.45; color: #2f3237; }
.feature-words li { display: flex; gap: 12px; align-items: flex-start; }
.feature-words li svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature:nth-child(even) .feature-visual { order: 0; }
  .feature-visual { aspect-ratio: 4 / 3.4; border-radius: 28px; }
}

/* Error pages */
.error-page { padding-block: clamp(72px, 12vw, 160px) clamp(80px, 12vw, 160px); text-align: center; }
.error-code { font-size: clamp(88px, 16vw, 200px); line-height: .9; font-weight: 600; letter-spacing: -0.06em; color: #E8EBEE; }
.error-page h1 { margin-top: -0.2em; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.error-page .center-lede { max-width: 44ch; }
.error-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill-button.light { background: var(--ground-2); color: var(--ink); text-decoration: none; }
.pill-button.light:hover { background: var(--ground-3); }
.error-actions .pill-button { text-decoration: none; }

/* About: the made-in-Canada band */
.made-in-canada { padding-bottom: clamp(40px, 5vw, 64px); max-width: calc(880px + 2 * var(--margin)); margin-inline: auto; }
.made-panel { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: #FFF1F1; }
.made-panel h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.made-panel p:last-child { margin-top: 12px; max-width: 46ch; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.maple { width: clamp(84px, 11vw, 132px); height: auto; color: #D52B1E; }
@media (max-width: 560px) { .made-panel { grid-template-columns: 1fr; } .maple { width: 72px; } }

/* Company, support and legal pages: the article frame, a short hero, then content */
.page-hero { padding-block: clamp(48px, 7vw, 104px) clamp(32px, 4vw, 56px); max-width: calc(880px + 2 * var(--margin)); margin-inline: auto; }
.page-kicker { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.page-hero h1 { margin-top: 14px; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.page-lede { margin-top: 20px; max-width: 40ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-soft); }
.page-lede a { color: var(--ink); text-underline-offset: 3px; }
.page-body { padding-bottom: clamp(64px, 8vw, 120px); max-width: calc(880px + 2 * var(--margin)); margin-inline: auto; font-size: 17px; line-height: 1.65; color: #2f3237; }
.page-body h2 { margin: 48px 0 12px; font-size: clamp(22px, 2vw, 28px); color: var(--ink); }
.page-body p + p { margin-top: 14px; }
.page-note { margin-top: 32px; font-size: 15px; color: var(--ink-soft); }
.page-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.page-split h2:first-child { margin-top: 0; }
.page-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.page-facts li { padding: 20px 22px; border-radius: 22px; background: var(--ground-2); display: grid; gap: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.page-facts b { font-size: 17px; color: var(--ink); }
.page-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.page-steps li { padding: 28px; border-radius: 28px; background: var(--ground-2); }
.page-steps h2 { margin: 14px 0 8px; }
.page-steps a { display: inline-block; margin-top: 14px; font-weight: 500; color: var(--ink); text-underline-offset: 3px; }
.page-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px #e4e6ea; font-size: 15px; font-weight: 600; } /* taste-skill-ignore: step badge ring */
.page-cta { padding-bottom: clamp(64px, 8vw, 120px); }
.page-cta-panel { border-radius: 44px; padding: clamp(36px, 5vw, 64px); color: #fff; display: grid; gap: 28px; justify-items: start;
  background: linear-gradient(112deg, #0a1517 0%, #0d2629 34%, #22606a 52%, #0e2a2d 68%, #091719 100%); } /* taste-skill-ignore: the owner's banner, a diagonal teal light */
.page-cta-panel h2 { max-width: 18ch; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; }
.page-cta-panel .stores { --k: .72px; }
.page-cta-panel .store { position: relative; background: rgb(4 10 22 / 45%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 20%); } /* taste-skill-ignore: glass store button on the dark banner */
.help-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; max-width: calc(1120px + 2 * var(--margin)); }
.help-nav { position: sticky; top: 24px; align-self: start; display: grid; gap: 4px; font-size: 15px; }
.help-nav a { padding: 8px 12px; border-radius: 12px; color: var(--ink-soft); text-decoration: none; }
.help-nav a:hover { background: var(--ground-2); color: var(--ink); }
.help-group + .help-group { margin-top: 24px; }
.help-group h2 { margin-top: 0; }
.help-body .faq-list { margin-top: 16px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: grid; gap: 6px; align-content: start; padding: 26px; border-radius: 26px; background: var(--ground-2); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.45; }
a.contact-card:hover { background: var(--ground-3); }
.contact-card b { font-size: 19px; }
.contact-card span:last-child { color: var(--ink-soft); }
.contact-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.refer-box { display: flex; gap: 10px; flex-wrap: wrap; max-width: 640px; }
.refer-box input { flex: 1; min-width: 220px; border: 0; border-radius: 99px; padding: 16px 22px; background: var(--ground-2); font: inherit; font-size: 16px; }
.legal-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; max-width: calc(1120px + 2 * var(--margin)); }
.legal-toc { position: sticky; top: 24px; align-self: start; display: grid; gap: 2px; font-size: 14px; line-height: 1.35; }
.legal-toc p { margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.legal-toc a { padding: 6px 10px; border-radius: 10px; color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { background: var(--ground-2); color: var(--ink); }
.legal-pdf { margin-top: 12px; font-weight: 500; color: var(--action) !important; }
.legal-text section { scroll-margin-top: 24px; }
.legal-text section:first-child h2 { margin-top: 0; }
.legal-more { margin-top: 48px; display: flex; gap: 20px; font-size: 15px; }
.legal-more a { color: var(--ink); text-underline-offset: 3px; }
.news-action { display: grid; justify-items: start; gap: 16px; }
.news-result { font-size: 17px; color: var(--ink); }
.news-error { margin-top: 10px; font-size: 14px; color: #b42318; }
@media (max-width: 900px) {
  .page-split, .help-body, .legal-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .help-nav, .legal-toc { position: static; display: flex; flex-wrap: wrap; }
  .legal-toc p { width: 100%; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .page-steps { grid-template-columns: minmax(0, 1fr); }
  .page-cta-panel { border-radius: 32px; }
  .page-cta-panel .stores { --k: min(.62px, calc((100vw - 2 * var(--margin) - 72px) / 560)); flex-wrap: nowrap; }
}

/* 10. Closing (concept) */
.closing { padding-block: clamp(110px, 11vw, 160px) clamp(80px, 8vw, 120px); }
.closing-panel { position: relative; border-radius: 44px; color: #fff; container-type: inline-size;
  background: linear-gradient(112deg, #0a1517 0%, #0d2629 34%, #22606a 52%, #0e2a2d 68%, #091719 100%); } /* taste-skill-ignore: the owner's banner, a diagonal teal light */
/* Sizes follow the panel's width (cqw), in the proportions of the owner's frame */
.closing-copy { position: relative; z-index: 2; max-width: 56cqw; padding: 6.6cqw 0 5.4cqw 6.4cqw; display: grid; gap: 4.6cqw; }
.closing-copy h2 { max-width: 46cqw; text-wrap: wrap; }
.closing-copy p { font-weight: 500; font-size: max(14px, 1.5cqw); margin-top: -2.4cqw; }
.closing-phone { position: absolute; left: 57cqw; top: -7cqw; width: 39cqw; max-width: none; height: auto; filter: drop-shadow(30px 50px 40px rgb(0 0 0 / 30%)); } /* taste-skill-ignore: floating device */

/* 11. Newsletter + footer (concept) */
.news { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; padding-block: 72px 80px; }
.news > * { min-width: 0; }
.news h2 { max-width: 12ch; }
.news > div > p { margin-top: 28px; color: #3d4046; font-size: 16px; }
.news-form label { font-weight: 600; font-size: 16px; display: block; margin: 20px 0 14px; }
.news-row { display: flex; gap: 14px; }
.news-row input { flex: 1; width: 0; min-width: 0; border: 0; background: var(--ground-2); border-radius: 99px; padding: 14px 22px; font: inherit; font-size: 16px; }
.fine-left { margin-top: 18px; font-size: 14px; color: #3d4046; }
.news-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: visually hidden spam trap, not a rule */
.news-status { min-height: 1.4em; margin-top: 12px; font-size: 15px; color: var(--action); }
.news-status.is-error { color: #b42318; }
.news-row input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #b42318; } /* taste-skill-ignore: error ring on the email field */
.footer { padding-block: 64px 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.footer-brand img { width: 168px; }
.footer-brand p { margin-top: 18px; font-size: 16px; color: #3d4046; }
.footer-cols { display: grid; grid-template-columns: repeat(4, auto); gap: 48px; }
.footer-cols div { display: grid; gap: 14px; align-content: start; }
.footer-cols h3 { font-size: 16px; font-weight: 500; letter-spacing: 0; color: #3d4046; margin-bottom: 4px; }
.footer-cols a, .footer-cols button { text-decoration: none; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-size: 16px; color: #6b6f76; transition: color .2s; }
.footer-cols a:hover, .footer-cols button:hover { color: var(--ink); }
.footer-note { grid-column: 1 / -1; font-size: 14px; color: var(--ink-soft); }

/* Dialog */
dialog { border: 0; border-radius: 32px; padding: 36px; width: min(920px, calc(100vw - 32px)); max-height: calc(100svh - 48px); color: var(--ink); }
dialog::backdrop { background: rgb(5 12 14 / 70%); }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--ground-2); font-size: 26px; cursor: pointer; }
dialog h2 { font-size: 30px; padding-right: 48px; }
dialog p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; }
dialog .pill-button { margin-top: 24px; }

/* Entrances */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero-title .line > span { animation: rise 1s var(--ease) both; }
.l2 > span, .r2 > span { animation-delay: .11s; }
.l3 > span, .r3 > span { animation-delay: .22s; }
.r1 > span { animation-delay: .06s; }
.hero-foot { animation: fadeUp .9s var(--ease) .45s both; }
.hero-phone { animation: fadeIn 1.1s var(--ease) .3s both; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* Tablet */
@media (max-width: 1200px) {
  .plan { padding: 28px 24px; }
  .plan ul { font-size: 14px; }
}
@media (max-width: 1100px) {
  .sort-copy { grid-column: 1 / 7; }
  .record-wrap { grid-column: 7 / 13; }
  [data-ui].record { padding: 22px; }
  .footer { grid-template-columns: 1fr; }
  .resource-art strong { left: 22px; bottom: 22px; font-size: clamp(20px, 2.6vw, 30px); }
  .resource-art svg { right: 18px; bottom: 26px; width: 22px; height: 22px; }
}

@media (max-width: 1000px) {
  .plans { grid-template-columns: minmax(0, 1fr); border-radius: 32px; max-width: 640px; gap: 10px; padding: 10px; }
  /* Stacked plans stay short: sphere, name and price share one line, the features follow */
  .plan { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center; padding: 22px 24px; border-radius: 24px; }
  .plan .sphere { width: 28px; height: 28px; }
  .plan h3 { margin: 0; font-size: 20px; }
  .plan .price { margin: 0; font-size: 14px; }
  .plan .price strong { font-size: 30px; }
  .plan .billed { grid-column: 1 / -1; justify-self: end; margin-top: 2px; min-height: 0; font-size: 13px; }
  .plan .billed:empty { display: none; }
  .plan hr, .plan h4 { display: none; }
  .plan ul { grid-column: 1 / -1; margin: 14px 0 18px; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14px; }
  .plan .pill-button { grid-column: 1 / -1; padding-block: 13px; }
}
@media (max-width: 900px) {
  .sort-copy, .record-wrap { grid-column: 1 / 13; }
  .record-wrap { margin-top: 48px; }
  .picks { max-width: none; }
  .news { grid-template-columns: 1fr; gap: 8px; }
}

/* Tablets and phones: the words sit above, the carousel takes the height that is left */
@media (max-width: 1000px), (max-width: 1100px) and (orientation: portrait) {
  .under-stage { align-items: stretch; }
  .under-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; padding-block: clamp(76px, 10svh, 120px) 20px; row-gap: 0; }
  .under-copy h2 { font-size: clamp(36px, 6.4vw, 60px); }
  .slides { margin-top: clamp(18px, 3svh, 32px); }
  .slide-copy h3 { font-size: clamp(22px, 3.4vw, 30px); } .slide-copy h3::before { margin-bottom: 12px; width: 32px; }
  .slide-copy p { font-size: clamp(16px, 2.2vw, 19px); margin-top: 8px; max-width: 40ch; }
  .slide-dots { margin-top: 16px; }
  .carousel { --shift: 0px; height: auto; min-height: 0; perspective: 900px; --phone: min(54vw, 340px, calc((100svh - 420px) * 433 / 882)); }
}

/* Tablets: the words centre over the carousel, so the column and the phones share one axis */
@media (min-width: 561px) and (max-width: 1000px), (min-width: 561px) and (max-width: 1100px) and (orientation: portrait) {
  .under-grid { padding-top: clamp(84px, 9svh, 120px); }
  .under-copy { text-align: center; }
  .under-copy h2 { font-size: clamp(38px, 5.6vw, 56px); }
  .slides { margin-top: clamp(16px, 2svh, 24px); }
  .slide-copy h3 { font-size: clamp(21px, 2.9vw, 26px); }
  .slide-copy h3::before { margin-bottom: 10px; }
  .slide-copy h3::before { margin-inline: auto; }
  .slide-copy p { margin-inline: auto; max-width: 40ch; font-size: clamp(15px, 2vw, 17px); }
  .slide-dots { justify-content: center; }
  .slide-dots { margin-top: 12px; }
  .carousel { --phone: min(37vw, 420px, calc((100svh - 360px) * 433 / 882)); }
}

/* Tablets: the heading and line centre over the buttons and the record */
@media (min-width: 561px) and (max-width: 900px) {
  .sort-copy { text-align: center; }
  .sort-copy > p { margin-inline: auto; }
  .picks { margin-inline: auto; max-width: 640px; }
  .record-wrap { max-width: 640px; margin-inline: auto; width: 100%; }
}

/* Phones: the four buttons stay pinned while the record is in view, and the record is compact,
   so choosing and reading fit one screen */
@media (max-width: 560px) {
  .sort-copy > p { font-size: 16px; margin-top: 14px; }
  .picks { margin-top: 22px; gap: 8px; }
  .pick { gap: 2px; padding: 9px 14px; border-radius: 14px; }
  .pick b { white-space: nowrap; }
  .pick b { font-size: 14px; }
  .pick span { font-size: 12px; }
  .record-wrap { margin-top: 8px; }
  [data-ui].record { padding: 18px; font-size: 14px; border-radius: 22px; }
  [data-ui] .rec-head { padding-bottom: 12px; }
  [data-ui] .rec-head h3, [data-ui] .rec-total { font-size: 19px; }
  [data-ui] .rec-head p { font-size: 12px; }
  [data-ui] .rec-cat { padding: 10px 12px; border-radius: 16px; gap: 12px; }
  [data-ui] .rec-cat .cat-icon { width: 34px; height: 34px; }
  [data-ui] .rec-cat small { font-size: 12px; }
  [data-ui] dl div { padding: 7px 2px; }
  [data-ui] .rec-rule { margin-top: 12px; padding: 12px 14px; font-size: 14px; border-radius: 16px; }
}

/* Tablets: the review tile runs across the top, the other two share a row; the three
   together stay within one screen with the heading */
@media (max-width: 900px) {
  .tiles { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tile-review { grid-row: auto; grid-column: 1 / -1; height: clamp(360px, 40svh, 460px); container-type: inline-size; }
  /* Wide tile: the words on the right, a large phone on the left standing on the bottom edge */
  .tile-review { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; padding-left: 52%; }
  .tile-review h3, .tile-review p { margin-inline: 0; }
  .tile-review h3 { max-width: 8em; font-size: clamp(28px, 4.6cqw, 40px); }
  .tile-review .tile-pic { width: auto; height: 86%; left: 24%; translate: -50% 0; }
  .tile-reports, .tile-vault { height: clamp(300px, 32svh, 380px); }
  .tile-reports .tile-title, .tile-vault h3 { max-width: 6.5em; }
  .tile-reports .tile-pic { width: 128%; right: auto; left: 10%; bottom: -4%; }
  .tile-vault p { max-width: 16em; }
  .tile-vault .tile-pic { width: 80%; right: -16%; top: 46%; translate: none; } /* runs off the right and bottom edges */
}
@media (max-width: 560px) {
  .plan ul { grid-template-columns: 1fr; gap: 6px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { border-radius: 28px; }
  /* Phones: back to the centred layout, words above and the phone standing on the bottom edge */
  .tile-review { height: auto; min-height: 520px; display: block; padding-left: clamp(28px, 3vw, 44px); text-align: center; }
  .tile-review h3, .tile-review p { margin-inline: auto; }
  .tile-review h3 { max-width: 9em; }
  .tile-review .tile-pic { height: auto; width: 62%; left: 50%; translate: -50% 0; }
  .tile-reports, .tile-vault { height: auto; }
  .tile-reports { min-height: 340px; }
  .tile-reports .tile-pic { width: 118%; left: 8%; bottom: -6%; }
  .tile-vault { min-height: 380px; }
  .tile-vault p { max-width: 20em; }
  .tile-vault .tile-pic { width: 74%; right: -3%; top: 40%; } /* runs off the right edge */
}

/* Portrait tablets: the artboard would leave half the screen empty, so the hero stacks.
   The headline keeps the concept's stepped shape around a centre line, the phone takes
   the height that is left, and the stores and line share the foot. */
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .hero { --F: clamp(48px, min(7.6vw, 6.4svh), 104px); --k: clamp(.7px, calc(100vw / 1180), .92px); min-height: 100svh; }
  .hero-grid { display: flex; flex-direction: column; padding-top: clamp(112px, 12svh, 150px); padding-bottom: clamp(32px, 4svh, 56px); }
  .hero-stage { position: static; translate: none; width: auto; height: auto; flex: 1; display: flex; flex-direction: column; align-items: center; }
  .hero-title { position: static; display: grid; grid-template-columns: auto auto; column-gap: .3em; font-size: var(--F); }
  .hero-title .line { position: static; }
  .l1, .l2, .l3 { grid-column: 1; justify-self: end; } .r1, .r2, .r3 { grid-column: 2; justify-self: start; }
  .l1, .r1 { grid-row: 1; } .l2, .r2 { grid-row: 2; } .l3, .r3 { grid-row: 3; }
  /* Height left after the header, the three title lines, the gaps and the foot */
  .hero-phone { position: static; width: auto; max-width: 64vw; margin-top: clamp(20px, 3svh, 40px);
    height: max(300px, calc(100svh - clamp(112px, 12svh, 150px) - var(--F) * 3.36 - clamp(20px, 3svh, 40px) - 2.6em - 108 * var(--k) - 2 * clamp(20px, 2.6svh, 36px) - clamp(32px, 4svh, 56px))); font-size: clamp(17px, 2.2vw, 22px); }
  .hero-foot { margin-top: clamp(20px, 2.6svh, 36px); flex-direction: column; align-items: center; gap: clamp(20px, 2.6svh, 36px); }
  .hero-foot .stores { --k: inherit; flex-wrap: nowrap; gap: calc(22 * var(--k)); }
  .hero-lede { max-width: 34ch; text-align: center; font-size: clamp(17px, 2.2vw, 22px); }
}

/* Phone */
@media (max-width: 760px) {
  :root { --radius: 26px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-app { margin-left: auto; padding: 9px 16px; font-size: 15px; }
  .header-app svg { display: none; }
  .header-row { height: 84px; }
  .brand img { width: 124px; }
  /* The stacked hero from the tablet block, sized for a phone: the title fits the width,
     both store buttons fit side by side (270 + 22 + 265 = 557 concept pixels). */
  .hero { --F: min(9.2vw, 6.2svh); --k: min(.7px, calc((100vw - 2 * var(--margin)) / 560)); }
  .hero-grid { padding-top: 96px; }
  .hero-title { column-gap: .26em; }
  .hero-phone { max-width: 78vw; height: max(220px, calc(100svh - 96px - var(--F) * 3.36 - 2.6em - 108 * var(--k) - 3 * clamp(20px, 2.6svh, 36px) - clamp(32px, 4svh, 56px))); font-size: 16px; }
  .hero-lede { font-size: 16px; }
  .closing .stores { --k: min(.66px, calc((100vw - 2 * var(--margin) - 56px) / 560)); gap: 12px; }
  .under-copy h2, .sort-copy h2 { font-size: 9.4vw; }
  [data-ui].record { padding: 22px; min-height: 0; }
  .faq-list summary { gap: 14px; padding: 16px 14px 16px 20px; font-size: 16px; }
  .faq-list summary::after { width: 34px; height: 34px; }
  .faq-list .answer { padding: 0 20px 20px; font-size: 15px; }
  .faq-list details { border-radius: 22px; }
  .resource-row { grid-template-columns: 86%; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); scroll-padding-inline: var(--margin); scrollbar-width: none; }
  .resource { scroll-snap-align: start; }
  .dots { display: flex; }
  .closing-panel { border-radius: 32px; overflow: hidden; background: linear-gradient(160deg, #0a1517 0%, #0d2629 38%, #22606a 60%, #0e2a2d 82%, #091719 100%); } /* taste-skill-ignore: the owner's banner */
  .closing-copy { max-width: none; padding: 40px 28px 0; gap: 24px; }
  .closing-copy h2 { max-width: none; }
  .closing-copy p { font-size: 15px; margin-top: -6px; }
  .closing-phone { position: relative; left: auto; top: auto; display: block; width: min(86%, 360px); margin: 16px auto -18%; }
  .news { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, auto); }
}

/* Large phones and small tablets */
@media (min-width: 521px) and (max-width: 760px) {
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--margin)); padding: 4px var(--margin) 80px; scroll-padding-inline: var(--margin); margin-bottom: -76px; }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
  .picks { grid-template-columns: 1fr 1fr; }
}

/* Phones: the numbered steps and the proof cards become swipeable rows, the next card
   peeking in, like the resources row */
@media (max-width: 520px) {
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--margin)); padding: 4px var(--margin) 80px; scroll-padding-inline: var(--margin); margin-bottom: -76px; }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
}

/* In the swipe rows the card depth is kept short, so it fades out inside the row padding */
@media (max-width: 760px) {
  .step { box-shadow: 0px 40px 30px rgba(0, 0, 0, 0.006), 0px 22px 22px rgba(0, 0, 0, 0.01), 0px 6px 14px rgba(0, 0, 0, 0.02); } /* taste-skill-ignore: the owner's card shadow, shortened */
}

/* The smallest phones: the price takes its own line */
@media (max-width: 380px) {
  .plan { grid-template-columns: auto 1fr; }
  .plan .price { grid-column: 1 / -1; margin-top: 10px; }
  .plan .billed { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.mobile-nav[hidden] { display: none; }
.closing-copy h2 { font-size: max(30px, 4.6cqw); line-height: 1.08; }

/* Cookie notice */
.cookie-notice { position: fixed; z-index: 60; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 20px; max-width: 560px; padding: 16px 16px 16px 24px; border-radius: 22px; background: var(--ink); color: #fff; font-size: 15px; line-height: 1.45; box-shadow: 0 18px 50px rgb(0 0 0 / 28%); animation: noticeIn .5s var(--ease) .6s both; } /* taste-skill-ignore: floating overlay above the page */
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice .pill-button { flex: none; background: #fff; color: var(--ink); padding: 10px 20px; }
.cookie-notice.is-leaving { animation: noticeOut .3s var(--ease) both; }
@keyframes noticeIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes noticeOut { to { opacity: 0; transform: translateY(16px); } }
@media (max-width: 640px) {
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 18px; font-size: 14px; }
  .cookie-notice .pill-button { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cookie-notice, .cookie-notice.is-leaving { animation-duration: .01s; animation-delay: 0s; } }

/* Home page language switch (French home fork): the pill sits on the dark hero, not on white */
body:not(.article-page) .site-header .lang-switch { background: rgb(255 255 255 / 14%); }
.plan h3 { white-space: nowrap; }

/* Store links: once a store listing link is set in the admin, its button is rendered as a link; it must look the same as the preview button */
a.store { text-decoration: none; }

/* Language toggle: EN/FR in the header bar from tablet up; phones use the link in the menu */
.lang-toggle { flex: none; display: inline-flex; align-items: center; padding: 3px; border-radius: 99px; background: rgb(255 255 255 / 14%); font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1; }
.lang-toggle > * { padding: 7px 10px; border-radius: 99px; color: inherit; text-decoration: none; }
.lang-toggle a { opacity: .72; transition: opacity .2s, background-color .2s; }
.lang-toggle a:hover { opacity: 1; }
.lang-toggle [aria-current] { background: #fff; color: var(--ink); }
.article-page .lang-toggle { background: var(--ground-2); }
.article-page .lang-toggle [aria-current] { background: var(--ink); color: #fff; }
.mobile-nav .lang-switch { display: none; }
@media (max-width: 1020px) {
  .lang-toggle { margin-left: auto; }
  .lang-toggle + .header-app { margin-left: 0; }
}
@media (max-width: 600px) {
  .lang-toggle { display: none; }
  .lang-toggle + .header-app { margin-left: auto; }
  .mobile-nav .lang-switch { display: block; }
}

/* Phones: the header holds the logo, "Open app" and the menu; tighten it so nothing runs off */
@media (max-width: 600px) {
  .header-row { gap: 10px; }
  .brand img { width: 108px; }
  .header-app { padding: 9px 14px; font-size: 14px; }
  .menu-toggle { width: 40px; height: 40px; }
  .menu-toggle span { left: 11px; right: 11px; }
  .menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 23px; }
}
