/* ══════════════════════════════════════════════════════════════════
   Xoreader — AxoLottaLove brand identity v1, web edition.

   This is an app surface, so it claims exactly one alebrije accent —
   Morado — and tints the Ribbon with it (Morado 24 · Lirio 16 · Maíz 12
   · Morado 8, the same sequence the app paints). Pastels carry the rest.
   Apps use the continuous cut, never banderines. Xoreader is
   character-free: the Ribbon, paper patterns and type carry the voice.

   Evidence-tier colours (teal, amber, warm stone) are reserved for the
   tier tags, exactly as in the app. Fonts are self-hosted subsets of the
   OFL faces the app bundles, so the site makes no third-party requests.
   ══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-variable.woff") format("woff");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Axo pastels · 80% of any surface */
  --blush: #FFD9E1;
  --petal: #FFB6C7;
  --gill: #FF9AA6;
  --agua: #C3E9E3;
  --cielo: #CDDFFB;
  --lirio: #DCD0F7;
  --lirio-pale: #F1EBFD;
  --maiz: #FDE6B0;

  /* The one alebrije accent on this surface */
  --morado: #8447D6;
  --morado-text: #6B35BD;
  --morado-hover: #7639C9;
  --morado-shadow: #5B2A9E;

  /* Paper and ink */
  --paper: #FBF5EF;
  --paper-light: #FFF9F4;
  --ink: #26202A;
  --ink-soft: #6B5F70;
  --night: #17131B;
  --night-surface: #251F2B;
  --ink-on-dark: #F3E9ED;
  --soft-on-dark: #C9BFCC;

  /* Evidence tiers — reserved, never reused for other states */
  --tier-a: #2E9E9A;
  --tier-b: #E8A33D;
  --tier-c: #8C8288;

  --line: rgba(38, 32, 42, .1);
  --line-strong: rgba(38, 32, 42, .16);
  --shadow: 0 18px 54px rgba(38, 32, 42, .1);
  --shadow-soft: 0 6px 18px rgba(38, 32, 42, .06);
  --radius: 20px;
  --radius-control: 14px;

  --ribbon: repeating-linear-gradient(90deg,
    var(--morado) 0 24px,
    var(--lirio) 24px 40px,
    var(--maiz) 40px 52px,
    var(--morado) 52px 60px);
}

/* ── Base ───────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body, button, a {
  -webkit-tap-highlight-color: transparent;
}

img, svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, p, figure {
  margin-top: 0;
}

figure {
  margin: 0;
}

h1, h2, h3, .display {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.04;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--morado-text);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

button, summary, input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--morado);
  outline-offset: 3px;
}

::selection {
  background: var(--lirio);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper-light);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  color: var(--paper-light);
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.mono {
  font: 500 11px/1.2 "DM Mono", ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.soft {
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--morado);
  content: "";
}

/* ── The Ribbon ─────────────────────────────────────────────────── */

.ribbon-band {
  height: 10px;
  background: var(--ribbon);
}

/* Continuous papel-picado cut: straight top, triangles along the bottom
   only, holes showing the surface behind — never white. */
.continuous-cut {
  position: relative;
  height: 34px;
  background: var(--ribbon);
  -webkit-mask:
    conic-gradient(from -45deg at bottom, transparent 90deg, #000 0) 0 100% / 14px 9px repeat-x,
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 9px) no-repeat;
  mask:
    conic-gradient(from -45deg at bottom, transparent 90deg, #000 0) 0 100% / 14px 9px repeat-x,
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 9px) no-repeat;
}

.continuous-cut::after {
  position: absolute;
  inset: 7px 0 auto;
  height: 9px;
  background: radial-gradient(circle 2.8px at center, var(--cut-surface, var(--paper-light)) 96%, transparent) 0 0 / 20px 100%;
  content: "";
}

/* ── Header ─────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 249, 244, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.brand-family {
  color: var(--ink-soft);
  font: 500 9px/1.2 "DM Mono", ui-monospace, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(220, 208, 247, .6);
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  color: var(--morado-text);
}

.nav-links .support-link {
  margin-left: 6px;
  border: 1px solid var(--line-strong);
  background: var(--lirio);
  color: var(--ink);
}

.nav-links .support-link:hover {
  background: #D0C1F4;
}

main {
  padding-top: 76px;
}

section {
  scroll-margin-top: 92px;
}

/* ── Buttons, badges, pills ─────────────────────────────────────── */

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--morado);
  color: var(--paper-light);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--morado-shadow);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.button:hover {
  background: var(--morado-hover);
  color: var(--paper-light);
  transform: translateY(1px);
  box-shadow: 0 3px 0 var(--morado-shadow);
}

.button.ghost {
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button.ghost:hover {
  background: var(--lirio);
  color: var(--ink);
}

.button svg {
  width: 18px;
  height: 18px;
}

.store-badge {
  display: inline-flex;
  min-width: 170px;
  min-height: 54px;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 14px;
  border-radius: 15px;
  background: var(--ink);
  color: var(--paper-light);
  line-height: 1.05;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .22);
}

.store-badge svg {
  width: 22px;
  height: 26px;
  flex: 0 0 auto;
}

