/* CryptoFreight — webfonts
   NOTE: loaded from Google Fonts CDN (no licensed binaries provided).
   Archivo            — grotesque industrial sans (display + body)
   IBM Plex Mono      — ledger/data mono
   Saira Stencil One  — cargo-stencil accent (labels, logo plates only) */

/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-03.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: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-04.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: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-05.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;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-03.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: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-04.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: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-05.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;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-03.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: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-04.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: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-05.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;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-03.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: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-04.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: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-05.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;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-03.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: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-04.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: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-05.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;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-03.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: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-04.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: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/cf-05.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/cf-06.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/cf-07.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/cf-08.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/cf-09.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/cf-10.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/cf-11.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/cf-12.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/cf-13.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/cf-14.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/cf-15.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/cf-16.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/cf-17.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/cf-18.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/cf-19.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/cf-20.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;
}
/* vietnamese */
@font-face {
  font-family: 'Saira Stencil One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/cf-21.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: 'Saira Stencil One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/cf-22.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: 'Saira Stencil One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/cf-23.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;
}


:root {
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  --font-stencil: 'Saira Stencil One', 'Archivo', sans-serif;
}

/* CryptoFreight — color tokens
   Territory: deep cargo navy + safety orange on warm paper.
   Light-first; dark theme via [data-theme="dark"]. */

:root {
  /* ---- Navy scale (brand ink) ---- */
  --navy-950: #081020;
  --navy-900: #0C1526;
  --navy-800: #12203A;
  --navy-700: #1B2A4A;
  --navy-600: #27395F;
  --navy-500: #38507F;
  --navy-400: #5C71A0;
  --navy-300: #8C9CC0;
  --navy-200: #C3CDE2;
  --navy-100: #E4E9F3;

  /* ---- Safety orange (accent) ---- */
  --orange-700: #C25415;
  --orange-600: #D9641F;
  --orange-500: #E8762D;
  --orange-400: #F08A47;
  --orange-200: #F8C9A4;
  --orange-100: #FBEADD;

  /* ---- Warm neutrals (paper) ---- */
  --paper-50: #FBFAF7;
  --paper-100: #F6F5F1;
  --paper-200: #F0EEE6;
  --paper-300: #E6E3D8;
  --paper-400: #D8D4C8;
  --paper-500: #B9B4A5;

  /* ---- Semantic status ---- */
  --status-verified: #2E7D5B;   /* on-chain confirmed */
  --status-verified-bg: #E3F0E9;
  --status-pending: #B7791F;    /* awaiting consensus */
  --status-pending-bg: #F8EEDB;
  --status-failed: #B3402E;     /* exception / dispute */
  --status-failed-bg: #F7E4E0;
  --status-info: #2C5FA8;
  --status-info-bg: #E2EAF6;

  /* ---- Semantic aliases ---- */
  --bg-page: var(--paper-100);
  --bg-inset: var(--paper-200);
  --surface-card: #FFFFFF;
  --surface-raised: var(--paper-50);
  --surface-inverse: var(--navy-900);

  --text-display: var(--navy-900);
  --text-body: var(--navy-800);
  --text-muted: #5B6577;
  --text-faint: #8B93A3;
  --text-on-accent: #FFFFFF;
  --text-on-inverse: #ECEFF5;
  --text-on-inverse-muted: #A6B0C3;

  --accent: var(--orange-500);
  --accent-hover: var(--orange-600);
  --accent-press: var(--orange-700);
  --accent-soft: var(--orange-100);

  --line-1: var(--paper-400);   /* hairline borders */
  --line-2: var(--paper-300);   /* subtle dividers */
  --line-heavy: var(--navy-800);/* 2px structural rules */
  --line-inverse: #263651;

  --link: var(--orange-600);
  --focus-ring: 0 0 0 2px var(--bg-page), 0 0 0 4px var(--orange-500);
}

/* ---- Dark theme ---- */
[data-theme="dark"] {
  --bg-page: var(--navy-950);
  --bg-inset: var(--navy-900);
  --surface-card: var(--navy-800);
  --surface-raised: #16264A;
  --surface-inverse: var(--paper-100);

  --text-display: #F2F4F9;
  --text-body: #E2E7F0;
  --text-muted: #A6B0C3;
  --text-faint: #6E7A92;
  --text-on-inverse: var(--navy-900);
  --text-on-inverse-muted: #44516B;

  --accent: var(--orange-400);
  --accent-hover: var(--orange-500);
  --accent-press: var(--orange-600);
  --accent-soft: #3A2718;

  --line-1: #2A3A58;
  --line-2: #20304C;
  --line-heavy: #C3CDE2;
  --line-inverse: var(--paper-400);

  --status-verified: #4CB98A;
  --status-verified-bg: #15301F;
  --status-pending: #D9A24A;
  --status-pending-bg: #33270F;
  --status-failed: #E06A55;
  --status-failed-bg: #381712;
  --status-info: #6E9BD8;
  --status-info-bg: #14233C;

  --link: var(--orange-400);
  --focus-ring: 0 0 0 2px var(--bg-page), 0 0 0 4px var(--orange-400);
}

