/* SaarthiStudy design tokens — taken from the Saarthi app screen set (85 screens)
   and the live saarthistudy.com. Fonts: Alice (headings) + Manrope (text), as in the app. */

@font-face { font-family: "Alice"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/alice-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; 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; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); }

:root {
  /* Colour — Saarthi app palette */
  --ink-deep: #141414;      /* deepest dark (app) */
  --ink: #262626;           /* app primary: text, dark cards, primary buttons */
  --cream: #faf6f0;         /* app background */
  --cream-2: #fcfaf6;       /* lighter cream */
  --sand: #f1eae0;          /* app secondary surface */
  --white: #ffffff;         /* cards */
  --border: #e8dfd3;        /* app card borders */
  --border-strong: #dccfbe;
  --text-2: #474039;        /* app body text */
  --muted: #6e655b;         /* app secondary text and labels */
  --faint: #b3a899;         /* app placeholders, disabled */
  --bronze: #8a5a2b;        /* app accent (same as live site) */
  --bronze-700: #7a4e22;
  --bronze-900: #5c3a17;
  --bronze-300: #c08a55;
  --gold: #d4a97a;          /* app light bronze */
  --gold-soft: #e6cba8;
  --tint: #f3e6d6;          /* app warm notes ("Reminder only…") */
  --selection: #f3e6d6;

  /* Dark atmosphere: clean ink, no coloured glow */
  --backdrop: linear-gradient(180deg, #201f1e 0%, #191817 55%, #131313 100%);
  --glow: linear-gradient(transparent, transparent);

  /* On-dark helpers (app uses cream at reduced opacity) */
  --on-dark: #faf6f0;
  --on-dark-2: rgba(250, 246, 240, 0.7);
  --on-dark-3: rgba(250, 246, 240, 0.55);
  --line-dark: rgba(250, 246, 240, 0.14);
  --panel-dark: #262626;

  /* Role tones — from the palette only */
  --role-student: #8a5a2b;
  --role-parent: #b07a44;
  --role-teacher: #6e655b;
  --role-institute: #262626;

  /* Type: Alice for headings and numbers, Manrope for everything else */
  --font-display: "Alice", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Alice", Georgia, "Times New Roman", serif;
  --fs-display: clamp(2.375rem, 1.1rem + 5.2vw, 5.75rem);
  --fs-h1: clamp(2.125rem, 1.2rem + 3.9vw, 4.75rem);
  --fs-h2: clamp(1.75rem, 1.05rem + 2.85vw, 3.625rem);
  --fs-h3: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  --fs-lead: clamp(1rem, 0.92rem + 0.35vw, 1.21875rem);
  --fs-body: clamp(0.96875rem, 0.92rem + 0.2vw, 1.0625rem);
  --fs-small: 0.9375rem;
  --fs-label: clamp(0.65625rem, 0.6rem + 0.15vw, 0.71875rem);
  --fs-button: 0.9375rem;

  /* Space (4 px base) */
  --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;
  --section-y: clamp(48px, 5vw + 30px, 132px);
  --gutter: clamp(18px, 3vw, 32px);
  --w-wide: 1320px;
  --w-std: 1040px;
  --w-read: 840px;

  /* Shape and depth (app: 12–15 px radii, scaled up for desktop) */
  --r-pill: 999px;
  --r-btn: 14px;
  --r-input: 13px;
  --r-badge: 14px;
  --r-card: 18px;
  --r-panel: 26px;
  --r-phone: 40px;
  --shadow-card: 0 1px 2px rgba(38, 38, 38, 0.04), 0 18px 40px -24px rgba(38, 38, 38, 0.26);
  --shadow-lift: 0 2px 4px rgba(38, 38, 38, 0.05), 0 28px 60px -26px rgba(38, 38, 38, 0.36);
  --shadow-phone: 0 40px 80px -30px rgba(20, 20, 20, 0.5), 0 0 0 1px rgba(20, 20, 20, 0.06);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-reveal: 700ms;
  --dur-hero: 1200ms;

  --header-h: 72px;
}