.store-badge span {
  display: grid;
}

.store-badge small {
  color: rgba(255, 249, 244, .76);
  font-size: 10.5px;
  font-weight: 500;
}

.store-badge strong {
  margin-top: 3px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 18px;
  letter-spacing: -.02em;
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 9px;
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--lirio);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}

.pill.maiz { background: var(--maiz); }
.pill.agua { background: var(--agua); }
.pill.blush { background: var(--blush); }

/* Tier tag: a dot in the tier colour beside the label, on a neutral chip —
   the same quiet tag the app shows on every tile and mission. */
.tier-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 7px;
  padding: 0 10px 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(38, 32, 42, .045);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.tier-tag::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tier-dot, var(--tier-c));
  content: "";
}

.tier-tag.tier-a { --tier-dot: var(--tier-a); }
.tier-tag.tier-b { --tier-dot: var(--tier-b); }
.tier-tag.tier-c { --tier-dot: var(--tier-c); }

.tier-tag.fun::before {
  border-radius: 2px;
  background: var(--cielo);
  box-shadow: inset 0 0 0 1.5px #5E7FC0;
}

/* ── Hero ───────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 7px 7px, rgba(132, 71, 214, .13) 2.1px, transparent 2.3px) 0 0 / 22px 22px,
    var(--paper-light);
}

.hero::before {
  position: absolute;
  top: 9%;
  left: -340px;
  width: 500px;
  height: 500px;
  border: 80px solid rgba(220, 208, 247, .55);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  min-height: 780px;
  align-items: center;
  padding: 64px 0 76px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.family-chip {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease;
}

.family-chip:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

/* Parent Ribbon swatch — full spectrum, the parent brand's own sequence. */
.family-swatch {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: repeating-linear-gradient(90deg,
    #FF9AA6 0 5px, #FDE6B0 5px 10px, #17A98B 10px 15px, #CDDFFB 15px 20px,
    #8447D6 20px 25px, #F2793D 25px 30px, #E0479A 30px 35px, #C3E9E3 35px 40px);
}

.family-chip strong {
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14.5px;
  letter-spacing: -.01em;
}

.family-chip .lotta {
  color: #D33C88;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(54px, 6.4vw, 84px);
  line-height: .93;
  letter-spacing: -.045em;
}

.marker {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}

.marker::after {
  position: absolute;
  z-index: -1;
  inset: 62% -3% 3%;
  border-radius: 7px;
  background: rgba(220, 208, 247, .95);
  content: "";
  transform: rotate(-1.2deg);
}

.hero .lead {
  max-width: 38ch;
  margin-bottom: 0;
  color: rgba(38, 32, 42, .76);
  font-size: clamp(18px, 2vw, 20.5px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 700px;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  inset: 7% 0 5%;
  border: 1px dashed rgba(38, 32, 42, .16);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-orbit::before {
  top: 14%;
  right: 9%;
  width: 15px;
  height: 15px;
  background: var(--morado);
}

.hero-orbit::after {
  bottom: 15%;
  left: 7%;
  width: 12px;
  height: 12px;
  background: var(--maiz);
  box-shadow: 0 0 0 1px rgba(38, 32, 42, .12);
}

/* Floating paper notes around the demo phone (decorative; the same facts
   are stated in the sections below). */
.paper-note {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 7px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 249, 244, .97);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  pointer-events: none;
}

.paper-note .mono {
  color: var(--ink-soft);
  font-size: 9.5px;
}

.paper-note.note-tier {
  top: 96px;
  left: -30px;
  transform: rotate(-5deg);
}

.paper-note.note-pair {
  right: -58px;
  bottom: 214px;
  transform: rotate(4deg);
}

.pair-bars {
  display: grid;
  grid-template-columns: auto 64px;
  gap: 5px 9px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
}

.pair-bars i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--lirio);
}

.pair-bars i + span + i {
  background: var(--agua);
}

/* ── Phone frames ───────────────────────────────────────────────── */

.phone {
  --phone-width: 334px;
  position: relative;
  z-index: 4;
  width: var(--phone-width);
  height: 668px;
  overflow: hidden;
  border: 9px solid var(--ink);
  border-radius: 50px;
  background: var(--paper);
  box-shadow: 0 38px 75px rgba(38, 32, 42, .24);
  transform: rotate(2deg);
}

.phone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 88px;
  height: 25px;
  border-radius: 999px;
  background: #0E0B10;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 2px 24px 0 26px;
  font-size: 12px;
  font-weight: 700;
}

