/* =========================================================================
   Black & Orange — Colors & Type
   The 5-color brand palette, type system, and semantic tokens.
   Source of truth: BnO NEW BRAND.fig (/COLORS, /TYPOGRAPHY).
   ========================================================================= */

/* ── FONTS (woff2-first; ttf fallback) ──────────────────────────────────
   font-display: optional → both fonts (with <link rel="preload"> in HTML head)
   Behavior: if font arrives before first paint → uses it; else uses metric-matched
   fallback for the full session. Eliminates CLS completely on desktop.
   Updated: 2026-06-27 — woff2 conversion for ~55% size reduction
   ──────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/brand/fonts/Fraunces-VariableFont_SOFT_WONK_opsz_wght.woff2") format("woff2-variations"),
       url("/assets/brand/fonts/Fraunces-VariableFont_SOFT_WONK_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
unicode-range:U+100-130,U+132-148,U+14A-151,U+154-17E,U+18F,U+192,U+1A0-1A1,U+1AF-1B0,U+1C4-1CC,U+1D9-1DA,U+1E6-1E7,U+1EA-1EB,U+1FA-21B,U+22A-22D,U+230-233,U+237,U+259,U+2B9-2BA,U+2BC,U+2C6-2C7,U+2D8-2DD,U+300-304,U+306-308,U+30B-30C,U+30F,U+311-312,U+315,U+31B,U+324,U+326-328,U+32E,U+331,U+1E08-1E09,U+1E0C-1E0F,U+1E14-1E17,U+1E1C-1E1D,U+1E20-1E21,U+1E24-1E25,U+1E2A-1E2B,U+1E2E-1E2F,U+1E36-1E37,U+1E3A-1E3B,U+1E42-1E43,U+1E46-1E49,U+1E4C-1E53,U+1E5A-1E5B,U+1E5E-1E5F,U+1E62-1E65,U+1E6C-1E6F,U+1E78-1E7B,U+1E80-1E85,U+1E92-1E93,U+1E97,U+1E9E,U+1EA0-1EF9,U+2070,U+2074,U+20A1,U+20A3-20A4,U+20A6-20A7,U+20A9,U+20AB,U+20AD,U+20B1-20B2,U+20B5,U+20B9-20BA,U+20BC-20BD,U+2116,U+2215,U+2219,U+2248,U+2260,U+2264-2265,U+27E8-27E9,U+E132-E133,U+FB00-FB04;}
@font-face {
  font-family: "Fraunces";
  src:url("/assets/brand/fonts/latin/Fraunces-VariableFont_SOFT_WONK_opsz_wght-d18f56511313.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
unicode-range:U+20-7E,U+A0-FF,U+131,U+152-153,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+2044,U+2052,U+20AC,U+2122,U+2212;}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/brand/fonts/Fraunces-Italic-VariableFont_SOFT_WONK_opsz_wght.woff2") format("woff2-variations"),
       url("/assets/brand/fonts/Fraunces-Italic-VariableFont_SOFT_WONK_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
unicode-range:U+100-130,U+132-148,U+14A-151,U+154-17E,U+18F,U+192,U+1A0-1A1,U+1AF-1B0,U+1C4-1CC,U+1D9-1DA,U+1E6-1E7,U+1EA-1EB,U+1FA-21B,U+22A-22D,U+230-233,U+237,U+259,U+2B9-2BA,U+2BC,U+2C6-2C7,U+2D8-2DD,U+300-304,U+306-308,U+30B-30C,U+30F,U+311-312,U+315,U+31B,U+323-324,U+326-328,U+32E,U+331,U+1E08-1E09,U+1E0C-1E0F,U+1E14-1E17,U+1E1C-1E1D,U+1E20-1E21,U+1E24-1E25,U+1E2A-1E2B,U+1E2E-1E2F,U+1E36-1E37,U+1E3A-1E3B,U+1E42-1E43,U+1E46-1E49,U+1E4C-1E53,U+1E5A-1E5B,U+1E5E-1E5F,U+1E62-1E65,U+1E6C-1E6F,U+1E78-1E7B,U+1E80-1E85,U+1E92-1E93,U+1E97,U+1E9E,U+1EA0-1EF9,U+2070,U+2074,U+20A1,U+20A3-20A4,U+20A6-20A7,U+20A9,U+20AB,U+20AD,U+20B1-20B2,U+20B5,U+20B9-20BA,U+20BC-20BD,U+2116,U+2215,U+2219,U+2248,U+2260,U+2264-2265,U+27E8-27E9,U+E132-E133,U+FB00-FB04;}
@font-face {
  font-family: "Fraunces";
  src:url("/assets/brand/fonts/latin/Fraunces-Italic-VariableFont_SOFT_WONK_opsz_wght-3263dae3fdbf.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
unicode-range:U+20-7E,U+A0-FF,U+131,U+152-153,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+2044,U+2052,U+20AC,U+2122,U+2212;}
@font-face {
  font-family: "Inter";
  src: url("/assets/brand/fonts/Inter-VariableFont_opsz_wght.woff2") format("woff2-variations"),
       url("/assets/brand/fonts/Inter-VariableFont_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
unicode-range:U+100-130,U+132-148,U+14A-151,U+154-1C3,U+1C5-254,U+256-27B,U+27E-284,U+286-290,U+292-2A4,U+2A6-304,U+306-30A,U+30C,U+30F,U+313,U+315,U+31B,U+323,U+326-328,U+32C,U+337-338,U+342-343,U+346-36F,U+374-376,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3D7,U+3DC-3DD,U+3F0-3F6,U+3F9-3FA,U+3FC-479,U+480-49D,U+4A0-4FF,U+52F,U+E3F,U+1D00,U+1D0D,U+1D1B,U+1D43,U+1D47-1D49,U+1D4D,U+1D4F-1D50,U+1D52,U+1D56-1D58,U+1D5B,U+1D62-1D65,U+1D9C,U+1DA0,U+1DBB,U+1DBF-1DF5,U+1DFC-1E9B,U+1E9D-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2070-2071,U+2074-208E,U+2090-209C,U+20A0-20AB,U+20AD-20AF,U+20B1-20B5,U+20B8-20BA,U+20BC-20BF,U+20DB-20DE,U+20E8,U+20F0,U+2100-2101,U+2103,U+2105-2106,U+2109,U+2113,U+2116-2117,U+211E-2121,U+2126,U+212A-212B,U+212E,U+2132,U+213B,U+214D,U+2150-217F,U+2183-2186,U+2189,U+2193-2199,U+21A9-21AA,U+21B0-21B1,U+21B3-21B4,U+21BA-21BB,U+21D0,U+21D2,U+21D4,U+21DE-21DF,U+21E4-21E5,U+21E7,U+21EA,U+2202,U+2205-2206,U+220F,U+2211,U+221A,U+221E,U+222B,U+2236,U+2248,U+2260,U+2264-2265,U+2295-2298,U+2303-2305,U+2318,U+2325-2327,U+232B,U+2380,U+2387,U+238B,U+23CE-23CF,U+2423,U+2460-2468,U+24B6-24CF,U+24EA,U+25A0-25A2,U+25AA,U+25B2-25B3,U+25B6-25B7,U+25BA-25BD,U+25C0-25C1,U+25C4-25C7,U+25CA-25CB,U+25CF,U+25E6,U+25EF,U+2600,U+263C,U+2661,U+2665,U+26A0,U+2717,U+2756,U+2764,U+2780-2788,U+27EF,U+27F5-27FA,U+2913,U+2A38,U+2B06,U+2B12-2B13,U+2B1C,U+2B24,U+2C7C,U+2C7F,U+2DFF,U+2E18,U+A69F,U+A7FF,U+A92E,U+E000,U+E002-E05E,U+E06A-E0BD,U+E0C8-E0CC,U+E0DC-E0E6,U+E0F3-E0F5,U+E106,U+E109-E10A,U+E10C-E10F,U+E111-E113,U+E117-E118,U+E121-E122,U+E124,U+E12A-E15E,U+E163,U+E1C3,U+E1D2-E1DF,U+E1E1-E2DC,U+EE01-EE07,U+EE09-EE0A,U+EE0C-EE12,U+EE14,U+EE17,U+EE1D-EE45,U+EE47-EE84,U+EE87-EED6,U+EED8-EEE1,U+F6C3,U+FEFF,U+1F12F-1F149,U+1F16A-1F16B,U+1F850,U+1F852;}
@font-face {
  font-family: "Inter";
  src:url("/assets/brand/fonts/latin/Inter-VariableFont_opsz_wght-1f60993a96d5.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
unicode-range:U+0,U+20-7E,U+A0-AC,U+AE-FF,U+131,U+152-153,U+2000-200B,U+2010-2027,U+202F-2055,U+2057,U+205F,U+20AC,U+2122,U+2190-2192,U+21B5,U+2212,U+2605-2606,U+2713;}
@font-face {
  font-family: "Inter";
  src: url("/assets/brand/fonts/Inter-Italic-VariableFont_opsz_wght.woff2") format("woff2-variations"),
       url("/assets/brand/fonts/Inter-Italic-VariableFont_opsz_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
unicode-range:U+100-130,U+132-148,U+14A-151,U+154-1C3,U+1C5-254,U+256-27B,U+27E-284,U+286-290,U+292-2A4,U+2A6-304,U+306-30A,U+30C,U+30F,U+313,U+315,U+31B,U+323,U+326-328,U+32C,U+337-338,U+342-343,U+346-36F,U+374-376,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3D7,U+3DC-3DD,U+3F0-3F6,U+3F9-3FA,U+3FC-479,U+480-49D,U+4A0-4FF,U+52F,U+E3F,U+1D00,U+1D0D,U+1D1B,U+1D43,U+1D47-1D49,U+1D4D,U+1D4F-1D50,U+1D52,U+1D56-1D58,U+1D5B,U+1D62-1D65,U+1D9C,U+1DA0,U+1DBB,U+1DBF-1DF5,U+1DFC-1E9B,U+1E9D-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2070-2071,U+2074-208E,U+2090-209C,U+20A0-20AB,U+20AD-20AF,U+20B1-20B5,U+20B8-20BA,U+20BC-20BF,U+20DB-20DE,U+20E8,U+20F0,U+2100-2101,U+2103,U+2105-2106,U+2109,U+2113,U+2116-2117,U+211E-2121,U+2126,U+212A-212B,U+212E,U+2132,U+213B,U+214D,U+2150-217F,U+2183-2186,U+2189,U+2193-2199,U+21A9-21AA,U+21B0-21B1,U+21B3-21B4,U+21BA-21BB,U+21D0,U+21D2,U+21D4,U+21DE-21DF,U+21E4-21E5,U+21E7,U+21EA,U+2202,U+2205-2206,U+220F,U+2211,U+221A,U+221E,U+222B,U+2236,U+2248,U+2260,U+2264-2265,U+2295-2298,U+2303-2305,U+2318,U+2325-2327,U+232B,U+2380,U+2387,U+238B,U+23CE-23CF,U+2423,U+2460-2468,U+24B6-24CF,U+24EA,U+25A0-25A2,U+25AA,U+25B2-25B3,U+25B6-25B7,U+25BA-25BD,U+25C0-25C1,U+25C4-25C7,U+25CA-25CB,U+25CF,U+25E6,U+25EF,U+2600,U+263C,U+2661,U+2665,U+26A0,U+2717,U+2756,U+2764,U+2780-2788,U+27EF,U+27F5-27FA,U+2913,U+2A38,U+2B06,U+2B12-2B13,U+2B1C,U+2B24,U+2C7C,U+2C7F,U+2DFF,U+2E18,U+A69F,U+A7FF,U+A92E,U+E000,U+E002-E02B,U+E04B-E05E,U+E06A-E0BD,U+E0C8-E0CC,U+E0DC-E0E6,U+E0F3-E0F5,U+E106,U+E109-E10A,U+E10C-E10F,U+E111-E113,U+E117-E118,U+E121-E122,U+E124,U+E12A-E15E,U+E163,U+E1C3,U+E1D2-E1DF,U+E1E1-E274,U+E27B-E2DC,U+EE01-EE07,U+EE09-EE0A,U+EE0C-EE12,U+EE14,U+EE17,U+EE1D-EE45,U+EE47-EE84,U+EE87-EEE1,U+F6C3,U+FEFF,U+1F12F-1F149,U+1F16A-1F16B,U+1F850,U+1F852;}
@font-face {
  font-family: "Inter";
  src:url("/assets/brand/fonts/latin/Inter-Italic-VariableFont_opsz_wght-dbdfa861d75d.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
unicode-range:U+0,U+20-7E,U+A0-AC,U+AE-FF,U+131,U+152-153,U+2000-200B,U+2010-2027,U+202F-2055,U+2057,U+205F,U+20AC,U+2122,U+2190-2192,U+21B5,U+2212,U+2605-2606,U+2713;}

/* ── FALLBACK FONTS with adjusted metrics (eliminates CLS on font swap) ──
   "Fraunces Fallback" uses Georgia metrics scaled to match Fraunces x-height.
   "Inter Fallback" uses Arial metrics scaled to match Inter.
   Browser uses these while waiting for the real font; no layout jump occurs.
   ─────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 115%;
  ascent-override: 86%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("-apple-system");
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  /* -------- PRIMITIVE COLORS ------------------------------------------- */
  /* Named per the official palette — "Fiery orange / Mellow yellow /
     Lively pink / Cool gray / Slack black". These are the ONLY brand colors. */
  --bno-fiery-orange: #FE8301;      /* 254, 131, 1  */
  --bno-mellow-yellow: #FFED02;     /* 255, 237, 2  */
  --bno-lively-pink: #ED8BFA;       /* 237, 139, 250 */
  --bno-cool-gray: #EBEAE8;         /* 235, 234, 232 — the "paper" neutral */
  --bno-slack-black: #000000;       /* 0, 0, 0      */
  --bno-paper: #FFFFFF;             /* pure white, secondary neutral */

  /* Accent ink (used sparingly in doodles — a soft red/coral) */
  --bno-doodle-pink: #FF5678;       /* from hand-drawn doodle accents */

  /* Soft solids for large content cards. Keep the saturated palette for
     accents, lines, gradients and UI details. */
  --bno-soft-orange: #ffd9ba;
  --bno-soft-yellow: #fff3b8;
  --bno-soft-pink: #f4cdf8;
  --bno-soft-card-gray: #efeeec;
  --bno-shadow-soft: 0 0 10px rgba(0, 0, 0, 0.035), 0 2px 5px rgba(0, 0, 0, 0.018);
  --bno-shadow-panel: 0 0 14px rgba(0, 0, 0, 0.045), 0 3px 7px rgba(0, 0, 0, 0.022);
  --bno-shadow-hover: 0 0 18px rgba(0, 0, 0, 0.06), 0 4px 9px rgba(0, 0, 0, 0.028);

  /* -------- SIGNATURE GRADIENT ----------------------------------------- */
  /* The "squiggle" — yellow → orange → lively pink. This is the single
     most identifiable brand mark after the logo. */
  --bno-squiggle: linear-gradient(
    95deg,
    var(--bno-mellow-yellow) 0%,
    var(--bno-fiery-orange) 55%,
    var(--bno-lively-pink) 100%
  );
  --bno-squiggle-radial: radial-gradient(
    circle at 30% 40%,
    var(--bno-mellow-yellow) 0%,
    var(--bno-fiery-orange) 45%,
    var(--bno-lively-pink) 95%
  );
  --bno-squiggle-soft: linear-gradient(
    120deg,
    #FFF6C8 0%,
    #FFE1B3 35%,
    #FCD6E6 75%,
    #F7DBFB 100%
  );

  /* -------- SEMANTIC COLORS -------------------------------------------- */
  --color-bg: var(--bno-paper);
  --color-bg-alt: var(--bno-cool-gray);
  --color-bg-invert: var(--bno-slack-black);

  --color-fg: var(--bno-slack-black);
  --color-fg-muted: #575555;
  --color-fg-subtle: #8A8888;
  --color-fg-invert: var(--bno-paper);

  --color-accent: var(--bno-fiery-orange);
  --color-accent-2: var(--bno-mellow-yellow);
  --color-accent-3: var(--bno-lively-pink);

  --color-border: #E6E5E3;
  --color-border-strong: var(--bno-slack-black);

  /* -------- TYPE FAMILIES --------------------------------------------- */
  /* Display  → Fraunces (serif with optical sizing; signature italics).
     Body/UI  → Inter (the typography page references Inter specifically,
                with SF Pro used in some layouts; Inter is our canonical
                Google-Fonts-available pick for everything text-shaped).
     Mono     → system mono (rare in brand; used for data/code only). */
  --font-display: "Fraunces", "Fraunces 72pt Soft", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo,
               Consolas, "Liberation Mono", monospace;

  /* -------- TYPE SIZES (1080 design-space) ----------------------------- */
  /* Display scale mirrors the hero treatments on the Slogan & lockups. */
  --size-display-xl: clamp(72px, 9vw, 160px);  /* 140-160 in lockups */
  --size-display-lg: clamp(56px, 6.5vw, 112px);
  --size-display-md: clamp(40px, 4.5vw, 80px);
  --size-h1: 36px;
  --size-h2: 32px;
  --size-h3: 28px;
  --size-h4: 22px;
  --size-body-lg: 20px;
  --size-body: 16px;
  --size-body-sm: 14px;
  --size-label: 12px;
  --size-caption: 10px;

  /* -------- WEIGHTS & LETTER-SPACING ---------------------------------- */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  --tracking-tight: -0.02em;
  --tracking-display: 0.01em;  /* lockups use 1% tracking in Fraunces */
  --tracking-wide: 0.08em;
  --tracking-caps: 0.12em;

  /* -------- SPACING (8pt grid) ---------------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* -------- RADII ----------------------------------------------------- */
  /* The palette swatches use a soft superellipse-ish rounding; buttons
     are pill-shaped. Cards stay sharp or very gently rounded. */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;      /* big palette-swatch feel */
  --radius-pill: 999px;
  --radius-card: 20px;

  /* -------- ELEVATION (used sparingly — brand is mostly flat) --------- */
  --shadow-1: 0 1px 2px rgba(0,0,0,0.06), 0 1px 1px rgba(0,0,0,0.04);
  --shadow-2: 0 4px 14px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-3: 0 20px 60px rgba(0,0,0,0.10), 0 6px 18px rgba(0,0,0,0.06);
  --shadow-ink: 0 2px 0 rgba(0,0,0,1);  /* hand-drawn cartoon offset */

  /* -------- MOTION ---------------------------------------------------- */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.6, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 120ms;
  --dur-med: 220ms;
  --dur-slow: 420ms;
}

