/*
 * fonts.css — DiveOS webfont declarations
 *
 * Two families (DESIGN.md §Typography, updated):
 *   Inter      (Google, OFL) → --font-display + --font-sans  (headings via 600/700 + tight tracking)
 *   Geist Mono (Google, OFL) → --font-mono                   (tabular numerals, IDs, money, time)
 *
 * Inter + Geist Mono load from Google Fonts. General Sans is retired as the
 * display face — the @font-face below is kept only for any legacy callsite that
 * still names 'General Sans' directly; no token references it anymore.
 *
 * NOTE: @import must precede other rules, so the Google import comes first,
 * then the (legacy) self-hosted @font-face block.
 */

/* cyrillic-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* symbols2 */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-3.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
/* vietnamese */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-5.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-6.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* symbols2 */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-3.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
/* vietnamese */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-5.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-6.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* symbols2 */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-3.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
/* vietnamese */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-5.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-6.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-3.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-6.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-3.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-6.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-3.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-6.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-3.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-6.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-7.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;
}


/* General Sans — variable, self-hosted (covers 400 / 500 / 600 / 700) */
@font-face {
  font-family: 'General Sans';
  src: url(assets/fonts/GeneralSans-400700.woff2) format('woff2-variations'),
       url(assets/fonts/GeneralSans-400700.woff2) format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}


/*
 * colors.css — DiveOS color foundation (v4 — repo spec: sky-700 + cool gray)
 *
 * Two layers:
 *   1. Foundation ramps (8 ramps × 11 steps) — Tailwind-compatible, the
 *      source for every semantic alias and status tint.
 *   2. Semantic aliases — what surfaces actually reference.
 *
 * Accent is sky-700; per-tenant TeamBranding overrides exactly ONE value
 * (--accent). Everything else stays constant across tenants so a Cancelled
 * trip looks the same red everywhere. DiveOS is light-only — no dark mode.
 */

:root {
  /* ─── Foundation ramps ──────────────────────────────────────────────── */
  --gray-50:  #F9FAFB; --gray-100: #F3F4F6; --gray-200: #E5E7EB;
  --gray-300: #D1D5DB; --gray-400: #9CA3AF; --gray-500: #6B7280;
  --gray-600: #4B5563; --gray-700: #374151; --gray-800: #1F2937;
  --gray-900: #111827; --gray-950: #030712;

  --sky-50:  #F0F9FF; --sky-100: #E0F2FE; --sky-200: #BAE6FD;
  --sky-300: #7DD3FC; --sky-400: #38BDF8; --sky-500: #0EA5E9;
  --sky-600: #0284C7; --sky-700: #0369A1; --sky-800: #075985;
  --sky-900: #0C4A6E; --sky-950: #082F49;

  --amber-50:  #FFFBEB; --amber-100: #FEF3C7; --amber-200: #FDE68A;
  --amber-300: #FCD34D; --amber-400: #FBBF24; --amber-500: #F59E0B;
  --amber-600: #D97706; --amber-700: #B45309; --amber-800: #92400E;
  --amber-900: #78350F; --amber-950: #451A03;

  --green-50:  #F0FDF4; --green-100: #DCFCE7; --green-200: #BBF7D0;
  --green-300: #86EFAC; --green-400: #4ADE80; --green-500: #22C55E;
  --green-600: #16A34A; --green-700: #15803D; --green-800: #166534;
  --green-900: #14532D; --green-950: #052E16;

  --red-50:  #FEF2F2; --red-100: #FEE2E2; --red-200: #FECACA;
  --red-300: #FCA5A5; --red-400: #F87171; --red-500: #EF4444;
  --red-600: #DC2626; --red-700: #B91C1C; --red-800: #991B1B;
  --red-900: #7F1D1D; --red-950: #450A0A;

  --slate-50:  #F8FAFC; --slate-100: #F1F5F9; --slate-200: #E2E8F0;
  --slate-300: #CBD5E1; --slate-400: #94A3B8; --slate-500: #64748B;
  --slate-600: #475569; --slate-700: #334155; --slate-800: #1E293B;
  --slate-900: #0F172A; --slate-950: #020617;

  --rose-50:  #FFF1F2; --rose-100: #FFE4E6; --rose-200: #FECDD3;
  --rose-300: #FDA4AF; --rose-400: #FB7185; --rose-500: #F43F5E;
  --rose-600: #E11D48; --rose-700: #BE123C; --rose-800: #9F1239;
  --rose-900: #881337; --rose-950: #4C0519;

  --stone-50:  #FAFAF9; --stone-100: #F5F5F4; --stone-200: #E7E5E4;
  --stone-300: #D6D3D1; --stone-400: #A8A29E; --stone-500: #78716C;
  --stone-600: #57534E; --stone-700: #44403C; --stone-800: #292524;
  --stone-900: #1C1917; --stone-950: #0C0A09;

  /* ─── Semantic neutrals (cool gray ramp aliases) ────────────────────── */
  --canvas:           var(--gray-50);    /* page background */
  --surface:          #FFFFFF;           /* cards, modals, elevated rows */
  --surface-alt:      var(--gray-100);   /* header zone, sidebar, subtle distinction */
  --sidebar-bg:       var(--gray-100);   /* sidebar background */
  --hairline:         var(--gray-200);   /* default border */
  --hairline-2:       #F0F1F4;           /* inner row separator (lighter) */
  --hairline-strong:  var(--gray-300);   /* active/focused border */
  --ink:              var(--gray-900);   /* body text, headings */
  --muted:            var(--gray-500);   /* less prominent text */
  --muted-2:          var(--gray-400);   /* captions, meta */

  /* ─── Accent (sky-700, swappable per tenant via --accent) ───────────── */
  --accent:           var(--sky-700);
  --accent-strong:    var(--sky-800);    /* hover, pressed */
  --accent-soft:      rgba(3, 105, 161, 0.08);  /* selected-row tint, soft badge bg */
  --accent-softer:    rgba(3, 105, 161, 0.04);  /* ultra-soft hover tint */
  --accent-border:    rgba(3, 105, 161, 0.26);  /* soft badge border, focus dividers */
  --accent-light:     var(--sky-100);    /* lit accent tint for current-step */

  /* ─── Back-compat aliases (existing callsites) ──────────────────────── */
  --bg:               var(--canvas);
  --text-primary:     var(--ink);
  --text-secondary:   var(--gray-700);
  --text-muted:       var(--muted);
  --border:           var(--hairline);
  --border-strong:    var(--hairline-strong);
  --accent-tint:      var(--accent-soft);

  /* ─── Input tokens ──────────────────────────────────────────────────── */
  --input-bg:           var(--gray-50);
  --input-border:       var(--gray-300);
  --input-border-hover: var(--gray-400);
  --input-border-focus: rgba(3, 105, 161, 0.60);
  --input-placeholder:  rgba(107, 114, 128, 0.50);
  --focus-ring:         rgba(3, 105, 161, 0.10);
  --error:              #C13028;
}