.status-icons {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.status-icons i {
  display: block;
  width: 15px;
  height: 9px;
  border-radius: 2px;
  background: currentColor;
  opacity: .85;
}

.status-icons i:first-child {
  width: 12px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  border-radius: 1px;
}

/* Screenshot device: real Flutter renders of the app at 390 × 844 pt. */
.device {
  --device-width: 290px;
  --device-top: var(--paper);
  --device-fg: var(--ink);
  position: relative;
  width: var(--device-width);
  flex: 0 0 auto;
  overflow: hidden;
  border: 8px solid var(--ink);
  border-radius: 44px;
  background: var(--device-top);
  box-shadow: 0 30px 60px rgba(38, 32, 42, .2);
}

.device.is-deep {
  --device-top: #17131B;
  --device-fg: #F3E9ED;
  border-color: #0E0B10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .38);
}

.device .phone-status {
  height: 34px;
  padding: 1px 22px 0 24px;
  color: var(--device-fg);
  font-size: 11px;
}

.device .phone-island {
  top: 7px;
  width: 76px;
  height: 22px;
}

.device img {
  width: 100%;
  height: auto;
}

.device-figure,
.device-pair-figure {
  display: grid;
  justify-items: center;
}

.device-pair {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 640px;
}

.device-pair .device + .device {
  margin-left: -70px;
  transform: translateY(-40px) rotate(3deg);
}

.device-pair .device:first-child {
  z-index: 2;
  transform: rotate(-2.5deg);
}

.device-caption {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

/* ── Reader demo (hero phone) ───────────────────────────────────── */

.demo {
  --demo-bg: #FBF5EF;
  --demo-fg: #26202A;
  --demo-soft: #6B5F70;
  --demo-mark: #DCD0F7;
  --demo-mark-fg: #26202A;
  --demo-sheet: #FFF9F4;
  --demo-line: rgba(38, 32, 42, .1);
  --demo-chip: rgba(38, 32, 42, .06);
  display: flex;
  height: 100%;
  flex-direction: column;
  background: var(--demo-bg);
  color: var(--demo-fg);
  transition: background .28s ease, color .28s ease;
}

.demo[data-theme="deep"] {
  --demo-bg: #17131B;
  --demo-fg: #F3E9ED;
  --demo-soft: #B9ADBE;
  --demo-mark: #4D3380;
  --demo-mark-fg: #FFFFFF;
  --demo-sheet: #251F2B;
  --demo-line: rgba(243, 233, 237, .12);
  --demo-chip: rgba(243, 233, 237, .08);
}

.demo[data-theme="paper"] {
  --demo-bg: #F6F0E4;
  --demo-fg: #33291D;
  --demo-soft: #6E5F4C;
  --demo-mark: #F1D99A;
  --demo-mark-fg: #33291D;
  --demo-sheet: #FBF6EC;
  --demo-line: rgba(51, 41, 29, .12);
  --demo-chip: rgba(51, 41, 29, .07);
}

.demo[data-theme="ink"] {
  --demo-bg: #000000;
  --demo-fg: #C8C2C6;
  --demo-soft: #9B949A;
  --demo-mark: #3A2A57;
  --demo-mark-fg: #EDE7EB;
  --demo-sheet: #141115;
  --demo-line: rgba(200, 194, 198, .14);
  --demo-chip: rgba(200, 194, 198, .09);
}

.demo-ribbon {
  height: 6px;
  flex: 0 0 auto;
  background: repeating-linear-gradient(90deg,
    var(--morado) 0 16px, var(--lirio) 16px 27px, var(--maiz) 27px 35px, var(--morado) 35px 40px);
}

.demo-bar {
  display: flex;
  min-height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 8px 0 20px;
}

.demo-title {
  overflow: hidden;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--demo-fg);
  cursor: pointer;
}

.icon-button:hover {
  background: var(--demo-chip);
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.icon-button[data-state="playing"] .when-idle,
.icon-button:not([data-state="playing"]) .when-playing {
  display: none;
}

.demo-meta {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px 8px;
  color: var(--demo-soft);
  font-size: 11px;
}

.demo-page {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 20px 12px;
  font-family: "Lexend", "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.64;
  scrollbar-width: none;
}

.demo-page::-webkit-scrollbar {
  display: none;
}

.demo-page p {
  margin: 0 0 12px;
}

.w {
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .12s ease, box-shadow .12s ease;
}

.w.is-current {
  background: var(--demo-mark);
  box-shadow: 0 0 0 2px var(--demo-mark);
  color: var(--demo-mark-fg);
}

.demo-sheet {
  flex: 0 0 auto;
  padding: 10px 16px 22px;
  border-top: 1px solid var(--demo-line);
  border-radius: 24px 24px 0 0;
  background: var(--demo-sheet);
  box-shadow: 0 -10px 30px rgba(38, 32, 42, .08);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: var(--demo-line);
}

.demo-panel[hidden] {
  display: none;
}

.demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-start {
  min-height: 46px;
  flex: 1 1 auto;
  padding: 0 16px;
  font-size: 15px;
}

.demo-mode {
  display: grid;
  gap: 1px;
  color: var(--demo-soft);
  font-size: 10.5px;
  line-height: 1.25;
  text-align: right;
}

.demo-mode strong {
  color: var(--demo-fg);
  font-size: 12.5px;
}

.demo-pace {
  display: grid;
  gap: 0;
  margin-top: 6px;
}

.demo-pace label {
  display: flex;
  justify-content: space-between;
  color: var(--demo-soft);
  font-size: 11.5px;
  font-weight: 600;
}

.demo-pace output {
  color: var(--demo-fg);
  font: 500 12px/1.2 "DM Mono", ui-monospace, monospace;
}

input[type="range"] {
  width: 100%;
  height: 40px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  accent-color: var(--morado);
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: var(--demo-chip);
}

input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8.5px;
  border: 3px solid var(--demo-sheet);
  border-radius: 50%;
  background: var(--morado);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: var(--demo-chip);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid var(--demo-sheet);
  border-radius: 50%;
  background: var(--morado);
}

.theme-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.chip {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid var(--demo-line);
  border-radius: 999px;
  background: transparent;
  color: var(--demo-fg);
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
}

.chip:hover {
  background: var(--demo-chip);
}

.chip[aria-pressed="true"] {
  border-color: transparent;
  background: var(--lirio);
  color: #26202A;
}

.chip small {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--maiz);
  color: #26202A;
  font: 500 8.5px/1.4 "DM Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.demo-question {
  margin: 0 0 9px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.demo-answers {
  display: grid;
  gap: 6px;
}

.answer {
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid var(--demo-line);
  border-radius: 12px;
  background: var(--demo-chip);
  color: var(--demo-fg);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.answer:hover {
  border-color: var(--morado);
}

.demo-kicker {
  margin-bottom: 4px;
  color: var(--demo-soft);
  font-size: 10px;
}

.demo-result-title {
  margin: 0 0 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

/* Pace and understanding always travel together, at equal weight. */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.pair div {
  display: grid;
  gap: 1px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--demo-chip);
}

.pair span {
  color: var(--demo-soft);
  font-size: 10px;
  font-weight: 600;
}

.pair strong {
  font: 500 16px/1.2 "DM Mono", ui-monospace, monospace;
}

.demo-result-body {
  margin: 0 0 9px;
  color: var(--demo-soft);
  font-size: 12px;
  line-height: 1.4;
}

.demo-again {
  width: 100%;
  min-height: 42px;
  font-size: 14px;
}

.demo-foot {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 0 12px;
  background: var(--demo-sheet);
  color: var(--demo-soft);
  font-size: 11px;
  font-weight: 600;
}

/* ── Trust strip ────────────────────────────────────────────────── */

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-inner {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin-block: 0;
  color: var(--ink-soft);
  list-style: none;
}

.trust-inner li {
  display: flex;
  align-items: center;
  gap: 18px;
}

.trust-inner li + li::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--morado);
  content: "";
}