/* =========================================================================
   ELEMENT DEFAULTS — apply design-system styles to raw HTML tags
   ========================================================================= */

html {
  font-family: var(--font-sans);
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-size: var(--size-body);
  line-height: 1.5;
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular); /* Fraunces reads best at 400-500 */
  letter-spacing: var(--tracking-display);
  line-height: 1.0;
  margin: 0 0 var(--space-4);
  color: var(--color-fg);
  text-wrap: balance;
}
h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); line-height: 1.1; }
h4 { font-size: var(--size-h4); line-height: 1.2; }

p  { margin: 0 0 var(--space-4); text-wrap: pretty; max-width: 62ch; }

small { font-size: var(--size-body-sm); color: var(--color-fg-muted); }

code, kbd, pre, samp {
  font-family: var(--font-mono);
  font-size: 0.95em;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
a:hover { color: var(--bno-fiery-orange); }

hr {
  border: 0;
  border-top: 1.5px solid var(--color-border-strong);
  margin: var(--space-6) 0;
}

/* =========================================================================
   UTILITY CLASSES — the building blocks for every page
   ========================================================================= */

.display-xl { font-family: var(--font-display); font-size: var(--size-display-xl); font-weight: 400; line-height: 0.95; letter-spacing: var(--tracking-display); }
.display-lg { font-family: var(--font-display); font-size: var(--size-display-lg); font-weight: 400; line-height: 0.95; letter-spacing: var(--tracking-display); }
.display-md { font-family: var(--font-display); font-size: var(--size-display-md); font-weight: 400; line-height: 1.0;  letter-spacing: var(--tracking-display); }
.display-italic { font-style: italic; }              /* signature Fraunces italic emphasis */

.eyebrow { font-family: var(--font-sans); font-size: var(--size-label); font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-fg-muted); }

