/* CSMax site design system. Tokens first, then base, layout, components.
   Class list and copy-paste snippets: assets/COMPONENTS.md */

/* Same fonts as tikscale.net (read from its page, 2026-10-16): Archivo Black for display, DM Sans for everything else.
   Self-hosted since 2026-10-17 (both SIL OFL 1.1, license in fonts/OFL.txt), so no visitor IP goes to Google and the site
   makes zero outside requests. Latin subset only: other characters fall back to the system font.
   Preload only the hero font, in each page <head>:
   <link rel="preload" href="assets/fonts/archivo-black-latin.woff2" as="font" type="font/woff2" crossorigin> */
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-black-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 800;          /* one variable file covers 400, 500, 600, 700 and 800 */
  font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: dark;

  /* palette (2026-10-22c): exactly three colors, no tints or grays: black #000000, white #EFEFEF, purple #4E2BCC.
     Token names kept from the green palette so every rule still works. Purple surfaces take white text; black surfaces take white text. */
  --forest: #0F032D;
  --pine: #4E2BCC;
  --moss: #4E2BCC;
  --sage: #4E2BCC;
  --mist: #0F032D;
  --cream: #EFEFEF;
  --beige: #000000;
  --beige-2: #0F032D;
  --paper: #0F032D;
  --ink: #EFEFEF;              /* black: all body and heading text */
  --charcoal: #0F032D;         /* dark bands, dark buttons, borders */
  --ink-2: #EFEFEF;            /* muted text is black too: no gray */
  --line: #4E2BCC;             /* hairlines and card borders */
  --accent-text: #905BF4;      /* links and eyebrows on white, 7.1:1 */
  --on-ink: #EFEFEF;           /* text on black and on purple */
  --on-ink-2: #EFEFEF;
  --placeholder: #905BF4;
  --field-border: #905BF4;

  --grain: none;

  /* type */
  --font-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.35rem, 1.1rem + 5.2vw, 4.75rem);
  --fs-h2: clamp(1.85rem, 1.05rem + 3.2vw, 3.25rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.78rem;
  --lh-tight: 1.04;
  --lh-snug: 1.2;
  --lh-body: 1.6;

  /* spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --gutter: 16px;
  --max: 1200px;
  --max-narrow: 860px;

  /* radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* shadows */
  --shadow-: 0 0 0 0 #000000;
  --shadow-: 0 0 0 0 #000000;
  --shadow-: 0 0 0 0 #000000;   /* soft green drop shadow under pills */
  /* a clean subtle edge on the green surfaces: one 1px hairline in --moss at 55%, nothing else. Static. */
  --rim: inset 0 0 0 2px #000000;

  --focus: #EFEFEF;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 24px; }
}

/* ---------- 1b. Approved colour pairs (checked by tests/contrast.mjs, WCAG 2.2 AA) ----------
   Use only these. A new pair gets added to the test first. Light surfaces = beige, beige-2, cream, paper, white.
   Normal text, 4.5:1 or more:
     --ink, --ink-2, --accent-text      on any light surface
     --cream, --on-ink, --on-ink-2, --sage   on --charcoal (#000000: footer, dark video slot, dark bands, dark buttons)
     --ink   on solid --sage (5.26:1): pills, .btn--primary, panel CTA, numbered circles
     --placeholder   on white (form fields)
   Large text only (24px+, or 18.66px+ bold), 3:1 or more:
     .text-accent (solid --moss)   on any light surface
     .text-accent on a dark band (solid --sage)   on --charcoal
   UI parts and focus rings, 3:1 or more:
     --focus: var(--charcoal)  on light surfaces and on the solid sage surfaces (the default); --charcoal is also for borders, shadows, glyphs
     --focus: var(--cream)  on charcoal surfaces: every dark block sets it, as .footer does
     --field-border         on white and paper
   There are no gradients on the site (John 2026-10-18); every surface is a solid palette colour.
   Not for text: --line (decoration only). --pine and --moss are fine as text on light
   surfaces (see --accent-text), never on --sage or on --charcoal. --charcoal is for surfaces, borders and shadows only, never text.
   Not measured by the test: the grain soft-light layer. It is faint; check by eye when it changes. */

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;   /* Archivo Black has one weight; never fake-bold it */
}
h1, .h1 { letter-spacing: -0.04em; }   /* tikscale sets its display type tight */
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-snug);
  margin: 0 0 var(--s-4);
  overflow-wrap: break-word;
  letter-spacing: -0.01em;
}
p { margin: 0 0 var(--s-4); }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--sage); color: #EFEFEF; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-4); color: var(--cream); }

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

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--max-narrow); }
.section { padding-block: var(--s-8); }
.section--alt { background: var(--beige-2); }
@media (min-width: 960px) { .section { padding-block: var(--s-9); } }
.section--tight { padding-block: var(--s-7); }   /* after the 960px .section rule, so the modifier wins at every width */

.section__head { max-width: 820px; margin: 0 auto var(--s-7); text-align: center; }
.section__head .lead, .hero .lead { margin-inline: auto; }   /* before the --left fix below, so --left wins */
.section__head--left { margin-inline: 0; text-align: left; }
.section__head--left .lead { margin-inline: 0; text-align: left; }
.section__head--split {
  max-width: none; text-align: left;
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: var(--s-3);
}
.display {
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 1.12;            /* Archivo Black is tall; tighter lines let the accent box cover the line above */
  letter-spacing: -0.035em;
}
.h2 { font-size: var(--fs-h2); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-size: var(--fs-h3); font-weight: 800; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 680px; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-sm); }
.text-accent {
  color: var(--accent-text);            /* deep purple, 9:1 on white */
}
/* one accent phrase inside a headline; large text only */
/* on a dark green band the moss would be too dim, so the accent words switch to sage */
:is(.footer, .picker-foot, .video-slot--empty, .sec-cta-band) .text-accent { color: #EFEFEF; }
.center { text-align: center; }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) and (max-width: 959px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.stack > * + * { margin-top: var(--s-4); }

/* ---------- 4. Accent box (hero phrase in a solid box) ---------- */
.accent-box {
  display: inline;
  background: var(--sage);
  color: #EFEFEF;
  box-shadow: var(--rim);
  padding: 0 0.2em 0.04em;
  border-radius: 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  --btn-fg: #EFEFEF;
  background: var(--sage);   /* grain and edge come from 17b */
  box-shadow: var(--rim), var(--shadow-glow);
}
.btn--dark { --btn-bg: var(--charcoal); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--charcoal); }
.btn--ghost:hover { --btn-bg: var(--charcoal); --btn-fg: var(--cream); }
.btn--cream { --btn-bg: var(--cream); --btn-fg: #000000; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 1; outline: 2px dashed #000000; cursor: not-allowed; transform: none; }

/* big tikscale-style pill CTA: the guillemets are drawn by CSS and hidden from screen readers */
.cta-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.9em;
  width: min(100%, 520px);
  min-height: 64px;
  padding: 18px 28px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--sage);   /* grain and edge come from 17b */
  color: #EFEFEF;
  font: 900 clamp(1.17rem, 1.1rem + 0.3vw, 1.3rem)/1.2 var(--font-display);   /* 18.7px+ bold: large text; solid sage passes 4.5:1 anyway */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--rim), var(--shadow-glow);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.cta-pill::before { content: "\00BB"; content: "\00BB" / ""; }
.cta-pill::after { content: "\00AB"; content: "\00AB" / ""; }
.cta-pill:hover { color: #EFEFEF; transform: translateY(-2px); box-shadow: var(--rim); }
@media (max-width: 479px) {
  .cta-pill { gap: 0.6em; padding-inline: 18px; letter-spacing: 0.07em; }
}
.cta-pill__sub { display: block; margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--ink-2); text-align: center; }

/* ---------- 6. Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
}
.nav--scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: var(--s-5); min-height: 72px; }
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font: 900 1.45rem/1 var(--font-display); letter-spacing: -0.02em;
}
.nav__brand:hover { color: var(--ink); }
.nav__brand img { width: 44px; height: auto; }   /* Max, the 8-bit eye logo (34 x 16 grid, 2px a cell, about 2.1 to 1) */
.nav__links { display: flex; align-items: center; gap: var(--s-1); margin: 0 auto; padding: 0; list-style: none; }
.nav__link {
  display: block; padding: 10px 14px; border-radius: var(--r-pill);
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--beige-2); color: var(--ink); }
.nav__cta { margin-left: auto; }
.nav__links + .nav__cta { margin-left: 0; }
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border: 2px solid var(--charcoal); border-radius: var(--r-pill);
  background: transparent; color: var(--ink); cursor: pointer;
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -6px; }
.nav__toggle-bars::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 859px) {
  /* phone menu: only collapses when site.js is running (it adds .js to <html>) */
  .js .nav__toggle { display: inline-flex; }
  .js .nav__cta { display: none; }
  .js .nav__links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: var(--s-3) var(--gutter) var(--s-5);
    background: var(--beige); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .js .nav--open .nav__links { display: flex; }
  .nav__link { padding: 14px 12px; font-size: 1.05rem; }
  .nav__mobile-cta { margin-top: var(--s-3); }   /* the phone menu carries its own CTA item */
  html:not(.js) .nav__inner { flex-wrap: wrap; padding-block: var(--s-2); }
  html:not(.js) .nav__links { flex-wrap: wrap; margin: 0; }
}
@media (min-width: 860px) { .nav__mobile-cta { display: none; } }

