/* =====================================================================
   TOKENS: Sionar Labs store

   The ONLY file that names a color, a font or a radius.

   Brand Identity Guidelines v2.0 (images/brand/). "Deep water, one bright
   bond." How much of each: Mist and white 45, Abyss 25, Deep Teal 12, Bond 8,
   Graphite 6, Pulse 4. Pulse is a signal: one button or badge per view, never
   a background. Never set text in Bond on a light ground (2.5:1 fails): Deep
   Teal does that job.

     Abyss      #092534   primary dark
     Bond       #0BB4CB   the mark; accent on dark
     Graphite   #566976   body text
     Deep Teal  #0A7A8F   brand color for text and UI on light
     Mist       #EEF4F6   light ground
     Pulse      #FF7A45   the one signal

   Measured (WCAG AA is 4.5:1 body, 3:1 large):

                       white   mist   abyss
     abyss    #092534  15.84  14.26      -
     graphite #566976   5.71   5.14      -
     teal     #0A7A8F   5.01   4.51      -
     bond     #0BB4CB  fails   fails    6.34
     white    #FFFFFF      -      -   15.84
     abyss on pulse 6.13; white on teal 5.01
   ===================================================================== */

:root {
  /* ---- 1. BRAND --------------------------------------------------------- */
  --surf:            #0BB4CB;   /* Bond */
  --current:         #0BB4CB;   /* Bond */
  --cobalt:          #0A7A8F;   /* Deep Teal */
  --deep:            #0A7A8F;
  --navy:            #092534;   /* Abyss */
  --night:           #061A25;
  --slate:           #566976;   /* Graphite */
  --ice:             #8FE0EC;
  --paper:           #FFFFFF;
  --white:           #FFFFFF;
  --fog:             #EEF4F6;   /* Mist */
  --fog-2:           #E3ECEF;
  --tide:            #DDE8EC;
  --tide-2:          #E4F4F7;
  --ink:             #092534;
  --ink-2:           #0E3142;
  --reef:            #0A7A8F;
  --pulse:           #FF7A45;
  --pulse-hover:     #FF8E60;

  /* ---- 2. ROLES ---------------------------------------------------------- */
  --accent:          var(--cobalt);
  --accent-bright:   var(--cobalt);
  --accent-deep:     var(--navy);
  --accent-soft:     var(--tide-2);
  --accent-line:     color-mix(in srgb, var(--current) 40%, transparent);
  --accent-fill:     var(--current);

  --bg:              var(--paper);
  --bg-alt:          var(--fog);
  --panel:           var(--white);
  --surface:         var(--fog);
  --surface-hover:   var(--fog-2);
  --raised:          var(--white);
  --band:            var(--fog);
  --field:           var(--white);
  --media-bg:        var(--fog);
  --header-bg:       color-mix(in srgb, var(--white) 82%, transparent);
  --ghost-bg:        transparent;

  --line:            color-mix(in srgb, var(--navy) 16%, transparent);
  --line-soft:       color-mix(in srgb, var(--navy) 10%, transparent);
  --line-faint:      color-mix(in srgb, var(--navy) 6%,  transparent);

  --text:            var(--ink);
  --text-body:       var(--slate);
  --text-dim:        var(--slate);
  --text-faint:      var(--slate);
  --text-error:      #B3261E;
  --ok:              var(--reef);

  --btn-bg:          var(--cobalt);
  --btn-bg-hover:    #086678;
  --btn-ink:         var(--white);
  --btn-soft:        var(--fog);
  --btn-soft-hover:  var(--tide);

  --shadow:          0 1px 2px color-mix(in srgb, var(--navy) 5%, transparent),
                     0 18px 40px -24px color-mix(in srgb, var(--navy) 26%, transparent);
  --shadow-lift:     0 2px 4px color-mix(in srgb, var(--navy) 5%, transparent),
                     0 40px 80px -36px color-mix(in srgb, var(--navy) 38%, transparent);
  --shadow-halo:     0 30px 80px -30px color-mix(in srgb, var(--current) 40%, transparent);

  --glass:           color-mix(in srgb, var(--white) 62%, transparent);
  --glass-strong:    color-mix(in srgb, var(--white) 84%, transparent);
  --glass-line:      color-mix(in srgb, var(--white) 90%, transparent);
  --glass-blur:      blur(20px) saturate(1.4);

  --grad:            linear-gradient(120deg, var(--current) 0%, var(--cobalt) 100%);
  --grad-text:       none;
  --grad-text-dark:  none;

  /* ---- 3. TYPE: two voices, and the guide's Red Hat stays on the vial label ---
     The headline voice echoes the logo: Saira, a squared sans with rounded
     corners like the wordmark's, opened to 110% width (owner, 3 Nov 2026: "use
     something similar to the logo font"). Hanken Grotesk does the work: body,
     buttons, prices, data, with tabular figures for numbers people compare. No
     mono, no italics and no spaced capitals on the site.

     Hierarchy comes from size, weight and leading as a set. Tracking follows
     size: tight on large type, open a touch on small type, never one value. */
  --font-display: "Saira", "Hanken Grotesk", system-ui, sans-serif;
  --wdth-display: 110;
  --font:         "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif:   var(--font-display);
  --font-mono:    var(--font);
  --fw-black: 400;
  --fw-display: 500;
  --fw-bold:  600;
  --fw-med:   500;

  --fs-hero:    clamp(2.5rem, 4.4vw, 4.5rem);
  --fs-h2:      clamp(2.125rem, 3.9vw, 3.75rem);
  --fs-h3:      1.375rem;
  --fs-body:    1.0625rem;
  --fs-small:   .875rem;
  --fs-label:   .8125rem;
  --fs-micro:   .75rem;

  --track-display: -.018em;
  --track-title:   -.012em;
  --track-body:    -.003em;
  --track-small:   .004em;
  --track-eyebrow: 0;
  --track-btn:     0;
  --track-nav:     0;

  --lead-display: 1.06;
  --lead-title:   1.2;
  --lead-body:    1.5;

  /* ---- 4. SHAPE ---------------------------------------------------------- */
  --radius-xl:    28px;
  --radius-lg:    22px;
  --radius-panel: 22px;
  --radius:       16px;
  --radius-sm:    12px;
  --radius-btn:   999px;
  --radius-pill:  999px;
  --border:       1px solid var(--line);

  --chamfer:      none;
  --chamfer-sm:   none;
  --chamfer-lg:   none;

  --max:         1320px;
  --gutter:      16px;
  --section-y:   120px;
  --section-y-sm:72px;

  --ease:        cubic-bezier(.16,.9,.24,1);
  --ease-soft:   cubic-bezier(.22,.8,.2,1);
  --t-fast:      .2s;
  --t-med:       .45s;

  --z-marquee:   400;
  --z-sticky:    450;
  --z-drawer:    500;
  --z-overlay:   600;
  --z-gate:      900;

  color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

/* ---- 5. ABYSS TONE: the report bands, the closing band, the footer ------- */
.tone-dark {
  --accent:          var(--surf);
  --accent-bright:   var(--surf);
  --accent-soft:     color-mix(in srgb, var(--surf) 14%, transparent);
  --accent-line:     color-mix(in srgb, var(--surf) 38%, transparent);
  --accent-fill:     var(--surf);

  --bg:              var(--navy);
  --bg-alt:          var(--ink-2);
  --panel:           var(--ink-2);
  --surface:         color-mix(in srgb, var(--white) 7%, transparent);
  --surface-hover:   color-mix(in srgb, var(--white) 11%, transparent);
  --raised:          var(--ink-2);
  --field:           var(--ink-2);

  --line:            color-mix(in srgb, var(--white) 22%, transparent);
  --line-soft:       color-mix(in srgb, var(--white) 14%, transparent);
  --line-faint:      color-mix(in srgb, var(--white) 8%,  transparent);

  --text:            var(--white);
  --text-body:       color-mix(in srgb, var(--white) 84%, transparent);
  --text-dim:        color-mix(in srgb, var(--white) 72%, transparent);
  --text-faint:      color-mix(in srgb, var(--white) 68%, transparent);

  --btn-bg:          var(--white);
  --btn-bg-hover:    var(--fog);
  --btn-ink:         var(--navy);

  color: var(--text-body);
}