.label  { font-family: var(--font-sans); font-size: var(--size-label); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.caption{ font-family: var(--font-sans); font-size: var(--size-caption); font-weight: 400; color: var(--color-fg-muted); }

.bg-paper   { background: var(--bno-paper); }
.bg-cool    { background: var(--bno-cool-gray); }
.bg-ink     { background: var(--bno-slack-black); color: var(--color-fg-invert); }
.bg-orange  { background: var(--bno-soft-orange); }
.bg-yellow  { background: var(--bno-soft-yellow); }
.bg-pink    { background: var(--bno-soft-pink); }
.bg-squiggle{ background: var(--bno-squiggle); }
.bg-squiggle-soft { background: var(--bno-squiggle-soft); }

.text-squiggle {
  background: var(--bno-squiggle);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Pill button — the black pill is the signature CTA across the brand. */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-sans); font-size: var(--size-body-sm);
  font-weight: 600; letter-spacing: var(--tracking-wide);
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast),
              color var(--dur-fast);
  text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary   { background: var(--bno-slack-black); color: var(--bno-paper); }
.btn-primary:hover   { background: var(--bno-fiery-orange); color: var(--bno-slack-black); }
.btn-secondary { background: var(--bno-paper); color: var(--bno-slack-black); border-color: var(--bno-slack-black); }
.btn-secondary:hover { background: var(--bno-slack-black); color: var(--bno-paper); }
.btn-accent    { background: var(--bno-fiery-orange); color: var(--bno-slack-black); }
.btn-accent:hover    { background: var(--bno-mellow-yellow); }

