/* Raj & Co. design tokens: every colour, font, size, space and motion value of the site, in one place.
   Every page loads this file first, then style.css, then apple.css. Change a value here and it changes everywhere.
   Two layers:
     1. the site's own values (the terracotta look): what style.css uses;
     2. the Apple look's values (--a-…): apple.css maps the shared names onto them (--accent:var(--a-blue)…).
   Remove the apple.css line from a page and it goes back to layer 1, as before.
   Breakpoints (CSS variables can't be used inside @media, so they live here as a note):
     560px   phone        one column, 19px text, full-width buttons
     640px   small tablet
     760px   tablet       the phone bar at the bottom, stacked figures
     900px   tablet       no top menu (the «Menu» button), stacked grids, no sticky «camera»
     1180px  small laptop
     1399px  laptop
   Not tokens on purpose: the greys that only draw the phone and calendar mock-ups in style.css, and a few
   one-off values of apple.css (shadows, the soft red of an error box). They belong to those details. */
:root{
  /* tempi del movimento (audit Apple): cambi di stato e contenuti che arrivano, sempre con la stessa curva */
  --t-base:.35s;--t-slow:.7s;
  /* ================= OPZIONI (Fase 4): una riga ciascuna ================= */
  /* Accento: lascia attiva una riga sola. Ogni riga porta con sé i colori che servono per leggere bene
     (testo sui pulsanti, testo piccolo sul nero, testo piccolo sul lino). */
  --accent:#D2603F; --on-accent:#0D0B0C; --accent-light:#D2603F; --accent-ink:#A8452A;      /* terracotta (scelta di partenza) */
  /* --accent:#B8322A; --on-accent:#FBF8F3; --accent-light:#E0584D; --accent-ink:#A32820; */  /* rosso profondo */
  /* --accent:#FF4A2E; --on-accent:#0B0B0B; --accent-light:#FF4A2E; --accent-ink:#C2391F; */  /* il rosso di prima */
  /* (con apple.css attivo, l'accento è il blu di Apple: vedi --a-blue più sotto) */
  /* ======================================================================= */
  --black:#0D0B0C; --black-2:#0A0809; --paper:#F4EFE7; --paper-2:#FBF8F3; --ink:#1A1614; --white:#FBF8F3;
  --grey-on-black:#A39A8F; --grey-on-paper:#6E655B;
  --line:rgba(13,11,12,.13); --line-dark:rgba(244,239,231,.12);
  /* text tints on the black sections */
  --text-on-black:#F4EFE7; --soft-on-black:#DCD5CA; --muted-on-black:#BDB4A8; --placeholder-on-black:#938A7F;
  --lead-on-black:#E8E1D6;
  --field-line:rgba(255,255,255,.3);
  --nav-bg:rgba(13,11,12,.92);

  /* ---- type ---- */
  --font-sans:"Inter Tight",Arial,sans-serif;
  --fs:1.125rem;                                   /* testo: 18 px sul computer, 19 sul telefono (righe di circa 40 caratteri) */
  --fs-label:1rem; --fs-lead:1.375rem;
  /* fluid sizes: clamp(smallest, grows with the window, largest) */
  --fs-title-m:clamp(1.7rem,2.5vw,3.2rem);
  --fs-kicker:clamp(1.55rem,3.2vw,4rem);
  --fs-display-s:clamp(2.2rem,4.6vw,5.2rem);
  --fs-display:clamp(2.9rem,7.5vw,9rem);
  --fs-hero:clamp(2.6rem,5.3vw,6.4rem);
  --fs-footer-word:clamp(5rem,16.4vw,19rem);
  --fs-list:clamp(1.25rem,2vw,1.9rem);
  --lh-display:1; --lh-hero:.88;
  --track-display:-.05em; --track-hero:-.055em;

  /* ---- space: the gaps the site uses, from small to large ---- */
  --space-1:6px; --space-2:12px; --space-3:18px; --space-4:24px;
  --space-5:36px; --space-6:54px; --space-7:clamp(54px,8vw,130px); --space-8:clamp(88px,11vw,190px);
  --pad-x:clamp(18px,2.2vw,42px); --pad-y:var(--space-8);
  --nav-h:52px;
  --tap:48px;                                      /* the smallest height of a button */
  --max-w:1920px;                                  /* the widest the content gets */
  --measure:30em;                                  /* righe di testo di 60–75 caratteri sul computer */
  --radius-pill:99px;

  /* ---- motion ---- */
  --ease:cubic-bezier(.22,1,.36,1);
  --rise-stagger:.09s;
  --t-press:.1s;                                   /* a button's answer to the press itself: fast enough to feel instant */

  /* ======== the Apple look (apple.css maps the shared names above onto these) ======== */
  --a-bg:#fff; --a-bg2:#f5f5f7; --a-text:#1d1d1f; --a-text2:#6e6e73;
  --a-text-d:#f5f5f7; --a-text2-d:#86868b;
  --a-blue:#0071e3; --a-link:#0066cc; --a-link-d:#2997ff; --a-blue-hover:#0077ed;
  --a-field:#d2d2d7; --a-radius:28px; --a-radius-s:18px;
  --a-black:#000; --a-line-dark:#424245;
  --a-pad-y:clamp(80px,9vw,150px);
  --a-fs-list:clamp(1.2rem,1.8vw,1.6rem);          /* the big list lines («Fa per te»; apple.css still writes it out in .fit li) */
  --a-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter Tight","Helvetica Neue",Arial,sans-serif;
}
@media (max-width:560px){:root{--fs:1.1875rem}}