/* ── Sections ───────────────────────────────────────────────────── */

.section {
  padding: 104px 0;
}

.section-head {
  display: flex;
  max-width: 740px;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 46px;
}

.section-head.centered {
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.split-copy h2,
.honest h2,
.privacy h2,
.support h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: .98;
}

.section-head .lead,
.split-copy .lead,
.privacy .lead {
  margin-bottom: 0;
  color: rgba(38, 32, 42, .72);
  font-size: 18px;
  line-height: 1.55;
}

/* Loop: read · play · check · return */

.loop {
  background: var(--paper);
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: loop-step;
}

.loop-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow-soft);
  counter-increment: loop-step;
}

.loop-card::before {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--tint, var(--lirio));
  content: "0" counter(loop-step);
  font: 500 11px/1 "DM Mono", monospace;
}

.loop-card::after {
  position: absolute;
  top: 39px;
  right: -13px;
  z-index: 2;
  width: 26px;
  height: 2px;
  background: rgba(38, 32, 42, .22);
  content: "";
}

.loop-card:last-child::after {
  display: none;
}

.loop-card h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.loop-card > p {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.loop-demo {
  display: grid;
  min-height: 118px;
  align-content: center;
  margin-top: auto;
  padding: 15px;
  border-radius: 16px;
  background: var(--demo-tint, var(--lirio-pale));
}

.tint-lirio { --tint: var(--lirio); --demo-tint: #F4EFFD; }
.tint-maiz { --tint: var(--maiz); --demo-tint: #FFF7E3; }
.tint-agua { --tint: var(--agua); --demo-tint: #EEF9F7; }
.tint-blush { --tint: var(--blush); --demo-tint: #FFF1F4; }
.tint-cielo { --tint: var(--cielo); --demo-tint: #EEF4FE; }

.loop-read {
  font-family: "Lexend", system-ui, sans-serif;
  font-size: 13.5px;
  line-height: 1.7;
}

.loop-read p {
  margin: 0;
}

.loop-read span {
  padding: 1px 2px;
  border-radius: 4px;
  background: var(--lirio);
}

.mini-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mini-tiles span {
  display: grid;
  gap: 3px;
  padding: 8px 9px;
  border-radius: 11px;
  background: var(--paper-light);
  box-shadow: 0 2px 8px rgba(38, 32, 42, .07);
  font-size: 11px;
  font-weight: 700;
}

.mini-tiles i {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--lirio);
}

.mini-tiles span:nth-child(2) i { background: var(--maiz); }
.mini-tiles span:nth-child(3) i { background: var(--blush); }
.mini-tiles span:nth-child(4) i { background: var(--cielo); }

.loop-check {
  display: grid;
  gap: 8px;
}

.check-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 6px;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

.check-pair span:not(.plus) {
  padding: 9px 4px;
  border-radius: 10px;
  background: var(--paper-light);
  box-shadow: 0 2px 8px rgba(38, 32, 42, .07);
}

.check-pair .plus {
  color: var(--ink-soft);
}

.check-verdict {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px;
  border-radius: 10px;
  background: var(--agua);
  font-size: 11.5px;
  font-weight: 700;
}

.check-verdict svg {
  width: 14px;
  height: 14px;
}

.rank-strip {
  display: grid;
  gap: 9px;
}

.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
}

.rank-row span:last-child {
  color: var(--ink-soft);
  font-weight: 600;
}

.rank-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(38, 32, 42, .08);
}

.rank-bar::before {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--ribbon);
  content: "";
}

/* Split layout (reader, gym) */

.band {
  border-block: 1px solid var(--line);
  background: var(--paper-light);
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.split.flip {
  grid-template-columns: 1.1fr .9fr;
}

.split.flip .split-copy {
  order: 2;
}

.split-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.feature-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 31px;
  color: var(--ink-soft);
}

.feature-list li strong {
  color: var(--ink);
}

.feature-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2326202A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat,
    var(--bullet, var(--lirio));
  content: "";
}

.feature-list.maiz li::before { --bullet: var(--maiz); }

.fine-print {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
}

/* ── Game shelf ─────────────────────────────────────────────────── */

.shelf {
  background:
    radial-gradient(circle at 6px 6px, rgba(132, 71, 214, .09) 2px, transparent 2.2px) 0 0 / 18px 18px,
    var(--paper);
}

.shelf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.shelf-groups {
  display: grid;
  gap: 30px;
}

.shelf-group h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 24px;
}