/* Focus ring — accessible, brand-tinted. */
:where(a, button, input, textarea, select, .btn):focus-visible {
  outline: 2.5px solid var(--bno-fiery-orange);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Card */
.card {
  background: var(--bno-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-5);
}
.card-cool { background: var(--bno-cool-gray); border-color: transparent; }

:root {
  --page-max: 1180px;
  --header-h: 76px;
  --en-orange: #FE8301;
  --en-yellow: #FFED02;
  --en-gray: #EBEAE8;
  --en-black: #000000;
  --en-white: #FFFFFF;
  --en-muted: rgba(0, 0, 0, 0.66);
  --en-line: rgba(0, 0, 0, 0.14);
  --en-soft-orange: rgba(254, 131, 1, 0.14);
  --en-soft-yellow: rgba(255, 237, 2, 0.22);
  --en-shadow: 0 0 14px rgba(0, 0, 0, 0.045), 0 4px 10px rgba(0, 0, 0, 0.026);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--en-black);
  background: var(--en-white);
  font-family: var(--font-sans);
}

body.mobile-nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.section-pad {
  position: relative;
  padding: 104px max(24px, calc((100vw - var(--page-max)) / 2));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: var(--header-h);
  max-width: calc(var(--page-max) + 48px);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--en-line);
  backdrop-filter: blur(18px);
}

