/* ==========================================================================
   Design tokens — extracted from Figma "Sach Desai  website design"
   File: UR5RhVXzCXvG1Y3OpN9wRP
   ========================================================================== */

/* --- Fonts (self-hosted; no external requests) --------------------------- */
@font-face {
  font-family: 'Metropolis';
  src: url('../assets/fonts/metropolis-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../assets/fonts/metropolis-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../assets/fonts/metropolis-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../assets/fonts/metropolis-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../assets/fonts/hanken-grotesk-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../assets/fonts/hanken-grotesk-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../assets/fonts/hanken-grotesk-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../assets/fonts/hanken-grotesk-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* --- Type families --- */
  --font-display: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Metropolis', 'Helvetica Neue', Arial, sans-serif;

  /* --- Brand palette (by frequency in the Figma file) --- */
  --c-white: #FFFFFF;

  --c-teal: #0898A9;          /* primary accent — fills, large type, icons */
  /* Brand teal is only 3.46:1 on white, so it fails AA wherever it carries small
     text. This deeper step keeps the same hue at 4.9:1 for links, badges and
     button fills; #0898A9 is still used for decorative shapes and large type. */
  --c-teal-deep: #0A6E78;
  --c-teal-light: #8EC3CB;
  --c-teal-dark: #2B6E7E;

  --c-navy: #1B3148;          /* primary dark / headings */
  --c-navy-alt: #32465B;
  --c-navy-slate: #32546E;

  --c-green: #026937;

  --c-red: #EE3224;

  --c-slate: #8C9498;         /* Figma's muted grey — decorative use only */
  --c-slate-blue: #5F748A;
  --c-slate-dark: #3B455A;
  --c-border: #BABFC8;

  /* Readable text ramp.
     Figma sets most body copy in #8C9498, which fails WCAG AA on white
     (2.9:1). These darker steps keep the same cool-grey character while
     clearing 4.5:1, so long-form copy is actually readable. */
  --c-body: #495A6E;          /* default body copy                7.1:1 */
  --c-body-soft: #5B6B7F;     /* secondary / supporting copy      5.4:1 */
  --c-body-faint: #63717F;    /* captions, meta, disclaimers      5.1:1 */

  --c-bg-pale: #F0F6FB;       /* section tints */

  /* --- Semantic aliases --- */
  --c-text: var(--c-body);
  --c-heading: var(--c-navy);
  --c-text-muted: var(--c-body-soft);



  /* --- Layout --- */


  /* ======================================================================
     SPACING — 4px base. Every padding/margin/gap in the site resolves to a
     step on this scale. Before, the CSS used 47 unrelated px values.
     ====================================================================== */
  --s-1:  4px;   --s-2:  8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;   --s-6: 24px;   --s-7: 32px;  --s-8: 40px;
  --s-9: 48px;   --s-10: 64px;  --s-11: 80px; --s-12: 96px;
  --s-13: 120px; --s-14: 160px;

  /* Figma's card gutter is exactly 30px (cards at x140/537/934, 367 wide).
     It sits between --s-6 and --s-7, so it gets its own token. */
  --gap-card: 30px;

  /* Section rhythm. A page that pads every band identically reads flat, so
     density is deliberate: dense for lists, loose for moments that matter. */
  --pad-dense: 58px;
  --pad:       72px;
  --pad-loose: 96px;

  /* ======================================================================
     ELEVATION — one ramp, used everywhere. Two-layer shadows so edges stay
     crisp while the ambient spread does the lifting.
     ====================================================================== */
  --e-1: 0 1px 2px rgba(20, 38, 58, .06), 0 2px 8px rgba(20, 38, 58, .05);
  --e-2: 0 2px 4px rgba(20, 38, 58, .06), 0 8px 20px rgba(20, 38, 58, .07);
  --e-3: 0 4px 10px rgba(20, 38, 58, .07), 0 16px 36px rgba(20, 38, 58, .10);
  --e-4: 0 8px 20px rgba(20, 38, 58, .10), 0 28px 60px rgba(20, 38, 58, .14);

  /* ======================================================================
     RADIUS — cards all share --r-card so the family reads as one system.
     ====================================================================== */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-card: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 500px;

  --z-header: 60;
  --z-scrim: 80;
  --z-drawer: 90;
  --z-skip: 200;

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 620ms;
}