.shelf-group h3 .mono {
  color: var(--ink-soft);
  font-family: "DM Mono", monospace;
  font-weight: 500;
  letter-spacing: .1em;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.game-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-light);
  box-shadow: var(--shadow-soft);
}

.game-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--tint, var(--lirio));
  color: var(--morado-text);
}

.game-icon svg {
  width: 22px;
  height: 22px;
}

.game-tile h4 {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.25;
}

.game-tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: auto;
  padding-top: 6px;
}

.game-meta .length {
  color: var(--ink-soft);
  font: 500 11.5px/1 "DM Mono", monospace;
}

.shelf-note {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-light);
  color: var(--ink-soft);
  font-size: 14px;
}

.shelf-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--morado-text);
}

.shelf-note strong {
  color: var(--ink);
}

.shelf-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
  justify-items: center;
}

/* Schulte mini-game */

.schulte-card {
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.schulte-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.schulte-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.schulte-instructions {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.size-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.size-chips .chip {
  --demo-line: var(--line-strong);
  --demo-chip: rgba(38, 32, 42, .05);
  --demo-fg: var(--ink);
  min-height: 36px;
  padding: 0 12px;
  font: 500 12px/1 "DM Mono", monospace;
}

.schulte-grid {
  --n: 3;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 6px;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 16px;
  background: var(--lirio-pale);
}

.schulte-grid.size-4 { --n: 4; }
.schulte-grid.size-5 { --n: 5; }

.cell {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 48px;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(38, 32, 42, .08);
  border-radius: 10px;
  background: var(--paper-light);
  color: var(--ink);
  cursor: pointer;
  font: 500 clamp(18px, 2.4vw, 26px)/1 "DM Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  touch-action: manipulation;
}

.size-5 .cell {
  font-size: clamp(16px, 1.9vw, 21px);
}

.cell:hover {
  border-color: rgba(132, 71, 214, .45);
}

.cell.is-found {
  background: var(--lirio);
  color: var(--ink-soft);
}

.cell.is-miss {
  background: var(--blush);
}

/* The app's positive-feedback gesture: one expanding Morado ring. */
.cell .ripple {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--morado);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: ripple .62s cubic-bezier(.25, 1, .5, 1) forwards;
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(6);
  }
}

.schulte-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.schulte-time {
  font: 500 22px/1 "DM Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

.schulte-time small {
  margin-left: 2px;
  color: var(--ink-soft);
  font-size: 13px;
}

.schulte-status {
  min-height: 42px;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.schulte-status strong {
  color: var(--ink);
}

.schulte-card .button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.schulte-evidence {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

.schulte-evidence .tier-tag {
  margin-bottom: 8px;
}

/* ── Honest by design (dark) ────────────────────────────────────── */

.honest {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--ink-on-dark);
}

.honest::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 7px 7px, rgba(220, 208, 247, .085) 2px, transparent 2.2px) 0 0 / 24px 24px;
  content: "";
}

.honest .container {
  position: relative;
}

.honest-head {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.honest .eyebrow {
  color: var(--soft-on-dark);
}

.honest .eyebrow::before {
  background: var(--maiz);
}

.honest h2 {
  margin-top: 14px;
  color: var(--ink-on-dark);
}

.honest .lead {
  margin: 0;
  color: var(--soft-on-dark);
  font-size: 18px;
}

.honest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.honest-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(243, 233, 237, .1);
  border-radius: var(--radius);
  background: var(--night-surface);
}

.honest-card h3 {
  margin: 0;
  color: var(--ink-on-dark);
  font-size: 22px;
}

.honest-card p,
.honest-card li {
  margin: 0;
  color: var(--soft-on-dark);
  font-size: 14.5px;
  line-height: 1.55;
}

