/* tativa.org brand tokens v1 (decision #44, 2026-11-08). Site and app share these values.
   Club 1 "Говори с ребёнком" = default (also the whole site). Club 2 "Ruso en Compañía" = [data-club="es"].
   Contrast: text/muted/accent on bg, surface and soft are >= 4.5:1 in both themes; on-accent on accent >= 4.5:1. */
@font-face{font-family:"Literata";font-weight:500;font-display:swap;src:url(../fonts/literata-cyrillic-500-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Literata";font-weight:500;font-display:swap;src:url(../fonts/literata-latin-500-normal.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:"Literata";font-weight:600;font-display:swap;src:url(../fonts/literata-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Literata";font-weight:600;font-display:swap;src:url(../fonts/literata-latin-600-normal.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:"Onest";font-weight:400;font-display:swap;src:url(../fonts/onest-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-weight:400;font-display:swap;src:url(../fonts/onest-latin-400-normal.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:"Onest";font-weight:500;font-display:swap;src:url(../fonts/onest-cyrillic-500-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-weight:500;font-display:swap;src:url(../fonts/onest-latin-500-normal.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:"Onest";font-weight:600;font-display:swap;src:url(../fonts/onest-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-weight:600;font-display:swap;src:url(../fonts/onest-latin-600-normal.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}
/* latin-ext files (ñ is in latin; ext covers rarer marks) are in ../fonts if needed. */

:root{
  --tv-bg:#FBF7F1; --tv-surface:#FFFFFF; --tv-text:#2A2230; --tv-muted:#5E5566; --tv-line:#E8DFD2;
  --tv-accent:#5B3D63; --tv-on-accent:#FFFFFF; --tv-soft:#F1EAF3; --tv-deco:#C9A6D1;
  /* routes (club 1 tiles only): text colour + tile background */
  --tv-route-keep:#276B4E; --tv-route-keep-bg:#E5F1EA;
  --tv-route-return:#85520F; --tv-route-return-bg:#F6EBDB;
  --tv-route-learn:#2F67B1; --tv-route-learn-bg:#E6EEF8;
  /* type */
  --tv-font-head:"Literata",Georgia,"Times New Roman",serif; --tv-head-weight:600; --tv-head-tracking:-0.01em;
  --tv-font-body:"Onest",system-ui,-apple-system,"Segoe UI",sans-serif;
  --tv-fs-xs:12px; --tv-fs-s:14px; --tv-fs-m:16px; --tv-fs-l:18px; --tv-fs-h3:22px; --tv-fs-h2:clamp(26px,3.4vw,36px); --tv-fs-h1:clamp(32px,5vw,56px);
  --tv-lh-body:1.55; --tv-lh-head:1.15;
  /* shape: site radii; the app uses the --tv-app-* set */
  --tv-r-sm:8px; --tv-r-md:14px; --tv-r-lg:22px; --tv-r-pill:999px;
  --tv-app-r-sm:12px; --tv-app-r-md:20px; --tv-app-r-lg:28px;
  --tv-shadow:0 1px 2px rgba(42,34,48,.06),0 6px 20px rgba(42,34,48,.06);
  /* spacing 4-pt scale */
  --tv-s1:4px; --tv-s2:8px; --tv-s3:12px; --tv-s4:16px; --tv-s5:24px; --tv-s6:32px; --tv-s7:48px; --tv-s8:72px;
  --tv-gutter:16px; --tv-max:1120px; --tv-btn-h:48px;
  /* photo slots */
  --tv-ratio-portrait:4/5; --tv-ratio-wide:16/9; --tv-ratio-card:3/2; --tv-ratio-square:1/1;
  --tv-scrim-rgb:42,34,48;
  --tv-scrim:linear-gradient(180deg,rgba(var(--tv-scrim-rgb),0) 25%,rgba(var(--tv-scrim-rgb),.82) 78%); /* white text sits in the lower 40% */
}
[data-club="es"]{
  --tv-bg:#F6F1E7; --tv-surface:#FFFDF8; --tv-text:#2B2420; --tv-muted:#5F554D; --tv-line:#E6DCCB;
  --tv-accent:#A8242B; --tv-on-accent:#FFFFFF; --tv-soft:#F6E6DF; --tv-deco:#B8924A; /* deco = doodles/lines only, not text */
  --tv-scrim-rgb:43,36,32;
}
/* Site v1 ships light only. Dark values are for the app and a later site dark mode: */
[data-theme="dark"]{
  --tv-bg:#1B1720; --tv-surface:#25202B; --tv-text:#F4EFF6; --tv-muted:#BDB3C4; --tv-line:#3A3340;
  --tv-accent:#D7B9E0; --tv-on-accent:#1B1720; --tv-soft:#33293A; --tv-deco:#7E5C88;
  --tv-route-keep:#7BC9A3; --tv-route-keep-bg:#1F3229; --tv-route-return:#E3AE62; --tv-route-return-bg:#352A1A; --tv-route-learn:#8DB4EC; --tv-route-learn-bg:#1E2A3B;
  --tv-shadow:0 1px 2px rgba(0,0,0,.3);
}
[data-theme="dark"][data-club="es"],[data-theme="dark"] [data-club="es"],[data-club="es"] [data-theme="dark"]{
  --tv-bg:#1C1715; --tv-surface:#27201D; --tv-text:#F6F0EA; --tv-muted:#C2B6AB; --tv-line:#3B322D;
  --tv-accent:#F2958C; --tv-on-accent:#1C1715; --tv-soft:#3A2522; --tv-deco:#8C6E3A;
}
