/* ============================================================
   BOREDOM — design tokens
   One tweakable seed (--brand) drives the whole teal ramp.
   Orange stays a fixed accent. Light/Dark + Variation A/B.
   ============================================================ */

:root {
  /* --- the one seed (tweakable) --- */
  --brand: #236371;

  /* teal ramp derived from the seed */
  --brand-900: color-mix(in srgb, var(--brand) 62%, #06181c);
  --brand-700: color-mix(in srgb, var(--brand) 84%, #04181b);
  --brand-600: color-mix(in srgb, var(--brand) 92%, #000);
  --brand-500: var(--brand);
  --brand-400: color-mix(in srgb, var(--brand) 78%, #fff);
  --brand-300: color-mix(in srgb, var(--brand) 58%, #fff);
  --brand-200: color-mix(in srgb, var(--brand) 38%, #fff);
  --brand-100: color-mix(in srgb, var(--brand) 22%, #fff);
  --brand-50:  color-mix(in srgb, var(--brand) 11%, #fff);
  --brand-10:  color-mix(in srgb, var(--brand) 5%,  #fff);

  /* fixed accents */
  --orange:    #fc8733;
  --orange-600:#e66203;
  --orange-50: #fff1e6;
  --green:     #1fc16b;
  --green-50:  #e7f8ef;
  --red:       #fb3748;

  /* warm neutrals (cream-leaning) */
  --ink:    #16292c;
  --ink-2:  #41585b;
  --ink-3:  #6c8285;

  --bg:        #ffffff;
  --bg-2:      #f5f6f7;
  --surface:   #ffffff;
  --surface-2: #ffffff;
  --border:    #e9e4d900; /* overridden below */
  --border:    #ece5d8;
  --border-2:  #ddd3c2;
  --hairline:  #00000010;

  /* shadows / elevation */
  --shadow-sm: 0 1px 2px rgba(20,40,44,.06), 0 1px 1px rgba(20,40,44,.04);
  --shadow-md: 0 8px 24px -10px rgba(20,40,44,.18), 0 2px 6px rgba(20,40,44,.05);
  --shadow-lg: 0 30px 60px -24px rgba(15,55,62,.30), 0 8px 20px -12px rgba(15,55,62,.18);
  --shadow-brand: 0 24px 50px -20px color-mix(in srgb, var(--brand) 55%, transparent);

  /* radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* type */
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", var(--font-body);
  --font-num: "Hanken Grotesk", var(--font-body);

  /* fluid type scale */
  --fs-eyebrow: .8rem;
  --fs-body: clamp(1rem, .96rem + .25vw, 1.12rem);
  --fs-lead: clamp(1.12rem, 1rem + .6vw, 1.4rem);
  --h6: clamp(1rem, .95rem + .3vw, 1.15rem);
  --h5: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --h4: clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --h3: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem);
  --h2: clamp(2.3rem, 1.7rem + 2.6vw, 3.6rem);
  --h1: clamp(2.8rem, 1.9rem + 4.2vw, 5.2rem);

  /* layout */
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 7vw, 128px);

  --ring: color-mix(in srgb, var(--brand) 40%, transparent);
}

/* ---------------- DARK ---------------- */
[data-theme="dark"] {
  --ink:    #eaf5f6;
  --ink-2:  #b6cfd2;
  --ink-3:  #87a4a8;

  --bg:        #0b1c20;
  --bg-2:      #0e2429;
  --surface:   #11272d;
  --surface-2: #0e2329;
  --border:    #22454d;
  --border-2:  #2c545d;
  --hairline:  #ffffff14;

  --brand-50:  color-mix(in srgb, var(--brand) 24%, #0b1c20);
  --brand-10:  color-mix(in srgb, var(--brand) 14%, #0b1c20);
  --brand-100: color-mix(in srgb, var(--brand) 40%, #0b1c20);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 12px 30px -12px rgba(0,0,0,.55);
  --shadow-lg: 0 40px 70px -28px rgba(0,0,0,.7);
  --orange-50: color-mix(in srgb, var(--orange) 18%, #0b1c20);
  --green-50:  color-mix(in srgb, var(--green) 16%, #0b1c20);
}

/* ---------------- VARIATION B (Bold Vibrant) ---------------- */
[data-variation="b"] {
  --font-display: "Darker Grotesque", var(--font-body);
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --bg:   #ffffff;
  --bg-2: var(--brand-10);
}
[data-variation="b"][data-theme="dark"] {
  --bg:   #07171a;
  --bg-2: #0b2024;
  --surface: #0e2429;
}