/*
 * typography.css — DiveOS type tokens
 *
 * Two families (see fonts.css for the @import source):
 *   --font-display  Inter 600/700  — page titles, card headings, hero numbers
 *                                    (tight tracking + weight do the display work)
 *   --font-sans     Inter           — body, UI labels, buttons, captions
 *   --font-mono     Geist Mono      — anything data-not-prose: timestamps,
 *                                     money, capacities, codes, IDs, dates
 *
 * Type scale (px): 10 / 12 / 13 / 14 / 15 / 18 / 22 / 28. No fluid scaling.
 * Body text never below 14px; captions never below 10px.
 *
 * The "dive computer" feel comes from numerics being typeset as instruments —
 * Geist Mono + font-variant-numeric: tabular-nums in every numeric context.
 */

:root {
  /* Families — Inter + Geist Mono only. Display = Inter at 600/700 with
     tight tracking; the family is shared with body, differentiated by
     weight/size/tracking (Linear/Vercel-style discipline). */
  --font-display: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-sans:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, monospace;

  /* Inter OpenType features per the repo spec: cv11 single-storey a,
     ss01/ss03 alternates. Harmless on General Sans / Geist Mono. */
  --font-features: "cv11", "ss01", "ss03";

  /* Type scale */
  --text-2xs: 10px;   /* eyebrow / column labels (uppercase, tracked) */
  --text-xs:  12px;   /* captions, meta, status chips */
  --text-sm:  13px;   /* UI labels, button labels (compact) */
  --text-base:14px;   /* body, default UI text */
  --text-md:  15px;   /* card title */
  --text-lg:  18px;   /* section heading / open-row title */
  --text-xl:  22px;   /* large section heading */
  --text-2xl: 28px;   /* page title */

  /* Weights */
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;

  /* Tracking */
  --tracking-tight:   -0.02em;  /* display titles */
  --tracking-snug:    -0.01em;  /* card titles */
  --tracking-eyebrow:  0.14em;  /* uppercase eyebrows + field labels */
  --tracking-label:    0.08em;  /* sidebar / group labels */
}


/*
 * status.css — DiveOS status palette (color + icon + text, color-blind safe)
 *
 * Status meaning is NEVER carried by color alone. Every status renders as
 * [icon] [text] with a soft ramp-tint background + 1px border. All combos
 * tested ≥ 4.5:1 contrast and pass Protanopia / Deuteranopia / Tritanopia.
 *
 * 5 repo statuses (Pending, Confirmed, Briefing, In Water, Cancelled) +
 * 2 app-derived (Returning = slate, Completed = gray). Both the legacy
 * long names (--status-<x>-fg/-bg/-border) and short aliases resolve to
 * the SAME ramp values so no chip can drift between aliases.
 *
 * Rail tints (--bar-*) are lighter ramp-300 steps for left-edge indicators.
 */

:root {
  /* Pending — stone */
  --status-pending-fg:     var(--stone-600);
  --status-pending-bg:     var(--stone-100);
  --status-pending-border: var(--stone-300);
  --pending:        var(--status-pending-fg);
  --pending-bg:     var(--status-pending-bg);
  --pending-border: var(--status-pending-border);

  /* Confirmed — green ("committed / go") */
  --status-confirmed-fg:     var(--green-700);
  --status-confirmed-bg:     var(--green-50);
  --status-confirmed-border: var(--green-200);
  --confirmed:        var(--status-confirmed-fg);
  --confirmed-bg:     var(--status-confirmed-bg);
  --confirmed-border: var(--status-confirmed-border);

  /* Briefing — amber (attention, recoverable) */
  --status-briefing-fg:     var(--amber-800);
  --status-briefing-bg:     var(--amber-50);
  --status-briefing-border: var(--amber-300);
  --briefing:        var(--status-briefing-fg);
  --briefing-bg:     var(--status-briefing-bg);
  --briefing-border: var(--status-briefing-border);

  /* In Water — sky (water / depth) */
  --status-in-water-fg:     var(--sky-800);
  --status-in-water-bg:     var(--sky-50);
  --status-in-water-border: var(--sky-200);
  --inwater:        var(--status-in-water-fg);
  --inwater-bg:     var(--status-in-water-bg);
  --inwater-border: var(--status-in-water-border);

  /* Returning — slate */
  --status-returning-fg:     var(--slate-600);
  --status-returning-bg:     var(--slate-100);
  --status-returning-border: var(--slate-300);

  /* Completed — gray (settled, dimmed) */
  --status-completed-fg:     var(--gray-500);
  --status-completed-bg:     var(--gray-100);
  --status-completed-border: var(--gray-300);

  /* Cancelled — rose (final) */
  --status-cancelled-fg:     var(--rose-800);
  --status-cancelled-bg:     var(--rose-50);
  --status-cancelled-border: var(--rose-200);
  --cancelled:        var(--status-cancelled-fg);
  --cancelled-bg:     var(--status-cancelled-bg);
  --cancelled-border: var(--status-cancelled-border);

  /* Rail / left-edge indicators (ramp-300 steps) */
  --bar-confirmed:  var(--green-300);
  --bar-briefing:   var(--amber-300);
  --bar-inwater:    var(--sky-300);
  --bar-pending:    var(--stone-300);
  --bar-cancelled:  var(--rose-300);
  --bar-returning:  var(--slate-300);
}


/*
 * spacing.css — DiveOS spacing, radius, shadow, motion, layout tokens
 *
 * Base unit 4px. Density is "comfortable" — not cramped (not Bloomberg),
 * not luxurious (not Apple marketing). 16px is the default gap between
 * grouped elements; 24px between groups.
 *
 * The radius scale is hierarchical, NOT uniform — different element types
 * get visually distinct treatments. No "bubbly rounded everything".
 */

:root {
  /* ─── Spacing scale (4px base) ──────────────────────────────────────── */
  --space-2xs: 2px;
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md-tight: 12px;
  --space-md:  16px;   /* default gap between grouped elements */
  --space-lg:  24px;   /* gap between groups */
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* ─── Border radius (hierarchical) ──────────────────────────────────── */
  --radius-sm:   6px;     /* inputs, buttons, small chips */
  --radius:      8px;     /* cards, modals, panels */
  --radius-md:   8px;     /* alias of --radius */
  --radius-lg:   10px;    /* large surfaces, drawer head, hero cards */
  --radius-xl:   14px;    /* rare — feature cards only */
  --radius-pill: 9999px;  /* status badges, avatars, segmented controls */

  /* ─── Shadow scale (no decorative / glow shadows) ───────────────────── */
  --shadow-sm:    0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-md:    0 4px 8px rgba(17, 24, 39, 0.10);
  --shadow-card:  0 1px 2px rgba(17, 24, 39, 0.04), 0 0 0 1px var(--hairline);
  --shadow-hover: 0 2px 8px rgba(17, 24, 39, 0.06), 0 0 0 1px var(--hairline);
  --shadow-panel: 0 24px 60px -20px rgba(17, 24, 39, 0.20),
                  0 8px 24px -12px rgba(17, 24, 39, 0.10);

  /* ─── Motion ────────────────────────────────────────────────────────── */
  /* easing curves (app-shell, enter, exit, position change) */
  --ease-out-quart: cubic-bezier(0.32, 0.72, 0, 1); /* @kind other */
  --ease-enter:     cubic-bezier(0, 0, 0.2, 1);     /* @kind other */
  --ease-exit:      cubic-bezier(0.4, 0, 1, 1);     /* @kind other */
  --ease-move:      cubic-bezier(0.4, 0, 0.2, 1);   /* @kind other */
  /* durations: micro / fast / signature pulse / medium / slow */
  --t-micro: 120ms; /* @kind other */
  --t-fast:  150ms; /* @kind other */
  --t-pulse: 200ms; /* @kind other */
  --t-med:   240ms; /* @kind other */
  --t-slow:  350ms; /* @kind other */

  /* ─── Z-index stack ─────────────────────────────────────────────────── */
  --z-modal:    50;  /* @kind other */
  --z-panel:    40;  /* @kind other */
  --z-dropdown: 30;  /* @kind other */
  --z-tooltip:  20;  /* @kind other */

  /* ─── Layout primitives ─────────────────────────────────────────────── */
  --sidebar-w:  240px;   /* desktop sidebar */
  --panel-w:    560px;   /* side drawer (520px default / 560px wide variant) */
  --content-max:1280px;  /* full app max-width */
  --read-max:   720px;   /* single-column read width (Today, billing) */
}


