/* amverd.app — built on the app's own design tokens so the site reads as
   the same product, not a lookalike.
   Colors: theme.js sets every variable below from ledger_rn/src/theme/
   tokens.ts's getPalette() (twelve themes, dark by default). These
   defaults are the dark palette, for the moment before theme.js runs.
   Surfaces: theme/card-style.ts (paper fill, soft outline, soft shadow)
   plus card-texture.tsx's two-layer grain.
   Type: Gabarito throughout, lowercase voice, bold digits. */
:root {
  --raw: #000000;
  --paper: #121212;
  --wall: #282828;
  --edge: #424242;
  --ink: #ffffff;
  --muted: #a0a0a0;
  --brass: #9a9a9a;
  --deep-brass: #bfbfbf;
  --notebook: #0d0d0d;
  --rose: #ff6b6b;
  --accent: #bfbfbf;
  --grid-line: #ffffff;
  --badge: #8b8b8b;
  --outline: #414141;
  --grain-shadow: #0f0f0f;
  --grain-highlight: #3f3f3f;

  --tier-s: #d9534f;
  --tier-a: #e08a3c;
  --tier-b: #d9b23c;
  --tier-c: #5cab5c;
  --tier-d: #4f86c6;

  /* theme/spacing.ts */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --shadow-2: 0 8px 18px rgba(0, 0, 0, 0.1);
  --shadow-3: 0 14px 26px rgba(0, 0, 0, 0.16);
  --shadow-4: 0 20px 34px rgba(0, 0, 0, 0.24);

  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--raw);
  color: var(--ink);
  font-family: 'Gabarito', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color 0.35s ease;
}
b, strong { font-weight: 700; }
.num { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ASCII halftone backdrop (texture.js), fixed behind everything. */
canvas.texture { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

a { color: var(--deep-brass); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 80px; }
.wrap.wide { max-width: 1080px; }

/* ---------- the card surface ----------
   theme/card-style.ts + card-texture.tsx: paper fill, a 1px outline mixed
   from the paper itself, a soft shadow, and a two-layer grain (a shade and
   a tint of the card's own color through two noise masks, overlay-blended
   at 0.45) so it reads as the surface's texture, not a haze on top.
   `.glass` is the legal pages' old class name for the same surface. */
.card, .glass {
  position: relative;
  isolation: isolate;
  background: var(--paper);
  border: 1px solid var(--outline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.card::before, .card::after, .glass::before, .glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  -webkit-mask-size: 512px 512px;
  mask-size: 512px 512px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  z-index: 0;
}
.card::before, .glass::before {
  background: var(--grain-shadow);
  -webkit-mask-image: url('/assets/img/grain-shadow.webp');
  mask-image: url('/assets/img/grain-shadow.webp');
}
.card::after, .glass::after {
  background: var(--grain-highlight);
  -webkit-mask-image: url('/assets/img/grain-highlight.webp');
  mask-image: url('/assets/img/grain-highlight.webp');
}
.card > *, .glass > * { position: relative; z-index: 1; }
.card.raised { box-shadow: var(--shadow-3); }

/* ---------- nav ---------- */
nav.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 32px; }
.wordmark {
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark .dot { color: var(--deep-brass); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.pill, nav.top a.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--outline);
}
.pill:hover, nav.top a.back:hover { background: var(--wall); }
.pill.ghost { background: transparent; border-color: transparent; color: var(--deep-brass); }
.pill.ghost:hover { color: var(--ink); background: transparent; }

/* ---------- shared text ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--deep-brass);
  margin: 0 0 12px;
}
h1 {
  font-weight: 700;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 12px;
}
h2 { font-weight: 600; font-size: 17px; color: var(--ink); margin: 0 0 6px; }
p.lede { color: var(--deep-brass); font-size: 18px; max-width: 46ch; margin: 0 0 28px; text-wrap: pretty; }

/* ---------- legal pages ---------- */
.doc { padding: 28px 24px; }
.doc h1 { font-size: 30px; }
section.topic { padding: 20px 0; border-top: 1px solid var(--wall); }
section.topic:first-of-type { border-top: none; padding-top: 8px; }
section.topic p { font-size: 15.5px; margin: 0; max-width: 64ch; }

.card-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 8px; }
.card-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--outline);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
  background: var(--notebook);
  font-size: 15px;
  font-weight: 500;
}
.card-links a:hover { background: var(--wall); }
.card-links a .arrow { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform 0.2s ease; }
.card-links a:hover .arrow { transform: translateX(3px); }

