/* ==========================================================================
   co-base.css - SHARED BASE LAYER (loaded on EVERY page, first).
   Single source of truth for: @font-face, :root design tokens, reset/base,
   layout primitives, eyebrow, type scale, buttons, header/nav + mobile nav,
   language switcher, cards, reveal animation, footer (full layout) + cookie
   button, cookie-consent banner, theme toggle, and the dark-mode token remap.
   Extracted verbatim from the home bundle to kill the chrome/token duplication
   that previously drifted between co-home.css and co-system.css. Page-specific
   section styles live in co-home.css (home) + co-system.css/co-pages.css (sub).
   DO NOT re-add chrome/token rules to those files.
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v4/font-01.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';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v4/font-02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v4/font-01.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';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v4/font-02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v4/font-01.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';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v4/font-02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v4/font-01.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';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v4/font-02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v4/font-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: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v4/font-07.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-v4/font-08.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-v4/font-09.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-v4/font-10.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-v4/font-11.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-v4/font-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: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v4/font-07.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-v4/font-08.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-v4/font-09.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-v4/font-10.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-v4/font-11.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v4/font-12.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v4/font-13.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v4/font-14.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v4/font-12.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v4/font-13.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v4/font-14.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v4/font-12.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v4/font-13.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v4/font-14.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;
}
/* ============================================================
   CodeOrbit — Design System
   Neutral, architectural system styling + #0071BC brand accent.
   Type: Geist (sans) + Geist Mono (technical labels).
   ============================================================ */