.brand-link,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--en-black);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.brand-link img {
  width: 34px;
  height: 34px;
}

.brand-link span {
  font-size: 17px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.desktop-nav a,
.desktop-nav button {
  border: 0;
  background: transparent;
  color: var(--en-black);
  font: 800 13px/1.2 var(--font-sans);
  text-decoration: none;
  padding: 10px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.nav-item:focus-within > button,
.nav-item:hover > button {
  background: var(--en-gray);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--en-black);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.language-switch a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--en-line);
  border-radius: 999px;
  background: var(--en-white);
  text-decoration: none;
  font-size: 19px;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  background: var(--en-orange);
  border-color: var(--en-orange);
  transform: translateY(-1px);
  outline: none;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 100%;
  height: 26px;
}

.mega-menu {
  position: fixed;
  left: 50%;
  top: 74px;
  width: min(1080px, calc(100vw - 32px));
  display: grid;
  gap: 16px;
  padding: 16px;
  background: var(--en-white);
  border: 1px solid var(--en-line);
  border-radius: 8px;
  box-shadow: var(--en-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.services-menu {
  grid-template-columns: 1.2fr repeat(3, minmax(160px, 1fr));
}

.industry-menu {
  width: min(760px, calc(100vw - 32px));
  grid-template-columns: 1.2fr minmax(220px, 0.85fr);
}

.simple-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  width: min(340px, calc(100vw - 32px));
  grid-template-columns: 1fr;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-feature,
.mega-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
}

.mega-feature {
  min-height: 100%;
  color: var(--en-white);
  background: var(--en-black);
}

.mega-feature span,
.mega-column span,
.eyebrow,
.problem-grid span,
.route-grid span,
.service-grid span,
.compare-grid span {
  font: 900 11px/1 var(--font-sans);
  letter-spacing: 0;
  text-transform: uppercase;
}

.mega-feature span,
.mega-column span,
.eyebrow {
  color: var(--en-orange);
}

.mega-feature h3 {
  margin: 0;
  max-width: 13ch;
  color: var(--en-white);
  font: 650 28px/1 var(--font-display);
}

.mega-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.mega-column {
  background: var(--en-gray);
}

.mega-column.highlight {
  background: var(--en-soft-orange);
}

.mega-column a {
  width: 100%;
  padding: 9px 0;
  color: var(--en-black);
  text-decoration: none;
}

.mega-column a:hover {
  color: var(--en-orange);
}

.mega-column strong,
.mega-column small {
  display: block;
}

.mega-column small {
  margin-top: 4px;
  color: var(--en-muted);
  font-size: 12px;
  font-weight: 650;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--en-black);
  border-radius: 999px;
  font: 850 14px/1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: var(--en-white);
  background: var(--en-black);
}

.btn-secondary,
.btn-light {
  color: var(--en-black);
  background: var(--en-white);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-light:hover,
.btn-light:focus-visible {
  color: var(--en-black);
  background: var(--en-orange);
  border-color: var(--en-orange);
}

.mobile-menu-toggle,
.mobile-nav-panel {
  display: none;
}

.mobile-menu-toggle {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--en-black);
  border-radius: 999px;
  background: var(--en-white);
  color: var(--en-black);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  align-items: center;
  gap: 56px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(254, 131, 1, 0.08) 0 1px, transparent 1px),
    linear-gradient(180deg, var(--en-white), #f8f7f5);
  background-size: 34px 34px, auto;
}

.hero::before {
  content: "";
  position: absolute;
  right: min(8vw, 90px);
  top: 64px;
  width: 120px;
  height: 8px;
  border-radius: 999px;
  background: var(--en-yellow);
}

.hero h1 {
  max-width: 11.5ch;
  margin: 0 0 28px;
  font-size: clamp(34px, 4.48vw, 66px);
  line-height: 0.94;
}