.contact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 24px; }
.contact-row div { font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.contact-row span.label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contact-row a { color: var(--ink); font-weight: 500; text-decoration-color: var(--edge); text-underline-offset: 3px; }

footer {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted);
  padding: 16px 20px;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .spacer { flex: 1; }

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--raw);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--r-lg);
  padding: 14px 22px;
  min-height: 52px;
  box-shadow: var(--shadow-2);
  transition: transform 0.15s ease;
}
.cta:hover { transform: translateY(-1px); }
.cta[aria-disabled='true'] { background: var(--paper); color: var(--deep-brass); border: 1px solid var(--outline); box-shadow: none; cursor: default; transform: none; }
.cta svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.cta-note { font-size: 14px; color: var(--deep-brass); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; margin: 8px 0 96px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 76px); margin-bottom: 18px; }
.hero h1 .soft { color: color-mix(in srgb, var(--ink) 50%, var(--raw)); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.fact { font-size: 13px; font-weight: 500; color: var(--deep-brass); background: var(--paper); border: 1px solid var(--outline); border-radius: 999px; padding: 5px 12px; }

/* ---------- the phone ---------- */
.phone-stage { justify-self: center; position: relative; }
.phone {
  width: 320px;
  height: 640px;
  border-radius: 48px;
  padding: 10px;
  background: #0b0b0b;
  box-shadow: 0 0 0 1px #2a2a2a, 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 2px #1d1d1d;
  position: relative;
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--raw);
  display: flex;
  flex-direction: column;
  transition: background-color 0.35s ease;
}
/* A still stand-in for the live halftone: fine dots in the grid-line color. */
.screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--grid-line) 22%, transparent) 0.7px, transparent 1px);
  background-size: 5px 8px;
  pointer-events: none;
}
.screen > * { position: relative; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.status .island { width: 92px; height: 26px; border-radius: 20px; background: #000; position: absolute; left: 50%; top: 10px; transform: translateX(-50%); }
.status .bars { display: flex; gap: 4px; align-items: center; }
.status .bars i { display: block; width: 16px; height: 9px; border-radius: 3px; border: 1.5px solid var(--ink); opacity: 0.9; }
.screen-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 10px; }
.screen-head .wordmark { font-size: 22px; }
.screen-head .avatar { width: 30px; height: 30px; font-size: 12px; }
.screen-body { flex: 1; overflow: hidden; padding: 6px 12px 0; }
/* Picks tab chrome (lists-view.tsx): search pill + visibility globe */
.search-row { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; border-radius: 24px; padding: 9px 14px; background: var(--wall); color: var(--muted); font-size: 13px; }
.search svg { width: 15px; height: 15px; }
.globe { width: 36px; height: 36px; border-radius: 50%; background: var(--wall); color: var(--deep-brass); display: grid; place-items: center; flex: none; }
.globe svg { width: 18px; height: 18px; }
/* section header: drag handle, chevron, name, eye / undo / redo, menu */
.h-ico { width: 16px; height: 16px; color: var(--deep-brass); flex: none; }
.h-ico.sm { width: 13px; height: 13px; margin-left: -2px; }
.h-btn { width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--edge); display: grid; place-items: center; color: var(--deep-brass); flex: none; }
.h-btn.fill { background: var(--wall); border-color: transparent; border-radius: 50%; }
.h-btn svg { width: 13px; height: 13px; }
.collapsed-row { display: flex; align-items: center; gap: 8px; padding: 0 0 0 12px; height: 52px; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 12px; }
.collapsed-row .name { flex: 1; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collapsed-row .peek { align-self: stretch; width: 38%; flex: none; -webkit-mask: linear-gradient(90deg, transparent, #000 60%); mask: linear-gradient(90deg, transparent, #000 60%); }
.fab { position: absolute; right: 18px; bottom: 90px; width: 46px; height: 46px; border-radius: 50%; background: var(--badge); color: #ffffff; display: grid; place-items: center; box-shadow: var(--shadow-3); z-index: 6; }
.fab svg { width: 22px; height: 22px; }

/* format-switcher.tsx: notebook container, badgeFill selected segment. */
.switcher {
  display: flex;
  background: var(--notebook);
  border: 1px solid var(--outline);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-2);
}
.switcher button {
  flex: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--deep-brass);
  font: 600 14px/1 'Gabarito', system-ui, sans-serif;
  padding: 10px 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.switcher button[aria-selected='true'] {
  color: #ffffff;
  /* the app's selected segment carries a newsprint halftone over badgeFill */
  background: radial-gradient(rgba(0, 0, 0, 0.18) 0.8px, transparent 1.1px) 0 0 / 4px 4px, var(--badge);
}
.switcher button:focus-visible { outline-offset: -3px; }

.panel-view { display: none; }
.panel-view.active { display: block; animation: rise 0.35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .panel-view.active { animation: none; } }

.section-card { padding: 12px; margin-bottom: 12px; border-radius: var(--r-lg); }
.section-head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.section-head .name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-pill { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--wall); color: var(--deep-brass); flex: none; }
.icon-pill svg { width: 14px; height: 14px; }

/* amverd-tab-bar.tsx: a floating, icon-only frosted capsule — paper at
   0.65 over a blur, a soft top gloss, elevation 3. About, Picks, Discover,
   Settings; the focused tab is its filled icon at 28px in deepBrass,
   the rest outlines at 24px in muted. */
.navbar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 4px 0;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--paper) 65%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid color-mix(in srgb, var(--edge) 60%, transparent);
  box-shadow: var(--shadow-3);
}
.navbar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 60%); pointer-events: none; }
.navbar span { flex: 1; margin: 0 4px; min-height: 44px; display: grid; place-items: center; color: var(--muted); position: relative; }
.navbar svg { width: 24px; height: 24px; }
.navbar .on { color: var(--deep-brass); }
.navbar .on svg { width: 28px; height: 28px; }