/* ---------- 7. Hero + video slot ---------- */
.hero { padding-block: var(--s-8) var(--s-7); text-align: center; }
@media (min-width: 960px) { .hero { padding-block: var(--s-9) var(--s-8); } }
.hero__title { max-width: 1050px; margin-inline: auto; margin-bottom: var(--s-5); }
.hero__sub { margin-bottom: var(--s-6); }
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
.hero__note { font-size: var(--fs-sm); color: var(--ink-2); }

.video-slot {
  position: relative;
  max-width: 780px; margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: var(--shadow-md);
}
.video-slot video, .video-slot iframe, .video-slot img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-slot--empty {
  display: grid; place-items: center; align-content: center; gap: var(--s-3);
  background: var(--charcoal);
  color: var(--cream);
}
.video-slot__play {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage);
  box-shadow: var(--rim), var(--shadow-glow);
}
.video-slot__play::after {
  content: ""; margin-left: 5px;
  border-left: 22px solid var(--charcoal); border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.video-slot__label { font-size: var(--fs-sm); color: var(--on-ink); padding-inline: var(--s-4); text-align: center; }

/* ---------- 8. Stepper (numbered, joined by a line) ---------- */
.stepper {
  --dot: 56px;
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--s-6);
  counter-reset: step;
}
.stepper__item { position: relative; padding-left: calc(var(--dot) + var(--s-4)); }
.stepper__dot {
  position: absolute; left: 0; top: 0;
  width: var(--dot); height: var(--dot); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage);
  color: #EFEFEF;
  font: 900 1.15rem/1 var(--font-display);
  box-shadow: var(--rim);
  z-index: 1;
}
/* the joining line: vertical on phone */
.stepper__item:not(:last-child)::before {
  content: ""; position: absolute;
  left: calc(var(--dot) / 2 - 1.5px); top: var(--dot);
  width: 3px; height: calc(100% - var(--dot) + var(--s-6));
  background: var(--moss);
  border-radius: 3px;
}
.stepper__title { font-size: var(--fs-h3); font-weight: 800; margin: 12px 0 var(--s-2); }
.stepper__text { color: var(--ink-2); margin: 0; }

@media (min-width: 860px) {
  .stepper { grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s-5); }
  .stepper__item { padding-left: 0; padding-top: calc(var(--dot) + var(--s-5)); text-align: center; }
  .stepper__dot { left: 50%; transform: translateX(-50%); }
  .stepper__item:not(:last-child)::before {
    left: calc(50% + var(--dot) / 2); top: calc(var(--dot) / 2 - 1.5px);
    width: calc(100% - var(--dot) + var(--s-5)); height: 3px;
  }
  .stepper__title { margin-top: 0; }
}

/* ---------- 9. Cards (shared shell) ---------- */
.card, .workflow-card, .feature-card, .proof-card, .voice-card, .price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card { padding: var(--s-6); }

/* workflow card: picture area on top, numbered title below */
.workflow-card { overflow: hidden; display: flex; flex-direction: column; }
.workflow-card__media {
  aspect-ratio: 16 / 10;
  background: var(--beige-2);
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2); font-size: var(--fs-sm);
}
.workflow-card__media img { width: 100%; height: 100%; object-fit: cover; }
.workflow-card__body { padding: var(--s-5); }
.workflow-card__title { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-h3); font-weight: 800; margin-bottom: var(--s-2); }
.workflow-card__num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage); color: #EFEFEF;
  box-shadow: var(--rim);
  font: 800 0.9rem/1 var(--font-body);
}
.workflow-card__text { margin: 0; color: var(--ink-2); }

/* feature card */
.feature-card { padding: var(--s-5) var(--s-5) var(--s-6); }
.feature-card__icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--beige-2); color: var(--accent-text);
  margin-bottom: var(--s-4);
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card__title { font-size: 1.15rem; font-weight: 800; margin-bottom: var(--s-2); }
.feature-card__text { margin: 0; color: var(--ink-2); }

/* proof card: white card with check-mark lines */
.proof-card { max-width: 900px; margin-inline: auto; padding: var(--s-6) var(--s-5); background: var(--paper); box-shadow: var(--shadow-md); }
@media (min-width: 720px) { .proof-card { padding: var(--s-7) var(--s-7) var(--s-6); } }
.proof-card__title { font-size: var(--fs-h3); font-weight: 800; }
.check-list { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-4); }
.check-list li { position: relative; padding-left: 40px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.1em;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sage);
  box-shadow: var(--rim);
}
.check-list li::after {
  content: ""; position: absolute; left: 9px; top: calc(0.1em + 6px);
  width: 6px; height: 11px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.check-list strong { font-weight: 700; }
.proof-card__foot { font-size: var(--fs-sm); color: var(--ink-2); border-top: 1px solid var(--line); padding-top: var(--s-4); margin: 0 0 var(--s-5); }
.proof-card__cta { text-align: center; }

/* voice (testimonial) card. Placeholders only until real ones exist */
.voice-card { padding: var(--s-5); }
.voice-card__who { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); font-weight: 700; font-size: var(--fs-sm); }
.voice-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--beige-2); border: 1px solid var(--line); flex: none; object-fit: cover; }
.voice-card__text { margin: 0; color: var(--ink-2); }
.voice-card--placeholder { background: transparent; border-style: dashed; box-shadow: none; }

/* ---------- 10. Product screenshot frame ---------- */
.frame {
  border-radius: var(--r-xl);
  padding: 10px;
  background: var(--beige-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px 12px; }
.frame__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.frame__bar span:first-child { background: var(--sage); }
.frame__title { margin-left: var(--s-3); font-size: var(--fs-xs); color: var(--ink-2); }
.frame__body {
  border-radius: calc(var(--r-xl) - 10px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 240px;
}
.frame__body img { width: 100%; }
.frame__caption { text-align: center; font-size: var(--fs-sm); color: var(--ink-2); margin-top: var(--s-4); }

/* ---------- 11. Founder block ---------- */
.founder {
  display: grid; gap: var(--s-6); align-items: center;
  padding: var(--s-6) var(--s-5);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
}
@media (min-width: 860px) { .founder { grid-template-columns: 300px 1fr; padding: var(--s-7); gap: var(--s-7); } }
.founder__photo {
  aspect-ratio: 4 / 5; width: 100%; max-width: min(300px, 70vw); margin-inline: auto;
  border-radius: var(--r-lg); object-fit: cover;
  background-color: var(--moss); background-image: var(--grain); background-size: 180px; background-blend-mode: soft-light;   /* photo slot, no text: solid moss */
}
.founder__quote { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.5; font-style: italic; color: var(--ink); margin: 0 0 var(--s-5); }
.founder__name { font: 800 1.35rem/1.2 var(--font-display); margin: 0; }
.founder__role { color: var(--ink-2); margin: 4px 0 0; }

/* ---------- 12. Pricing ---------- */
.pricing { display: grid; gap: var(--s-5); align-items: stretch; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card { position: relative; display: flex; flex-direction: column; padding: var(--s-6) var(--s-5); }
.price-card--featured {
  border: 2px solid transparent;
  border-color: var(--moss); background: var(--paper);   /* solid moss border, no text on it */
  box-shadow: var(--shadow-md);
}
.price-card__badge {
  position: absolute; top: -14px; left: var(--s-5);
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--sage); color: #EFEFEF;
  box-shadow: var(--rim);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.price-card__name { font: 800 1.35rem/1.2 var(--font-display); margin: 0 0 var(--s-2); }
.price-card__price { font: 900 clamp(2.4rem, 2rem + 1.5vw, 3rem)/1 var(--font-display); letter-spacing: -0.03em; margin: var(--s-3) 0 var(--s-1); }
.price-card__per { font: 500 1rem var(--font-body); color: var(--ink-2); letter-spacing: 0; }
.price-card__desc { color: var(--ink-2); margin-bottom: var(--s-5); }
.price-card__list { margin-bottom: var(--s-6); flex: 1; }
.price-card__cta { margin-top: auto; }

.tag {
  display: inline-block; vertical-align: middle;
  padding: 2px 9px; border-radius: var(--r-pill);
  border: 1px solid var(--charcoal); color: var(--ink);
  font: 700 var(--fs-xs)/1.5 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
}
.tag--draft { border-style: dashed; color: var(--accent-text); border-color: var(--accent-text); }

/* ---------- 13. FAQ accordion ---------- */
.faq { display: grid; gap: var(--s-3); max-width: 860px; margin-inline: auto; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq__q { margin: 0; font: inherit; }
.faq__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 18px var(--s-5);
  border: 0; border-radius: var(--r-md);
  background: transparent; color: var(--ink);
  font: 700 1.02rem/1.4 var(--font-body); text-align: left; cursor: pointer;
}
.faq__icon {
  flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%;
  background: var(--charcoal);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--cream);
  transition: transform 0.2s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 var(--s-5) var(--s-5); color: var(--ink-2); }
.faq__a > :last-child { margin-bottom: 0; }

/* ---------- 14. Forms ---------- */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: 6px; }
.field__label { font-weight: 600; font-size: var(--fs-sm); }
.field__input {
  width: 100%; min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--field-border); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}