.hero-lede {
  max-width: 58ch;
  margin: 0;
  color: var(--en-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-microcopy {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--en-muted);
}

.hero-trust {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust span {
  padding: 8px 11px;
  border: 1px solid var(--en-line);
  border-radius: 999px;
  background: var(--en-white);
  font-size: 12px;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 7px;
  border-radius: 999px;
  background: var(--en-orange);
}

.hero-system {
  display: grid;
  gap: 16px;
}

.hero-symbol {
  width: min(180px, 38vw);
  justify-self: end;
}

.system-board,
.problem-grid article,
.route-grid article,
.service-grid article,
.association-grid article,
.compare-grid article,
.proof-points article,
.faq-list details {
  border: 1.5px solid var(--en-black);
  border-radius: 8px;
}

.system-board {
  min-height: 286px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--en-white);
  box-shadow: var(--en-shadow);
}

.system-board span {
  width: fit-content;
  margin-bottom: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--en-soft-yellow);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.system-board strong {
  font: 450 clamp(46px, 5vw, 64px)/0.95 var(--font-display);
}

.system-board p {
  margin: 18px 0 0;
  color: var(--en-muted);
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.system-steps article {
  min-height: 94px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--en-white);
  background: var(--en-black);
  border-radius: 8px;
}

.system-steps b {
  color: var(--en-orange);
  font-size: 12px;
}

.system-steps span {
  font-weight: 850;
}

.answer-section {
  background: var(--en-black);
  color: var(--en-white);
}

.answer-copy {
  max-width: var(--page-max);
  margin: 0 auto;
}

.answer-copy h2 {
  max-width: 13ch;
  color: var(--en-white);
  font-size: clamp(35px, 4.8vw, 62px);
}

.answer-copy p:last-child {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.36;
}

.section-head {
  max-width: 920px;
  margin: 0 0 44px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.section-head h2,
.proof-copy h2,
.faq-head h2,
.cta-final h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
}

.section-head p:not(.eyebrow),
.proof-copy p,
.faq-head p,
.cta-final p {
  color: var(--en-muted);
  font-size: 18px;
}

.problem-section,
.services,
.faq-section {
  background: var(--en-white);
}

.problem-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid article,
.service-grid article {
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.problem-grid article:nth-child(odd),
.service-grid article:nth-child(even) {
  background: var(--en-gray);
}

.problem-grid article:nth-child(even),
.service-grid article:nth-child(odd) {
  background: var(--en-soft-orange);
}

.chain-closer {
  max-width: 860px;
  margin: 28px 0 0;
  padding: 20px 24px;
  border: 1px solid var(--en-line);
  border-radius: 12px;
  background: var(--en-gray);
  color: var(--en-muted);
  font-size: 16px;
  line-height: 1.5;
}

.problem-grid h3,
.route-grid h3,
.service-grid h3,
.association-grid h3,
.compare-grid h3 {
  margin: 0;
  font-size: clamp(25px, 2vw, 31px);
  line-height: 1.02;
}

.problem-grid p,
.route-grid p,
.service-grid p,
.association-grid p,
.compare-grid p {
  margin: 0;
  color: var(--en-muted);
}

.method {
  color: var(--en-white);
  background: var(--en-black);
}

.method h2,
.method .section-head p:not(.eyebrow) {
  color: var(--en-white);
}

.method .section-head p:not(.eyebrow),
.method .route-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.sequencing-line {
  max-width: 820px;
  margin: 32px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.5;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.route-grid article {
  min-height: 330px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #101010;
}

.route-grid b {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--en-black);
  background: var(--en-orange);
  border-radius: 999px;
}

.route-grid h3 {
  color: var(--en-white);
}

.route-grid a {
  margin-top: auto;
  color: var(--en-orange);
  font-weight: 850;
  text-decoration: none;
}

.associations {
  background: var(--en-gray);
}

.association-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.association-grid article {
  min-height: 316px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--en-white);
  box-shadow: var(--en-shadow);
}

.association-grid img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  padding: 14px;
  border: 1px solid var(--en-line);
  border-radius: 8px;
  background: var(--en-white);
}

.association-grid h3 {
  margin-top: auto;
}

.compare-section {
  background: var(--en-white);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-grid article {
  padding: clamp(24px, 4vw, 42px);
  background: var(--en-gray);
}

.compare-grid article.dark {
  color: var(--en-white);
  background: var(--en-black);
}

.compare-grid article.dark h3,
.compare-grid article.dark p,
.compare-grid article.dark li {
  color: var(--en-white);
}

.compare-grid article.dark span {
  color: var(--en-orange);
}

.compare-grid ul {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--en-muted);
}

.compare-grid li + li {
  margin-top: 10px;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.74fr);
  align-items: center;
  gap: 54px;
  background: var(--en-gray);
}

.proof-points {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-points article {
  min-height: 150px;
  padding: 18px;
  background: var(--en-white);
}

.proof-points strong {
  display: block;
  margin-bottom: 14px;
  color: var(--en-orange);
  font: 550 48px/0.95 var(--font-display);
}

.proof-points span {
  color: var(--en-muted);
  font-weight: 700;
}

.proof-image {
  margin: 0;
}

.proof-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1.5px solid var(--en-black);
  border-radius: 8px;
}

.faq-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--en-white);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  font: 850 18px/1.22 var(--font-sans);
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--en-muted);
}

.cta-final {
  color: var(--en-white);
  background: var(--en-black);
}

.cta-final h2,
.cta-final p {
  color: var(--en-white);
}

.cta-final > div {
  max-width: 820px;
}

.site-footer {
  background: var(--en-gray);
  color: var(--en-black);
  border-top: 1px solid var(--en-line);
}

.footer-main {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: minmax(300px, 0.94fr) minmax(0, 1.56fr);
  gap: 72px;
}