/* CryptoFreight — typography tokens */

:root {
  /* Scale (1.25 major third, 15px base) */
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 21px;
  --text-xl: 26px;
  --text-2xl: 33px;
  --text-3xl: 44px;
  --text-4xl: 58px;
  --text-5xl: 80px;

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

  /* Leading */
  --leading-display: 0.98;
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-body: 1.55;

  /* Tracking */
  --tracking-display: -0.02em;  /* big Archivo headlines */
  --tracking-body: 0;
  --tracking-caps: 0.10em;      /* stencil + caps labels */
  --tracking-mono: 0.01em;
}

/* CryptoFreight — spacing, radii, borders, elevation */

:root {
  /* 4px grid */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii — industrial: near-sharp */
  --radius-0: 0;
  --radius-1: 2px;     /* default: buttons, inputs, cards */
  --radius-2: 4px;     /* large panels */
  --radius-pill: 999px;/* status pills, hash chips only */

  /* Borders */
  --border-hairline: 1px solid var(--line-1);
  --border-divider: 1px solid var(--line-2);
  --border-heavy: 2px solid var(--line-heavy); /* structural top rules */

  /* Elevation — flat by default; hard offset shadow for raised */
  --shadow-0: none;
  --shadow-1: 0 1px 2px rgba(8, 16, 32, 0.08);
  --shadow-2: 0 4px 16px rgba(8, 16, 32, 0.10);
  --shadow-plate: 4px 4px 0 rgba(8, 16, 32, 0.12); /* hard "cargo plate" offset */

  /* Hazard stripe motif (use as thin bands, 3–6px tall) */
  --stripe-hazard: repeating-linear-gradient(135deg,
    var(--orange-500) 0px, var(--orange-500) 8px,
    transparent 8px, transparent 16px);
  --stripe-ink: repeating-linear-gradient(135deg,
    var(--navy-800) 0px, var(--navy-800) 8px,
    transparent 8px, transparent 16px);
}



  * { box-sizing: border-box; margin: 0; }
  [hidden] { display: none !important; }
  body { background: var(--bg-page); color: var(--text-body); font-family: var(--font-body); }
  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
  .mono { font-family: var(--font-mono); }
  .eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
  .btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; padding: 13px 28px; border-radius: var(--radius-1); text-decoration: none; border: 1px solid transparent; transition: background 120ms ease; }
  .btn-primary { background: var(--accent); color: var(--text-on-accent); }
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-secondary { color: var(--text-body); border-color: var(--line-heavy); }
  .btn-secondary:hover { background: var(--bg-inset); }
  .btn-inverse { color: var(--text-display); border-color: var(--line-heavy); }
  .btn-inverse:hover { background: var(--navy-700); }
  a { color: inherit; }
  button.btn { background: transparent; cursor: pointer; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
  .field input, .field select { width: 100%; font-family: var(--font-body); font-size: 14px; color: var(--text-body); background: var(--bg-page); border: 1px solid var(--line-1); border-radius: var(--radius-1); padding: 11px 12px; }
  .field input:focus, .field select:focus { outline: none; box-shadow: var(--focus-ring); }
  button.btn.btn-primary { background: var(--accent); }
  button.btn.btn-primary:hover { background: var(--accent-hover); }

  /* App sub-nav — secondary navigation shared by the logged-in pages
     (explorer / book / bookings). Sits under the main header. */
  .subnav { background: var(--surface-card); border-bottom: 1px solid var(--line-1); }
  .subnav .wrap { display: flex; align-items: center; gap: 6px; height: 50px; overflow-x: auto; }
  .subnav-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; padding: 7px 14px; border-radius: var(--radius-1); white-space: nowrap; transition: background 120ms ease, color 120ms ease; }
  .subnav-link:hover { background: var(--bg-inset); color: var(--text-body); }
  .subnav-link[aria-current="page"] { color: var(--text-on-accent); background: var(--accent); }

  /* The export is desktop-only; these overrides collapse its inline grids. */
  @media (max-width: 880px) {
    .wrap { padding: 0 20px; }
    .nav-links { display: none !important; }
    .grid-hero { grid-template-columns: 1fr !important; gap: 40px !important; padding-top: 56px !important; padding-bottom: 56px !important; }
    .h1-hero { font-size: clamp(40px, 11vw, 56px) !important; }
    .grid-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
    .grid-how, .grid-ledger, .grid-book { grid-template-columns: 1fr !important; gap: 32px !important; }
    .form-grid { grid-template-columns: 1fr; }
    .cta-row { flex-direction: column; align-items: flex-start !important; }
  }
  @media (max-width: 480px) {
    .grid-stats { grid-template-columns: 1fr !important; }
    .hero-ctas, .cta-ctas { flex-direction: column; }
  }