textarea.field__input { min-height: 120px; resize: vertical; }
select.field__input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field__input::placeholder { color: var(--placeholder); }
.field__input:focus-visible { outline-offset: 1px; border-color: var(--charcoal); }
.field__input[aria-invalid="true"] { border-color: var(--accent-text); }
.field__hint { font-size: var(--fs-sm); color: var(--ink-2); }
.field__error { font-size: var(--fs-sm); color: var(--accent-text); font-weight: 600; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: var(--s-3); }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: #905BF4; }
.field--check .field__label { font-weight: 400; font-size: var(--fs-body); }

/* plan picker: radio cards */
.plan-picker { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
@media (min-width: 720px) { .plan-picker { grid-template-columns: repeat(3, 1fr); } }
.plan-picker legend { font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--s-2); padding: 0; }
.plan-option { position: relative; display: block; cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.plan-option__box {
  display: block; height: 100%;
  padding: var(--s-4); border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper);
}
.plan-option__name { display: block; font-weight: 800; }
.plan-option__price { display: block; color: var(--ink-2); font-size: var(--fs-sm); }
.plan-option input:checked + .plan-option__box { border: 2px solid var(--moss); background: var(--paper); }
.plan-option input:focus-visible + .plan-option__box { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- 15. Notice banner ---------- */
.notice {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  border-left: 5px solid var(--charcoal);
  background: var(--paper);
  color: var(--ink);
}
.notice[hidden] { display: none; }
.notice > :last-child, .notice p:last-child { margin-bottom: 0; }
.notice__title { font-weight: 700; margin: 0 0 2px; }
.notice--info { border-left-color: var(--ink-2); }
.notice--warn { border-left-color: var(--moss); background: var(--paper); }
.notice--success { border-left-color: #4E2BCC; background: var(--paper); }

/* ---------- 16. Final CTA panel (full-width solid sage with grain) ---------- */
.panel-cta {
  --focus: #EFEFEF;
  position: relative;
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-5);
  text-align: center;
  color: #EFEFEF;
  background-color: var(--sage); background-image: var(--grain);
  background-size: 200px;
  background-blend-mode: soft-light;
  box-shadow: var(--rim);
  overflow: hidden;
}
@media (max-width: 479px) { .panel-cta { padding-inline: var(--s-4); } }
@media (min-width: 860px) { .panel-cta { padding: var(--s-9) var(--s-8); } }
.panel-cta__title { font-size: var(--fs-h2); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; max-width: 820px; margin: 0 auto var(--s-4); }
.panel-cta__text { max-width: 620px; margin: 0 auto var(--s-6); font-size: var(--fs-lead); color: var(--ink); }
.panel-cta .cta-pill { background: var(--charcoal); color: var(--cream); }
.panel-cta .cta-pill:hover { color: var(--cream); }
.panel-cta a:not(.btn):not(.cta-pill) { color: var(--ink); }
.panel-cta--full { border-radius: 0; }

/* "still have questions" bar */
.help-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
  max-width: 860px; margin: var(--s-6) auto 0;
  padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper);
}
.help-bar__title { font: 800 1.2rem/1.3 var(--font-display); margin: 0 0 2px; }
.help-bar p { margin: 0; color: var(--ink-2); }
.help-bar .help-bar__title { color: var(--ink); }

/* ---------- 17. Footer ---------- */
/* John: the footer is a dark green box (--ink) at the very end of every page */
.footer { background: var(--charcoal); color: var(--on-ink); padding-block: var(--s-8) var(--s-6); margin: var(--s-8) var(--s-3) var(--s-3); border-radius: var(--r-xl); }
@media (min-width: 720px) { .footer { margin-inline: var(--s-5); margin-bottom: var(--s-5); } }
.footer { --focus: var(--cream); }
.footer__top { display: grid; gap: var(--s-7); }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.3fr 3fr; } }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 900 1.45rem/1 var(--font-display); }
.footer__brand:hover { color: var(--cream); }
.footer__brand img { width: 44px; height: auto; padding: 0; border-radius: var(--r-md); background: var(--cream); box-sizing: content-box; }   /* John: Max is always charcoal, so in the dark footer it sits on a cream badge */
.footer__about { margin-top: var(--s-4); max-width: 320px; font-size: var(--fs-sm); color: var(--on-ink-2); }
.footer__grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__title { font: 700 var(--fs-sm)/1.3 var(--font-body); color: var(--cream); letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 var(--s-4); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__link { display: inline-block; padding-block: 2px; color: var(--on-ink); text-decoration: none; font-size: var(--fs-sm); }   /* padding: 24px+ tap target */
.footer__link:hover { color: #EFEFEF; text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3);
  margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid #4E2BCC;
  font-size: var(--fs-xs); color: var(--on-ink-2);
}

/* ---------- 17b. One look for every green pill and circle ---------- */
/* John: all pills and circles share the "Get My Clips" pill look: solid sage, faint grain, hairline edge, soft shadow.
   Static: the old lava animation, sheen, silk and molten rim are gone. */
.btn--primary, .cta-pill, .video-slot__play, .stepper__dot, .workflow-card__num, .check-list li::before, .price-card__badge, .frame__bar span:first-child, .persona__bubble {
  background-color: var(--sage); background-image: var(--grain);
  background-size: 180px;
  background-blend-mode: soft-light;
}
.persona__bubble { box-shadow: var(--rim); }
.stepper__dot { box-shadow: var(--rim); }
.workflow-card__num, .check-list li::before, .price-card__badge { box-shadow: var(--rim); }

/* John 2026-10-16: highlight box off on the headers for now. Delete this rule to bring it back.
   !important because pages restyle .accent-box in their own <style> (index: cream inside the final panel). */
.accent-box { background: none !important; box-shadow: none !important; padding: 0 !important; }

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .btn:hover, .cta-pill:hover { transform: none; }
}

/* ---------- 19. Motion (fades, scroll reveal, pause toggle) ---------- */
/* John 2026-10-17: fade animations. The rules that keep them safe:
   - Only opacity and transform move.
   - Every fade lives inside prefers-reduced-motion: no-preference, and the Pause toggle (html[data-motion="paused"])
     turns all of them off, so paused or reduced means a still page with everything visible.
   - Nothing is hidden before it reveals unless assets/motion.js has run and set html.motion-ok, so if the script
     fails or is blocked, all content simply shows.
   How pages use it:
     .fade-in            one block above the fold, fades up once on load (the hero).
     .fade-in-stagger    a parent above the fold; its children fade up one after another, 60 ms apart, done by 600 ms.
     .reveal             one block below the fold, fades up 14px as it scrolls into view.
     .reveal-stagger     a parent below the fold; its children reveal 70 ms apart (cards, steps, tiles).
   Put these on wrappers (sections, headings, cards, columns), never on a pill or circle itself (.cta-pill, .btn,
   .persona__bubble, .stepper__dot, .check-list li): those own their animation and transition lists, and the two rules
   would cancel each other. Wrap the pill in a div instead. Never on an element that holds a position: fixed child.
   Use .reveal below the fold only: above the fold use .fade-in, or the item flashes on browsers using the JS fallback. */

/* 19a. Page to page: a 250 ms cross-fade (Chrome and Edge 126+, Safari 18.2+; other browsers just change page). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 250ms; }
}

@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }

/* 19b. On load, above the fold. Fill mode "backwards" (not "both") so no transform is left behind after the fade,
   which would trap fixed-position children and add stacking contexts. 180 ms last delay + 420 ms = 600 ms total. */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="paused"]) :is(.fade-in, .fade-in-stagger > *) { animation: fade-up 420ms var(--ease) backwards; }
  html:not([data-motion="paused"]) .fade-in-stagger > :nth-child(2) { animation-delay: 60ms; }
  html:not([data-motion="paused"]) .fade-in-stagger > :nth-child(3) { animation-delay: 120ms; }
  html:not([data-motion="paused"]) .fade-in-stagger > :nth-child(n+4) { animation-delay: 180ms; }
}

/* 19c. On scroll. Two engines, motion.js picks one:
   - browsers with scroll-driven animations (Chrome and Edge 115+, Safari 26): pure CSS, tied to the scroll position,
     so a fast scroll or a jump to an #anchor can never leave anything hidden. motion.js sets html.motion-ok.
   - the rest (Firefox today): motion.js sets html.motion-ok and html.motion-io and adds .is-in to each item as an
     IntersectionObserver sees it; items already on screen get .is-in before anything is hidden. */