.honest-card blockquote {
  margin: auto 0 0;
  padding: 13px 15px;
  border-left: 3px solid var(--lirio);
  border-radius: 0 12px 12px 0;
  background: rgba(220, 208, 247, .08);
  color: var(--ink-on-dark);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.honest-card blockquote cite {
  display: block;
  margin-top: 6px;
  color: var(--soft-on-dark);
  font-size: 11.5px;
  font-style: normal;
}

.tag-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list .tier-tag {
  margin-bottom: 5px;
  border-color: rgba(243, 233, 237, .14);
  background: rgba(243, 233, 237, .08);
  color: var(--ink-on-dark);
}

.myth-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.myth-list li {
  position: relative;
  padding-left: 28px;
}

.myth-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' stroke='%2326202A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat,
    var(--blush);
  content: "";
}

.myth-list strong {
  color: var(--ink-on-dark);
}

.honest-shots {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 58px;
}

.honest-shots figure {
  display: grid;
  justify-items: center;
}

.honest-shots .device-caption {
  max-width: 290px;
  color: var(--soft-on-dark);
}

.honest-shots figure:nth-child(1) .device { transform: rotate(-2deg); }
.honest-shots figure:nth-child(2) .device { transform: rotate(2deg); }
.honest-shots figure:nth-child(2) { transform: translateY(24px); }

/* The comprehension gate, shown without inventing any speed figures. */
.gate-demo {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 2px 0 0;
  list-style: none;
}

.gate-demo li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid rgba(243, 233, 237, .1);
  border-radius: 14px;
  background: rgba(243, 233, 237, .05);
}

.gate-read {
  color: var(--ink-on-dark);
  font-size: 14px;
  font-weight: 700;
}

.gate-score {
  grid-row: 2;
  color: var(--soft-on-dark);
  font: 400 12.5px/1.3 "DM Mono", ui-monospace, monospace;
}

.gate-verdict {
  grid-row: 1 / span 2;
  grid-column: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.gate-yes .gate-verdict {
  background: var(--agua);
}

.sources {
  margin-top: 64px;
  border-color: rgba(243, 233, 237, .12);
  background: var(--night-surface);
  box-shadow: none;
}

.sources summary {
  color: var(--ink-on-dark);
}

.sources summary::after {
  color: var(--lirio);
}

.sources ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 24px 22px 44px;
  color: var(--soft-on-dark);
  font-size: 13.5px;
  line-height: 1.5;
}

.sources ol em {
  color: var(--ink-on-dark);
}

.sources p {
  color: var(--soft-on-dark);
}

/* ── Pricing ────────────────────────────────────────────────────── */

.pricing {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-light) 100%);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 26px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow-soft);
}

.plan::before {
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--plan-band, var(--agua));
  content: "";
}

.plan.featured {
  --plan-band: var(--ribbon);
  border-color: rgba(132, 71, 214, .42);
  box-shadow: var(--shadow);
}

.plan-flag {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--morado);
  color: var(--paper-light);
  font: 500 11px/1.2 "DM Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  padding-top: 4px;
}

.plan-name {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 7px;
}

.plan-price strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 23px;
  font-weight: 800;
}

.plan-price small,
.plan-note {
  color: var(--ink-soft);
  font-size: 13.5px;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
}

.plan-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2326202A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 19px no-repeat,
    var(--plan-bullet, var(--agua));
  content: "";
}

.plan.featured .plan-list li::before {
  --plan-bullet: var(--lirio);
}

.plan-note {
  margin: auto 0 0;
  padding-top: 6px;
}

.always-free {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 26px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--agua);
  font-size: 15px;
}

.always-free svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.plan-terms {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.plan-terms h3 {
  margin-bottom: 16px;
  font-size: 21px;
}

.plan-terms ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 13px 22px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.plan-terms li {
  padding-left: 16px;
  border-left: 3px solid var(--lirio);
  font-size: 15px;
  line-height: 1.55;
}

.plan-links,
.policy-more,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0;
}

/* ── Privacy summary ────────────────────────────────────────────── */

.privacy {
  border-block: 1px solid var(--line);
  background: var(--paper-light);
}

.privacy-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}

.privacy-intro h2 {
  margin-top: 14px;
}

.privacy-intro .lead {
  max-width: 58ch;
}

.privacy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.privacy-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow: var(--shadow-soft);
}

.privacy-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--tint, var(--lirio));
  color: var(--ink);
}

.privacy-icon svg {
  width: 22px;
  height: 22px;
}

.privacy-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.privacy-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.policy {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.policy-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.policy-header h3 {
  margin-bottom: 0;
  font-size: 26px;
}

.policy-header time {
  color: var(--ink-soft);
  font: 500 10.5px/1.2 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 34px;
}

.policy-block h4 {
  margin-bottom: 7px;
  font-size: 15.5px;
}

.policy-block p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.policy-more {
  margin-top: 24px;
}

/* ── FAQ ────────────────────────────────────────────────────────── */

.faq-section {
  background: var(--paper);
}

.faq-wrap {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.faq-intro h2 {
  margin: 12px 0 14px;
  font-size: clamp(36px, 5vw, 52px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-light);
  box-shadow: var(--shadow-soft);
}

summary {
  position: relative;
  min-height: 64px;
  padding: 20px 56px 18px 21px;
  cursor: pointer;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -.02em;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--morado-text);
  content: "+";
  font-family: "Figtree", sans-serif;
  font-size: 24px;
  font-weight: 700;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: -3px 21px 21px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ── Support banner ─────────────────────────────────────────────── */

.support-wrap {
  padding: 0 0 96px;
  background: var(--paper);
}

.support {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 34px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper-light);
}

.support::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 7px 7px, rgba(220, 208, 247, .1) 2.2px, transparent 2.4px) 0 0 / 22px 22px;
  content: "";
}

