/* jumpedit.com design tokens (web-developer stage 3, 2026-10-20). Written before any section; the page uses only
   these. Sources: the app's own theme (app/src/ui/theme.ts, SurpriseCard.tsx) so the page looks like the app, and
   the measured references in research/STEAL.md (Linear's chrome, Compound's type, KeyLast's motion and glass).
   Volt is only for live things (the mark, progress, the current step, picked clips), never a headline accent. */

@font-face { font-family: 'Geist'; font-weight: 400; font-display: swap; src: url('/fonts/Geist-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Geist'; font-weight: 600; font-display: swap; src: url('/fonts/Geist-SemiBold.ttf') format('truetype'); }

:root {
  color-scheme: dark;

  /* Colour: the app's own (theme.ts). */
  --ink: #0A0A0B;
  --night: #1B1B1E;
  --bone: #F4F1EC;
  --volt: #D4FF3F;
  --text: #F4F1EC;
  --text-2: rgba(244, 241, 236, 0.72);   /* 0.62 in the app; the page's longer reading needs more (round 4 critics) */
  --text-3: rgba(244, 241, 236, 0.5);    /* 13 px and up only */
  --hairline: rgba(255, 255, 255, 0.07);
  --outline: rgba(255, 255, 255, 0.12);
  --glass-line: rgba(255, 255, 255, 0.14);
  --volt-soft: rgba(212, 255, 63, 0.16);
  --volt-halo: rgba(212, 255, 63, 0.18);
  --paper: #F4F1EC;                      /* the light band (pricing) */
  --paper-white: #FFFDF8;                /* the receipt on the light band */
  --paper-ink: #1B1A17;
  --paper-mute: #6F6A63;                 /* Compound's muted, on paper */

  /* Surface ladder (app: ground, surface, raised; KeyLast: glass). */
  --s-page: #0A0A0B;
  --s-card: #141416;
  --s-raised: #1B1B1E;
  --s-glass: rgba(10, 10, 11, 0.84);   /* 0.72 let the page show through behind the logo on phones (v2 critics) */
  --s-screen: #000000;                   /* behind full-screen video only */

  /* Type ramp. Geist SemiBold for display (as in the app), the system font for reading (SF Pro on the iPhones our
     visitors use; Compound does the same). Tracking from Compound (-0.045em at 60+ px) and Linear (-0.022em). */
  --font-display: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
  --t-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);      /* 40 → 72 px */
  --t-display-lh: 1.02;
  --t-display-track: -0.045em;
  --t-chapter: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);       /* 36 → 64 px: the two or three chapter headings */
  --t-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);          /* 28 → 40 px: supporting sections */
  --t-h2-lh: 1.06;
  --t-h2-track: -0.035em;
  --t-h3: 1.25rem;                                          /* 20 px */
  --t-h3-lh: 1.3;
  --t-h3-track: -0.015em;
  --t-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);       /* 17 → 20 px */
  --t-lead-lh: 1.5;
  --t-body: 1.0625rem;                                      /* 17 px, Compound's body */
  --t-body-lh: 1.55;
  --t-small: 0.9375rem;                                     /* 15 px */
  --t-small-lh: 1.5;
  --t-label: 0.8125rem;                                     /* 13 px, sentence case, never all caps */
  --t-label-lh: 1.4;
  --t-label-track: 0;
  --t-screen: 0.6875rem;                                    /* 11 px: words inside the re-created app screens */
  --num: tabular-nums;                                      /* times, prices, counts */

  /* Radius: the app's scale (theme.ts radius) plus the phone's own corner. */
  --r-chip: 8px;
  --r-tile: 14px;
  --r-card: 24px;
  --r-sheet: 28px;
  --r-phone: 46px;
  --r-pill: 999px;

  /* Shadows: KeyLast's three levels, the luminous edge, and Compound's "physical key" for the main button. */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.5), 0 18px 70px -20px rgba(0, 0, 0, 0.5);
  --shadow-hero: 0 4px 8px -2px rgba(0, 0, 0, 0.5), 0 60px 140px -40px rgba(0, 0, 0, 0.95);
  --shadow-edge: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 0 26px rgba(255, 255, 255, 0.05);
  --shadow-edge-hover: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 30px rgba(255, 255, 255, 0.09);
  --shadow-key: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -10px rgba(244, 241, 236, 0.35);
  --shadow-print: 0 4px 8px rgba(0, 0, 0, 0.45);            /* the Surprise me prints */

  /* Motion. Two curves for everything (KeyLast): glide reveals, spring commits. The app's own springs as exact
     linear() curves (research/STEAL.md "JumpEdit app"), so the deck and the press move like the app. */
  --ease-glide: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-hover: cubic-bezier(0.25, 0.46, 0.45, 0.94);       /* Linear's 100-160 ms hovers */
  --ease-deck: linear(0, 0.076, 0.249, 0.454, 0.649, 0.812, 0.933, 1.013, 1.057, 1.075, 1.075, 1.065, 1.05, 1.034, 1.02, 1.009, 1.002, 0.997, 0.995, 0.994, 0.995, 0.996, 0.997, 1);
  --ease-press: linear(0, 0.114, 0.365, 0.642, 0.877, 1.039, 1.125, 1.148, 1.131, 1.093, 1.052, 1.018, 0.994, 0.981, 0.978, 0.981, 0.986, 0.992, 0.997, 1);
  --d-hover: 160ms;
  --d-press: 120ms;
  --d-release: 700ms;   /* the app's press spring settles in 700 ms */
  --d-reveal: 420ms;
  --d-deck: 780ms;      /* the app's Surprise me spring settles in 780 ms */
  --d-step: 3600ms;     /* one hero step on screen: the app's 2600 ms shuffle + time to read its words */
  --stagger: 50ms;

  /* Space and layout. */
  --gutter: clamp(20px, 5vw, 80px);   /* the side margin: the app's 20 px on phones, growing with the window (Andrey 2026-10-30: "why is everything hugging the edge like its scared to have space") */
  --wrap: 1200px;
  --section-y: clamp(5rem, 3rem + 7vw, 8rem);              /* 80 → 128 px (Linear 128, Compound 81) */
  --section-y-tight: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
  --header-h: 64px;
  --tap: 44px;
  --btn-h: 56px;        /* the app's primary button */
  --btn-h-s: 40px;
}