.footer-proof {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.footer-logo {
  font-size: 24px;
}

.footer-logo img {
  width: 46px;
  height: 46px;
}

.footer-proof p {
  max-width: 32ch;
  margin: 0;
  color: var(--en-muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.footer-accent {
  width: min(100%, 520px);
  height: 2px;
  background-image: linear-gradient(90deg, var(--en-orange), var(--en-yellow));
  border-radius: 999px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 12px;
  width: min(100%, 460px);
}

.badge-grid img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  padding: 10px;
  background: var(--en-white);
  border: 1px solid var(--en-line);
  border-radius: 8px;
}

.footer-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.footer-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  margin: 0 0 8px;
  font: 750 24px/1.05 var(--font-display);
}

.footer-column h3:not(:first-child) {
  margin-top: 22px;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  text-decoration: none;
  font: 700 15px/1.35 var(--font-sans);
  overflow-wrap: anywhere;
}

.footer-column a:hover,
.footer-social a:hover {
  color: var(--en-orange);
}

.footer-brand-bar {
  min-height: 96px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
  align-items: center;
  gap: 24px;
  background: var(--en-white);
  border-top: 1px solid var(--en-line);
}

.footer-brand-bar img {
  width: 44px;
  height: 44px;
  justify-self: center;
}

.footer-brand-bar p {
  margin: 0;
  text-align: center;
  color: var(--en-black);
  font: 650 clamp(20px, 2.2vw, 28px)/1.15 var(--font-display);
}

.footer-brand-bar em {
  font-style: italic;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  color: rgba(0, 0, 0, 0.72);
  text-decoration: none;
  font: 750 14px/1.2 var(--font-sans);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    justify-self: end;
  }

  .site-header > .language-switch {
    display: none;
  }

  .mobile-nav-panel {
    position: fixed;
    top: var(--header-h);
    left: 50%;
    z-index: 80;
    width: min(100vw - 24px, 760px);
    max-height: calc(100dvh - var(--header-h) - 12px);
    display: block;
    padding: 10px;
    border: 1.5px solid var(--en-black);
    border-radius: 8px;
    background: var(--en-white);
    box-shadow: var(--en-shadow);
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-mobile-open .mobile-nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .mobile-nav-scroll {
    max-height: calc(100dvh - var(--header-h) - 34px);
    overflow: auto;
    display: grid;
    gap: 10px;
  }

  .mobile-nav-cta,
  .mobile-nav-direct {
    min-height: 48px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--en-white);
    background: var(--en-black);
    text-decoration: none;
    font-weight: 850;
  }

  .mobile-language {
    padding: 14px;
    display: grid;
    gap: 10px;
    border: 1px solid var(--en-line);
    border-radius: 8px;
    background: var(--en-gray);
  }

  .mobile-language strong {
    color: var(--en-orange);
    font-size: 12px;
    text-transform: uppercase;
  }

  .mobile-language div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-language a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--en-black);
    border-radius: 999px;
    color: var(--en-black);
    background: var(--en-white);
    font-weight: 850;
    text-decoration: none;
  }

  .mobile-language a:hover,
  .mobile-language a:focus-visible {
    background: var(--en-orange);
    border-color: var(--en-orange);
    outline: none;
  }

  .mobile-nav-cta.secondary {
    color: var(--en-black);
    background: var(--en-orange);
  }

  .mobile-nav-direct {
    color: var(--en-black);
    background: var(--en-gray);
  }

  .mobile-nav-group {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--en-line);
    border-radius: 8px;
    background: var(--en-gray);
  }

  .mobile-nav-group strong {
    color: var(--en-orange);
    font-size: 12px;
    text-transform: uppercase;
  }

  .mobile-nav-group a {
    padding: 8px 0;
    color: var(--en-black);
    text-decoration: none;
    font-weight: 750;
  }
}

@media (max-width: 980px) {
  .hero,
  .proof-section,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
  }

  .hero-symbol {
    justify-self: start;
  }

  .problem-grid,
  .route-grid,
  .service-grid,
  .footer-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section-pad {
    padding: 76px 20px;
  }

  .site-header {
    min-height: auto;
    padding: 12px 14px;
  }

  .brand-link span {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(30px, 9.6vw, 45px);
  }

  .system-steps,
  .problem-grid,
  .route-grid,
  .service-grid,
  .association-grid,
  .compare-grid,
  .footer-map {
    grid-template-columns: 1fr;
  }

  .route-grid article,
  .problem-grid article,
  .service-grid article {
    min-height: 230px;
  }

  .association-grid article {
    min-height: 260px;
  }

  .footer-main {
    padding: 56px 20px;
    gap: 42px;
  }

  .footer-brand-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Motion layer: subtle interactions inspired by the Data IQ landings. */
:root {
  --en-motion-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --en-motion-fast: 180ms;
  --en-card-line: conic-gradient(
    from 0deg,
    transparent 0deg 216deg,
    rgba(255, 237, 2, 0.96) 232deg,
    rgba(254, 131, 1, 0.98) 254deg,
    rgba(237, 139, 250, 0.9) 276deg,
    transparent 296deg 360deg
  );
  --en-card-glow: rgba(254, 131, 1, 0.28);
}

.reveal-ready [data-reveal] {
  transition-delay: var(--reveal-delay, 0ms);
}