/* ---------- artwork placeholders ---------- */
.art { display: block; position: relative; background: var(--wall); overflow: hidden; }
.art::after {
  /* a soft light falloff, like a photo rather than a flat swatch */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, 0.28), transparent 55%), linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 60%);
}
.a1 { background: linear-gradient(145deg, #f6c28b, #e4745a 60%, #8c3b4d); }
.a2 { background: linear-gradient(160deg, #9ed1e8, #4f86c6 55%, #283b72); }
.a3 { background: linear-gradient(135deg, #cfe3a8, #6e8649 60%, #2f4a2c); }
.a4 { background: linear-gradient(150deg, #f3d3e0, #deafc2 45%, #9d5f7c); }
.a5 { background: linear-gradient(140deg, #d9c8f7, #7d5bc6 55%, #3a2380); }
.a6 { background: linear-gradient(155deg, #ffe39a, #f2b322 50%, #b86b12); }
.a7 { background: linear-gradient(135deg, #b7ece8, #0a858c 60%, #0b3e44); }
.a8 { background: linear-gradient(150deg, #efe0c8, #c19a6b 55%, #6d4c2c); }
.a9 { background: linear-gradient(140deg, #ffc9a3, #ff8811 55%, #a3400a); }
.a10 { background: linear-gradient(160deg, #e3e6ea, #b8bcc0 50%, #5f656b); }
.a11 { background: linear-gradient(145deg, #f2a5a8, #c0293c 60%, #5a0c16); }
.a12 { background: linear-gradient(135deg, #3a3a44, #16161c 70%); }
/* a simple shape on top so thumbnails read as pictures of things */
.art .shape { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.art .shape.sun { width: 34%; height: 34%; top: 18%; right: 16%; }
.art .shape.hill { width: 130%; height: 60%; left: -15%; bottom: -30%; border-radius: 50% 50% 0 0; background: rgba(0, 0, 0, 0.22); }
.art .shape.disc { width: 62%; height: 62%; left: 19%; top: 19%; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.18); }
.art .shape.disc::after { content: ''; position: absolute; inset: 42%; border-radius: 50%; background: rgba(255, 255, 255, 0.7); }
.art .shape.bar { width: 18%; height: 70%; left: 41%; bottom: 0; border-radius: 6px 6px 0 0; background: rgba(0, 0, 0, 0.22); }

/* ---------- list format (pick-grid.tsx) ---------- */
.pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pick-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pick .art { aspect-ratio: 1; border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.pick .meta { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 2px; height: 18px; }
.stars { display: flex; gap: 1px; color: var(--accent); }
.stars svg { width: 12px; height: 12px; }
.stars .off { opacity: 0.28; }
.price { font-size: 13px; font-weight: 700; color: var(--muted); }
.pick .link { width: 13px; height: 13px; color: var(--muted); }
.pick .title { font-size: 13.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick.done .title { text-decoration: line-through; color: var(--muted); }
.pick .check { position: absolute; top: 6px; left: 6px; width: 18px; height: 18px; border-radius: 5px; background: #ffffff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); z-index: 2; }
.pick .check svg { width: 12px; height: 12px; color: #000; }
.pick { position: relative; }
.pick.add { display: flex; }
.add-tile { width: 100%; aspect-ratio: 1; border: 1.5px dashed var(--edge); border-radius: var(--r-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: var(--muted); background: color-mix(in srgb, var(--wall) 50%, transparent); }
.add-tile svg { width: 18px; height: 18px; }
.pick.done .art { opacity: 0.5; }

/* ---------- rank formats (pick-shelf.tsx / rank-view.tsx) ---------- */
/* tiers: a colored tier card fused to a row of thumbnails */
.tiers { display: flex; flex-direction: column; gap: 6px; }
.tier-row { display: flex; min-height: 56px; border-radius: var(--r-md); overflow: hidden; background: var(--wall); }
.tier-card { width: 44px; flex: none; display: grid; place-items: center; color: #ffffff; font-weight: 700; font-size: 24px; position: relative; }
.tier-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), transparent 55%, rgba(0, 0, 0, 0.12)); }
.tier-items { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 6px; }
.tier-items .art { width: 42px; height: 42px; border-radius: 6px; }

/* bars: circular rank badge straddling the bar's left edge */
.bars-list { display: flex; flex-direction: column; gap: 10px; padding-left: 20px; }
.rank-bar { position: relative; height: 62px; }
.rank-bar .fill { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; }
.rank-bar .fill::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 1; }
.rank-bar .shape { display: none; }
.rank-bar .label { position: absolute; inset: 0 12px 0 32px; display: flex; flex-direction: column; justify-content: center; color: #ffffff; z-index: 2; }
.rank-bar .label b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.rank-bar .label span { font-size: 11px; opacity: 0.85; }
.rank-badge {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  background: var(--badge);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  z-index: 3;
}
.rank-bar .rank-badge { left: -20px; top: 50%; margin-top: -20px; }
.format .demo .rank-badge { border-color: var(--wall); }

/* boxes: square cards with the badge centered on the bottom edge */
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.box .frame { position: relative; }
.box .art { aspect-ratio: 1; border-radius: var(--r-md); }
.box .rank-badge { left: 50%; bottom: -14px; margin-left: -16px; width: 32px; height: 32px; font-size: 12px; border-width: 2.5px; }
.box .title { margin-top: 18px; font-size: 12px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- board (grid-view.tsx): 3px gutters, square cells ---------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: var(--r-md); overflow: hidden; }
.board .art { aspect-ratio: 1; }
.board.tight { border-radius: 2px; }

/* ---------- gallery: fixed white photo prints ---------- */
.gallery { display: flex; justify-content: center; align-items: center; padding: 18px 0 8px; }
.polaroid {
  width: 31%;
  max-width: 128px;
  background: #ffffff;
  padding: 7px 7px 0;
  border-radius: 3px;
  box-shadow: var(--shadow-3);
  color: #1a1a1a;
}
.polaroid .art { aspect-ratio: 1; border-radius: 1px; }
.polaroid .cap { font-size: 11px; font-weight: 500; padding: 7px 2px 9px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.polaroid:nth-child(1) { transform: rotate(-7deg) translateY(4px); }
.polaroid:nth-child(2) { transform: rotate(2deg) translateY(-6px); margin: 0 -10px; z-index: 1; position: relative; }
.polaroid:nth-child(3) { transform: rotate(8deg) translateY(6px); }

/* ---------- sections ---------- */
section.block { margin: 0 0 96px; }
.block-head { max-width: 640px; margin: 0 0 28px; }
.block-head h2, section.block > h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; text-wrap: balance; }
.block-head p, section.block > p.sub { color: var(--deep-brass); font-size: 17px; margin: 0; max-width: 58ch; text-wrap: pretty; }

.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.format { padding: 20px; display: flex; flex-direction: column; }
.format .demo { background: var(--wall); border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 14px; margin-bottom: 18px; flex: 1; min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.format h3 { font-size: 20px; font-weight: 600; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.format p { font-size: 15px; color: var(--muted); margin: 0; }
.format .variants { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.format .variants span { font-size: 12px; font-weight: 500; color: var(--deep-brass); background: var(--wall); border-radius: 999px; padding: 3px 10px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: 24px; }
.panel h3 { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.panel p { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.panel ul { margin: 0; padding: 0; list-style: none; font-size: 15px; display: grid; gap: 10px; }
.panel li { display: flex; gap: 10px; align-items: flex-start; }
.panel li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--wall); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }


/* ---------- profile: the About tab (read-only-about.tsx) ---------- */
.profile-split { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 32px; align-items: start; }
.make-yours { position: sticky; top: 24px; }
.about { display: flex; flex-direction: column; gap: 20px; }
.about-top { display: flex; gap: 16px; }
.about-avatar { flex: 1; aspect-ratio: 1; border-radius: var(--r-lg); }
.gauges { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 13px; }
/* stat-gauges.tsx: a 52px badge circle (wall) with the icon, and a bar
   whose rounded cap tucks under it; track is raw, fill a shade of edge. */
.gauge { position: relative; height: 52px; --shade: color-mix(in srgb, var(--edge), var(--ink) calc(var(--v) * 45%)); }
.gauge .bar { position: absolute; left: 18px; right: 0; top: 50%; height: 30px; margin-top: -15px; border-radius: 15px; background: var(--wall); }
.gauge .bar i { position: absolute; left: 22px; right: 5px; top: 5px; bottom: 5px; border-radius: 10px; background: var(--raw); overflow: hidden; }
.gauge .bar i::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 10px; background: var(--shade); }
.gauge .badge { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--wall); display: grid; place-items: center; }
.gauge .icon { width: 26px; height: 26px; background: var(--shade); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.gauge .face { width: 36px; height: 36px; fill: var(--shade); }

.flags { display: flex; justify-content: center; gap: 10px; }
.flag { width: 78px; height: 52px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--edge) 50%, transparent); overflow: hidden; }
.flag.jp { background: radial-gradient(circle at 50% 50%, #bc002d 0 13px, #ffffff 13.5px); }
.flag.fr { background: linear-gradient(90deg, #002654 0 33.3%, #ffffff 33.3% 66.6%, #ce1126 66.6%); }
.flag.it { background: linear-gradient(90deg, #009246 0 33.3%, #ffffff 33.3% 66.6%, #ce2b37 66.6%); }
.flag.empty { background: var(--wall); display: grid; place-items: center; color: var(--deep-brass); }
.flag.empty svg { width: 18px; height: 18px; }

.counts { display: flex; justify-content: space-around; text-align: center; }
.counts b { display: block; font-size: 22px; line-height: 1.2; }
.counts span { font-size: 12px; color: var(--muted); }

.bio { padding: 18px; display: grid; gap: 14px; border-radius: var(--r-lg); }
.bio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bio-label { display: block; font-size: 14px; color: var(--deep-brass); margin-bottom: 4px; }
.bio-value { display: block; font-size: 15px; background: var(--wall); border-radius: 8px; padding: 8px 10px; }

.about h4 { font-size: 19px; font-weight: 600; color: var(--deep-brass); margin: 0 0 10px; }
.cloud { padding: 16px; border-radius: var(--r-lg); }
.dots { display: flex; flex-wrap: wrap; gap: 8px; }
.dots span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; background: var(--wall); border-radius: 999px; padding: 7px 12px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--accent), #ffffff 35%); }

/* ticket-frame.tsx; the outline itself is drawn by index.html's script */
.ticket { position: relative; height: 140px; }
.ticket-shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.1)); }
.ticket-shape .fill { fill: var(--wall); }
.ticket-shape .perf { stroke: var(--edge); stroke-width: 1; stroke-dasharray: 3 3; }
.ticket-shape .inner { fill: none; stroke: var(--edge); stroke-width: 2.5; opacity: 0.55; }
.ticket-stub { position: absolute; left: 0; top: 0; bottom: 0; width: 29%; display: grid; place-items: center; color: var(--muted); }
.ticket-stub svg { width: 32px; height: 32px; }
.ticket-main { position: absolute; left: 29%; right: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 30px 0 22px; }
.marquee { overflow: hidden; width: 100%; white-space: nowrap; font-size: 20px; font-weight: 500; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee span { display: inline-block; padding-left: 4px; animation: marquee 16s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee span { animation: none; } }

.opinions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opinion { padding: 14px; border-radius: var(--r-lg); }
.opinion h4 { margin-bottom: 8px; }
.opinion p { margin: 0; padding: 3px 0; font-size: 13px; display: flex; gap: 4px; }
.opinion p b { color: var(--deep-brass); font-weight: 400; }

.taste { padding: 18px; border-radius: var(--r-lg); }
.radar { display: block; width: 100%; max-width: 360px; margin: 0 auto; }
.radar .ring, .radar .spoke { fill: none; stroke: var(--edge); stroke-width: 1; }
.radar .shape { fill: color-mix(in srgb, var(--deep-brass) 25%, transparent); stroke: var(--deep-brass); stroke-width: 2; }
.radar text { fill: var(--deep-brass); font: 12px 'Gabarito', system-ui, sans-serif; }

/* About tab additions: title, name pill, favorites, languages, add rows, trait sliders */
.about-head { text-align: center; }
.about-head .wordmark { font-size: 34px; }
.name-pill { display: flex; align-items: baseline; gap: 8px; background: var(--wall); border-radius: 999px; padding: 12px 18px 12px 34px; position: relative; font-size: 19px; margin-left: 14px; }
.name-pill i { position: absolute; left: -12px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--badge); border: 3px solid var(--raw); }
.name-pill b { font-weight: 700; }
.name-pill span { color: var(--muted); }
.fav { padding: 16px; border-radius: var(--r-lg); }
.fav-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fav-pick { background: var(--wall); border-radius: 10px; padding: 7px; }
.fav-pick .art { aspect-ratio: 1.15; border-radius: 6px; }
.fav-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 3px 2px; font-size: 13px; }
.fav-meta b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-meta .stars svg { width: 10px; height: 10px; }
.dots .add { background: transparent; border: 1.5px dashed var(--edge); color: var(--muted); }
.dots .add svg { width: 12px; height: 12px; }
.lang { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; font-size: 14px; }
.lang.band { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.lang .sw { width: 26px; height: 26px; border-radius: 8px; background: var(--wall); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--deep-brass); flex: none; }
.lang .sw svg { width: 13px; height: 13px; }
.lang .x { width: 15px; height: 15px; margin-left: auto; color: var(--muted); }
.lang.add { color: var(--muted); }
.lang.add .sw { background: transparent; border: 1.5px dashed var(--edge); }
.add-row { display: flex; gap: 8px; margin-top: 10px; }
.add-row span { flex: 1; min-width: 0; background: var(--wall); border-radius: 8px; padding: 7px 10px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-row b { width: 32px; border-radius: 8px; background: var(--wall); display: grid; place-items: center; color: var(--ink); flex: none; }
.add-row b svg { width: 14px; height: 14px; }
.traits { display: grid; gap: 16px; margin-top: 18px; }
.trait-row { display: grid; grid-template-columns: 1fr 1fr 18px; align-items: center; gap: 12px; font-size: 14px; }
.trait-row .track { position: relative; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--badge) 35%, transparent); }
.trait-row .track i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 3px; background: var(--badge); }
.trait-row .track i::after { content: ''; position: absolute; right: -8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--badge); }
.trait-row b { text-align: right; color: var(--muted); }

/* themes */
.themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 8px; }
.swatch {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 500 12px/1.2 'Gabarito', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px 0;
}
.swatch i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(128, 128, 128, 0.45);
  box-shadow: var(--shadow-2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.swatch:hover i { transform: scale(1.06); }
.swatch[aria-pressed='true'] { color: var(--ink); font-weight: 600; }
.swatch[aria-pressed='true'] i { box-shadow: 0 0 0 3px var(--raw), 0 0 0 5px var(--ink); }
.panel .themes-note { font-size: 13px; color: var(--muted); margin: 18px 0 0; }

/* discover */
.discover { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; align-items: start; }
.post { padding: 16px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #ffffff; }
.post-name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.post-meta { font-size: 13px; color: var(--muted); }
.follow { margin-left: auto; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 5px 12px; background: var(--ink); color: var(--raw); }
.post-title { font-weight: 600; font-size: 17px; margin: 0 0 4px; }
.post-caption { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.post-caption .hash { color: var(--accent); font-weight: 500; }
.actions { display: flex; gap: 8px; margin-top: 14px; }
.actions span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 64px; padding: 8px 16px; border-radius: 999px; background: var(--wall); color: var(--deep-brass); font-size: 13px; }
.actions b { font-weight: 700; }
.actions svg { width: 19px; height: 19px; }
.actions .liked svg { color: var(--rose); }
.feature-list { display: grid; gap: 12px; }
.feature { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.feature .icon { width: 38px; height: 38px; border-radius: 10px; background: var(--wall); color: var(--ink); display: grid; place-items: center; flex: none; }
.feature .icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 16px; font-weight: 600; margin: 0 0 2px; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }

#support .panel { margin-bottom: 16px; }

@media (max-width: 900px) {
  .formats { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; gap: 40px; margin-bottom: 72px; }
  .phone-stage { justify-self: start; }
  .discover { grid-template-columns: 1fr; }
  section.block { margin-bottom: 72px; }
}
@media (max-width: 720px) {
  .formats, .split, .profile-split { grid-template-columns: 1fr; }
  .make-yours { position: relative; top: auto; }
  .themes { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .wrap { padding-top: 20px; }
  .wordmark { font-size: 26px; }
  .nav-links .pill.ghost { display: none; }
  .phone-stage { justify-self: center; }
  .phone { width: 300px; height: 610px; }
  .format { padding: 16px; }
  .format .demo { padding: 12px; }
  .panel { padding: 20px; }
  .themes { grid-template-columns: repeat(4, 1fr); gap: 12px 4px; }
}
@media (max-width: 340px) {
  .phone { width: 272px; height: 560px; border-radius: 42px; }
  .screen { border-radius: 33px; }
}

/* ---------- real app screens ----------
   Screenshots from the app (light theme), status bar cropped off and
   redrawn so the phone's own status bar sits on the screenshot's paper. */
.phone:has(.shot-screen) { height: auto; }
.shot-screen { background: #fdfdfd; height: auto; }
.shot-screen::before { display: none; }
.shot-screen .status { color: #000000; }
.shot-screen .status .bars i { border-color: #000000; }
.shot-screen .shot { display: block; width: 100%; height: auto; }
.shot-screen .shot.panel-view { display: none; }
.shot-screen .shot.panel-view.active { display: block; }
.shot-tabs { margin: 18px auto 0; max-width: 300px; }
.phone.mini { width: 100%; max-width: 260px; margin: 0 auto; border-radius: 40px; padding: 8px; }
.phone.mini .screen { border-radius: 32px; }
.profile-stack { display: grid; gap: 24px; }
.shot-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.shot-strip figure { margin: 0 auto; }
.profile-stack .make-yours { position: relative; top: auto; }
@media (max-width: 720px) {
  .shot-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shot-strip figure { scroll-snap-align: center; }
}

/* closing statement: the page's last push, repeating the one CTA */
.closing-card { padding: 48px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing-card h2 { font-size: clamp(32px, 5.4vw, 64px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 16px; text-wrap: balance; }
@media (max-width: 720px) { .closing-card h2 .br-wide { display: none; } }
.closing-card p { color: var(--deep-brass); font-size: 17px; margin: 0 0 24px; max-width: 48ch; text-wrap: pretty; }
.format .demo { flex: none; height: 280px; min-height: 0; }

/* Discover post as a list post (the app's Comfort Foods layout) */
.post-picks { gap: 14px; }
.post-picks .art { aspect-ratio: 1; border-radius: var(--r-md); }
.post-picks .title { font-size: 16px; font-weight: 500; }
.post-picks .stars svg { width: 15px; height: 15px; }
.post-picks .meta { height: 24px; margin-top: 8px; }
.actions { flex-wrap: wrap; }
.actions span { flex: 1; min-width: 0; padding: 8px 10px; }
.actions .follow-pill svg { width: 20px; height: 20px; }
.format .variants { margin-top: auto; padding-top: 14px; }

/* profile screens: four captioned phones */
.shot-strip.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shot-fig { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.shot-fig .phone.mini { max-width: 240px; width: 100%; margin: 0 auto; }
.shot-fig figcaption { text-align: center; font-size: 14px; color: var(--deep-brass); line-height: 1.4; padding: 0 6px; }
.shot-fig figcaption b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
@media (max-width: 1000px) { .shot-strip.four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 720px) {
  .shot-strip.four { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shot-strip.four .shot-fig { scroll-snap-align: center; }
}

/* format demos: a true square 3x3 board with even 3px gutters both ways */
.format .demo .board { width: auto; height: 100%; aspect-ratio: 1; margin: 0 auto; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.format .demo .board .art { aspect-ratio: auto; min-height: 0; }
/* nested digit spans in "2x2" chips aren't chips themselves */
.format .variants span span { padding: 0; background: none; border-radius: 0; font-size: inherit; }
/* two bigger list picks */
.format .demo .pick-grid { gap: 14px; }
.format .demo .pick .stars svg { width: 15px; height: 15px; }
.format .demo .pick .meta { height: 22px; margin-top: 8px; }
.format .demo .pick .title { font-size: 15px; }

/* discover: four feature cards split the post's height evenly */
.discover { align-items: stretch; }
.discover .feature-list { grid-template-rows: repeat(4, 1fr); }
.discover .feature { align-items: center; }
@media (max-width: 900px) { .discover .feature-list { grid-template-rows: none; } }

/* one hue per demo, its picks stepping light to dark (--h/--s set inline) */
.tone > * { --l: 50%; }
.tone > :nth-child(1) { --l: 74%; } .tone > :nth-child(2) { --l: 67%; } .tone > :nth-child(3) { --l: 60%; }
.tone > :nth-child(4) { --l: 54%; } .tone > :nth-child(5) { --l: 48%; } .tone > :nth-child(6) { --l: 42%; }
.tone > :nth-child(7) { --l: 36%; } .tone > :nth-child(8) { --l: 30%; } .tone > :nth-child(9) { --l: 24%; }
.tone.few > :nth-child(1) { --l: 64%; } .tone.few > :nth-child(2) { --l: 48%; } .tone.few > :nth-child(3) { --l: 33%; }
.tone .art, .tone.art { background: linear-gradient(150deg, hsl(var(--h) var(--s) calc(var(--l) + 12%)), hsl(var(--h) var(--s) calc(var(--l) - 10%))); }

/* ---------- motion ---------- */
/* hero entrance */
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero .lede, .hero .cta-row { animation: rise-in 0.8s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 { animation-delay: 0.08s; }
.hero .lede { animation-delay: 0.2s; }
.hero .cta-row { animation-delay: 0.32s; }
.hero .phone-stage { animation: phone-in 1s 0.15s cubic-bezier(.2,.8,.2,1) both; }
.hero .phone { transition: transform 0.35s cubic-bezier(.2,.8,.2,1); will-change: transform; }
/* idle float, paused while the pointer drives the tilt */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero .phone-stage .phone { animation: float 6s ease-in-out 1.2s infinite; }
.hero:hover .phone-stage .phone { animation-play-state: paused; }

/* scroll reveal (interact.js adds .reveal, then .in) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.8,.2,1) var(--d, 0ms), transform 0.7s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* a little bounce on tap */
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.32); } 70% { transform: scale(0.92); } 100% { transform: scale(1); } }
.pop { animation: pop 0.45s cubic-bezier(.2,.8,.2,1); }

/* interactive demos */
[data-demo] [role="button"], [data-demo="board"] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
[data-demo] [role="button"]:focus-visible, [data-demo="board"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-demo="list"] .art { cursor: pointer; transition: transform 0.25s ease, opacity 0.25s ease; }
[data-demo="list"] .pick:hover .art { transform: translateY(-3px); }
[data-demo="list"] .stars svg { transition: transform 0.15s ease, opacity 0.2s ease; }
[data-demo="list"] .stars svg:hover { transform: scale(1.25); }
[data-demo="list"] .title { transition: color 0.25s ease; }
[data-demo="rank"] .rank-bar { transition: filter 0.2s ease; }
[data-demo="rank"] .rank-bar:hover { filter: brightness(1.12); }
[data-demo="rank"] .rank-bar:hover .fill { transform: translateX(3px); }
[data-demo="rank"] .fill { transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
[data-demo="board"] .art { transition: transform 0.25s cubic-bezier(.2,.8,.2,1), filter 0.25s ease; }
[data-demo="board"] .art:hover { transform: scale(1.06); filter: brightness(1.1); z-index: 1; border-radius: 4px; }
.format .demo { position: relative; }
[data-demo="actions"] span { cursor: pointer; transition: background-color 0.2s ease, transform 0.15s ease; user-select: none; }
[data-demo="actions"] span:hover { background: var(--edge); }
[data-demo="actions"] span:active { transform: scale(0.95); }
[data-demo="actions"] .on svg { color: var(--ink); }

/* cards lift slightly under the pointer */
.format, .feature, .split > .card { transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease; }
@media (hover: hover) {
  .format:hover, .feature:hover, .split > .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
  .shot-fig .phone { transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
  .shot-fig:hover .phone { transform: translateY(-8px) rotate(-1deg); }
}

/* CTA shine */
.cta:not([aria-disabled='true']), .cta { position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.18), transparent); transform: skewX(-18deg); transition: left 0.7s ease; pointer-events: none; }
.cta:hover::after { left: 130%; }

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero .lede, .hero .cta-row, .hero .phone-stage, .hero .phone-stage .phone { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pop { animation: none; }
  .cta::after { display: none; }
}

/* theme swatches: capsules instead of circles */
.swatch i { width: 100%; max-width: 76px; height: 32px; border-radius: 999px; }
.swatch[aria-pressed='true'] i { box-shadow: 0 0 0 3px var(--raw), 0 0 0 5px var(--ink); }
.swatch:hover i { transform: scale(1.05); }