:root {
  /* Brand */
  --co-blue:        #0071BC;
  --co-blue-600:    color-mix(in srgb, var(--co-blue) 88%, #000);
  --co-blue-700:    color-mix(in srgb, var(--co-blue) 74%, #000);
  --co-blue-tint:   color-mix(in srgb, var(--co-blue) 11%, #fff);
  --co-blue-tint-2: color-mix(in srgb, var(--co-blue) 24%, #fff);

  /* Neutrals (Geist/shadcn-style scale) */
  --co-0:    #ffffff;
  --co-50:   #FAFAFA;
  --co-100:  #F4F5F7;
  --co-150:  #ECEEF1;
  --co-200:  #E5E7EB;
  --co-300:  #D4D7DD;
  --co-400:  #9CA3AF;
  --co-500:  #6B7280;
  --co-600:  #525861;
  --co-700:  #3A3F47;
  --co-800:  #24282E;
  --co-900:  #14171B;
  --co-950:  #0B0E12;

  /* Semantic */
  --co-bg:        var(--co-0);
  --co-bg-muted:  var(--co-50);
  --co-surface:   var(--co-100);
  --co-fg:        #0B0E12;
  --co-fg-muted:  #525861;
  --co-fg-subtle: #767C85;
  --co-border:    #E6E8EC;
  --co-border-2:  #DADDE2;
  --co-ink:       #0B0E12; /* near-black like the logo "CODE" */

  /* Type */
  --co-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --co-display: "Space Grotesk", "Geist", sans-serif;
  --co-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --co-r-sm: 8px;
  --co-r:    12px;
  --co-r-lg: 16px;
  --co-r-xl: 22px;

  /* Shadows */
  --co-shadow-xs: 0 1px 2px rgba(11,14,18,.05);
  --co-shadow-sm: 0 1px 3px rgba(11,14,18,.07), 0 1px 2px rgba(11,14,18,.04);
  --co-shadow-md: 0 8px 24px -8px rgba(11,14,18,.12), 0 2px 6px rgba(11,14,18,.05);
  --co-shadow-lg: 0 28px 60px -22px rgba(11,14,18,.30);
  --co-shadow-blue: 0 18px 40px -16px rgba(0,113,188,.45);

  /* Layout */
  --co-maxw: 1200px;
  --co-gut: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--co-sans);
  color: var(--co-fg);
  background: var(--co-bg);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-family: var(--co-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
.co-display, .co-h2, .co-h3 { font-family: var(--co-display); }
p { margin: 0; }

::selection { background: var(--co-blue); color: #fff; }

/* ---------- Layout ---------- */
.co-container {
  width: 100%;
  max-width: var(--co-maxw);
  margin-inline: auto;
  padding-inline: var(--co-gut);
}
.co-section { padding-block: clamp(72px, 9vw, 132px); }
.co-section--tight { padding-block: clamp(56px, 7vw, 96px); }

.co-bg-muted { background: var(--co-bg-muted); }
.co-bg-ink   { background: var(--co-950); color: #E7EAEE; }
.co-bg-blue  { background: var(--co-blue); color: #fff; }

/* ---------- Eyebrow (mono, architectural) ---------- */
.co-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--co-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--co-fg-subtle);
}
.co-eyebrow .idx { color: var(--co-blue); }
.co-eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--co-border-2);
}
.co-bg-ink .co-eyebrow { color: #8A93A0; }
.co-bg-ink .co-eyebrow::before { background: rgba(255,255,255,.22); }
.co-bg-ink .co-eyebrow .idx { color: #5AA9E2; }

/* ---------- Type scale ---------- */
.co-display {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.co-h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
.co-h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; }
.co-lead {
  font-size: clamp(1.12rem, 1.55vw, 1.4rem);
  line-height: 1.5;
  color: var(--co-fg-muted);
  letter-spacing: -0.015em;
  font-weight: 400;
}
.co-bg-ink .co-lead { color: #AEB6C0; }
.co-muted { color: var(--co-fg-muted); }
.co-blue-text { color: var(--co-blue); }
/* Highlighter / text-marker swipe (slightly angled) */
.mark-hl { position: relative; z-index: 0; padding: 0 3px; }
.mark-hl::before {
  content: ""; position: absolute; z-index: -1;
  left: -1px; right: -1px; bottom: 20%; height: 44%;
  background: linear-gradient(104deg, rgba(0,113,188,0) 0%, rgba(0,113,188,.3) 22%, rgba(0,113,188,.3) 78%, rgba(0,113,188,0) 100%);
  transform: rotate(-2.2deg) scaleX(0);
  transform-origin: left center;
  border-radius: 1px;
}
.mark-hl.is-drawn::before {
  transform: rotate(-2.2deg) scaleX(1);
  transition: transform .62s cubic-bezier(.66,0,.34,1);
}
@media (prefers-reduced-motion: reduce) {
  .mark-hl::before { transform: rotate(-2.2deg) scaleX(1); }
}

/* ---------- Buttons ---------- */
.co-btn {
  --pad-y: 14px; --pad-x: 22px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--co-sans);
  font-size: 15.5px; font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: var(--co-r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.co-btn svg { width: 17px; height: 17px; transition: transform .2s ease; }
.co-btn:hover svg.arrow { transform: translateX(3px); }

.co-btn--primary { background: var(--co-blue); color: #fff; box-shadow: var(--co-shadow-blue); }
.co-btn--primary:hover { background: var(--co-blue-600); }

/* Fan: a gray second card sits fanned out behind the button by default,
   then tucks in behind it and hides on hover. */
.fanbtn { position: relative; display: inline-flex; }
.fanbtn .co-btn { position: relative; z-index: 1; box-shadow: none; }
.fanbtn__ghost {
  position: absolute; inset: 0; z-index: 0;
  border-radius: var(--co-r-sm);
  background: linear-gradient(155deg, #dee3ea, #c6cdd6);
  box-shadow: 0 8px 18px -9px rgba(15,52,99,.5);
  transform: rotate(var(--fan-rot, -6.5deg)) translate(var(--fan-tx, -10px), 6px);
  transform-origin: 28% 82%;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
}
.fanbtn--low { --fan-rot: -3deg; --fan-tx: -7px; }
.fanbtn:hover .fanbtn__ghost { transform: rotate(0deg) translate(0,0); opacity: 0; }

.co-btn--ghost { background: transparent; color: var(--co-fg); border-color: var(--co-border-2); }
.co-btn--ghost:hover { border-color: var(--co-ink); background: var(--co-50); }
.co-btn--text { background: transparent; color: var(--co-fg); border-color: transparent; padding-left: 6px; padding-right: 6px; }
.co-btn--text:hover { color: var(--co-ink); }

.co-btn--light { background: #fff; color: var(--co-ink); }
.co-btn--light:hover { background: var(--co-100); }

.co-btn--onblue { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.28); }
.co-btn--onblue:hover { background: rgba(255,255,255,.2); }

.co-btn--onink { background: transparent; color:#E7EAEE; border-color: rgba(255,255,255,.22); }
.co-btn--onink:hover { border-color:#fff; background: rgba(255,255,255,.07); }

.co-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15.5px; font-weight: 500; color: var(--co-fg);
  border-bottom: 1px solid transparent; padding-bottom: 1px;
  transition: color .18s, border-color .18s;
}
.co-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.co-link:hover { color: var(--co-blue); }
.co-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.co-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.co-header.is-stuck { border-bottom-color: var(--co-border); box-shadow: 0 1px 0 rgba(11,14,18,.02); }
.co-header__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.co-header__logo img { height: 48px; width: auto; }
.co-nav { display: flex; align-items: center; gap: 4px; }
.co-nav a {
  padding: 9px 14px; font-size: 15px; font-weight: 500;
  color: var(--co-fg-muted); border-radius: 7px;
  transition: color .15s, background .15s;
}
.co-nav a:hover { color: var(--co-fg); background: var(--co-100); }
.co-nav a.active { color: var(--co-blue); }
.co-header__actions { display: flex; align-items: center; gap: 12px; }
.co-header__socials { display: flex; align-items: center; gap: 7px; }
.co-header__socials a {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--co-200); color: var(--co-500); transition: all .18s;
}
.co-header__socials a:hover { color: #fff; }
.co-header__socials a[aria-label="LinkedIn"]:hover { background: #0A66C2; border-color: #0A66C2; }
.co-header__socials a[aria-label="X"]:hover { background: #000; border-color: #000; }
.co-header__socials a[aria-label="Instagram"]:hover { background: linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5); border-color: #d62976; }
@media (max-width: 900px) { .co-header__socials { display: none; } }

/* Language switch */
.co-lang { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--co-border-2); border-radius: 8px; background: #fff; font-family: var(--co-mono); }
.co-lang a { padding: 5px 9px; font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--co-fg-subtle); border-radius: 5px; line-height: 1; }
.co-lang a.active { background: var(--co-ink); color: #fff; }
.co-lang a:not(.active):hover { color: var(--co-fg); }

.co-burger { display: none; }

@media (max-width: 900px) {
  .co-nav { display: none; }
  .co-header__actions .co-btn--ghost { display: none; }
  .co-header__actions .co-btn--primary { display: none; }
  .co-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 8px;
    border: 1px solid var(--co-border-2); background: #fff; cursor: pointer;
  }
}

/* ---------- Cards ---------- */
.co-card {
  background: #fff;
  border: 1px solid var(--co-border);
  border-radius: var(--co-r-lg);
  box-shadow: var(--co-shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.co-card--pad { padding: 30px; }
.co-card--hover:hover { transform: translateY(-4px); box-shadow: var(--co-shadow-md); border-color: var(--co-border-2); }

/* Service card */
.co-service { padding: 32px; display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.co-service__num {
  font-family: var(--co-mono); font-size: 12.5px; letter-spacing: .12em;
  color: var(--co-blue); font-weight: 500;
}
.co-service__icon {
  position: relative;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: transparent; border: none;
}
.co-service__icon::before, .co-service__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
}
.co-service__icon::before { /* gray second tile, fanned behind */
  background: linear-gradient(155deg, #dee3ea, #c6cdd6);
  transform: rotate(-13deg); transform-origin: 60% 90%;
  box-shadow: 0 6px 15px -7px rgba(15,52,99,.45);
}
.co-service__icon::after { /* front tile — CodeOrbit blue */
  background: linear-gradient(155deg, #1a86d8, var(--co-blue));
  box-shadow: 0 9px 20px -9px rgba(0,113,188,.6);
}
.co-service__icon svg { position: relative; z-index: 1; width: 30px; height: 30px; color: #fff; }
.co-service h3 { font-size: 1.24rem; }
.co-service p { color: var(--co-fg-muted); font-size: 15.5px; line-height: 1.55; }

/* Chips / audience */
.co-chip {
  display: flex; align-items: center; gap: 13px;
  padding: 18px 20px;
  background: #fff; border: 1px solid var(--co-border);
  border-radius: var(--co-r); font-weight: 500; font-size: 15.5px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.co-chip:hover { border-color: var(--co-blue-tint-2); transform: translateY(-2px); box-shadow: var(--co-shadow-sm); }
.co-chip .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--co-blue); flex: none; transform: rotate(12deg); }

/* ---------- Reveal animation (progressive: only hides when .js present) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal].shown { opacity: 1 !important; transform: none !important; transition: none !important; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
.js [data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Contact-form alt-CTA ("book a call"): reveal by sliding DOWN from above
   (opposite of the default upward reveal). The .form__alt wrapper has no hover
   transition of its own, so this doesn't disturb the inner button's hover. */
.js .form__alt[data-reveal] { transform: translateY(-18px); }
.js .form__alt[data-reveal].in { transform: none; }

/* ---------- Typewriter eyebrows (opt-in via [data-type]; co-core.js wraps the
   content in .co-eyebrow__typed, then types it on scroll-in by clipping width.
   Monospace font => each width step reveals exactly one character). ---------- */
.co-eyebrow[data-type] .co-eyebrow__typed {
  display: inline-block; min-width: 0; max-width: 0;
  overflow: hidden; white-space: nowrap; vertical-align: bottom;
  border-right: 1.5px solid transparent;
}
.co-eyebrow[data-type].is-typing .co-eyebrow__typed {
  animation: eyebrowType var(--type-dur, 1s) steps(var(--type-steps, 12), end) forwards,
             eyebrowCaret .7s step-end infinite;
}
@keyframes eyebrowType { to { max-width: var(--type-w, 100%); } }
@keyframes eyebrowCaret { 0%, 100% { border-right-color: transparent; } 50% { border-right-color: currentColor; } }
.co-eyebrow[data-type].typed-done .co-eyebrow__typed {
  max-width: var(--type-w, 100%); border-right-color: transparent; animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .co-eyebrow[data-type] .co-eyebrow__typed { max-width: none; border-right: 0; animation: none; }
}

/* ---------- Footer ---------- */
.co-footer { background: var(--co-950); color: #AEB6C0; }
.co-footer a { color: #AEB6C0; transition: color .15s; }
.co-footer a:hover { color: #fff; }
.co-footer__claim { color:#fff; font-weight: 500; }

/* ============================================================
   CodeOrbit — Homepage styles
   ============================================================ */

/* ---------- Mobile nav ---------- */
.co-mobile-nav[hidden] { display: none !important; }
.co-mobile-nav {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px var(--co-gut) 22px;
  border-top: 1px solid var(--co-border);
  background: #fff;
}
.co-mobile-nav a { padding: 12px 8px; font-weight: 500; color: var(--co-fg); border-radius: 8px; }
.co-mobile-nav a:hover { background: var(--co-100); }
.co-mobile-nav .co-btn--primary { margin-top: 8px; justify-content: center; }

/* ---------- Section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head .co-eyebrow { margin-bottom: 18px; }

/* ============================ FOOTER ============================ */
.footer__top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px;
  padding-block: 64px 48px;
}
.footer__logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer__claim { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.footer__addr { font-size: 14.5px; max-width: 38ch; line-height: 1.55; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16); color: #AEB6C0; transition: all .18s;
}
.footer__social a:hover { color: #fff; }
.footer__social a[aria-label="LinkedIn"]:hover { background: #0A66C2; border-color: #0A66C2; }
.footer__social a[aria-label="X"]:hover { background: #000; border-color: #000; }
.footer__social a[aria-label="Instagram"]:hover { background: linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5); border-color: #d62976; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 { font-family: var(--co-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #6B7480; margin-bottom: 5px; }
.footer__col a { font-size: 14.5px; }
.footer__bottom {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px;
  padding-block: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13.5px; color: #6B7480;
}
.footer__legal { display: flex; gap: 22px; }
.footer__madein { white-space: nowrap; }
.footer__bottom-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.footer__bottom .co-lang { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.footer__bottom .co-lang a { color: #AEB6C0; }
.footer__bottom .co-lang a.active { background: #fff; color: var(--co-ink); }
.footer__cookie-btn {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font-family: inherit; font-size: inherit; color: #AEB6C0; transition: color .15s;
}
.footer__cookie-btn:hover { color: #fff; }

/* ---------- Footer responsive (single-sourced here; do NOT duplicate in page CSS) ---------- */
@media (max-width: 1040px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom-right { margin-left: 0; }
}

/* ---------- Cookie consent banner (ported from legacy site) ---------- */
#cookieConsent {
  position: fixed; left: 16px; bottom: 16px;
  width: 384px; max-width: calc(100vw - 32px);
  font-family: var(--co-mono); font-size: 13px; line-height: 1.55;
  background: var(--co-950); color: #E7EAEE;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--co-r);
  box-shadow: var(--co-shadow-lg); z-index: 10000;
  transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden;
  transition: transform .45s cubic-bezier(.16,.84,.44,1), opacity .3s ease, visibility 0s linear .45s;
}
#cookieConsent.is-visible {
  transform: translateY(0); opacity: 1; visibility: visible;
  transition: transform .45s cubic-bezier(.16,.84,.44,1), opacity .3s ease;
}
#cookieConsent .cc-inner { padding: 18px; }
#cookieConsent .cc-label {
  display: flex; align-items: center; gap: 8px; margin: 0 0 9px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--co-400);
}
#cookieConsent .cc-label svg { flex: none; }
#cookieConsent .cc-text { margin: 0 0 15px; color: #C7CCD3; }
#cookieConsent .cc-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
#cookieConsent .cc-actions { display: flex; gap: 8px; }
#cookieConsent .cc-btn {
  font-family: var(--co-mono); font-size: 12.5px; font-weight: 500;
  padding: 9px 16px; border-radius: var(--co-r-sm); cursor: pointer;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
#cookieConsent .cc-btn--accept { background: var(--co-blue); color: #fff; flex: 1; }
#cookieConsent .cc-btn--accept:hover { background: var(--co-blue-600); }
#cookieConsent .cc-btn--decline { background: transparent; color: #AEB6C0; border-color: rgba(255,255,255,.2); }
#cookieConsent .cc-btn--decline:hover { color: #fff; border-color: rgba(255,255,255,.42); }
@media (max-width: 420px) {
  #cookieConsent { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  #cookieConsent { transition: opacity .3s ease, visibility 0s; transform: none; }
}

/* ============================================================
   DARK MODE — "now-white" sections become dark gray.
   Remaps the semantic + neutral tokens, then patches the
   handful of components that hardcode #fff.
   ============================================================ */
html[data-theme="dark"] {
  /* Neutral scale flipped to a dark-gray ramp */
  --co-0:    #1b1e23;
  --co-50:   #202329;
  --co-100:  #262a31;
  --co-150:  #2c313a;
  --co-200:  #333944;
  --co-300:  #424955;
  --co-400:  #6b7280;
  --co-500:  #8b93a0;
  --co-600:  #aeb6c0;
  --co-700:  #c6cdd6;
  --co-800:  #dfe3e9;
  --co-900:  #eef0f3;
  --co-950:  #0e1014;

  /* Semantic */
  --co-bg:        #16181c;
  --co-bg-muted:  #1b1e23;
  --co-surface:   #262a31;
  --co-fg:        #E7EAEE;
  --co-fg-muted:  #AEB6C0;
  --co-fg-subtle: #8A93A0;
  --co-border:    #2c313a;
  --co-border-2:  #3a414c;
  --co-ink:       #E7EAEE;

  --co-blue-tint:   color-mix(in srgb, var(--co-blue) 20%, #16181c);
  --co-blue-tint-2: color-mix(in srgb, var(--co-blue) 34%, #16181c);

  --co-shadow-xs: 0 1px 2px rgba(0,0,0,.45);
  --co-shadow-sm: 0 1px 3px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.4);
  --co-shadow-md: 0 8px 24px -8px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.4);
  --co-shadow-lg: 0 28px 60px -22px rgba(0,0,0,.72);

  color-scheme: dark;
}

/* Card surface — everything that hardcoded #fff */
html[data-theme="dark"] .co-card,
html[data-theme="dark"] .co-chip,
html[data-theme="dark"] .layer,
html[data-theme="dark"] .prob-card,
html[data-theme="dark"] .aud-card,
html[data-theme="dark"] .case,
html[data-theme="dark"] .founder,
html[data-theme="dark"] .principle,
html[data-theme="dark"] .sysviz__chip,
html[data-theme="dark"] .key-brick,
html[data-theme="dark"] .brickviz__crown,
html[data-theme="dark"] .brickviz__ground .brick__chip,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .co-lang {
  background: var(--co-surface);
}

/* Sticky header — translucent dark gray instead of translucent white */
html[data-theme="dark"] .co-header { background: rgba(22,24,28,.82); }
html[data-theme="dark"] .co-mobile-nav { background: var(--co-bg); }

/* Fan card front pinned its white with !important */
html[data-theme="dark"] .co-fan__front { background: var(--co-surface) !important; }

/* Lang active pill: ink flips light, so give it a readable fill */
html[data-theme="dark"] .co-lang a.active { background: var(--co-blue); color: #fff; }


/* --- Contrast fixes --- */
/* Header logo: use the white-"CODE" lockup on dark.
   media-07 has more internal padding than media-03, so size it up to match the cap-height. */
.co-logo-dark { display: none; }
html[data-theme="dark"] .co-logo-light { display: none; }
html[data-theme="dark"] .co-logo-dark { display: block; }
.co-header__logo img.co-logo-dark { height: 55px; }

/* Hero grid raster: dark lines vanish on dark — use light lines */
html[data-theme="dark"] .hero__grid-bg {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
}

/* BASIS brick: its fill (--co-ink) flips light, so text must go dark */
html[data-theme="dark"] .tag-brick--base { color: #0B0E12; }

/* Trust logos: HYBRID. Silhouette the transparent vector marks to white;
   leave the opaque badge logos (METRO, Raw Energy) in their real colors. */
html[data-theme="dark"] .trust__track img:not(.trust-raster) { filter: grayscale(1) brightness(0) invert(1); }
html[data-theme="dark"] .trust__track img:not(.trust-raster):hover { filter: brightness(0) invert(1); }
html[data-theme="dark"] .trust__track img.trust-raster { filter: none; opacity: 1; }

/* "AI creates code → CodeOrbit creates systems" pill: light fill needs dark text */
html[data-theme="dark"] .compare { color: #0B0E12; }
html[data-theme="dark"] .compare__a { color: #525861; }
html[data-theme="dark"] .compare__arr { color: var(--co-blue); }

/* Footer dark-mode toggle */
.co-themetoggle{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#AEB6C0;cursor:pointer;transition:color .15s,border-color .15s,background .15s}
.co-themetoggle:hover{color:#fff;border-color:rgba(255,255,255,.32)}
.co-themetoggle:focus-visible{outline:2px solid var(--co-blue);outline-offset:2px}
.co-themetoggle__sun{display:block}
.co-themetoggle__moon{display:none}
html[data-theme="dark"] .co-themetoggle__sun{display:none}
html[data-theme="dark"] .co-themetoggle__moon{display:block}