.support > * {
  position: relative;
}

.support-mark {
  width: 88px;
  height: 88px;
  transform: rotate(-6deg);
}

.support-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.support .eyebrow {
  color: var(--soft-on-dark);
}

.support .eyebrow::before {
  background: var(--lirio);
}

.support h2 {
  color: var(--paper-light);
  font-size: clamp(30px, 4vw, 44px);
}

.support .lead {
  margin: 0;
  color: rgba(255, 249, 244, .76);
  font-size: 15.5px;
}

.support .button.ghost {
  border-color: rgba(255, 249, 244, .3);
  color: var(--paper-light);
}

.support .button.ghost:hover {
  background: rgba(255, 249, 244, .1);
  color: var(--paper-light);
}

/* ── Footer ─────────────────────────────────────────────────────── */

footer {
  background: var(--ink);
  color: rgba(255, 249, 244, .72);
}

.footer-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13.5px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  color: var(--paper-light);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 18px;
}

footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--lirio);
  font-weight: 700;
}

footer a:hover {
  color: var(--paper-light);
}

/* ── Document pages: privacy, terms, support ───────────────────── */

.doc-hero {
  padding: 132px 0 36px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 7px 7px, rgba(132, 71, 214, .1) 2.1px, transparent 2.3px) 0 0 / 22px 22px,
    var(--paper-light);
}

.doc-hero .eyebrow {
  margin-bottom: 14px;
}

.doc-hero h1 {
  max-width: 20ch;
  margin-bottom: 14px;
  font-size: clamp(40px, 6vw, 64px);
}

.doc-hero .lead {
  max-width: 62ch;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 18px;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font: 500 12px/1.2 "DM Mono", monospace;
  letter-spacing: .05em;
}

.doc-meta span {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--lirio);
}

.doc-meta span:nth-child(2) { background: var(--maiz); }
.doc-meta span:nth-child(3) { background: var(--agua); }

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  padding: 54px 0 90px;
}

.doc-toc {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-light);
}

.doc-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font: 500 10.5px/1.2 "DM Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.doc-toc ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: toc;
}

.doc-toc a {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  counter-increment: toc;
}

.doc-toc a::before {
  color: var(--ink-soft);
  content: counter(toc, decimal-leading-zero);
  font: 400 11.5px/1 "DM Mono", monospace;
}

.doc-toc a:hover {
  color: var(--morado-text);
}

.doc-body > section {
  padding: 0 0 34px;
  scroll-margin-top: 108px;
}

.doc-body > section + section {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.doc-body h2 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 31px);
}

.doc-body h3 {
  margin: 26px 0 10px;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0;
}

.doc-body p,
.doc-body li {
  max-width: 74ch;
  font-size: 16px;
  line-height: 1.65;
}

.doc-body p {
  margin-bottom: 14px;
}

.doc-body ul,
.doc-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.doc-body li {
  margin-bottom: 9px;
}

.doc-body li::marker {
  color: var(--morado-text);
}

.doc-body code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(38, 32, 42, .06);
  font: 400 .88em/1.4 "DM Mono", ui-monospace, monospace;
  overflow-wrap: anywhere;
}

.doc-body .button,
.doc-body .button:hover {
  color: var(--paper-light);
  text-decoration: none;
}

.doc-body .button.ghost,
.doc-body .button.ghost:hover {
  color: var(--ink);
}

.doc-table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-light);
}

.doc-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.doc-table th,
.doc-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
}

.doc-table thead th {
  background: var(--lirio);
  font: 500 11px/1.3 "DM Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.doc-table tbody tr:last-child th,
.doc-table tbody tr:last-child td {
  border-bottom: none;
}

.doc-table tbody th {
  width: 28%;
  font-weight: 700;
}

.doc-table tbody th .mono {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: none;
}

.callout {
  display: flex;
  gap: 16px;
  margin: 0 0 20px;
  padding: 19px 22px;
  border-radius: 16px;
  background: var(--tint, var(--agua));
}

.callout p {
  margin: 0;
  font-size: 15.5px;
}

.callout p + p {
  margin-top: 9px;
}

.callout strong:first-child {
  display: block;
  margin-bottom: 4px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: -.01em;
}

.callout-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.step-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.step-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-light);
}

.step-card > span {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--tint, var(--lirio));
  font: 500 11px/1 "DM Mono", monospace;
}

.step-card h3 {
  margin: 0 0 7px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.015em;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

.doc-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--lirio);
}

.doc-contact svg {
  width: 58px;
  height: 58px;
}

.doc-contact div {
  flex: 1 1 260px;
}