@media (prefers-reduced-motion: no-preference) {
  html.motion-io:not([data-motion="paused"]) :is(.reveal, .reveal-stagger > *):not(.is-in) { opacity: 0; transform: translateY(14px); }
  html.motion-io :is(.reveal, .reveal-stagger > *) { transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
  html.motion-io .reveal-stagger > :nth-child(2) { transition-delay: 70ms; }
  html.motion-io .reveal-stagger > :nth-child(3) { transition-delay: 140ms; }
  html.motion-io .reveal-stagger > :nth-child(n+4) { transition-delay: 210ms; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* the range is a fixed 200px of scroll from the moment the item's top enters, so tall sections do not stay faded */
    html.motion-ok:not([data-motion="paused"]) :is(.reveal, .reveal-stagger > *) {
      animation: fade-up linear backwards;
      animation-timeline: view();
      animation-range: entry 0px entry 200px;
    }
    /* children of a stagger row enter together, so each starts a little later in the scroll */
    html.motion-ok:not([data-motion="paused"]) .reveal-stagger > :nth-child(2) { animation-range: entry 40px entry 240px; }
    html.motion-ok:not([data-motion="paused"]) .reveal-stagger > :nth-child(3) { animation-range: entry 80px entry 280px; }
    html.motion-ok:not([data-motion="paused"]) .reveal-stagger > :nth-child(n+4) { animation-range: entry 120px entry 320px; }
  }
}

/* 19d. Pause toggle (WCAG 2.2.2: kept after the lava loops were removed, so any future looping motion can be paused).
   motion.js adds one <button class="motion-toggle" aria-pressed> to every page. Pressed = html[data-motion="paused"],
   remembered on this device. It freezes every looping animation where it stands. */
html[data-motion="paused"] *, html[data-motion="paused"] *::before, html[data-motion="paused"] *::after { animation-play-state: paused !important; }

/* Phones (under 720px): a normal small button in the footer, because the sticky CTA bar owns the bottom edge.
   720px and wider: fixed in the bottom-left corner. Dark green with a cream rim so it shows on beige and on the footer. */
.motion-toggle {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; padding: 0;
  border: 2px solid var(--cream); border-radius: 50%;
  background: var(--charcoal); color: var(--cream);
  box-shadow: var(--shadow-sm);
  cursor: pointer; vertical-align: middle;
}
.motion-toggle::before {                                  /* pause icon: two bars drawn by the side borders */
  content: ""; box-sizing: border-box; width: 12px; height: 14px;
  border-inline: 4px solid currentColor;
}
.motion-toggle[aria-pressed="true"]::before {             /* play icon while paused */
  width: 0; height: 0; margin-left: 3px;
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor;
}
/* own two-tone ring: cream next to the button, charcoal outside it, so it passes 3:1 on beige, sage and charcoal */
.motion-toggle:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; box-shadow: 0 0 0 2px var(--cream); border-radius: 50%; }
.motion-toggle:hover { transform: scale(1.08); }
@media (min-width: 720px) {
  .motion-toggle { position: fixed; left: var(--s-4); bottom: var(--s-4); z-index: 60; }
}
@media (max-width: 719px) {   /* in the dark green footer on phones: flip the ring so the outer part shows on the dark box */
  .footer .motion-toggle:focus-visible { outline-color: var(--cream); box-shadow: 0 0 0 2px var(--charcoal); }
}
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }   /* already still: nothing to pause */