/*
 * styles.css — DiveOS Design System entry point
 *
 * Consumers link this ONE file. It is an @import manifest only — no rules
 * live here directly. Everything it transitively reaches (tokens + fonts)
 * ships to consuming projects.
 *
 * DiveOS — white-label SaaS for dive-shop operations. Light-only,
 * instrument-grade, status-disciplined. "The tool I open before coffee."
 */

/*
 * fonts.css — DiveOS webfont declarations
 *
 * Two families (DESIGN.md §Typography, updated):
 *   Inter      (Google, OFL) → --font-display + --font-sans  (headings via 600/700 + tight tracking)
 *   Geist Mono (Google, OFL) → --font-mono                   (tabular numerals, IDs, money, time)
 *
 * Inter + Geist Mono load from Google Fonts. General Sans is retired as the
 * display face — the @font-face below is kept only for any legacy callsite that
 * still names 'General Sans' directly; no token references it anymore.
 *
 * NOTE: @import must precede other rules, so the Google import comes first,
 * then the (legacy) self-hosted @font-face block.
 */

/* cyrillic-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* symbols2 */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-3.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
/* vietnamese */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-5.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-6.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* symbols2 */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-3.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
/* vietnamese */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-5.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-6.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* symbols2 */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-3.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
/* vietnamese */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-5.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/GeistMono-400-6.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-3.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-6.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-3.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-6.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-400-7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-3.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-6.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-400-7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-3.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-6.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-400-7.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;
}