.doc-contact p {
  margin: 0;
}

.doc-contact a {
  color: var(--ink);
  font-weight: 700;
}

.ua-string {
  display: block;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper-light);
  font: 400 13.5px/1.5 "DM Mono", ui-monospace, monospace;
  overflow-wrap: anywhere;
}

/* ── 404 ────────────────────────────────────────────────────────── */

.lost {
  display: grid;
  min-height: calc(100vh - 190px);
  place-items: center;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at 7px 7px, rgba(132, 71, 214, .12) 2.1px, transparent 2.3px) 0 0 / 22px 22px,
    var(--paper-light);
  text-align: center;
}

.lost-card {
  display: grid;
  max-width: 560px;
  justify-items: center;
  gap: 16px;
}

.lost-card svg {
  width: 96px;
  height: 96px;
}

.lost-card h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 64px);
}

.lost-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

/* ── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .shelf-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .shelf-aside {
    position: static;
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
  }

  .shelf-aside .device-figure {
    justify-self: center;
  }
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: .92fr 1.08fr;
    gap: 26px;
  }

  .loop-grid {
    grid-template-columns: 1fr 1fr;
  }

  .loop-card::after {
    display: none;
  }

  .split,
  .split.flip {
    gap: 40px;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .honest-grid {
    grid-template-columns: 1fr;
  }

  .policy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links li:not(:last-child) {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero .lead {
    max-width: 46ch;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .split,
  .split.flip,
  .honest-head,
  .privacy-intro,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .split.flip .split-copy {
    order: 0;
  }

  .honest-head,
  .privacy-intro {
    gap: 20px;
  }

  .shelf-aside {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .schulte-card {
    max-width: 420px;
  }

  .plan-grid,
  .privacy-cards,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .honest-shots {
    gap: 18px;
  }

  .support {
    grid-template-columns: auto 1fr;
  }

  .support .support-actions {
    grid-column: 1 / -1;
  }

  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .doc-toc {
    position: static;
    max-height: none;
  }

  .doc-hero {
    padding-top: 116px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-family {
    display: none;
  }

  .nav-links .support-link {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 13.5px;
  }

  .hero-inner {
    min-height: 0;
    padding: 52px 0 60px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .hero-visual {
    min-height: 0;
    padding: 18px 0;
  }

  .phone {
    --phone-width: min(318px, calc(100vw - 40px));
    height: 640px;
    transform: none;
  }

  .paper-note {
    display: none;
  }

  .hero-orbit {
    inset: 3% -8%;
  }

  .trust-inner {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 15px 0;
    text-align: center;
  }

  .trust-inner li {
    gap: 14px;
  }

  .trust-inner .mono {
    font-size: 9.5px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2,
  .split-copy h2,
  .honest h2,
  .privacy h2,
  .support h2 {
    font-size: 38px;
  }

  .loop-grid {
    grid-template-columns: 1fr;
  }

  .loop-card {
    min-height: 0;
  }

  .device-pair {
    min-height: 0;
  }

  .device-pair .device {
    --device-width: 220px;
    border-width: 7px;
    border-radius: 36px;
  }

  .device-pair .device + .device {
    margin-left: -84px;
    transform: translateY(-26px) rotate(3deg);
  }

  .device-pair .device .phone-status {
    height: 28px;
    font-size: 9.5px;
  }

  .device-pair .device .phone-island {
    top: 6px;
    width: 58px;
    height: 17px;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .honest-shots {
    flex-direction: column;
    align-items: center;
    gap: 42px;
  }

  .honest-shots figure:nth-child(2),
  .honest-shots figure:nth-child(2) .device {
    transform: none;
  }

  .plan,
  .plan-terms,
  .policy {
    padding: 24px 20px;
  }

  .policy-header {
    display: grid;
  }

  .support {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .support-mark {
    width: 64px;
    height: 64px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Legal tables stack into labelled cards on a phone: a policy is read,
   not dragged sideways. Cells carry data-label from the column header. */
@media (max-width: 640px) {
  .doc-table-wrap {
    overflow-x: visible;
    border: none;
    background: none;
  }

  .doc-table {
    display: block;
    min-width: 0;
  }

  .doc-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .doc-table tbody,
  .doc-table tr,
  .doc-table th,
  .doc-table td {
    display: block;
    width: auto;
  }

  .doc-table tr {
    margin-bottom: 14px;
    padding: 4px 0 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper-light);
  }

  .doc-table tbody th {
    width: auto;
    padding-bottom: 6px;
    border-bottom: none;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.015em;
  }

  .doc-table td {
    padding-top: 4px;
    border-bottom: none;
  }

  .doc-table td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--ink-soft);
    content: attr(data-label);
    font: 500 10.5px/1.3 "DM Mono", monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
}

/* Reduce motion: no smooth scroll, no ripple, no theme cross-fade.
   Correct taps become a static tint, as in the app. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .cell .ripple {
    display: none;
  }
}

@media print {
  .site-header,
  .doc-toc,
  footer,
  .skip-link {
    display: none;
  }

  main {
    padding-top: 0;
  }

  .doc-hero {
    padding-top: 24px;
    background: none;
  }

  .doc-layout {
    display: block;
  }
}
