/* RIVOSHIELD tokens: generated from tokens.json. Dark is default; add data-theme="light" on <html> for Desert. */
:root, [data-theme="dark"] {
  --surface: #0a0a0a;
  --surface-raised: #171717;
  --surface-sunken: #050505;
  --border: #2c2c2c;
  --border-strong: #5f5f5f;
  --ink: #ffffff;
  --ink-muted: #b8b8b8;
  --brand-brown: #967969;
  --brown-ui: #7f6252;
  --brown-ui-hover: #6a5144;
  --accent-text: #c2aa9b;
  --brand-tint: #232323;
  --brand-blue: #0070bb;
  --brand-blue-hover: #005a96;
  --blue-text: #5cb0ea;
  --on-brand: #ffffff;
  --fastener: #ffffff;
  --overlay: rgba(5,5,5,0.6);
  --success: #5fd3a2;
  --warning: #f0b955;
  --danger: #ff7a7f;
  --shadow-card: 0 14px 36px rgba(0,0,0,0.5);
}
[data-theme="light"] {
  --surface: #f3ede4;
  --surface-raised: #ffffff;
  --surface-sunken: #e7ded2;
  --border: #d8cdbf;
  --border-strong: #8c7f73;
  --ink: #1a1512;
  --ink-muted: #5e534b;
  --accent-text: #6e5446;
  --brand-tint: #ede3da;
  --blue-text: #005a96;
  --fastener: #1a1512;
  --success: #13724f;
  --warning: #865400;
  --danger: #b0242c;
  --shadow-card: 0 10px 28px rgba(26,21,18,0.12);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;
  --radius-none: 0;
  --radius-sm: 2px;
  --chamfer-sm: 6px;
  --chamfer-md: 10px;
  --chamfer-lg: 18px;
  --fastener-size: 4px;
  --fastener-inset: 7px;
  --content-max: 1240px;
  --control-height: 52px;
  --font-display: "Paytone One", "Berlin Sans FB Demi", "Berlin Sans FB", sans-serif;
  --font-tech: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-sans: "Barlow", system-ui, sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Noto Kufi Arabic", sans-serif;
}
.t-display-hero { font-family: var(--font-display); font-size: 80px; line-height: 0.95; font-weight: 400; letter-spacing: 0.01em; }
.t-heading-1 { font-family: var(--font-display); font-size: 52px; line-height: 1.02; font-weight: 400; }
.t-heading-2 { font-family: var(--font-display); font-size: 38px; line-height: 1.08; font-weight: 400; }
.t-heading-3 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 400; }
.t-label { font-family: var(--font-tech); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.14em; }
.t-button { font-family: var(--font-tech); font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; }
.t-spec { font-family: var(--font-tech); font-size: 15px; line-height: 22px; font-weight: 500; }
.t-stat { font-family: var(--font-tech); font-size: 44px; line-height: 1; font-weight: 700; }
.t-body-lg { font-family: var(--font-sans); font-size: 19px; line-height: 30px; font-weight: 400; }
.t-body { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.t-body-strong { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; }
.t-small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.t-arabic-heading { font-family: var(--font-arabic); font-size: 38px; line-height: 1.35; font-weight: 700; }
.t-arabic-body { font-family: var(--font-arabic); font-size: 17px; line-height: 30px; font-weight: 400; }
html { background: var(--surface); color: var(--ink); font-family: var(--font-sans); }
