/* ============================================================
   JUNTUR :: TOKENS (site, v4 2026-10-03)
   Drop-in for site/styles/tokens.css. Single source of truth for the
   site; no component writes a loose value. The v3 names that styles.css used
   to read went away with the S34 home; only v4 names remain.
   ============================================================ */

:root {
  /* ---------- surfaces ---------- */
  --jt-paper:        #FFFFFF;  /* page background, pure white */
  --jt-surface:      #FFFFFF;  /* card; separation comes from the border */
  --jt-band:         #F7F7F8;  /* gray band between sections (pricing, FAQ, 69% fact) */
  --jt-sunk:         #F2F2F7;  /* quiet fill: search field, icon tile */

  /* v3 pastel sections become semantic tints: badges and banners only */
  --jt-mint:         #E6F4EC;
  --jt-sky:          #E8F0FD;
  --jt-sand:         #FFF3D6;
  --jt-blush:        #FDECEC;
  --jt-on-mint:      #0B6B3A;
  --jt-on-sky:       #1D5FD6;
  --jt-on-sand:      #8A5A00;
  --jt-on-blush:     #B3251E;

  /* no gradient on surfaces in v4; kept so old rules do not break */
  --jt-panel:        none;
  --jt-panel-app:    none;

  /* ---------- ink ---------- */
  --jt-ink:          #000000;  /* title and primary text */
  --jt-ink-2:        #3C3C43;  /* lead paragraphs, body */
  --jt-ink-muted:    #6E6E73;  /* secondary text, meta */
  --jt-ink-3:        #8E8E93;  /* caption, legal line, placeholder */
  --jt-hair:         #E5E5EA;  /* card border and separator, 1px solid */
  --jt-line-strong:  #D1D1D6;  /* field and secondary button border */

  /* ---------- action, the only saturated color ---------- */
  --jt-action:       #0B8043;
  --jt-action-hover: #086A37;
  --jt-on-action:    #FFFFFF;

  /* ---------- accents with one job each ---------- */
  --jt-sol:          #FFC53D;  /* "Must see" and the star, black text on it */
  --jt-danger:       #B3251E;  /* destructive text only */

  /* ---------- brand colors: the logo only ---------- */
  --jt-brand-mar:    #2E86AE;
  --jt-brand-mata:   #1E6B4A;
  --jt-brand-sol:    #E0A02E;
  --jt-brand-coral:  #D2563C;

  /* ---------- type: the system font ---------- */
  --jt-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --jt-w-regular: 400;
  --jt-w-medium: 500;
  --jt-w-semibold: 600;
  --jt-w-bold: 700;

  /* scale (desktop); the mobile size is the second number in styles.css media queries */
  --jt-t-hero:   48px;   /* 700, -0.03em, 1.05 */
  --jt-t-h2:     36px;   /* 700, -0.02em, 1.1 */
  --jt-t-h3:     32px;   /* 700, -0.02em */
  --jt-t-h4:     20px;   /* 700 */
  --jt-t-lead:   19px;   /* 400, 1.45, ink-2 */
  --jt-t-body:   17px;   /* 400, 1.5 */
  --jt-t-small:  15px;   /* 400, 1.5 */
  --jt-t-meta:   13px;   /* 400, ink-muted */
  --jt-t-label:  13px;   /* 700, +0.04em, uppercase, green (section overline) */
  --jt-t-legal:  12px;   /* 400, 1.4, ink-muted */

  /* ---------- radius ---------- */
  --jt-r-badge:   6px;
  --jt-r-thumb:   8px;
  --jt-r-button:  10px;
  --jt-r-card:    12px;
  --jt-r-panel:   16px;   /* plan cards, hero image frame */
  --jt-r-pill:    999px;  /* chips, store badges, search */

  /* v3 names mapped to v4 */
  --jt-r-field:   10px;
  --jt-r-block:   8px;
  --jt-r-inner:   10px;
  --jt-r-tile:    12px;
  --jt-r-card26:  12px;

  /* ---------- borders and elevation ---------- */
  --jt-border:        1px solid var(--jt-hair);
  --jt-border-strong: 1px solid var(--jt-line-strong);
  --jt-border-plan:   2px solid var(--jt-action);   /* highlighted plan card */
  --jt-shadow-float:  0 1px 2px rgba(0,0,0,0.15);   /* floating pill over a photo only */
  --jt-shadow:        none;                          /* cards have no shadow */
  --jt-shadow-device: 0 30px 60px -30px rgba(0,0,0,0.45); /* phone frame in the hero only */

  /* ---------- spacing (4px base) ---------- */
  --jt-1: 4px;  --jt-2: 8px;  --jt-3: 12px; --jt-4: 16px; --jt-5: 20px;
  --jt-6: 24px; --jt-8: 32px; --jt-10: 40px; --jt-14: 56px; --jt-18: 72px;
  --jt-section: 72px;        /* vertical rhythm between sections (v3 was 120) */
  --jt-w-wrap: 1120px;
  --jt-w-wide: 1200px;
  --jt-w-text: 640px;        /* max width of a lead paragraph */

  /* ---------- motion ---------- */
  --jt-motion: 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--jt-font);
  font-size: var(--jt-t-body);
  line-height: 1.5;
  color: var(--jt-ink);
  background: var(--jt-paper);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