@media (hover: hover) and (pointer: fine) {
  :is(
    .btn,
    .language-switch a,
    .mobile-menu-toggle,
    .hero-trust span,
    .system-board,
    .system-steps article,
    .problem-grid article,
    .route-grid article,
    .service-grid article,
    .association-grid article,
    .compare-grid article,
    .proof-points article,
    .contact-card,
    .contact-faq-grid article,
    .industry-card,
    .review-card,
    .expectations-grid article,
    .location-card,
    .faq-list details,
    .badge-grid img,
    .footer-column a,
    .footer-social a
  ) {
    transition:
      translate var(--en-motion-fast) var(--en-motion-ease),
      transform var(--en-motion-fast) var(--en-motion-ease),
      box-shadow var(--en-motion-fast) var(--en-motion-ease),
      border-color var(--en-motion-fast) var(--en-motion-ease),
      background var(--en-motion-fast) var(--en-motion-ease),
      color var(--en-motion-fast) var(--en-motion-ease),
      scale var(--en-motion-fast) var(--en-motion-ease),
      opacity var(--en-motion-fast) var(--en-motion-ease);
  }

  :is(
    .system-board,
    .system-steps article,
    .problem-grid article,
    .route-grid article,
    .service-grid article,
    .association-grid article,
    .compare-grid article,
    .proof-points article,
    .contact-card,
    .contact-faq-grid article,
    .industry-card,
    .review-card,
    .expectations-grid article,
    .location-card,
    .faq-list details
  ):hover {
    translate: 0 -5px;
    scale: 1.012;
    box-shadow: 0 24px 52px -24px var(--en-card-glow), var(--en-shadow);
  }

  :is(.badge-grid img, .hero-trust span):hover {
    translate: 0 -3px;
    border-color: rgba(254, 131, 1, 0.72);
  }

  .footer-column a:hover,
  .footer-social a:hover {
    translate: 3px 0;
  }

  .desktop-nav :is(a, button) {
    position: relative;
  }

  .desktop-nav :is(a, button)::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(95deg, var(--en-yellow), var(--en-orange), #ED8BFA);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms var(--en-motion-ease);
  }

  .desktop-nav :is(a:hover, a:focus-visible, button:hover, button:focus-visible)::after,
  .nav-item:hover > button::after,
  .nav-item:focus-within > button::after {
    transform: scaleX(1);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(
    .system-board,
    .system-steps article,
    .problem-grid article,
    .route-grid article,
    .service-grid article,
    .association-grid article,
    .compare-grid article,
    .proof-points article,
    .faq-list details,
    .contact-card,
    .contact-faq-grid article,
    .industry-card,
    .review-card,
    .expectations-grid article,
    .location-card
  ) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }

  :is(
    .system-board,
    .system-steps article,
    .problem-grid article,
    .route-grid article,
    .service-grid article,
    .association-grid article,
    .compare-grid article,
    .proof-points article,
    .faq-list details,
    .contact-card,
    .contact-faq-grid article,
    .industry-card,
    .review-card,
    .expectations-grid article,
    .location-card
  )::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 2px;
    border-radius: inherit;
    background: var(--en-card-line);
    opacity: 0;
    pointer-events: none;
    transform-origin: 50% 50%;
    transition: opacity 220ms var(--en-motion-ease);
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
  }

  :is(
    .system-board,
    .system-steps article,
    .problem-grid article,
    .route-grid article,
    .service-grid article,
    .association-grid article,
    .compare-grid article,
    .proof-points article,
    .faq-list details,
    .contact-card,
    .contact-faq-grid article,
    .industry-card,
    .review-card,
    .expectations-grid article,
    .location-card
  ):hover::after {
    opacity: 1;
    animation: en-card-line-orbit 3.8s linear infinite;
  }

  :is(.contact-card.orange, .system-steps article:nth-child(2), .problem-grid article:nth-child(even), .service-grid article:nth-child(odd), .association-grid article:nth-child(odd)):hover {
    --en-card-glow: rgba(254, 131, 1, 0.58);
    --en-card-line: conic-gradient(from 0deg, transparent 0deg 210deg, rgba(255, 255, 255, 0.96) 228deg, rgba(255, 237, 2, 0.98) 256deg, transparent 286deg 360deg);
  }

  :is(.contact-card.yellow, .system-steps article:nth-child(3), .problem-grid article:nth-child(odd), .service-grid article:nth-child(even), .association-grid article:nth-child(even)):hover {
    --en-card-glow: rgba(255, 237, 2, 0.42);
    --en-card-line: conic-gradient(from 0deg, transparent 0deg 214deg, rgba(254, 131, 1, 0.96) 232deg, rgba(237, 139, 250, 0.94) 258deg, transparent 286deg 360deg);
  }
}

.faq-list details[open] {
  border-color: var(--en-orange);
  box-shadow: var(--en-shadow);
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before,
  .eyebrow::before {
    background-size: 180% 100%;
    animation: en-accent-slide 5.8s ease-in-out infinite alternate;
  }

  .hero-symbol {
    animation: en-symbol-float 6.8s ease-in-out infinite;
  }
}

@keyframes en-accent-slide {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes en-symbol-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes en-card-line-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] {
    transition-delay: 0ms;
  }

  .hero-symbol {
    animation: none !important;
  }

  .hero::before,
  .eyebrow::before {
    animation: none !important;
  }

  :is(
    .system-board,
    .system-steps article,
    .problem-grid article,
    .route-grid article,
    .service-grid article,
    .association-grid article,
    .compare-grid article,
    .proof-points article,
    .contact-card,
    .contact-faq-grid article,
    .industry-card,
    .review-card,
    .expectations-grid article,
    .location-card,
    .faq-list details,
    .badge-grid img,
    .hero-trust span,
    .footer-column a,
    .footer-social a
  ) {
    translate: none !important;
    scale: none !important;
  }

  :is(
    .system-board,
    .system-steps article,
    .problem-grid article,
    .route-grid article,
    .service-grid article,
    .association-grid article,
    .compare-grid article,
    .proof-points article,
    .faq-list details,
    .contact-card,
    .contact-faq-grid article,
    .industry-card,
    .review-card,
    .expectations-grid article,
    .location-card
  )::after {
    animation: none !important;
    opacity: 0 !important;
  }
}