/* ---- UX pass 2026-10-22 (Laws of UX audit) ---- */
/* Fitts's Law: every tap target at least 44 px */
.motion-toggle { width: 44px; height: 44px; }
.check-row { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; margin: var(--s-3) 0; }
.check-row input { width: 22px; height: 22px; flex: none; accent-color: #905BF4; }
@media (max-width: 859px) {
  .footer__link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .btn--sm, .nav__link { min-height: 44px; }
  .field--check .field__label { display: flex; align-items: center; min-height: 44px; }
}
/* Von Restorff + Selective Attention: sign-up and checkout carry one primary action, so the header "Get my clips" button steps aside */
.flow-page .nav__cta, .flow-page .nav__mobile-cta { display: none; }

/* CSMax logo (locked 2026-10-26): pixel wordmark, about 3.3 to 1; dark on the cream nav, cream on the dark footer. */
.nav__brand img.brand-logo, .picker-top__brand img.brand-logo, .footer__brand img.brand-logo { width: auto; height: 30px; padding: 0; background: none; border-radius: 0; image-rendering: pixelated; }
.vsl__logo { padding: 8px; object-fit: contain; image-rendering: pixelated; }

/* Black surfaces are told apart by purple borders. Nav: a hairline underneath only. */
.nav { border-bottom: 1px solid var(--line); }
.btn, .cta-pill { border-color: var(--line); }
.footer, .picker-foot { box-shadow: none; }

/* Three colors only (2026-10-26): black #000000, white, one purple #4E2BCC. Same-black surfaces are told apart by purple borders. */
.footer, .picker-foot, .sec-cta-band { border: 1px solid var(--line); }
.section--alt { border-block: 1px solid var(--line); }

/* Palette (2026-10-26, Leon): black #000000, Midnight Purple #0F032D, Purple Heart #4E2BCC, Lavender Indigo #905BF4, Seashell #EFEFEF.
   Black = page. Midnight = cards, bands, footer. Purple Heart = buttons and lines. Lavender = links, labels, field borders. Seashell = text. */
:root { --grad: linear-gradient(180deg, #0F032D 0%, #4E2BCC 100%); }
.sec-cta-band { background: var(--grad); }
.footer, .picker-foot { background: var(--charcoal); }

/* ---------- Silver gradient finish (2026-10-26, Leon): lit-from-above chrome look, same five colors only.
   Silver = Seashell (#EFEFEF) at partial opacity over black or Midnight, never a new gray hex. ---------- */
:root {
  --silver-text: linear-gradient(180deg, #EFEFEF 0%, #EFEFEF 38%, rgba(239, 239, 239, 0.55) 100%);
  --silver-card: linear-gradient(155deg, rgba(239, 239, 239, 0.12) 0%, rgba(239, 239, 239, 0.03) 38%, rgba(239, 239, 239, 0) 70%);
  --silver-edge: inset 0 1px 0 rgba(239, 239, 239, 0.28), inset 0 0 0 1px rgba(239, 239, 239, 0.05);
}
/* headings: bright at the top fading to silver (the .text-accent words keep their lavender) */
h1, h2, .display, .h2 { background-image: var(--silver-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
h1 .text-accent, h2 .text-accent, .display .text-accent, .h2 .text-accent { -webkit-text-fill-color: var(--accent-text); color: var(--accent-text); }
/* the top of every page glows like the reference's soft light bar */
body { background-image: radial-gradient(ellipse 80% 420px at 50% 0, rgba(239, 239, 239, 0.13), rgba(239, 239, 239, 0) 70%); background-repeat: no-repeat; }
/* cards: lit corner + bright top edge */
.proof-card, .faq__item, .sec-bento__tile, .sec-for-you__col, .signup__plan, .voice-card, .plan-option__box, .notice, .panel-cta, .sec-compare .sec-compare__table tr, .vsl, .auth-card, .card {
  background-image: var(--silver-card); box-shadow: var(--silver-edge), var(--shadow-md, none);
}
/* bands and footer: a soft silver sheen across the top */
.footer, .picker-foot { background-image: linear-gradient(180deg, rgba(239, 239, 239, 0.10), rgba(239, 239, 239, 0) 55%); box-shadow: var(--silver-edge); }
.sec-cta-band { background-image: linear-gradient(180deg, rgba(239, 239, 239, 0.14), rgba(239, 239, 239, 0) 45%), var(--grad); box-shadow: var(--silver-edge); }
/* buttons: glossy highlight on the Purple Heart; the Seashell button is the polished-silver one */
.btn:not(.btn--ghost):not(.btn--cream), .cta-pill { background-image: linear-gradient(180deg, rgba(239, 239, 239, 0.30), rgba(239, 239, 239, 0) 55%); box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.45); }
.btn--cream { background-image: linear-gradient(180deg, #EFEFEF 0%, rgba(239, 239, 239, 0.78) 100%); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }

/* ---------- Pricing: glass cards on black, glowing featured card, silver buttons, purple glow arc (2026-10-26, Leon's reference).
   Only the five palette colors; glows are Lavender / Purple Heart at partial opacity, dots are Seashell at partial opacity. ---------- */
.sec-pricing { background-color: #000000; border-block: 0; position: relative; overflow: hidden; isolation: isolate; }
.sec-pricing::after {            /* the glow arc rising from the bottom edge, with a fine dotted texture */
  content: ""; position: absolute; left: 50%; bottom: -260px; width: 1100px; max-width: 140vw; height: 520px; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(239, 239, 239, 0.9) 0%, rgba(144, 91, 244, 0.75) 14%, rgba(78, 43, 204, 0.45) 38%, rgba(15, 3, 45, 0) 70%);
  -webkit-mask-image: radial-gradient(rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0.55) 60%); mask-image: radial-gradient(rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0.55) 60%);
  z-index: -1; pointer-events: none;
}
.sec-pricing .pricing { gap: var(--s-5); }
.sec-pricing .price-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: var(--s-6) var(--s-5);
  border: 1px solid rgba(239, 239, 239, 0.2);
  background: linear-gradient(180deg, rgba(239, 239, 239, 0.09) 0%, rgba(239, 239, 239, 0.02) 30%, rgba(0, 0, 0, 0) 60%), #000000;
  box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.3), 0 20px 50px rgba(0, 0, 0, 0.6);
}
.sec-pricing .price-card > * { position: relative; z-index: 1; }
.sec-pricing .price-card::before {   /* dotted halftone fading from the top-right corner */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(239, 239, 239, 0.55) 1px, transparent 1.6px); background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(ellipse 70% 38% at 100% 0, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 70% 38% at 100% 0, #000 0%, transparent 100%);
  opacity: 0.55;
}
.sec-pricing .price-card--featured {
  border-color: rgba(144, 91, 244, 0.7);
  background:
    radial-gradient(ellipse 90% 55% at 50% 0, rgba(144, 91, 244, 0.85) 0%, rgba(144, 91, 244, 0) 100%),
    linear-gradient(180deg, #4E2BCC 0%, #0F032D 58%, #000000 100%);
  box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.5), 0 0 70px rgba(78, 43, 204, 0.55), 0 20px 50px rgba(0, 0, 0, 0.6);
}
.sec-pricing .price-card--featured::before { background-image: radial-gradient(rgba(239, 239, 239, 0.8) 1px, transparent 1.6px); -webkit-mask-image: radial-gradient(ellipse 100% 45% at 50% 0, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 100% 45% at 50% 0, #000 0%, transparent 100%); opacity: 0.6; }
.sec-pricing .price-card__name { color: var(--ink); -webkit-text-fill-color: var(--ink); }
.sec-pricing .price-card__price { background-image: var(--silver-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sec-pricing .price-card__per { -webkit-text-fill-color: rgba(239, 239, 239, 0.6); color: rgba(239, 239, 239, 0.6); }
.sec-pricing .price-card__desc { color: rgba(239, 239, 239, 0.72); }
.sec-pricing .price-card__badge { background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(239, 239, 239, 0.45); color: var(--ink); box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.3); }
.sec-pricing .check-list li::before { background: var(--moss); box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.35); }
.sec-pricing .check-list li { color: rgba(239, 239, 239, 0.9); }
/* the polished-silver button */
.sec-pricing .price-card__cta, .sec-pricing .price-card__cta.btn--ghost, .sec-pricing .price-card__cta.btn--primary {
  --btn-bg: #EFEFEF; --btn-fg: #000000; border: 0; border-radius: 12px;
  background-image: linear-gradient(180deg, #EFEFEF 0%, rgba(239, 239, 239, 0.74) 100%); background-color: #EFEFEF; color: #000000;
  box-shadow: inset 0 1px 0 #EFEFEF, 0 6px 18px rgba(0, 0, 0, 0.5); text-shadow: none;
}
.sec-pricing .price-card__cta:hover { background-image: linear-gradient(180deg, #EFEFEF 0%, #EFEFEF 100%); color: #000000; transform: translateY(-1px); }
.sec-pricing .price-card__badge { position: static; transform: none; align-self: flex-start; margin: 0 0 var(--s-3); }

/* ---------- Liquid glass (2026-10-26, Leon's reference). Layers: (1) liquid color blobs behind the page, (2) translucent tint + blur,
   (3) SVG refraction on Chromium only (class set by site.js), (4) bright rim + curved specular sheen. Palette colors only. ---------- */
html { background: #000000; }
body { background-color: transparent; position: relative; }
body::before {                      /* the liquid shapes the glass sits on: Purple Heart, Lavender and Midnight blobs on black, fixed so panels slide over them */
  content: ""; position: fixed; inset: -10vmax; z-index: -2; pointer-events: none; background-color: #000000;
  background-image:
    radial-gradient(48vmax 36vmax at 12% 18%, rgba(78, 43, 204, 0.85), transparent 70%),
    radial-gradient(40vmax 30vmax at 88% 12%, rgba(144, 91, 244, 0.55), transparent 70%),
    radial-gradient(52vmax 38vmax at 78% 62%, rgba(78, 43, 204, 0.70), transparent 72%),
    radial-gradient(34vmax 26vmax at 18% 78%, rgba(144, 91, 244, 0.45), transparent 70%),
    radial-gradient(60vmax 40vmax at 50% 105%, rgba(15, 3, 45, 0.95), transparent 70%);
  filter: blur(40px) saturate(1.15);
}
@media (prefers-reduced-motion: no-preference) { body::before { animation: lg-drift 48s ease-in-out infinite alternate; } }
@keyframes lg-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3vmax, 2vmax, 0) scale(1.06); } }
.section, .section--alt { background-color: transparent; }

:root {
  --glass-bg: linear-gradient(140deg, rgba(239, 239, 239, 0.16) 0%, rgba(239, 239, 239, 0.05) 45%, rgba(239, 239, 239, 0.09) 100%);
  --glass-rim: inset 0 1px 0 rgba(239, 239, 239, 0.55), inset 0 -1px 0 rgba(239, 239, 239, 0.12), inset 0 0 26px rgba(239, 239, 239, 0.06), 0 14px 40px rgba(0, 0, 0, 0.35);
}
.nav, .card, .proof-card, .voice-card, .faq__item, .sec-bento__tile, .sec-for-you__col, .signup__plan, .plan-option__box, .notice, .panel-cta, .vsl,
.sec-compare .sec-compare__table tr, .footer, .picker-foot, .sec-pricing .price-card:not(.price-card--featured) {
  position: relative; background-color: rgba(15, 3, 45, 0.38); background-image: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7);
  border: 1px solid rgba(239, 239, 239, 0.24); box-shadow: var(--glass-rim);
}
.nav { position: sticky; }
html.lg-refract :is(.card, .proof-card, .voice-card, .faq__item, .sec-bento__tile, .sec-for-you__col, .signup__plan, .notice, .panel-cta, .vsl, .footer, .picker-foot, .sec-pricing .price-card) {
  -webkit-backdrop-filter: blur(6px) saturate(1.7) url(#lg-refract); backdrop-filter: blur(6px) saturate(1.7) url(#lg-refract);
}
/* the curved specular sheen, like the bright bend on the reference's pill */
:is(.card, .proof-card, .voice-card, .sec-bento__tile, .signup__plan, .panel-cta, .footer, .picker-foot, .sec-pricing .price-card):not(.price-card--featured)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 70% at 85% -10%, rgba(239, 239, 239, 0.34) 0%, rgba(239, 239, 239, 0.08) 38%, rgba(239, 239, 239, 0) 60%);
  mix-blend-mode: screen;
}
.sec-pricing { background-color: transparent; }
.sec-pricing::after { opacity: 0.8; }
.sec-pricing .price-card--featured { -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6); }
.sec-pricing .price-card:not(.price-card--featured) { background-image: var(--glass-bg); }
/* inputs read as small glass wells */
.field__input { background-color: rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Pricing, dramatic version (2026-10-26, Leon: "too light"): near-black cards, deep violet gradients, strong glow on Ultra ---------- */
.sec-pricing { background-image: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(78, 43, 204, 0.55), rgba(15, 3, 45, 0) 70%); }
.sec-pricing .price-card:not(.price-card--featured) {
  background-color: #000000;
  background-image:
    radial-gradient(ellipse 120% 55% at 0% 100%, rgba(78, 43, 204, 0.55) 0%, rgba(15, 3, 45, 0.35) 45%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(180deg, rgba(15, 3, 45, 0.9) 0%, rgba(0, 0, 0, 1) 55%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(144, 91, 244, 0.30);
  box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.22), 0 24px 60px rgba(0, 0, 0, 0.7);
}
.sec-pricing .price-card:not(.price-card--featured)::after { display: none; }       /* no milky sheen on the side cards */
.sec-pricing .price-card::before { opacity: 0.4; }                                    /* quieter dots */
.sec-pricing .price-card--featured {
  border: 1px solid rgba(144, 91, 244, 0.85);
  background-color: #000000;
  background-image:
    radial-gradient(ellipse 85% 42% at 50% 0%, #905BF4 0%, rgba(144, 91, 244, 0.55) 38%, rgba(144, 91, 244, 0) 100%),
    radial-gradient(ellipse 120% 60% at 50% 105%, rgba(78, 43, 204, 0.75) 0%, rgba(78, 43, 204, 0) 70%),
    linear-gradient(180deg, #4E2BCC 0%, #3A1FB0 34%, #1B0A63 64%, #000000 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.6), 0 0 90px rgba(78, 43, 204, 0.75), 0 0 28px rgba(144, 91, 244, 0.45), 0 28px 60px rgba(0, 0, 0, 0.75);
}
.sec-pricing .price-card--featured .price-card__desc, .sec-pricing .price-card--featured .check-list li { color: #EFEFEF; }
.sec-pricing .price-card__desc { color: rgba(239, 239, 239, 0.78); }
.sec-pricing .price-card__cta, .sec-pricing .price-card__cta.btn--ghost, .sec-pricing .price-card__cta.btn--primary {
  background-image: linear-gradient(180deg, #EFEFEF 0%, rgba(239, 239, 239, 0.82) 100%); box-shadow: inset 0 1px 0 #EFEFEF, 0 10px 28px rgba(0, 0, 0, 0.6);
}

/* Gradient text only paints inside its own box, and display headings use line-height ~1.05, so the tails of g, y, p on the last line were cut.
   Extra bottom padding grows the box so they paint (it adds a little space under each heading). */
h1, h2, .display, .h2, .sec-pricing .price-card__price { padding-bottom: 0.16em; }

/* Footer = a solid black bubble (2026-10-26, Leon): no glass, no sheen, no purple showing through */
.footer, .picker-foot, html.lg-refract .footer, html.lg-refract .picker-foot {
  background-color: #000000; background-image: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(239, 239, 239, 0.14); box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.55);
}
.footer::after, .picker-foot::after { display: none; }

/* Solid white headings (2026-10-26, Leon: "I don't like how the white fades into gray"): the silver fade is off for all text */
h1, h2, .display, .h2, .sec-pricing .price-card__price {
  background-image: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: var(--ink); color: var(--ink);
}
h1 .text-accent, h2 .text-accent, .display .text-accent, .h2 .text-accent { -webkit-text-fill-color: var(--accent-text); color: var(--accent-text); }
.sec-pricing .price-card__per { -webkit-text-fill-color: rgba(239, 239, 239, 0.6); color: rgba(239, 239, 239, 0.6); }

/* Dimmer background glow (2026-10-26, Leon: "too bright") */
body::before { opacity: 0.5; }
body { background-image: radial-gradient(ellipse 80% 420px at 50% 0, rgba(239, 239, 239, 0.05), rgba(239, 239, 239, 0) 70%); }
.sec-pricing { background-image: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(78, 43, 204, 0.28), rgba(15, 3, 45, 0) 70%); }
.sec-pricing::after { opacity: 0.45; }

/* ---------- Buttons: liquid glass (2026-10-26, Leon's "fluid glass" reference) ----------
   Four stacked layers per button: a soft specular glint, a half-height gloss, the Purple Heart glass fill, and a 3px rim painted as a
   silver-to-lavender bevel. Inset shadows give the thick lit-top / shaded-bottom edge. Palette colors only. */
.btn, .cta-pill, .sec-pricing .price-card__cta {
  --glass-top: #5B38E0; --glass-mid: #4E2BCC; --glass-low: #230E7A;
  border: 3px solid transparent !important; border-radius: 999px;
  background-color: transparent !important;
  background-image:
    radial-gradient(ellipse 55% 40% at 28% 14%, rgba(239, 239, 239, 0.55), rgba(239, 239, 239, 0) 70%),
    linear-gradient(180deg, rgba(239, 239, 239, 0.16) 0%, rgba(239, 239, 239, 0.16) 48%, rgba(239, 239, 239, 0) 50%),
    linear-gradient(180deg, var(--glass-top) 0%, var(--glass-mid) 52%, var(--glass-low) 100%),
    linear-gradient(135deg, #EFEFEF 0%, #905BF4 24%, #4E2BCC 50%, #905BF4 74%, #EFEFEF 100%) !important;
  background-origin: padding-box, padding-box, padding-box, border-box !important;
  background-clip: padding-box, padding-box, padding-box, border-box !important;
  background-size: 100% 100% !important; background-position: 0 0 !important; background-repeat: no-repeat !important;
  box-shadow: inset 0 3px 5px rgba(239, 239, 239, 0.65), inset 0 -4px 8px rgba(15, 3, 45, 0.85), inset 0 0 0 1px rgba(239, 239, 239, 0.25),
              0 10px 24px rgba(78, 43, 204, 0.55), 0 2px 0 rgba(0, 0, 0, 0.7) !important;
  color: #EFEFEF; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}
.btn { padding: 10px 22px; }
.btn--sm { padding: 6px 14px; }
/* dark glass for outline and secondary buttons: same bevel, near-black fill */
.btn--ghost, .btn--dark {
  --glass-top: #1B0A63; --glass-mid: #0F032D; --glass-low: #000000;
}
.btn:hover, .cta-pill:hover, .sec-pricing .price-card__cta:hover { filter: brightness(1.18) saturate(1.1); transform: translateY(-1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; outline: 0; }

/* ---------- Fix: button rim. Line 723's soft-light blend and grain were mixing the checker into the fill ---------- */
.btn, .cta-pill, .sec-pricing .price-card__cta { background-blend-mode: normal !important; }

/* ---------- Pricing dots become square pixels (2026-10-26, Leon) ----------
   Two stripe masks (3px on, 6px off, across and down) intersect into 3px squares; the radial mask fades them in from the corner. */
.sec-pricing .price-card::before {
  background-image: linear-gradient(#EFEFEF, #EFEFEF); background-size: 100% 100%;
  -webkit-mask-image: radial-gradient(ellipse 70% 38% at 100% 0, #000 0%, transparent 100%), repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 9px), repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 9px);
  mask-image: radial-gradient(ellipse 70% 38% at 100% 0, #000 0%, transparent 100%), repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 9px), repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 9px);
  -webkit-mask-composite: source-in, source-in, source-over; mask-composite: intersect, intersect, add; opacity: 0.5;
}
.sec-pricing .price-card--featured::before {
  background-image: linear-gradient(#EFEFEF, #EFEFEF);
  -webkit-mask-image: radial-gradient(ellipse 100% 45% at 50% 0, #000 0%, transparent 100%), repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 9px), repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 9px);
  mask-image: radial-gradient(ellipse 100% 45% at 50% 0, #000 0%, transparent 100%), repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 9px), repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 9px);
  opacity: 0.6;
}

/* ---------- "How CSMax works with your AI" flow (2026-10-26) ---------- */
.flow { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; gap: var(--s-4); align-items: stretch; grid-template-columns: 1fr; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr 56px 1fr 56px 1fr; } }
.flow__step { position: relative; padding: var(--s-6) var(--s-5); border-radius: 22px; border: 1px solid rgba(144, 91, 244, 0.35); background: linear-gradient(180deg, rgba(15, 3, 45, 0.9), #000000); box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.25); display: flex; flex-direction: column; gap: var(--s-3); }
.flow__num { width: 32px; height: 32px; display: grid; place-items: center; font: 900 0.95rem var(--font-display); color: #EFEFEF; background: #4E2BCC; box-shadow: 0 0 0 3px #EFEFEF inset; }
.flow__title { font: 800 1.25rem/1.2 var(--font-display); margin: 0; }
.flow__step p { color: rgba(239, 239, 239, 0.85); margin: 0; }
.flow__mock { min-height: 190px; padding: var(--s-4); border-radius: 14px; background: #000000; border: 1px solid rgba(239, 239, 239, 0.16); display: flex; flex-direction: column; gap: var(--s-2); justify-content: center; }
.flow__bubble { padding: 8px 12px; border-radius: 12px; font-size: var(--fs-sm); max-width: 92%; }
.flow__step .flow__bubble--you { background: #4E2BCC; color: #EFEFEF; align-self: flex-end; }
.flow__step .flow__bubble--ai { background: rgba(239, 239, 239, 0.1); color: #EFEFEF; align-self: flex-start; }
.flow__mock--hub { align-items: center; }
.flow__logo { image-rendering: pixelated; width: 64px; height: auto; }
.flow__step .flow__chip { padding: 4px 12px; border: 1px solid rgba(144, 91, 244, 0.7); border-radius: 999px; font-size: var(--fs-xs); color: #EFEFEF; }
.flow__bar { display: flex; gap: 6px; padding-bottom: var(--s-2); border-bottom: 1px solid rgba(239, 239, 239, 0.16); }
.flow__bar i { width: 9px; height: 9px; background: #EFEFEF; opacity: 0.5; }
.flow__step .flow__row { padding: 8px 10px; background: rgba(78, 43, 204, 0.4); border-left: 4px solid #905BF4; color: #EFEFEF; font-size: var(--fs-sm); font-weight: 600; }
/* pixel arrow: three squares stepping across (down on phones) */
.flow__arrow { display: flex; align-items: center; justify-content: center; gap: 5px; flex-direction: column; }
.flow__arrow span { width: 8px; height: 8px; background: #905BF4; }
.flow__arrow span:nth-child(2) { background: #EFEFEF; }
@media (min-width: 900px) { .flow__arrow { flex-direction: row; } }

/* ---------- Compare table, organized (2026-10-26, Leon: "looks weird") ----------
   The glass rows made every row a different tint next to the CSMax column. Now: one black table, even columns, a label column,
   thin row lines, and CSMax is one straight purple-tinted column from header to last row. Desktop only; phones keep the card layout. */
@media (min-width: 720px) {
  .sec-compare .sec-compare__scroll { background: #000000; border: 1px solid rgba(144, 91, 244, 0.5); border-radius: 20px; box-shadow: none; overflow: hidden; }
  .sec-compare .sec-compare__table { table-layout: fixed; border-collapse: separate; border-spacing: 0; }
  .sec-compare .sec-compare__table thead th:nth-child(1), .sec-compare .sec-compare__table tbody th { width: 19%; }
  .sec-compare .sec-compare__table thead th:nth-child(2) { width: 27%; }
  .sec-compare .sec-compare__table thead th:nth-child(3), .sec-compare .sec-compare__table thead th:nth-child(4) { width: 27%; }
  .sec-compare .sec-compare__table tr { background: none; background-image: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sec-compare .sec-compare__table th, .sec-compare .sec-compare__table td { padding: 18px 22px; vertical-align: top; border-bottom: 1px solid rgba(239, 239, 239, 0.12); background: transparent; color: #EFEFEF; }
  .sec-compare .sec-compare__table thead th { background: #0F032D; font-weight: 700; border-bottom: 1px solid rgba(144, 91, 244, 0.5); }
  .sec-compare .sec-compare__table tbody th { background: rgba(239, 239, 239, 0.04); font-weight: 700; }
  .sec-compare .sec-compare__table td { font-weight: 400; color: rgba(239, 239, 239, 0.82); }
  .sec-compare .sec-compare__table :is(th, td):nth-child(2) { background: rgba(78, 43, 204, 0.28); color: #EFEFEF; font-weight: 600; border-inline: 1px solid rgba(144, 91, 244, 0.45); }
  .sec-compare .sec-compare__table thead th:nth-child(2) { background: #4E2BCC; }
  .sec-compare .sec-compare__table tbody tr:last-child > * { border-bottom: 0; }
}

/* No page breaks (2026-10-26, Leon): section dividers off. The page flows as one surface. */
section, .section, .section--alt, .sec-trust-row, .sec-pricing, .sec-faq { border-top: 0 !important; border-bottom: 0 !important; border-block: 0 !important; box-shadow: none; }
.section--alt, .section { background-image: none; }

/* Step numbers are circles (2026-10-26, Leon): same Purple Heart as the other step dots, with a thin silver ring */
.flow__num { width: 40px; height: 40px; border-radius: 50%; background: #4E2BCC; box-shadow: inset 0 0 0 2px #EFEFEF, 0 0 18px rgba(78, 43, 204, 0.6); font-size: 1rem; }

/* ---------- No animations (2026-10-26, Leon): only the fade-in while scrolling stays ----------
   Off: the drifting background, the on-load hero fade, hover lifts, every transition. On: opacity fade for .reveal blocks (no sliding). */
body::before { animation: none !important; }
*, *::before, *::after { animation: none !important; transition: none !important; }
html.motion-io:not([data-motion="paused"]) :is(.reveal, .reveal-stagger > *):not(.is-in) { opacity: 0; transform: none; }
html.motion-io :is(.reveal, .reveal-stagger > *) { transition: opacity 500ms ease !important; }
.btn:hover, .cta-pill:hover, .sec-pricing .price-card__cta:hover { transform: none !important; }
.motion-toggle { display: none !important; }   /* the pause-animations button has nothing left to pause */

/* No pixel dots on the pricing cards (2026-10-26, Leon) */
.sec-pricing .price-card::before, .sec-pricing .price-card--featured::before { display: none !important; }

/* ---------- Button background: pixel nebula (2026-10-26, Leon's pixel-sky reference) ----------
   The glass fill is replaced by a seamless pixel-art nebula (assets/btn_nebula.png, 160x48 art pixels drawn at 4x), under a light darkening
   layer so the label stays readable. Hover brightens it with a short fade: the one transition allowed besides the scroll fade-in. */
.btn, .cta-pill, .sec-pricing .price-card__cta {
  --nebula-dim: rgba(15, 3, 45, 0.78);
  background-image:
    radial-gradient(ellipse 55% 40% at 28% 14%, rgba(239, 239, 239, 0.22), rgba(239, 239, 239, 0) 70%),
    linear-gradient(180deg, rgba(239, 239, 239, 0.06) 0%, rgba(239, 239, 239, 0.06) 48%, rgba(239, 239, 239, 0) 50%),
    linear-gradient(var(--nebula-dim), var(--nebula-dim)),
    url("btn_nebula.png"),
    linear-gradient(135deg, #EFEFEF 0%, #905BF4 24%, #4E2BCC 50%, #905BF4 74%, #EFEFEF 100%) !important;
  background-size: 100% 100%, 100% 100%, 100% 100%, 640px 192px, 100% 100% !important;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat !important;
  background-position: 0 0, 0 0, 0 0, 40% 50%, 0 0 !important;
  background-origin: padding-box, padding-box, padding-box, padding-box, border-box !important;
  background-clip: padding-box, padding-box, padding-box, padding-box, border-box !important;
  image-rendering: pixelated;
}
.btn--ghost, .btn--dark { --nebula-dim: rgba(0, 0, 0, 0.85); }
html .btn, html .cta-pill, html .sec-pricing .price-card__cta { transition: filter 260ms ease !important; }
html .btn:hover, html .cta-pill:hover, html .sec-pricing .price-card__cta:hover { filter: brightness(1.35) saturate(1.2); }

/* ---------- Glow-ring circles (2026-10-26, Leon: "I like the glow with the white circle stroke"): every round badge on the site ----------
   Purple Heart fill, a 2px Seashell ring drawn inside the edge, and a soft Purple Heart glow outside. Same recipe as the "How CSMax works" numbers. */
.stepper__dot, .workflow-card__num, .check-list li::before, .flow__num, .faq__icon {
  background-color: #4E2BCC; background-image: none;
  box-shadow: inset 0 0 0 2px #EFEFEF, 0 0 18px rgba(78, 43, 204, 0.6);
}
.check-list li::before, .faq__icon, .workflow-card__num { box-shadow: inset 0 0 0 2px #EFEFEF, 0 0 11px rgba(78, 43, 204, 0.6); }
.sec-pricing .check-list li::before { background: #4E2BCC; box-shadow: inset 0 0 0 2px #EFEFEF, 0 0 11px rgba(78, 43, 204, 0.6); }
/* the big feature-tile icons keep their artwork: ring and glow only, on the Midnight disc */
.sec-bento__icon { background: #0F032D; box-shadow: inset 0 0 0 2px #EFEFEF, 0 0 22px rgba(78, 43, 204, 0.6); }
/* the "not for you" crosses: same ring and glow on a dark disc so they read as the opposite of a check */
.sec-for-you__no li::before { border: 0; background-color: #0F032D; box-shadow: inset 0 0 0 2px #EFEFEF, 0 0 11px rgba(144, 91, 244, 0.45); }

/* ---------- Simple again (2026-10-26, Leon): white, purple, black, palette gradients. Pixels only in the two logos. ---------- */
/* Buttons: a smooth palette gradient (Purple Heart down to deep indigo), a thin lavender edge, a soft purple glow. No nebula, no pixel art. */
.btn, .cta-pill, .sec-pricing .price-card__cta {
  border: 1px solid rgba(144, 91, 244, 0.75) !important; border-radius: 999px;
  background-color: transparent !important;
  background-image: linear-gradient(180deg, #7043E0 0%, #4E2BCC 50%, #2D1783 100%) !important;
  background-size: 100% 100% !important; background-repeat: no-repeat !important; background-position: 0 0 !important;
  background-origin: padding-box !important; background-clip: border-box !important;
  image-rendering: auto;
  box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.35), 0 8px 22px rgba(78, 43, 204, 0.45) !important;
  color: #EFEFEF; text-shadow: none;
}
.btn--ghost, .btn--dark { background-image: linear-gradient(180deg, #0F032D 0%, #000000 100%) !important; }
html .btn:hover, html .cta-pill:hover, html .sec-pricing .price-card__cta:hover { filter: brightness(1.25); }

/* The "How CSMax works" arrows and browser dots: smooth shapes, not pixel squares */
.flow__arrow span { display: none; }
.flow__arrow::after { content: ""; width: 14px; height: 14px; border-top: 3px solid #905BF4; border-right: 3px solid #905BF4; transform: rotate(45deg); }
@media (max-width: 899px) { .flow__arrow::after { transform: rotate(135deg); } }
.flow__bar i { border-radius: 50%; }

/* ---------- Darker cards (2026-10-26, Leon): the milky glass sheen is off. Deep Midnight-to-black surfaces, a faint lit top edge, purple border ---------- */
.card, .proof-card, .voice-card, .faq__item, .sec-bento__tile, .sec-for-you__col, .signup__plan, .plan-option__box, .notice, .panel-cta {
  background-color: #000000;
  background-image: linear-gradient(180deg, rgba(15, 3, 45, 0.95) 0%, #000000 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(144, 91, 244, 0.3);
  box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.14), 0 18px 40px rgba(0, 0, 0, 0.5);
}
html.lg-refract :is(.card, .proof-card, .voice-card, .faq__item, .sec-bento__tile, .sec-for-you__col, .signup__plan, .notice, .panel-cta) { -webkit-backdrop-filter: none; backdrop-filter: none; }
:is(.card, .proof-card, .voice-card, .sec-bento__tile, .signup__plan, .panel-cta)::after { display: none !important; }   /* the bright curved sheen */
.sec-bento__tile--dark { background-image: linear-gradient(180deg, #0F032D 0%, #000000 100%); }
.sec-bento .sec-bento__tile, .sec-bento .sec-bento__tile--dark, .sec-bento__tile.sec-bento__tile {
  background-color: #000000 !important; background-image: linear-gradient(180deg, #0F032D 0%, #000000 100%) !important;
  border: 1px solid rgba(144, 91, 244, 0.3) !important;
}

/* FAQ heading sits lower while you scroll the list (2026-10-26, Leon): it was stuck 104px from the top, now about a quarter of the way down */
@media (min-width: 960px) { .sec-faq__head { top: clamp(170px, 26vh, 300px); } }

/* Nav hover is lighter (2026-10-26, Leon: "too dark"): a Purple Heart wash with a thin lavender edge instead of the near-black Midnight */
.nav__link:hover, .nav__link[aria-current="page"] {
  background: rgba(112, 67, 224, 0.55); color: #EFEFEF; box-shadow: inset 0 0 0 1px rgba(144, 91, 244, 0.7);
}

/* Video box is back (2026-10-26, Leon). Still no animation: the play button is a static circle. Page background darker. */
.vsl, .vsl__open { display: block; }
.vsl__open { display: flex; }
body::before { opacity: 0.22; }
body { background-image: radial-gradient(ellipse 80% 420px at 50% 0, rgba(239, 239, 239, 0.03), rgba(239, 239, 239, 0) 70%); }
.sec-pricing { background-image: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(78, 43, 204, 0.16), rgba(15, 3, 45, 0) 70%); }
.sec-pricing::after { opacity: 0.25; }
.vsl .vsl__logo { background: #0F032D !important; padding: 6px; border-radius: 14px; }

/* Pricing: three equal-height cards, buttons on one line, white button text (2026-10-26, Leon) */
@media (min-width: 900px) {
  .sec-pricing .pricing { align-items: stretch !important; }
  .sec-pricing .price-card--featured { padding-block: var(--s-6) !important; }
}
.sec-pricing .price-card { display: flex; flex-direction: column; }
.sec-pricing .price-card__list { flex: 1 1 auto; }
.sec-pricing .price-card__cta, .sec-pricing .price-card__cta:hover, .sec-pricing .price-card__cta.btn--ghost, .sec-pricing .price-card__cta.btn--primary { margin-top: auto; color: #FFFFFF !important; }
.vsl .vsl__logo { background: transparent !important; padding: 0; }

/* ---------- One card style everywhere (2026-10-26, Leon): copy the $60 Max pricing card ----------
   Black base, a Midnight fade from the top, a Purple Heart glow rising from the bottom-left corner, thin lavender border, soft dark shadow. */
.card, .proof-card, .voice-card, .faq__item, .sec-bento .sec-bento__tile, .sec-bento .sec-bento__tile--dark, .sec-for-you__col, .signup__plan, .plan-option__box,
.notice, .panel-cta, .founder, .flow__step, .sec-compare .sec-compare__scroll, .vsl {
  background-color: #000000 !important;
  background-image:
    radial-gradient(ellipse 120% 55% at 0% 100%, rgba(78, 43, 204, 0.55) 0%, rgba(15, 3, 45, 0.35) 45%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(180deg, rgba(15, 3, 45, 0.9) 0%, rgba(0, 0, 0, 1) 55%) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(144, 91, 244, 0.30) !important;
  box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.22), 0 24px 60px rgba(0, 0, 0, 0.7) !important;
}
.founder { border-radius: 22px; }
.faq__item, .plan-option__box, .notice { background-image: radial-gradient(ellipse 120% 90% at 0% 100%, rgba(78, 43, 204, 0.4) 0%, rgba(0, 0, 0, 0) 70%), linear-gradient(180deg, rgba(15, 3, 45, 0.9) 0%, #000000 100%) !important; }

/* ---------- Glow variants (2026-10-26, Leon): same card, different glow color and corner. Palette purples only. ----------
   A: Purple Heart, bottom-left (the base)  B: Lavender, bottom-right  C: Purple Heart, top-right  D: Lavender, bottom-center */
.card, .proof-card, .voice-card, .faq__item, .sec-bento .sec-bento__tile, .sec-for-you__col, .signup__plan, .plan-option__box, .notice, .panel-cta, .founder, .flow__step, .sec-compare .sec-compare__scroll {
  --glow-col: 78, 43, 204; --glow-at: 0% 100%; --glow-a: 0.55;
  background-image:
    radial-gradient(ellipse 120% 55% at var(--glow-at), rgba(var(--glow-col), var(--glow-a)) 0%, rgba(15, 3, 45, 0.35) 45%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(180deg, rgba(15, 3, 45, 0.9) 0%, rgba(0, 0, 0, 1) 55%) !important;
}
:is(.flow, .sec-bento__grid, .sec-for-you__grid, .reveal-stagger) > :nth-child(4n+2) { --glow-col: 144, 91, 244; --glow-at: 100% 100%; --glow-a: 0.42; }
:is(.flow, .sec-bento__grid, .sec-for-you__grid, .reveal-stagger) > :nth-child(4n+3) { --glow-col: 78, 43, 204; --glow-at: 100% 0%; --glow-a: 0.55; }
:is(.flow, .sec-bento__grid, .sec-for-you__grid, .reveal-stagger) > :nth-child(4n+4) { --glow-col: 144, 91, 244; --glow-at: 50% 100%; --glow-a: 0.40; }
.flow > .flow__step:nth-of-type(3n+1) { --glow-col: 78, 43, 204; --glow-at: 0% 100%; }
.flow > .flow__step:nth-of-type(3n+2) { --glow-col: 144, 91, 244; --glow-at: 50% 100%; --glow-a: 0.40; }
.flow > .flow__step:nth-of-type(3n+3) { --glow-col: 78, 43, 204; --glow-at: 100% 100%; --glow-a: 0.55; }
.proof-card { --glow-col: 144, 91, 244; --glow-at: 100% 100%; --glow-a: 0.38; }
.founder { --glow-col: 144, 91, 244; --glow-at: 50% 100%; --glow-a: 0.38; }
.sec-compare .sec-compare__scroll { --glow-at: 0% 100%; }

/* For you / not for you (2026-10-26, Leon): told apart by color. For you = purple (Purple Heart glow, lavender border, purple checks).
   Not for you = white on black (Seashell border and glow, white crosses), so it reads as the opposite. */
.sec-for-you__col:not(.sec-for-you__col--no) {
  border: 1px solid rgba(144, 91, 244, 0.85) !important;
  background-image:
    radial-gradient(ellipse 110% 70% at 50% 0%, rgba(78, 43, 204, 0.75) 0%, rgba(78, 43, 204, 0) 70%),
    linear-gradient(180deg, rgba(15, 3, 45, 0.95) 0%, #000000 100%) !important;
  box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.4), 0 0 46px rgba(78, 43, 204, 0.45), 0 24px 60px rgba(0, 0, 0, 0.7) !important;
}
.sec-for-you__col:not(.sec-for-you__col--no) .sec-for-you__title { color: #905BF4; }
.sec-for-you__col--no {
  border: 1px dashed rgba(239, 239, 239, 0.45) !important;
  background-image: radial-gradient(ellipse 110% 70% at 50% 0%, rgba(239, 239, 239, 0.12) 0%, rgba(239, 239, 239, 0) 70%), linear-gradient(180deg, #0a0a0a 0%, #000000 100%) !important;
  box-shadow: inset 0 1px 0 rgba(239, 239, 239, 0.25), 0 24px 60px rgba(0, 0, 0, 0.7) !important;
}
.sec-for-you__col--no .sec-for-you__title { color: #EFEFEF; }
.sec-for-you__col--no li, .sec-for-you__col--no .sec-for-you__no li { color: rgba(239, 239, 239, 0.85); }
.sec-for-you__no li::before { background-color: #000000; box-shadow: inset 0 0 0 2px #EFEFEF, 0 0 12px rgba(239, 239, 239, 0.35); }

/* Nav hover = a gradient fade (2026-10-26, Leon): Purple Heart glow strongest at the top-left, fading to clear at the right. A short fade-in on hover. */
.nav__link { transition: background-color 220ms ease, box-shadow 220ms ease, color 220ms ease !important; }
.nav__link:hover, .nav__link[aria-current="page"] {
  background: linear-gradient(100deg, rgba(112, 67, 224, 0.75) 0%, rgba(78, 43, 204, 0.4) 55%, rgba(78, 43, 204, 0) 100%);
  box-shadow: none; color: #FFFFFF;
}

/* Pixel icons (2026-10-26, Leon): the persona icons are pixel art, so no smoothing when they scale */
.persona__bubble img, .sec-bento__icon img { image-rendering: pixelated; }