/* General Sans — variable, self-hosted (covers 400 / 500 / 600 / 700) */
@font-face {
  font-family: 'General Sans';
  src: url(assets/fonts/GeneralSans-400700.woff2) format('woff2-variations'),
       url(assets/fonts/GeneralSans-400700.woff2) format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/*
 * colors.css — DiveOS color foundation (v4 — repo spec: sky-700 + cool gray)
 *
 * Two layers:
 *   1. Foundation ramps (8 ramps × 11 steps) — Tailwind-compatible, the
 *      source for every semantic alias and status tint.
 *   2. Semantic aliases — what surfaces actually reference.
 *
 * Accent is sky-700; per-tenant TeamBranding overrides exactly ONE value
 * (--accent). Everything else stays constant across tenants so a Cancelled
 * trip looks the same red everywhere. DiveOS is light-only — no dark mode.
 */

:root {
  /* ─── Foundation ramps ──────────────────────────────────────────────── */
  --gray-50:  #F9FAFB; --gray-100: #F3F4F6; --gray-200: #E5E7EB;
  --gray-300: #D1D5DB; --gray-400: #9CA3AF; --gray-500: #6B7280;
  --gray-600: #4B5563; --gray-700: #374151; --gray-800: #1F2937;
  --gray-900: #111827; --gray-950: #030712;

  --sky-50:  #F0F9FF; --sky-100: #E0F2FE; --sky-200: #BAE6FD;
  --sky-300: #7DD3FC; --sky-400: #38BDF8; --sky-500: #0EA5E9;
  --sky-600: #0284C7; --sky-700: #0369A1; --sky-800: #075985;
  --sky-900: #0C4A6E; --sky-950: #082F49;

  --amber-50:  #FFFBEB; --amber-100: #FEF3C7; --amber-200: #FDE68A;
  --amber-300: #FCD34D; --amber-400: #FBBF24; --amber-500: #F59E0B;
  --amber-600: #D97706; --amber-700: #B45309; --amber-800: #92400E;
  --amber-900: #78350F; --amber-950: #451A03;

  --green-50:  #F0FDF4; --green-100: #DCFCE7; --green-200: #BBF7D0;
  --green-300: #86EFAC; --green-400: #4ADE80; --green-500: #22C55E;
  --green-600: #16A34A; --green-700: #15803D; --green-800: #166534;
  --green-900: #14532D; --green-950: #052E16;

  --red-50:  #FEF2F2; --red-100: #FEE2E2; --red-200: #FECACA;
  --red-300: #FCA5A5; --red-400: #F87171; --red-500: #EF4444;
  --red-600: #DC2626; --red-700: #B91C1C; --red-800: #991B1B;
  --red-900: #7F1D1D; --red-950: #450A0A;

  --slate-50:  #F8FAFC; --slate-100: #F1F5F9; --slate-200: #E2E8F0;
  --slate-300: #CBD5E1; --slate-400: #94A3B8; --slate-500: #64748B;
  --slate-600: #475569; --slate-700: #334155; --slate-800: #1E293B;
  --slate-900: #0F172A; --slate-950: #020617;

  --rose-50:  #FFF1F2; --rose-100: #FFE4E6; --rose-200: #FECDD3;
  --rose-300: #FDA4AF; --rose-400: #FB7185; --rose-500: #F43F5E;
  --rose-600: #E11D48; --rose-700: #BE123C; --rose-800: #9F1239;
  --rose-900: #881337; --rose-950: #4C0519;

  --stone-50:  #FAFAF9; --stone-100: #F5F5F4; --stone-200: #E7E5E4;
  --stone-300: #D6D3D1; --stone-400: #A8A29E; --stone-500: #78716C;
  --stone-600: #57534E; --stone-700: #44403C; --stone-800: #292524;
  --stone-900: #1C1917; --stone-950: #0C0A09;

  /* ─── Semantic neutrals (cool gray ramp aliases) ────────────────────── */
  --canvas:           var(--gray-50);    /* page background */
  --surface:          #FFFFFF;           /* cards, modals, elevated rows */
  --surface-alt:      var(--gray-100);   /* header zone, sidebar, subtle distinction */
  --sidebar-bg:       var(--gray-100);   /* sidebar background */
  --hairline:         var(--gray-200);   /* default border */
  --hairline-2:       #F0F1F4;           /* inner row separator (lighter) */
  --hairline-strong:  var(--gray-300);   /* active/focused border */
  --ink:              var(--gray-900);   /* body text, headings */
  --muted:            var(--gray-500);   /* less prominent text */
  --muted-2:          var(--gray-400);   /* captions, meta */

  /* ─── Accent (sky-700, swappable per tenant via --accent) ───────────── */
  --accent:           var(--sky-700);
  --accent-strong:    var(--sky-800);    /* hover, pressed */
  --accent-soft:      rgba(3, 105, 161, 0.08);  /* selected-row tint, soft badge bg */
  --accent-softer:    rgba(3, 105, 161, 0.04);  /* ultra-soft hover tint */
  --accent-border:    rgba(3, 105, 161, 0.26);  /* soft badge border, focus dividers */
  --accent-light:     var(--sky-100);    /* lit accent tint for current-step */

  /* ─── Back-compat aliases (existing callsites) ──────────────────────── */
  --bg:               var(--canvas);
  --text-primary:     var(--ink);
  --text-secondary:   var(--gray-700);
  --text-muted:       var(--muted);
  --border:           var(--hairline);
  --border-strong:    var(--hairline-strong);
  --accent-tint:      var(--accent-soft);

  /* ─── Input tokens ──────────────────────────────────────────────────── */
  --input-bg:           var(--gray-50);
  --input-border:       var(--gray-300);
  --input-border-hover: var(--gray-400);
  --input-border-focus: rgba(3, 105, 161, 0.60);
  --input-placeholder:  rgba(107, 114, 128, 0.50);
  --focus-ring:         rgba(3, 105, 161, 0.10);
  --error:              #C13028;
}

/*
 * typography.css — DiveOS type tokens
 *
 * Two families (see fonts.css for the @import source):
 *   --font-display  Inter 600/700  — page titles, card headings, hero numbers
 *                                    (tight tracking + weight do the display work)
 *   --font-sans     Inter           — body, UI labels, buttons, captions
 *   --font-mono     Geist Mono      — anything data-not-prose: timestamps,
 *                                     money, capacities, codes, IDs, dates
 *
 * Type scale (px): 10 / 12 / 13 / 14 / 15 / 18 / 22 / 28. No fluid scaling.
 * Body text never below 14px; captions never below 10px.
 *
 * The "dive computer" feel comes from numerics being typeset as instruments —
 * Geist Mono + font-variant-numeric: tabular-nums in every numeric context.
 */

:root {
  /* Families — Inter + Geist Mono only. Display = Inter at 600/700 with
     tight tracking; the family is shared with body, differentiated by
     weight/size/tracking (Linear/Vercel-style discipline). */
  --font-display: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-sans:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, monospace;

  /* Inter OpenType features per the repo spec: cv11 single-storey a,
     ss01/ss03 alternates. Harmless on General Sans / Geist Mono. */
  --font-features: "cv11", "ss01", "ss03";

  /* Type scale */
  --text-2xs: 10px;   /* eyebrow / column labels (uppercase, tracked) */
  --text-xs:  12px;   /* captions, meta, status chips */
  --text-sm:  13px;   /* UI labels, button labels (compact) */
  --text-base:14px;   /* body, default UI text */
  --text-md:  15px;   /* card title */
  --text-lg:  18px;   /* section heading / open-row title */
  --text-xl:  22px;   /* large section heading */
  --text-2xl: 28px;   /* page title */

  /* Weights */
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;

  /* Tracking */
  --tracking-tight:   -0.02em;  /* display titles */
  --tracking-snug:    -0.01em;  /* card titles */
  --tracking-eyebrow:  0.14em;  /* uppercase eyebrows + field labels */
  --tracking-label:    0.08em;  /* sidebar / group labels */
}

/*
 * status.css — DiveOS status palette (color + icon + text, color-blind safe)
 *
 * Status meaning is NEVER carried by color alone. Every status renders as
 * [icon] [text] with a soft ramp-tint background + 1px border. All combos
 * tested ≥ 4.5:1 contrast and pass Protanopia / Deuteranopia / Tritanopia.
 *
 * 5 repo statuses (Pending, Confirmed, Briefing, In Water, Cancelled) +
 * 2 app-derived (Returning = slate, Completed = gray). Both the legacy
 * long names (--status-<x>-fg/-bg/-border) and short aliases resolve to
 * the SAME ramp values so no chip can drift between aliases.
 *
 * Rail tints (--bar-*) are lighter ramp-300 steps for left-edge indicators.
 */

:root {
  /* Pending — stone */
  --status-pending-fg:     var(--stone-600);
  --status-pending-bg:     var(--stone-100);
  --status-pending-border: var(--stone-300);
  --pending:        var(--status-pending-fg);
  --pending-bg:     var(--status-pending-bg);
  --pending-border: var(--status-pending-border);

  /* Confirmed — green ("committed / go") */
  --status-confirmed-fg:     var(--green-700);
  --status-confirmed-bg:     var(--green-50);
  --status-confirmed-border: var(--green-200);
  --confirmed:        var(--status-confirmed-fg);
  --confirmed-bg:     var(--status-confirmed-bg);
  --confirmed-border: var(--status-confirmed-border);

  /* Briefing — amber (attention, recoverable) */
  --status-briefing-fg:     var(--amber-800);
  --status-briefing-bg:     var(--amber-50);
  --status-briefing-border: var(--amber-300);
  --briefing:        var(--status-briefing-fg);
  --briefing-bg:     var(--status-briefing-bg);
  --briefing-border: var(--status-briefing-border);

  /* In Water — sky (water / depth) */
  --status-in-water-fg:     var(--sky-800);
  --status-in-water-bg:     var(--sky-50);
  --status-in-water-border: var(--sky-200);
  --inwater:        var(--status-in-water-fg);
  --inwater-bg:     var(--status-in-water-bg);
  --inwater-border: var(--status-in-water-border);

  /* Returning — slate */
  --status-returning-fg:     var(--slate-600);
  --status-returning-bg:     var(--slate-100);
  --status-returning-border: var(--slate-300);

  /* Completed — gray (settled, dimmed) */
  --status-completed-fg:     var(--gray-500);
  --status-completed-bg:     var(--gray-100);
  --status-completed-border: var(--gray-300);

  /* Cancelled — rose (final) */
  --status-cancelled-fg:     var(--rose-800);
  --status-cancelled-bg:     var(--rose-50);
  --status-cancelled-border: var(--rose-200);
  --cancelled:        var(--status-cancelled-fg);
  --cancelled-bg:     var(--status-cancelled-bg);
  --cancelled-border: var(--status-cancelled-border);

  /* Rail / left-edge indicators (ramp-300 steps) */
  --bar-confirmed:  var(--green-300);
  --bar-briefing:   var(--amber-300);
  --bar-inwater:    var(--sky-300);
  --bar-pending:    var(--stone-300);
  --bar-cancelled:  var(--rose-300);
  --bar-returning:  var(--slate-300);
}

/*
 * spacing.css — DiveOS spacing, radius, shadow, motion, layout tokens
 *
 * Base unit 4px. Density is "comfortable" — not cramped (not Bloomberg),
 * not luxurious (not Apple marketing). 16px is the default gap between
 * grouped elements; 24px between groups.
 *
 * The radius scale is hierarchical, NOT uniform — different element types
 * get visually distinct treatments. No "bubbly rounded everything".
 */

:root {
  /* ─── Spacing scale (4px base) ──────────────────────────────────────── */
  --space-2xs: 2px;
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md-tight: 12px;
  --space-md:  16px;   /* default gap between grouped elements */
  --space-lg:  24px;   /* gap between groups */
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* ─── Border radius (hierarchical) ──────────────────────────────────── */
  --radius-sm:   6px;     /* inputs, buttons, small chips */
  --radius:      8px;     /* cards, modals, panels */
  --radius-md:   8px;     /* alias of --radius */
  --radius-lg:   10px;    /* large surfaces, drawer head, hero cards */
  --radius-xl:   14px;    /* rare — feature cards only */
  --radius-pill: 9999px;  /* status badges, avatars, segmented controls */

  /* ─── Shadow scale (no decorative / glow shadows) ───────────────────── */
  --shadow-sm:    0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-md:    0 4px 8px rgba(17, 24, 39, 0.10);
  --shadow-card:  0 1px 2px rgba(17, 24, 39, 0.04), 0 0 0 1px var(--hairline);
  --shadow-hover: 0 2px 8px rgba(17, 24, 39, 0.06), 0 0 0 1px var(--hairline);
  --shadow-panel: 0 24px 60px -20px rgba(17, 24, 39, 0.20),
                  0 8px 24px -12px rgba(17, 24, 39, 0.10);

  /* ─── Motion ────────────────────────────────────────────────────────── */
  /* easing curves (app-shell, enter, exit, position change) */
  --ease-out-quart: cubic-bezier(0.32, 0.72, 0, 1); /* @kind other */
  --ease-enter:     cubic-bezier(0, 0, 0.2, 1);     /* @kind other */
  --ease-exit:      cubic-bezier(0.4, 0, 1, 1);     /* @kind other */
  --ease-move:      cubic-bezier(0.4, 0, 0.2, 1);   /* @kind other */
  /* durations: micro / fast / signature pulse / medium / slow */
  --t-micro: 120ms; /* @kind other */
  --t-fast:  150ms; /* @kind other */
  --t-pulse: 200ms; /* @kind other */
  --t-med:   240ms; /* @kind other */
  --t-slow:  350ms; /* @kind other */

  /* ─── Z-index stack ─────────────────────────────────────────────────── */
  --z-modal:    50;  /* @kind other */
  --z-panel:    40;  /* @kind other */
  --z-dropdown: 30;  /* @kind other */
  --z-tooltip:  20;  /* @kind other */

  /* ─── Layout primitives ─────────────────────────────────────────────── */
  --sidebar-w:  240px;   /* desktop sidebar */
  --panel-w:    560px;   /* side drawer (520px default / 560px wide variant) */
  --content-max:1280px;  /* full app max-width */
  --read-max:   720px;   /* single-column read width (Today, billing) */
}



/* descent.css — shared "Descent" marketing styling for DiveOS sub-pages
   (Features / Pricing / About). Lifted from The Descent v2, minus the
   depth-spine / HUD / manta narrative. Two themes via [data-theme]. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root { --p: 0; }

/* ════════ THEME TOKENS ════════ */
body[data-theme="ocean"] {
  --bg: linear-gradient(180deg, #3cc6f2 0%, #11a2e6 14%, #0a86c6 30%, #0a6a96 46%, #0b557a 60%, #093f5c 74%, #062b41 86%, #02131f 100%);
  --deepen-max: 1;
  --ink: #ffffff;
  --dim: rgba(255,255,255,0.76);
  --faint: rgba(255,255,255,0.52);
  --accent: var(--sky-300);
  --accent-strong: var(--sky-200);
  --accent-soft: rgba(56,189,248,0.16);
  --eyebrow: var(--sky-300);
  --hairline-soft: rgba(255,255,255,0.12);

  --btn-solid-bg: var(--sky-400);
  --btn-solid-fg: #042033;
  --btn-solid-shadow: 0 0 0 1px rgba(56,189,248,0.5), 0 8px 30px -8px rgba(56,189,248,0.7);
  --btn-solid-bg-h: var(--sky-300);
  --btn-ghost-bg: rgba(255,255,255,0.07);
  --btn-ghost-border: rgba(255,255,255,0.22);
  --btn-ghost-fg: #fff;
  --btn-ghost-bg-h: rgba(255,255,255,0.14);

  --glass-bg: linear-gradient(160deg, rgba(12,74,110,0.46), rgba(2,12,24,0.54));
  --glass-border: rgba(125,211,252,0.22);
  --glass-shadow: 0 30px 80px -28px rgba(0,0,0,0.7), 0 0 70px -34px rgba(56,189,248,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  --glass-blur: blur(10px);
  --card-ink: #fff;
  --card-dim: rgba(255,255,255,0.62);
  --card-faint: rgba(255,255,255,0.42);
  --card-hairline: rgba(255,255,255,0.10);
  --card-row-live: rgba(56,189,248,0.10);

  --chip-border: rgba(255,255,255,0.18);
  --chip-fg: rgba(255,255,255,0.66);
  --chip-on-bg: var(--sky-400);
  --chip-on-fg: #042033;

  --surf-bg: linear-gradient(160deg, rgba(10,64,92,0.36), rgba(2,12,24,0.46));
  --surf-border: rgba(125,211,252,0.16);
  --surf-border-h: rgba(125,211,252,0.45);
  --surf-shadow-h: 0 20px 50px -24px rgba(56,189,248,0.5);
  --foot-border: rgba(125,211,252,0.16);

  --snav-bg: rgba(6,40,58,0.55);
  --snav-border: rgba(125,211,252,0.16);
}

body[data-theme="surface"] {
  --bg: linear-gradient(180deg, #ffffff 0%, #f4fbff 12%, #eaf6fe 30%, #dcf0fd 48%, #c4e7fb 64%, #aadcf8 80%, #8fd0f4 100%);
  --deepen-max: 0;
  --ink: var(--gray-900);
  --dim: var(--gray-600);
  --faint: var(--gray-400);
  --accent: var(--sky-700);
  --accent-strong: var(--sky-800);
  --accent-soft: rgba(3,105,161,0.08);
  --eyebrow: var(--sky-700);
  --hairline-soft: var(--hairline);

  --btn-solid-bg: var(--sky-700);
  --btn-solid-fg: #fff;
  --btn-solid-shadow: 0 1px 2px rgba(17,24,39,0.12), 0 10px 26px -12px rgba(3,105,161,0.55);
  --btn-solid-bg-h: var(--sky-800);
  --btn-ghost-bg: #ffffff;
  --btn-ghost-border: var(--hairline);
  --btn-ghost-fg: var(--ink);
  --btn-ghost-bg-h: var(--gray-50);

  --glass-bg: #ffffff;
  --glass-border: var(--hairline);
  --glass-shadow: 0 1px 2px rgba(17,24,39,0.05), 0 30px 60px -30px rgba(17,24,39,0.22);
  --glass-blur: none;
  --card-ink: var(--gray-900);
  --card-dim: var(--gray-500);
  --card-faint: var(--gray-400);
  --card-hairline: var(--hairline);
  --card-row-live: #f0f9ff;

  --chip-border: var(--hairline);
  --chip-fg: var(--gray-500);
  --chip-on-bg: var(--sky-700);
  --chip-on-fg: #fff;

  --surf-bg: #ffffff;
  --surf-border: var(--hairline);
  --surf-border-h: var(--sky-300);
  --surf-shadow-h: 0 18px 44px -22px rgba(3,105,161,0.32);
  --foot-border: var(--hairline);

  --snav-bg: rgba(255,255,255,0.72);
  --snav-border: var(--hairline);
}

body {
  margin: 0;
  background: var(--bg) fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: var(--font-features);
  font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: color 0.4s ease;
}
a { color: inherit; text-decoration: none; }
#root { position: relative; z-index: 1; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.gs { font-family: 'General Sans', var(--font-display); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--eyebrow); }

/* ════════ BACKGROUND FX ════════ */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.rays { position: absolute; inset: -14%; opacity: var(--deepen-max);
  transform: translate3d(calc(var(--ray-x, 0) * 90px), calc(var(--ray-y, 0) * 64px), 0) rotate(calc(var(--ray-x, 0) * 4deg)) scale(1.12);
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform;
  background: linear-gradient(calc(116deg + var(--ray-ang, 0deg)), transparent 28%, rgba(186,230,253,0.18) 39%, transparent 46%),
              linear-gradient(calc(102deg + var(--ray-ang, 0deg) * 1.4), transparent 50%, rgba(224,242,254,0.13) 60%, transparent 67%),
              linear-gradient(calc(128deg + var(--ray-ang, 0deg) * 0.7), transparent 60%, rgba(56,189,248,0.11) 70%, transparent 77%); }
.bubbles { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bubble { position: absolute; bottom: -24px; border-radius: 50%; background: rgba(186,230,253,0.16); box-shadow: inset 0 0 4px rgba(255,255,255,0.25); animation: rise linear infinite; will-change: transform, opacity; }
@keyframes rise { 0% { transform: translateY(0) translateX(0) scale(0.7); opacity: 0; } 12% { opacity: 0.5; } 100% { transform: translateY(-105vh) translateX(var(--dx,20px)) scale(1.1); opacity: 0; } }

/* ════════ SUB-PAGE NAV ════════ */
.snav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 32px; padding: 16px 40px; border-bottom: 1px solid transparent; background-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease; }
.snav.scrolled { padding-top: 14px; padding-bottom: 14px; border-bottom-color: var(--snav-border); background-color: var(--snav-bg); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .wm { font-family: 'General Sans', var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.brand .os { color: var(--accent); }
.snav .nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.snav .nav-links a { font-size: 14px; color: var(--dim); font-weight: 500; padding: 7px 13px; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.snav .nav-links a:hover { color: var(--ink); background: var(--accent-soft); }
.snav .nav-links a.current { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-signin { font-size: 14px; font-weight: 500; color: var(--dim); }
.nav-signin:hover { color: var(--ink); }

/* ════════ BUTTONS ════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 9px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; font-family: var(--font-sans); white-space: nowrap; flex: none; transition: transform 0.12s, box-shadow 0.2s, background 0.15s; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.solid { background: var(--btn-solid-bg); color: var(--btn-solid-fg); box-shadow: var(--btn-solid-shadow); }
.btn.solid:hover { background: var(--btn-solid-bg-h); }
.btn.ghost { background: var(--btn-ghost-bg); color: var(--btn-ghost-fg); border-color: var(--btn-ghost-border); }
.btn.ghost:hover { background: var(--btn-ghost-bg-h); }
.btn.sm { height: 36px; padding: 0 15px; font-size: 14px; border-radius: 8px; }
.btn.lg { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 11px; }
.btn.block { width: 100%; }

/* ════════ LAYOUT ════════ */
.wrap-narrow { max-width: 1160px; margin: 0 auto; padding-inline: 40px; }
.psection { padding-block: 84px; }
.psection.tight { padding-block: 56px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.32,0.72,0,1), transform 0.8s cubic-bezier(0.32,0.72,0,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal .stagger { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.32,0.72,0,1), transform 0.6s cubic-bezier(0.32,0.72,0,1); transition-delay: calc(var(--i,0) * 70ms); }
.reveal.in .stagger { opacity: 1; transform: none; }

/* ════════ HEADINGS ════════ */
.h2 { font-family: var(--font-sans); font-weight: 700; font-size: 44px; line-height: 1.04; letter-spacing: -0.038em; margin: 0; text-wrap: balance; color: var(--ink); }
body.bold-type .h2 { font-size: 50px; letter-spacing: -0.045em; }
.h2 em { font-style: normal; color: var(--accent); }
.lede { font-size: 18px; line-height: 1.7; color: var(--dim); max-width: 560px; margin: 24px 0 0; }
.sec-head { max-width: 680px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }
.sec-head .eyebrow { display: block; margin-bottom: 16px; }

/* ════════ PAGE HERO ════════ */
.page-hero { position: relative; padding: 150px 0 56px; }
.page-hero .eyebrow { display: block; margin-bottom: 16px; }
h1.ph-title { font-family: var(--font-sans); font-weight: 700; font-size: 62px; line-height: 1.0; letter-spacing: -0.045em; margin: 0; color: var(--ink); text-wrap: balance; }
body.bold-type h1.ph-title { font-size: 70px; letter-spacing: -0.05em; }
h1.ph-title em { font-style: normal; color: var(--accent); }
.ph-sub { font-size: 19px; line-height: 1.6; color: var(--dim); max-width: 600px; margin: 24px 0 0; }
.ph-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ════════ GLASS CARD + READOUT ════════ */
.glass { position: relative; border-radius: 20px; padding: 30px; background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.readout .rhead { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--card-hairline); }
.readout .rh-l { font-size: 12px; letter-spacing: 0.14em; color: var(--card-dim); }
.readout .rh-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--card-ink); }
.readout .rh-r { font-size: 11px; color: var(--card-faint); }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live .mono { font-size: 11px; color: var(--accent); }
.livedot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.readout .big { font-family: var(--font-mono); font-size: 52px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin: 18px 0 4px; color: var(--accent); }
body[data-theme="ocean"] .readout .big { text-shadow: 0 0 34px rgba(56,189,248,0.4); }
.readout .cap { font-family: var(--font-mono); font-size: 11px; color: var(--card-faint); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.scope-row { display: flex; gap: 8px; margin: 16px 0 4px; flex-wrap: wrap; }
.scope { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--chip-border); color: var(--chip-fg); background: transparent; cursor: pointer; line-height: 1; white-space: nowrap; transition: all 0.15s; }
.scope:hover { border-color: var(--accent); color: var(--card-ink); }
.scope.on { color: var(--chip-on-fg); border-color: var(--chip-on-bg); background: var(--chip-on-bg); font-weight: 600; }
.rrow { display: flex; align-items: center; gap: 12px; padding: 13px 8px; margin: 0 -8px; border-bottom: 1px solid var(--card-hairline); transition: background 0.15s; border-radius: 8px; cursor: pointer; }
.rrow:last-child { border-bottom: none; }
.rrow.live { background: var(--card-row-live); }
.rrow .rt { font-family: var(--font-mono); font-size: 13px; color: var(--card-dim); width: 50px; flex: none; }
.rrow .rb { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rrow .r1 { font-size: 14px; font-weight: 600; color: var(--card-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrow .r2 { font-size: 12px; color: var(--card-faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrow .rc { font-family: var(--font-mono); font-size: 12px; color: var(--card-dim); flex: none; }
.rempty { padding: 38px 0; text-align: center; color: var(--card-faint); font-size: 13px; }
.rtip { font-size: 11px; color: var(--card-faint); margin-top: 12px; }

/* ════════ FEATURE ROWS ════════ */
.feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 84px; align-items: center; }
.feature.reverse .fcopy { order: 2; }
.flist { list-style: none; margin: 38px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.flist li { display: flex; gap: 13px; align-items: flex-start; }
.flist .fi { color: var(--accent); flex: none; margin-top: 1px; }
body[data-theme="ocean"] .flist .fi { filter: drop-shadow(0 0 8px rgba(56,189,248,0.5)); }
.flist .ft { font-size: 15px; color: var(--dim); line-height: 1.5; }
.flist .ft b { color: var(--ink); font-weight: 600; }

/* ════════ SURF GRID (3-up cards) ════════ */
.surf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.surf-grid.two { grid-template-columns: repeat(2, 1fr); }
.surf { border-radius: 18px; padding: 30px; min-height: 220px; display: flex; flex-direction: column; background: var(--surf-bg); border: 1px solid var(--surf-border); box-shadow: var(--glass-shadow); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.surf:hover { border-color: var(--surf-border-h); transform: translateY(-3px); box-shadow: var(--surf-shadow-h); }
.surf .si { color: var(--accent); }
body[data-theme="ocean"] .surf .si { filter: drop-shadow(0 0 10px rgba(56,189,248,0.45)); }
.surf .sn { font-family: 'General Sans', var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.surf .sd { font-size: 14px; color: var(--dim); line-height: 1.55; margin-top: 10px; }
.soon { font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.08em; padding: 2px 6px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); }

/* ════════ STATUS GRID ════════ */
.pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.pcell { border-radius: 16px; padding: 22px; background: var(--surf-bg); border: 1px solid var(--surf-border); box-shadow: var(--glass-shadow); }
.pcell .pc { font-size: 13px; color: var(--dim); line-height: 1.45; margin-top: 12px; }
.pcell-note { display: flex; flex-direction: column; justify-content: center; border-color: var(--accent); }
.pcn-h { font-size: 12px; color: var(--accent); font-weight: 600; }

/* ════════ PRICING ════════ */
.bill-toggle { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; }
.bill-toggle .bt-label { font-size: 14px; font-weight: 500; color: var(--faint); transition: color 0.2s; }
.bill-toggle .bt-label.on { color: var(--ink); }
.bill-switch { width: 46px; height: 26px; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--surf-bg); position: relative; cursor: pointer; padding: 0; flex: none; transition: background 0.2s; }
.bill-switch.on { background: var(--btn-solid-bg); border-color: var(--btn-solid-bg); }
.bill-switch .knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: transform 0.2s cubic-bezier(0.32,0.72,0,1); }
.bill-switch.on .knob { transform: translateX(20px); }
.bill-toggle .save { font-family: var(--font-mono); font-size: 11px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 9px; line-height: 1; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: start; }
.price { border-radius: 20px; padding: 32px; background: var(--surf-bg); border: 1px solid var(--surf-border); box-shadow: var(--glass-shadow); display: flex; flex-direction: column; }
.price.featured { border-color: var(--btn-solid-bg); box-shadow: 0 0 0 1px var(--btn-solid-bg), var(--glass-shadow); }
.price .pn { display: flex; align-items: center; justify-content: space-between; }
.price .pname { font-family: 'General Sans', var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.price .tag { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--btn-solid-fg); background: var(--btn-solid-bg); padding: 3px 8px; border-radius: 999px; }
.price .amt { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price .amt .n { font-family: var(--font-mono); font-size: 40px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.price .amt .per { font-family: var(--font-mono); font-size: 13px; color: var(--faint); }
.price .pd { font-size: 13.5px; color: var(--dim); line-height: 1.5; min-height: 40px; }
.price ul { list-style: none; margin: 22px 0 26px; padding: 20px 0 0; border-top: 1px solid var(--hairline-soft); display: flex; flex-direction: column; gap: 12px; }
.price li { display: flex; gap: 10px; font-size: 14px; color: var(--dim); align-items: flex-start; }
.price li .ci { color: var(--accent); flex: none; margin-top: 1px; }
.price .pf { margin-top: auto; }

/* ════════ COMPARISON TABLE ════════ */
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 44px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--hairline-soft); }
.cmp-table thead th { background: transparent; }
.cmp-table thead .pcol { text-align: center; }
.cmp-table thead .pname { font-family: 'General Sans', var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); }
.cmp-table thead .pprice { font-family: var(--font-mono); font-size: 12px; color: var(--faint); margin-top: 2px; }
.cmp-table thead th.feat-head { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); font-weight: 600; }
.cmp-table .grp td { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; padding: 22px 20px 8px; border-bottom: 1px solid var(--hairline-soft); }
.cmp-table .feat { font-size: 14px; color: var(--dim); width: 40%; }
.cmp-table .cell { text-align: center; font-family: var(--font-mono); font-size: 13px; color: var(--ink); width: 20%; }
.cmp-table .cell .yes { color: var(--accent); display: inline-flex; }
.cmp-table .cell .no { color: var(--faint); display: inline-flex; }
.cmp-col-featured { background: var(--accent-soft); }

/* ════════ FAQ ════════ */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--hairline-soft); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: left; font-family: 'General Sans', var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.faq-q .chev { color: var(--faint); transition: transform 0.2s cubic-bezier(0.32,0.72,0,1); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--accent); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.24s cubic-bezier(0.32,0.72,0,1); }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a-inner { padding: 0 4px 22px; font-size: 15px; line-height: 1.6; color: var(--dim); max-width: 640px; }

/* ════════ ABOUT: lead, story, values, timeline, team ════════ */
.about-lead .big { font-family: 'General Sans', var(--font-display); font-weight: 500; font-size: 34px; line-height: 1.28; letter-spacing: -0.02em; max-width: 920px; color: var(--ink); }
.about-lead .big em { font-style: normal; color: var(--accent); }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-grid image-slot { width: 100%; height: 440px; display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--glass-shadow); border: 1px solid var(--glass-border); }
.story .body { font-size: 16px; line-height: 1.68; color: var(--dim); }
.story .body p { margin: 0 0 18px; }
.story .body p:last-child { margin-bottom: 0; }
.story .body b { color: var(--ink); font-weight: 600; }

.val-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.val { border-radius: 18px; padding: 32px; background: var(--surf-bg); border: 1px solid var(--surf-border); box-shadow: var(--glass-shadow); transition: border-color 0.2s, transform 0.2s; }
.val:hover { border-color: var(--surf-border-h); transform: translateY(-3px); }
.val .ix { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; }
.val .vn { font-family: 'General Sans', var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; margin-top: 14px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.val .vn .si { color: var(--accent); }
.val .vd { font-size: 14.5px; color: var(--dim); line-height: 1.55; margin-top: 10px; max-width: 460px; }

.tl-list { margin-top: 56px; display: flex; flex-direction: column; }
.tl-row { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 26px 0; border-top: 1px solid var(--hairline-soft); align-items: baseline; }
.tl-row:first-child { border-top: none; }
.tl-year { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--accent); letter-spacing: -0.02em; }
.tl-body .tt { font-family: 'General Sans', var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.tl-body .td2 { font-size: 14.5px; color: var(--dim); line-height: 1.55; margin-top: 6px; max-width: 640px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.member .ph { width: 100%; aspect-ratio: 1; display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--glass-shadow); border: 1px solid var(--glass-border); }
.member .mn { font-family: 'General Sans', var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; margin-top: 16px; color: var(--ink); }
.member .mr { font-size: 13px; color: var(--faint); margin-top: 3px; }

/* ════════ TRUST STATS ════════ */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.tstat { padding: 22px 26px; border-left: 1px solid var(--glass-border); }
.tstat .tv { font-family: var(--font-mono); font-size: 42px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.tstat .tl { font-size: 13px; color: var(--dim); margin-top: 8px; }

/* ════════ QUOTE ════════ */
.quote-grid { display: grid; grid-template-columns: 0.42fr 1fr; gap: 72px; align-items: start; }
.quote q { font-family: 'General Sans', var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.34; letter-spacing: -0.02em; quotes: none; display: block; color: var(--ink); }
.quote .by { display: flex; align-items: center; gap: 13px; margin-top: 28px; }
.qav { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: 'General Sans', var(--font-display); font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--sky-500), var(--sky-800)); font-size: 15px; }
.quote .nm { font-weight: 600; font-size: 14px; color: var(--ink); }
.quote .rl { font-size: 13px; color: var(--faint); }
.quote .qv { font-family: var(--font-mono); font-size: 52px; font-weight: 500; letter-spacing: -0.03em; color: var(--accent); }
body[data-theme="ocean"] .quote .qv { text-shadow: 0 0 30px rgba(56,189,248,0.4); }
.quote .ql { font-size: 13px; color: var(--dim); margin-top: 8px; line-height: 1.4; }

/* ════════ CTA ════════ */
.cta { text-align: center; }
.cta h2 { font-family: var(--font-sans); font-weight: 700; font-size: 56px; line-height: 1.0; letter-spacing: -0.04em; margin: 0 auto; text-wrap: balance; color: var(--ink); }
body.bold-type .cta h2 { font-size: 64px; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: var(--dim); font-size: 17px; margin: 20px auto 0; max-width: 460px; line-height: 1.55; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ════════ FOOTER ════════ */
.foot-wrap { position: relative; z-index: 1; }
.foot { border-top: 1px solid var(--foot-border); padding: 60px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin: 0 0 16px; font-weight: 600; }
.foot a { display: block; font-size: 14px; color: var(--dim); margin-bottom: 10px; transition: color 0.15s; }
.foot a:hover { color: var(--accent); }
.foot .bd { font-size: 13px; color: var(--faint); line-height: 1.55; margin-top: 16px; max-width: 260px; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hairline-soft); font-family: var(--font-mono); font-size: 11px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
  .bubble, .livedot { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .reveal .stagger { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 980px) {
  .feature, .feature.reverse .fcopy, .quote-grid, .foot-grid, .story-grid, .faq-grid { grid-template-columns: 1fr; }
  .feature .fcopy { order: 0; }
  .trust, .surf-grid, .surf-grid.two, .price-grid, .pill-grid, .val-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  h1.ph-title, body.bold-type h1.ph-title { font-size: 46px; } .h2, body.bold-type .h2 { font-size: 34px; } .cta h2, body.bold-type .cta h2 { font-size: 42px; }
  .about-lead .big { font-size: 26px; }
  .snav .nav-links { display: none; }
}
@media (max-width: 640px) {
  .wrap-narrow { padding-inline: 22px; }
  .trust, .surf-grid, .surf-grid.two, .price-grid, .pill-grid, .val-grid, .team-grid { grid-template-columns: 1fr; }
  .cmp-table thead .pprice { display: none; }
  .cmp-table th, .cmp-table td { padding: 12px 10px; }
  h1.ph-title, body.bold-type h1.ph-title { font-size: 38px; }
  .snav { padding: 12px 20px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CONSOLIDATED PRIMITIVES  (DiveOS Descent design system — see DESIGN.md)
   Authored to replace ad-hoc inline styling in the generators with reusable
   classes (HANDOFF.md §5). Appended after the DS so equal-specificity ties win.
   ═══════════════════════════════════════════════════════════════════════════ */

/* status-pill — replaces the DS's inline StatusPill markup */
.status-pill{ display:inline-flex; align-items:center; gap:4px; padding:2px 8px;
  font-family:var(--font-mono); font-size:12px; font-weight:600; line-height:1.4;
  letter-spacing:.02em; text-transform:uppercase; border:1px solid transparent;
  border-radius:var(--radius-pill); white-space:nowrap; }
.status-pill[data-status="pending"]  { color:var(--status-pending-fg);  background:var(--status-pending-bg);  border-color:var(--status-pending-border); }
.status-pill[data-status="confirmed"]{ color:var(--status-confirmed-fg);background:var(--status-confirmed-bg);border-color:var(--status-confirmed-border); }
.status-pill[data-status="briefing"] { color:var(--status-briefing-fg); background:var(--status-briefing-bg); border-color:var(--status-briefing-border); }
.status-pill[data-status="in_water"] { color:var(--status-in-water-fg); background:var(--status-in-water-bg); border-color:var(--status-in-water-border); }
.status-pill[data-status="returning"]{ color:var(--status-returning-fg);background:var(--status-returning-bg);border-color:var(--status-returning-border); }
.status-pill[data-status="completed"]{ color:var(--status-completed-fg);background:var(--status-completed-bg);border-color:var(--status-completed-border); }
.status-pill[data-status="cancelled"]{ color:var(--status-cancelled-fg);background:var(--status-cancelled-bg);border-color:var(--status-cancelled-border); }

/* small primitives lifted out of inline styles */
.eyebrow.block{ display:block; margin-bottom:14px; }
.rrows{ min-height:196px; }
.bk-rows{ margin-top:4px; }
.bk-id{ width:72px; font-size:12px; }

/* tiny spacing utilities (the only sanctioned "ad-hoc" hooks) */
.u-mb-8{ margin-bottom:8px; }
.u-mt-44{ margin-top:44px; }
.u-mt-60{ margin-top:60px; }

/* static port of <image-slot> — render the placeholder caption as a calm box */
.story-grid image-slot, .member .ph{ display:flex; align-items:center; justify-content:center; padding:16px; background:var(--glass-bg); }
.story-grid image-slot::before, .member .ph::before{ content:attr(data-ph); color:var(--faint); font-size:13px; line-height:1.4; text-align:center; max-width:26ch; }

/* responsive safety — glass min-width blowout guard (HANDOFF.md §7) */
@media (max-width:980px){ .feature, .feature.reverse{ grid-template-columns:minmax(0,1fr); } .feature > *{ min-width:0; } }
@media (max-width:640px){ .readout, .feature .readout{ width:100%; max-width:100%; } .price > *{ min-width:0; } }
