/* grainios.com — the one stylesheet.
   SOURCE lives in ops/website/src/css/site.css. ops/website/build.py copies it
   to Website/static/site.<hash>.css and rewrites every page to that name, so it
   can be cached for a year. Edit the source, never the hashed copy.
   Fonts: Nunito and Libre Franklin, SIL Open Font License 1.1, self-hosted
   (the CSP allows fonts from this origin only). */

@font-face { font-family: "Nunito Grain"; src: url("/static/nunito.ba344451ea.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Franklin Grain"; src: url("/static/libre-franklin.52e605852c.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --linen: #F8F4EC;
  --oat: #EFE8DA;
  --paper: #FFFDF9;
  --app-bg: #F6F2EA;
  --ink: #1E231B;
  --ink-2: #4B5246;
  --ink-3: #5A6155;
  --rule: #DDD5C6;
  --rule-soft: #E9E2D5;
  --sage: #7A8F6E;
  --sage-ink: #45593D;
  --sage-deep: #33452D;
  --sage-tint: #E6ECE0;
  --band: #3F5238;
  --band-text: #F8F4EC;
  --band-dim: #D9E0D2;
  --marker: #F1DD9C;
  --exc: #2B7245;  --exc-ring: #4E9A68;
  --good: #437037; --good-ring: #7AA563;
  --fair: #845C14; --fair-ring: #D09A3E;
  --poor: #A6423C; --poor-ring: #C8625B;
  --display: ui-rounded, "SF Pro Rounded", "Nunito Grain", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Franklin Grain", system-ui, sans-serif;
  --label: "Franklin Grain", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 40px);
  --maxw: 1180px;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
/* `hidden` must win over any component's display rule (.panel is a grid). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Reduced motion switches every CSS animation and transition off, site-wide;
   the GSAP scenes in home.js only run under (prefers-reduced-motion: no-preference). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--sage-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--sage-deep); }
:focus-visible { outline: 3px solid var(--sage-ink); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--linen); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--linen); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }
main > section, main [id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Type scale ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.sec-head { display: grid; gap: 18px; max-width: 40rem; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head p { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 36em; }
.h3 { font-family: var(--display); font-weight: 750; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--sage-ink); color: #fff; }
.btn-primary:hover { background: var(--sage-deep); color: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-light { background: var(--band-text); color: var(--band); }
.btn-light:hover { background: #fff; color: var(--sage-deep); }
.btn[disabled] { opacity: .65; cursor: progress; }

.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 470px; }
.waitlist .field { flex: 1 1 220px; min-width: 0; }
.waitlist input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 20px; border-radius: 999px;
  border: 1px solid #857B67; background: var(--paper); color: var(--ink);
  font: 16px var(--text);
}
.waitlist input::placeholder { color: #6B7165; }
.waitlist input:focus-visible { outline-offset: 2px; }
.waitlist .btn { min-height: 52px; flex: 0 0 auto; }
.waitlist .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .waitlist .btn { flex: 1 1 100%; } }
.form-note { flex-basis: 100%; min-height: 1.5em; margin: 2px 0 0 6px; font-size: 14px; color: var(--ink-3); }
.form-note a { color: inherit; }
.form-note.is-alert { color: var(--poor); }
.form-note.is-ok { color: var(--sage-ink); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 236, 0.94);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; margin-right: 16px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-button {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
  border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer;
}
.menu-button svg { width: 20px; height: 20px; }
.menu-button[aria-expanded="true"] .i-open, .menu-button[aria-expanded="false"] .i-close { display: none; }
.site-menu { border-top: 1px solid var(--rule); }
.site-menu ul { list-style: none; margin: 0; padding: 6px 0 18px; }
.site-menu a { display: block; padding: 14px 0; font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-soft); }
.site-menu a[aria-current="page"] { color: var(--sage-ink); font-weight: 650; }
@media (max-width: 899px) {
  .nav-links { display: none; }
  .menu-button { display: inline-flex; }
  .header-cta { margin-left: auto; }
}
@media (min-width: 900px) { .site-menu { display: none !important; } }
@media (max-width: 359px) { .header-cta { padding: 0 12px; font-size: 14px; } .site-header .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* Without JavaScript the menu button can't open anything, so phones get the
   list itself, under a header that no longer sticks. */
html:not(.js) .site-header { position: static; }
html:not(.js) .menu-button { display: none; }
@media (max-width: 899px) {
  html:not(.js) .site-menu[hidden] { display: block !important; }
  html:not(.js) .site-menu ul { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 0 14px; }
  html:not(.js) .site-menu a { padding: 6px 0; font-size: 16px; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--rule); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--sage-ink); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px var(--sage-tint); }
.hero h1 {
  margin: 20px 0 22px;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(42px, 6.2vw, 82px); line-height: 0.98; letter-spacing: -0.03em;
  max-width: 11.5ch;
}
.lede { font-size: clamp(17px, 1.55vw, 20px); color: var(--ink-2); max-width: 33em; margin-bottom: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 26px 0 0; padding: 0; font-size: 15px; color: var(--ink-2); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 17px; height: 17px; color: var(--sage-ink); flex: none; }
.hero-visual { display: flex; justify-content: center; min-width: 0; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { padding-top: 8px; }
}

/* ---------- Phone ---------- */
.phone {
  position: relative; width: min(318px, 78vw); aspect-ratio: 9 / 19.3; flex: none;
  border-radius: 54px; padding: 11px;
  background: linear-gradient(150deg, #34382f, #111310 55%);
  box-shadow: inset 0 0 0 1.5px #4a4f44, 0 50px 90px -40px rgba(42, 52, 32, 0.55), 0 18px 34px -18px rgba(42, 52, 32, 0.35);
}
.screen { position: absolute; inset: 11px; border-radius: 44px; overflow: hidden; background: var(--app-bg); container-type: inline-size; isolation: isolate; }
.home-bar { position: absolute; bottom: 1.4%; left: 50%; width: 36%; height: 1%; min-height: 4px; transform: translateX(-50%); border-radius: 999px; background: #1F2A1C; opacity: .85; z-index: 7; }
.island { position: absolute; top: 2.4%; left: 50%; width: 30%; height: 3.6%; transform: translateX(-50%); border-radius: 999px; background: #050605; z-index: 8; }

/* ---------- App UI (sized in design px via --u) ---------- */
.screen, .result { --u: calc(100cqi / 300); }
.app { position: absolute; inset: 0; display: flex; flex-direction: column; color: #1F2A1C; font-family: var(--text); font-size: calc(13 * var(--u)); line-height: 1.35; }
.statusbar { flex: none; height: calc(46 * var(--u)); display: flex; align-items: center; justify-content: space-between; padding: calc(10 * var(--u)) calc(28 * var(--u)) 0; font-weight: 600; font-size: calc(14 * var(--u)); font-variant-numeric: tabular-nums; }
.statusbar .sb { display: flex; align-items: center; gap: calc(5 * var(--u)); }
.statusbar svg { height: calc(11 * var(--u)); width: auto; }
.app-top { flex: none; display: flex; justify-content: space-between; align-items: center; padding: calc(6 * var(--u)) calc(14 * var(--u)) 0; }
.pill { display: inline-flex; align-items: center; gap: calc(9 * var(--u)); height: calc(30 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: 999px; background: rgba(255, 255, 255, 0.86); border: 1px solid #E6DFD1; color: var(--sage-ink); font-size: calc(12.5 * var(--u)); font-weight: 500; }
.pill svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.shot { flex: none; height: calc(134 * var(--u)); display: grid; place-items: center; margin-top: calc(2 * var(--u)); }
.shot svg { height: 100%; width: auto; }
.card { background: #fff; border: 1px solid #ECE5D8; border-radius: calc(18 * var(--u)); padding: calc(12 * var(--u)) calc(14 * var(--u)); }
.app .card { margin: calc(8 * var(--u)) calc(14 * var(--u)) 0; }
.p-name { font-weight: 650; font-size: calc(16 * var(--u)); line-height: 1.2; letter-spacing: -0.005em; }
.p-meta { margin-top: calc(3 * var(--u)); color: #5E665A; font-size: calc(11.5 * var(--u)); }
.chip { display: inline-flex; align-items: center; gap: calc(5 * var(--u)); margin-top: calc(8 * var(--u)); padding: calc(3 * var(--u)) calc(10 * var(--u)); border-radius: 999px; background: #F2EEE5; color: #474E42; font-size: calc(10.5 * var(--u)); font-weight: 600; }
.sc-head { display: flex; align-items: center; justify-content: space-between; font-size: calc(9.5 * var(--u)); letter-spacing: 0.09em; font-weight: 700; text-transform: uppercase; color: #3B4436; }
.sc-head .region { letter-spacing: 0.02em; text-transform: none; font-weight: 600; color: #5E665A; }
.ring { position: relative; width: calc(100 * var(--u)); aspect-ratio: 1; margin: calc(10 * var(--u)) auto calc(6 * var(--u)); }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: #EFE9DD; }
.ring .arc { stroke: var(--ring-color); }
.ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--display); font-weight: 800; font-size: calc(32 * var(--u)); line-height: 1; color: var(--score-color); font-variant-numeric: tabular-nums; }
.ring-num small { display: block; margin-top: calc(5 * var(--u)); font-family: var(--text); font-size: calc(8.5 * var(--u)); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.verdict { text-align: center; font-weight: 650; font-size: calc(13.5 * var(--u)); color: var(--score-color); }
.reasons { list-style: none; margin: calc(10 * var(--u)) 0 0; padding: 0; border-top: 1px solid #EFE9DE; }
.reasons li { display: grid; grid-template-columns: calc(17 * var(--u)) minmax(0, 1fr) auto; column-gap: calc(8 * var(--u)); align-items: start; padding: calc(7 * var(--u)) 0; border-bottom: 1px solid #EFE9DE; }
.reasons li:last-child { border-bottom: 0; padding-bottom: 0; }
.sign { width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin-top: calc(1 * var(--u)); border-radius: 50%; display: grid; place-items: center; color: #fff; }
.sign svg { width: 70%; height: 70%; }
.sign.plus { background: var(--exc-ring); }
.sign.minus { background: var(--poor-ring); }
.sign.info { background: #A39C8E; }
.r-label { font-weight: 600; font-size: calc(12.5 * var(--u)); }
.r-val { font-weight: 650; font-size: calc(12.5 * var(--u)); font-variant-numeric: tabular-nums; }
.r-note { grid-column: 2 / 4; margin-top: calc(1 * var(--u)); color: #5E665A; font-size: calc(10.5 * var(--u)); }
.t-exc { --score-color: var(--exc); --ring-color: var(--exc-ring); }
.t-good { --score-color: var(--good); --ring-color: var(--good-ring); }
.t-fair { --score-color: var(--fair); --ring-color: var(--fair-ring); }
.t-poor { --score-color: var(--poor); --ring-color: var(--poor-ring); }

/* scan overlay (only with JS; hidden again after the intro or by the failsafe) */
.scan { display: none; }
.js .scan {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(18 * var(--u));
  background: radial-gradient(120% 80% at 50% 40%, #1d231a, #0b0d0a); color: #fff; font-family: var(--text);
  animation: scan-failsafe .4s ease 4.5s forwards;
}
.js .scan.is-done { display: none; }
@keyframes scan-failsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .js .scan { display: none; } }
.scan-title { font-size: calc(13 * var(--u)); font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.scan-frame { position: relative; width: calc(214 * var(--u)); height: calc(128 * var(--u)); display: grid; place-items: center; }
.scan-frame > svg.corners { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, 0.9); }
.barcode { width: calc(168 * var(--u)); height: calc(84 * var(--u)); border-radius: calc(6 * var(--u)); background: #fff; display: grid; grid-template-rows: 1fr auto; padding: calc(9 * var(--u)) calc(12 * var(--u)) calc(5 * var(--u)); }
.bars { background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px, #111 12px 13px, transparent 13px 16px, #111 16px 18px, transparent 18px 19px); }
.digits { text-align: center; color: #111; font: 600 calc(9 * var(--u))/1.4 var(--label); letter-spacing: 0.18em; }
.scan-line { position: absolute; left: 6%; right: 6%; top: 20%; height: 2px; border-radius: 2px; background: #A9D98B; box-shadow: 0 0 14px 3px rgba(169, 217, 139, 0.65); }
.scan-hint { font-size: calc(11.5 * var(--u)); color: rgba(255, 255, 255, 0.72); }
.scan-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }

/* ---------- Ingredients ---------- */
.ingredients { background: var(--oat); }
.ing-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pack { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.pack-panel { background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 22px 22px 18px; box-shadow: 0 30px 60px -40px rgba(42, 52, 32, 0.45); }
.pack-text { font-family: var(--label); font-size: clamp(15px, 1.35vw, 17px); font-weight: 500; line-height: 1.7; text-transform: uppercase; letter-spacing: 0.02em; color: #1A1D17; }
.pack-text b, .pack-contains b { font-weight: 850; }
.pack-contains { margin-top: 12px; font-family: var(--label); font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; }
.tok { padding: 0 1px; border-radius: 2px; background-image: linear-gradient(var(--marker), var(--marker)); background-repeat: no-repeat; background-position: 0 88%; background-size: 0% 46%; transition: background-size .45s ease; }
.tok.is-active { background-size: 100% 46%; }
.pack-progress { margin-top: 16px; height: 3px; background: var(--rule-soft); border-radius: 3px; overflow: hidden; }
.pack-progress span { display: block; height: 100%; background: var(--sage-ink); transform-origin: 0 50%; transform: scaleX(0); }
.pack figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.notes { list-style: none; margin: 0; padding: 0; }
.note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 24px 0; border-top: 1px solid var(--rule); }
.note:last-child { border-bottom: 1px solid var(--rule); }
.note-term { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2vw, 25px); line-height: 1.2; letter-spacing: -0.01em; }
.note-term span { background-image: linear-gradient(var(--marker), var(--marker)); background-repeat: no-repeat; background-position: 0 88%; background-size: 0% 40%; transition: background-size .45s ease; }
.note.is-active .note-term span { background-size: 100% 40%; }
.note-body { grid-column: 1 / 2; color: var(--ink-2); max-width: 34em; }
.effect { grid-column: 2; grid-row: 1 / 3; align-self: start; font-family: var(--label); font-weight: 700; font-size: 14px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.effect.plus { color: var(--exc); border-color: #C9DDCB; background: #EEF5EE; }
.effect.minus { color: var(--poor); border-color: #EBCFCB; background: #FBF0EE; }
.stance { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--fair); }
.ing-foot { margin-top: 22px; font-size: 15px; color: var(--ink-3); max-width: 40em; }
@media (prefers-reduced-motion: reduce) { .tok, .note-term span { transition: none; } }
@media (max-width: 899px) {
  .ing-grid { grid-template-columns: minmax(0, 1fr); }
  .pack { position: static; }
}
@media (max-width: 479px) {
  .note { grid-template-columns: minmax(0, 1fr); }
  .effect { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* ---------- Categories ---------- */
.tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 36px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: var(--oat); border: 1px solid var(--rule-soft); scroll-snap-type: x proximity; scroll-padding-inline: 5px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .tab { scroll-snap-align: start; }
.tabs.can-scroll { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.tabs.can-scroll.at-end { -webkit-mask-image: none; mask-image: none; }
.tab { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font: 600 15px/1 var(--text); cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(42, 52, 32, 0.12), 0 0 0 1px var(--rule-soft); }
.panel { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.result { container-type: inline-size; width: 100%; max-width: 380px; }
.result .card { padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(12 * var(--u)); border-radius: calc(22 * var(--u)); box-shadow: 0 30px 60px -44px rgba(42, 52, 32, 0.5); font-size: calc(13 * var(--u)); color: #1F2A1C; }
.result-top { display: grid; grid-template-columns: calc(64 * var(--u)) minmax(0, 1fr); gap: calc(12 * var(--u)); align-items: center; padding-bottom: calc(10 * var(--u)); border-bottom: 1px solid #EFE9DE; }
.result-top .thumb { width: calc(64 * var(--u)); height: calc(64 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--app-bg); display: grid; place-items: center; }
.result-top .thumb svg { width: 88%; height: 88%; }
.result-top .chip { margin-top: calc(6 * var(--u)); }
.result .sc-row { display: grid; grid-template-columns: calc(96 * var(--u)) minmax(0, 1fr); gap: calc(14 * var(--u)); align-items: center; padding: calc(10 * var(--u)) 0 calc(4 * var(--u)); }
.result .ring { width: calc(92 * var(--u)); margin: 0; }
.result .ring-num { font-size: calc(30 * var(--u)); }
.result .ring-num small { display: none; }
.result .verdict { text-align: left; font-size: calc(15 * var(--u)); }
.result .verdict-note { margin-top: calc(3 * var(--u)); font-size: max(12px, calc(12 * var(--u))); color: #5E665A; }
.result .p-name { font-size: max(15px, calc(17 * var(--u))); }
.result .p-meta { font-size: max(12px, calc(12.5 * var(--u))); }
.result .chip { font-size: max(12px, calc(10.5 * var(--u))); }
.result .r-label, .result .r-val { font-size: max(13px, calc(13.5 * var(--u))); }
.result .r-note { font-size: max(12px, calc(12 * var(--u))); }
.rules h3 { margin-bottom: 14px; }
.rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 34em; }
.rules li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.rules li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--sage-ink); }
.rules .src { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 799px) { .panel { grid-template-columns: minmax(0, 1fr); } .result { justify-self: center; } }
/* Without JavaScript the tabs can't switch, so every category is shown in turn */
html:not(.js) #categories .tabs { display: none; }
html:not(.js) #categories .panel[hidden] { display: grid !important; margin-top: 56px; }

/* ---------- Score facts ---------- */
.score { background: var(--linen); }
.score-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: clamp(40px, 7vw, 110px); align-items: start; }
.score-copy { display: grid; gap: 18px; max-width: 34rem; }
.score-copy .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); }
.score-copy p { color: var(--ink-2); }
.score-copy .overlay { padding: 18px 20px; border-radius: 16px; background: var(--sage-tint); color: var(--ink); }
.score-copy .meta { font-size: 15px; color: var(--ink-3); }
.facts-panel { margin: 0; background: var(--paper); border: 2px solid var(--ink); padding: 10px 14px 12px; font-family: var(--label); color: #121510; }
.fp-title { font-family: var(--label); font-weight: 900; font-size: clamp(38px, 4vw, 46px); line-height: 1; letter-spacing: -0.02em; }
.fp-sub { margin-top: 6px; font-size: 15px; }
.fp-rule { background: #121510; }
.fp-rule.thin { height: 1px; }
.fp-rule.mid { height: 5px; }
.fp-rule.thick { height: 11px; }
.fp-serving { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0 6px; font-weight: 800; font-size: 17px; border-top: 1px solid #121510; margin-top: 8px; }
.fp-amount { padding: 5px 0 3px; font-weight: 800; font-size: 13px; }
.fp-rows { margin: 0; }
.fp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 6px 0; border-top: 1px solid #121510; }
.fp-row dt { font-weight: 800; font-size: 15.5px; }
.fp-row dt span { display: block; font-weight: 500; font-size: 13.5px; color: #3E4439; }
.fp-row.sub dt { padding-left: 16px; font-weight: 500; }
.fp-row dd { margin: 0; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.fp-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0 8px; }
.fp-total span:first-child { font-weight: 900; font-size: 22px; }
.fp-total b { font-weight: 900; font-size: 40px; line-height: 1; color: var(--score-color, var(--ink)); font-variant-numeric: tabular-nums; }
.fp-total small { font-size: 16px; font-weight: 700; }
.fp-foot { padding-top: 6px; font-size: 13px; line-height: 1.45; color: #3E4439; }
@media (max-width: 899px) { .score-grid { grid-template-columns: minmax(0, 1fr); } .facts-panel { max-width: 460px; } }

/* ---------- Regions ---------- */
.regions { background: var(--oat); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 28px; background: var(--linen); border: 1px solid var(--rule); margin-bottom: 28px; max-width: 100%; }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 15px/1.1 var(--text); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--linen); }
html:not(.js) .seg { display: none; }
.reg-table { border-top: 2px solid var(--ink); }
.reg-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.rn { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.2; }
.rk { margin-top: 2px; font-size: 15px; color: var(--ink-3); }
.reg-status { display: grid; gap: 10px; }
.st { display: none; color: var(--ink-2); }
.st-label { display: none; font-weight: 700; color: var(--ink); }
.show-us .st-us, .show-eu .st-eu { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: baseline; }
/* Without JavaScript the switch can't flip, so both regions are listed, each named */
html:not(.js) .st { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: baseline; }
html:not(.js) .st-label { display: inline; }
.stc { font-family: var(--label); font-weight: 750; font-size: 13.5px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.stc.allowed { color: var(--ink-2); border-color: var(--rule); background: var(--linen); }
.stc.banned { color: var(--poor); border-color: #E6C7C2; background: #FBF0EE; }
.stc.warn { color: var(--fair); border-color: #E7D3AE; background: #FBF4E6; }
.reg-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.reg-list li { padding: 7px 14px; border-radius: 999px; background: var(--linen); border: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.reg-list b { color: var(--ink); font-weight: 650; }
.reg-src { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 699px) { .reg-row { grid-template-columns: minmax(0, 1fr); } .show-us .st-us, .show-eu .st-eu, html:not(.js) .st { grid-template-columns: minmax(0, 1fr); justify-items: start; } }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; background: var(--paper); border: 1px solid var(--rule-soft); overflow: hidden; }
.feature-ui { min-height: 196px; padding: 22px; background: var(--app-bg); border-bottom: 1px solid var(--rule-soft); display: grid; align-content: center; gap: 10px; font-size: 14px; color: #1F2A1C; }
.feature-copy { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.feature-copy p { color: var(--ink-2); font-size: 16px; }
.tag { display: inline-block; vertical-align: 3px; margin-left: 6px; font-family: var(--text); justify-self: start; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--sage-ink); background: var(--sage-tint); padding: 3px 9px; border-radius: 999px; }
.mini { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: #fff; border: 1px solid #ECE5D8; border-radius: 14px; padding: 10px 12px; }
.mini .thumb { width: 40px; height: 40px; border-radius: 10px; background: var(--app-bg); display: grid; place-items: center; }
.mini .thumb svg { width: 34px; height: 34px; }
.mini b { display: block; font-weight: 650; font-size: 14px; line-height: 1.25; }
.mini span { font-size: 12.5px; color: #5E665A; }
.mini .score-pill { font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.2; min-width: 42px; text-align: center; padding: 4px 8px; border-radius: 999px; color: #fff; }
.mini .score-pill.poor { background: var(--poor); }
.mini .score-pill.good { background: var(--good); }
.mini .score-pill.fair { background: var(--fair); }
.mini .score-pill.exc { background: var(--exc); }
.swap-arrow { justify-self: center; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid #ECE5D8; color: var(--sage-ink); }
.swap-arrow svg { width: 16px; height: 16px; }
.notif { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; background: rgba(255, 255, 255, 0.92); border: 1px solid #ECE5D8; border-radius: 18px; padding: 12px; box-shadow: 0 12px 24px -18px rgba(42, 52, 32, 0.5); }
.notif-icon { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; }
.notif-icon svg { width: 100%; height: 100%; }
.notif-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #5E665A; }
.notif b { display: block; font-size: 14px; line-height: 1.3; }
.notif p { font-size: 13px; line-height: 1.35; color: #3E4439; }
.people { display: flex; flex-wrap: wrap; gap: 8px; }
.person { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid #ECE5D8; font-size: 13px; font-weight: 600; }
.person i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--sage-ink); }
.person:nth-child(2) i { background: #8A5A40; }
.person:nth-child(3) i { background: #4D6A7F; }
.flag { display: flex; gap: 8px; align-items: center; background: #FBF0EE; border: 1px solid #EBCFCB; color: var(--poor); border-radius: 12px; padding: 9px 12px; font-size: 13.5px; font-weight: 600; }
.flag svg { width: 16px; height: 16px; flex: none; }
.chat { display: grid; gap: 8px; }
.bubble { max-width: 88%; padding: 9px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; }
.bubble.q { justify-self: end; background: var(--sage-ink); color: #fff; border-bottom-right-radius: 5px; }
.bubble.a { justify-self: start; background: #fff; border: 1px solid #ECE5D8; border-bottom-left-radius: 5px; }
.bubble.a small { display: block; margin-top: 5px; color: #5E665A; font-size: 12px; }
.viewfinder { position: relative; height: 132px; border-radius: 16px; background: #1A1E17; display: grid; place-items: center; overflow: hidden; }
.label-snap { width: 62%; background: #FFFDF6; border-radius: 4px; padding: 10px; display: grid; gap: 5px; }
.label-snap i { display: block; height: 5px; border-radius: 3px; background: #CFC6B4; }
.label-snap i:nth-child(1) { width: 40%; background: #1A1D17; height: 6px; }
.label-snap i:nth-child(3) { width: 86%; } .label-snap i:nth-child(4) { width: 70%; } .label-snap i:nth-child(5) { width: 78%; }
.vf-corners { position: absolute; inset: 14px; color: rgba(255, 255, 255, 0.85); width: calc(100% - 28px); height: calc(100% - 28px); }
.vf-line { position: absolute; left: 18%; right: 18%; top: 30%; height: 2px; background: #A9D98B; box-shadow: 0 0 12px 2px rgba(169, 217, 139, .6); }
.also { margin-top: clamp(40px, 5vw, 56px); padding-top: 32px; border-top: 1px solid var(--rule); }
.also h3 { margin-bottom: 18px; }
.also-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
.also-list li { color: var(--ink-2); font-size: 16px; }
.also-list b { display: block; color: var(--ink); font-weight: 650; }
.also-list .tag { margin-left: 0; margin-bottom: 4px; vertical-align: 0; }
@media (max-width: 719px) { .also-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 999px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .features-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ledger (how Grain is paid for) ---------- */
.ledger h2, .ledger h3 { margin-bottom: 6px; }
.ledger > p { color: var(--ink-2); margin-bottom: 18px; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 17px; }
.ledger th, .ledger td { padding: 14px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.ledger thead th { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 2px solid var(--ink); padding-top: 0; }
.ledger td:last-child, .ledger th:last-child { text-align: right; }
.ledger tbody th { font-weight: 500; }
.ledger td { font-weight: 700; font-variant-numeric: tabular-nums; }
.ledger .yes td { color: var(--exc); }
.ledger .none td { color: var(--ink-3); font-weight: 600; }
.ledger .why { margin-top: 18px; font-size: 16px; color: var(--ink-2); }
.limits { padding: 18px 20px; border-radius: 16px; background: var(--linen); border: 1px solid var(--rule-soft); }
.limits h2, .limits h3 { font-family: var(--text); font-size: 15px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0; }
.limits ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 16px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
.plan { display: grid; gap: 18px; align-content: start; padding: 28px; border-radius: 24px; background: var(--paper); border: 1px solid var(--rule); }
.plan.premium { border: 2px solid var(--sage-ink); }
.plan-name { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.plan-name .tag { vertical-align: 1px; }
.price { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--text); font-size: 16px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price-alt { font-size: 15px; color: var(--ink-3); margin-top: -8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: 16px; }
.plan li svg { width: 17px; height: 17px; margin-top: 4px; color: var(--sage-ink); }
.plans-note { margin-top: 22px; font-size: 15px; color: var(--ink-3); max-width: 900px; }
@media (max-width: 719px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { background: var(--oat); }
.faq-list { max-width: 820px; border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 750; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p, .faq-list details > div { padding: 0 0 22px; max-width: 42em; color: var(--ink-2); }
.faq-list details > div p + p { margin-top: 12px; }

/* ---------- Join band ---------- */
.join { padding-block: clamp(64px, 9vw, 112px); }
.join-card { border-radius: 32px; background: var(--band); color: var(--band-text); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 32px 56px; align-items: center; }
.join-card .h2 { color: var(--band-text); }
.join-card .join-intro { color: var(--band-dim); margin-top: 14px; font-size: 18px; }
.join-card .waitlist input[type="email"] { border-color: transparent; }
.join-card .form-note { color: var(--band-dim); }
.join-card .form-note.is-alert { color: #FFD9D3; }
.join-card .form-note.is-ok { color: #fff; }
.join-card a { color: var(--band-text); }
.join-card :focus-visible { outline-color: var(--band-text); }
@media (max-width: 899px) { .join-card { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 48px 40px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-3); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-meta { margin-top: 28px; display: grid; gap: 6px; max-width: 60em; }
.footer-meta a { color: var(--ink-2); }
.footer-tagline { font-family: var(--display); font-weight: 750; font-size: 17px; color: var(--ink); }

/* ---------- Inner pages ---------- */
.page { padding-block: clamp(40px, 7vw, 88px) clamp(64px, 9vw, 112px); }
.page-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.025em; }
.page-head .lede { margin: 0; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--sage-ink); }
.updated, .last-updated { font-size: 15px; color: var(--ink-3); }
.prose { max-width: 46rem; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 48px; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
.prose h3 { margin-top: 32px; font-family: var(--display); font-weight: 750; font-size: 20px; line-height: 1.25; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose strong, .prose b { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); }
.prose th { color: var(--ink); font-weight: 700; }
.prose code { font-size: 0.92em; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 40px; }
.prose .note-box, .prose .translation-note { padding: 16px 18px; border-radius: 14px; background: var(--sage-tint); color: var(--ink); }
.legal-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: 15px; }
.legal-langs-label { font-weight: 700; color: var(--ink); }
.legal-langs [aria-current] { font-weight: 700; color: var(--ink); }
.support-group { margin-top: clamp(48px, 6vw, 72px); }
.support-group:first-of-type { margin-top: 0; }
.support-group > h2 { margin-bottom: 18px; }
.contact-card { margin-top: clamp(48px, 6vw, 72px); padding: 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--rule-soft); max-width: 46rem; display: grid; gap: 10px; }
.contact-card h2 { font-family: var(--display); font-weight: 800; font-size: 24px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.about-grid .ledger, .about-grid .limits { max-width: 34rem; }
.about-side { display: grid; gap: 28px; }
@media (max-width: 899px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* Methodology */
.method-toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 clamp(32px, 5vw, 56px); padding: 0; }
.method-toc a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink-2); text-decoration: none; font-size: 15px; }
.method-toc a:hover { color: var(--ink); border-color: var(--sage); }
.method-section { padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--rule); }
.method-section > h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.018em; margin-bottom: 18px; max-width: 30em; }
.method-section > p { max-width: 46rem; color: var(--ink-2); }
.method-section > p + p { margin-top: 14px; }
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 22px; }
.method-card { padding: 20px 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--rule-soft); display: grid; gap: 8px; align-content: start; }
.method-card h3 { font-family: var(--display); font-weight: 750; font-size: 19px; line-height: 1.25; }
.method-card p { color: var(--ink-2); font-size: 16px; }
.method-formula { margin: 22px 0; padding: 18px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); font: 14.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.method-worked { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: 22px; }
.method-worked .facts-panel { max-width: 460px; }
@media (max-width: 899px) { .method-worked { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 699px) { .method-grid { grid-template-columns: minmax(0, 1fr); } }

.prose-list { margin: 14px 0 0; padding-left: 22px; max-width: 46rem; color: var(--ink-2); display: grid; gap: 10px; }
.prose-list strong { color: var(--ink); }
.note-box { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--sage-tint); color: var(--ink); max-width: 46rem; }
.pricing-notes { margin-top: 28px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.022em; color: var(--ink); }

/* Small standalone pages (reset password, auth callback, waitlist, 404) */
.solo { min-height: 60vh; display: grid; place-items: center; padding-block: clamp(48px, 10vw, 120px); }
.solo-card { width: 100%; max-width: 540px; padding: clamp(28px, 5vw, 44px); border-radius: 28px; background: var(--paper); border: 1px solid var(--rule-soft); box-shadow: 0 30px 60px -44px rgba(42, 52, 32, 0.45); display: grid; gap: 16px; text-align: center; justify-items: center; }
.solo-card h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 40px); line-height: 1.08; letter-spacing: -0.02em; }
.solo-card p { color: var(--ink-2); }
.solo-card .small { font-size: 15px; color: var(--ink-3); }
.solo-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; list-style: none; margin: 4px 0 0; padding: 0; }
