/* ===== INTER, SELF-HOSTED ==================================================
   Was a <link> to fonts.googleapis.com, which was the single biggest drag on
   first paint: the browser had to fetch a stylesheet from one third-party
   origin, parse it, then fetch the font from a second (fonts.gstatic.com) --
   two DNS lookups, two TLS handshakes and a render-blocking round trip before
   any text could appear. Lighthouse costed the chain at ~710ms.

   Google's CSS also served cyrillic, cyrillic-ext, greek, greek-ext,
   vietnamese, latin-ext and latin. This site is en-CA; only latin is kept.

   The four declarations below are Google's own, verbatim, with the URL
   repointed at this repo. Inter v20 is a variable font, so all four weights
   are the SAME 48KB file -- the browser fetches it once and instantiates each
   weight from it. Keeping Google's exact weight declarations rather than
   collapsing them into one variable `font-weight: 100 900` range means this
   is provably identical to what was rendering before, not a guess about the
   weight axis.

   Inter is licensed SIL OFL 1.1, which permits self-hosting.
   ========================================================================= */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-latin.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;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-latin.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;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-latin.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;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-latin.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;
}

/* ============================================================
   HALTON DATA CENTER — Design System v2
   Sophisticated, precise, quietly confident — with deliberate
   moments of wow. Shared across all pages.
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
    /* Brand */
    --blue: #0a6cf5;
    --blue-deep: #0353c7;
    --sky: #38bdf8;
    --cyan: #22d3ee;
    --navy: #0b1120;
    --blue-tint: #eef4ff;
    --blue-tint-2: #f5f9ff;

    /* Neutrals — Apple-calibrated */
    --white: #ffffff;
    --off-white: #f5f6f8;
    --hairline: rgba(11, 17, 32, 0.09);

    /* Text */
    --text: #0d1220;
    --text-2: #47506b;
    --text-3: #7a819a;

    /* Gradients */
    --grad-accent: linear-gradient(100deg, #4fa2ff 0%, #38bdf8 55%, #22d3ee 100%);
    --grad-cta: linear-gradient(140deg, #0a6cf5 0%, #0353c7 60%, #0b2a5b 100%);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;

    /* Layout */
    --max-width: 1200px;
    --r-sm: 12px;
    --r: 18px;
    --r-lg: 28px;
    --r-pill: 980px;

    /* Shadows — soft, diffuse, never harsh */
    --shadow-sm: 0 1px 2px rgba(11,17,32,0.05), 0 2px 8px rgba(11,17,32,0.04);
    --shadow: 0 2px 6px rgba(11,17,32,0.05), 0 10px 28px rgba(11,17,32,0.07);
    --shadow-lg: 0 4px 12px rgba(11,17,32,0.06), 0 24px 56px rgba(11,17,32,0.12);
    --shadow-blue: 0 6px 20px rgba(10,108,245,0.28);

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 0.3s;

    /* Legacy aliases — referenced inline by page markup */
    --brand-blue: var(--blue);
    --brand-blue-dark: var(--blue-deep);
    --brand-navy: var(--navy);
    --brand-sky: var(--sky);
    --text-primary: var(--text);
    --text-secondary: var(--text-2);
    --text-tertiary: var(--text-3);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    font-size: 17px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: rgba(10,108,245,0.18); }
:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== TOP BAR ===== */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.62);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 9px 0;
    letter-spacing: 0.015em;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar a { color: rgba(255,255,255,0.62); transition: color var(--dur); }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 14px; align-items: center; }
.topbar-links span {
    /* renders the "|" separators as 1px hairlines */
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.18);
    overflow: hidden;
    text-indent: -999px;
}
.topbar-phone {
    font-weight: 600;
    color: #fff !important;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

/* ===== NAVIGATION — translucent glass ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.85);
    border-bottom-color: var(--hairline);
    box-shadow: 0 1px 20px rgba(11,17,32,0.05);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}
.brand-logo { height: 34px; width: auto; }
.nav-menu { display: flex; gap: 2px; align-items: center; }
.nav-menu a {
    display: block;
    padding: 8px 14px;
    color: var(--text-2);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    border-radius: var(--r-pill);
    transition: color var(--dur), background var(--dur);
    white-space: nowrap;
}
.nav-menu a:hover { color: var(--text); background: rgba(11,17,32,0.05); }
.nav-menu a.active { color: var(--blue); font-weight: 600; }

/* ===== BUTTONS — pill, precise ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--r-pill);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.005em;
    line-height: 1.4;
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur), color var(--dur), border-color var(--dur);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 1px 3px rgba(10,108,245,0.35);
}
.btn-primary:hover {
    background: var(--blue-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}
.btn-white {
    background: rgba(255,255,255,0.94);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}
.btn-white:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline {
    background: transparent;
    color: var(--blue);
    box-shadow: inset 0 0 0 1.5px var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-ghost {
    background: rgba(255,255,255,0.14);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.24);
    transform: translateY(-2px);
}

/* ===== HERO — cinematic ===== */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(90% 120% at 85% -10%, rgba(56,189,248,0.16) 0%, transparent 55%),
        linear-gradient(112deg, rgba(7,11,22,0.93) 0%, rgba(9,14,28,0.78) 46%, rgba(11,17,32,0.42) 100%);
}
.hero::after {
    /* grounds the hero into the page — subtle bottom fade */
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 120px;
    z-index: -1;
    background: linear-gradient(to bottom, transparent, rgba(7,11,22,0.55));
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 96px 0;
    color: var(--white);
}
.hero h1 {
    font-size: clamp(2.6rem, 5.4vw, 4.1rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.032em;
    margin-bottom: 24px;
    color: #fff;
}
.hero h1 span {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-text {
    font-size: 1.16rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    margin-bottom: 38px;
    max-width: 560px;
    font-weight: 400;
    letter-spacing: -0.008em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: rgba(255,255,255,0.88);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 26px;
}

/* Gradient hero — service pages (no photo, pure light) */
.hero-tech {
    background:
        radial-gradient(75% 110% at 80% -10%, rgba(10,108,245,0.30) 0%, transparent 55%),
        radial-gradient(55% 90% at 12% 110%, rgba(34,211,238,0.14) 0%, transparent 60%),
        linear-gradient(160deg, #0b1120 0%, #0d1730 55%, #0b1120 100%);
}
.hero-tech::before {
    /* fine engineering grid, fading toward the text */
    background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(85% 100% at 70% 40%, #000 0%, transparent 75%);
    mask-image: radial-gradient(85% 100% at 70% 40%, #000 0%, transparent 75%);
}

/* Tall cinematic variant (home page) */
.hero-home { min-height: min(88vh, 820px); }
.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 3;
    width: 26px;
    height: 42px;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.hero-scroll-cue::before {
    content: '';
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: rgba(255,255,255,0.7);
    animation: cueDrop 2.2s var(--ease) infinite;
}
@keyframes cueDrop {
    0%   { opacity: 0; transform: translateY(-2px); }
    30%  { opacity: 1; }
    70%  { opacity: 1; transform: translateY(10px); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ===== FULL-WIDTH PHOTO DIVIDER — parallax ===== */
.photo-divider {
    height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
    .photo-divider { background-attachment: fixed; }
}
.photo-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(7,11,22,0.78), rgba(7,11,22,0.62));
}
.photo-divider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 28px;
}
.photo-divider h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.028em;
}
.photo-divider p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    font-weight: 400;
    letter-spacing: -0.005em;
}

/* ===== SECTIONS ===== */
.section { padding: 128px 0; }
.section-alt { background: var(--off-white); }
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 72px;
}
.section-tag {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}
.section-header h2,
.sec-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.08;
    letter-spacing: -0.028em;
    margin-bottom: 20px;
}
.section-header p,
.sec-subtitle {
    font-size: 1.12rem;
    color: var(--text-2);
    line-height: 1.75;
    letter-spacing: -0.008em;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
    will-change: transform;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: var(--blue-tint);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 24px rgba(10,108,245,0.16);
}
.service-card-body { padding: 34px 30px 32px; }
.service-card h3 {
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.018em;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.94rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 18px;
}
.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: -0.005em;
    transition: gap var(--dur);
}
.service-card:hover .card-link { text-decoration: underline; text-underline-offset: 4px; }

/* ===== SOFTWARE STACK ===== */
.section-stack { padding: 84px 0; }
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.stack-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 26px 24px 24px;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
}
.stack-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.stack-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}
.stack-by {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-2);
    margin-top: 2px;
}
.stack-card p {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 14px;
}
.stack-card:hover .card-link { text-decoration: underline; text-underline-offset: 4px; }

.stack-credit {
    display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
    margin-top: 36px; color: var(--text-2); font-size: 0.92rem;
}
.stack-credit img { height: 22px; width: auto; opacity: 0.8; }
.stack-credit a.card-link { font-size: 0.92rem; }

/* ===== FEATURE GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 44px 36px;
}
.features-grid-3 { grid-template-columns: repeat(3, 1fr); }
.features-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; }
.feature-box { text-align: center; }
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-tint);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--blue);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.feature-box:hover .feature-icon {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 24px rgba(10,108,245,0.16);
}
.feature-box h3 {
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.014em;
    margin-bottom: 10px;
}
.feature-box p {
    font-size: 0.92rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ===== SPLIT LAYOUT ===== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-img {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; display: block; transition: transform 1.2s var(--ease-out); }
.split-img:hover img { transform: scale(1.03); }
.split-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.026em;
    margin-bottom: 20px;
}
.split-text p {
    font-size: 1.04rem;
    color: var(--text-2);
    line-height: 1.78;
    letter-spacing: -0.006em;
    margin-bottom: 22px;
}

/* ===== CHECK LIST ===== */
.check-list { list-style: none; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97rem;
    color: var(--text-2);
    margin-bottom: 13px;
    line-height: 1.6;
}
.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--blue-tint);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%230a6cf5' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ===== STATS BAR — dark, luminous ===== */
.stats-bar {
    background:
        radial-gradient(70% 140% at 15% 0%, rgba(10,108,245,0.16) 0%, transparent 55%),
        radial-gradient(60% 130% at 85% 100%, rgba(34,211,238,0.10) 0%, transparent 55%),
        var(--navy);
    padding: 76px 0;
    position: relative;
}
.stats-bar::before, .stats-bar::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
}
.stats-bar::before { top: 0; }
.stats-bar::after { bottom: 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-num {
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #ffffff 30%, #9fc6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.62);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ===== CTA BANNER — gradient glow ===== */
.cta-banner {
    background:
        radial-gradient(80% 160% at 50% -30%, rgba(56,189,248,0.35) 0%, transparent 60%),
        var(--grad-cta);
    padding: 108px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta-banner h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 600;
    letter-spacing: -0.028em;
    margin-bottom: 16px;
    color: #fff;
}
.cta-banner p {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FORMS ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info h1,
.contact-info h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 18px;
    letter-spacing: -0.026em;
}
.contact-info > p {
    font-size: 1.04rem;
    color: var(--text-2);
    line-height: 1.78;
    margin-bottom: 30px;
}
.contact-details p {
    font-size: 0.97rem;
    color: var(--text-2);
    margin-bottom: 9px;
}
.contact-highlight {
    color: var(--blue) !important;
    font-weight: 600;
    font-size: 1.08rem !important;
    font-variant-numeric: tabular-nums;
}
.contact-form {
    background: var(--white);
    border: 1px solid var(--hairline);
    padding: 40px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}
.quote-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}
.quote-card .input-field { margin-bottom: 12px; }
.input-field {
    width: 100%;
    padding: 14px 18px;
    background: var(--off-white);
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    margin-bottom: 14px;
    transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
    outline: none;
}
.input-field:hover { background: #eef0f4; }
.input-field:focus {
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(10,108,245,0.12);
}
.input-field::placeholder { color: var(--text-3); }
textarea.input-field { min-height: 120px; resize: vertical; }
.form-success { padding: 12px 4px; }
.form-success h3 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.form-success p { color: var(--text-2); margin-bottom: 12px; }
.form-success-note { font-size: 0.9rem; color: var(--text-3); }
.form-success a { color: var(--blue); font-weight: 600; }
.form-privacy { font-size: 0.8rem; color: var(--text-3); margin-top: 12px; line-height: 1.5; }
.form-privacy a { color: var(--text-2); }
.form-error { margin-top: 14px; font-size: 0.9rem; color: #b42318; line-height: 1.5; }
.form-error a { color: #b42318; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
select.input-field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a819a' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }

/* ===== DETAIL GRID (service pages) ===== */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.detail-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 38px;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
    overflow: hidden;
}
.detail-card::before {
    /* cursor spotlight — driven by script.js custom props */
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(10,108,245,0.06), transparent 65%);
    pointer-events: none;
}
.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.detail-card:hover::before { opacity: 1; }
.detail-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.014em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.detail-card p {
    font-size: 0.94rem;
    color: var(--text-2);
    line-height: 1.72;
}
.detail-card-wide {
    grid-column: 1 / -1;
    background: linear-gradient(120deg, var(--blue-tint-2) 0%, var(--white) 55%);
    border-color: rgba(10,108,245,0.22);
}
.detail-card-wide p { max-width: 70ch; }

/* ===== SWITCH STEPS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.step {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 38px;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.step-num {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(160deg, var(--blue) 0%, var(--sky) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.014em;
    margin-bottom: 10px;
}
.step p {
    font-size: 0.94rem;
    color: var(--text-2);
    line-height: 1.72;
}

/* ===== REVIEWS ===== */
.reviews-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}
.reviews-num {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.reviews-stars {
    color: #f5a623;
    font-size: 1.15rem;
    letter-spacing: 0.14em;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.review-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.review-card blockquote {
    font-size: 1.02rem;
    color: var(--text);
    line-height: 1.7;
    letter-spacing: -0.008em;
    flex: 1;
}
.review-card figcaption {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}
.review-card figcaption span {
    display: block;
    font-weight: 500;
    font-size: 0.78rem;
    color: var(--text-3);
    margin-top: 2px;
}
.reviews-more {
    text-align: center;
    margin-top: 36px;
}
.reviews-more a {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.92rem;
}
.reviews-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.reviews-discretion {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    max-width: 640px;
    margin: 44px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
    color: var(--text-3);
}
.reviews-discretion svg { flex-shrink: 0; margin-top: 4px; }
.reviews-discretion p {
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: left;
}

/* ===== DARK SECTION (Under the Hood) ===== */
.section-dark {
    background:
        radial-gradient(70% 100% at 82% 0%, rgba(56,189,248,0.13) 0%, transparent 55%),
        radial-gradient(50% 80% at 8% 95%, rgba(10,108,245,0.10) 0%, transparent 60%),
        var(--navy);
    color: rgba(255,255,255,0.72);
    position: relative;
}
.section-dark .split-text h2 { color: #fff; }
.section-dark .split-text p { color: rgba(255,255,255,0.68); }
.section-tag-light {
    color: transparent;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 8px 24px rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.eng-panel {
    position: relative;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-lg);
    padding: 42px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden;
}
.eng-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(56,189,248,0.10), transparent 65%);
    pointer-events: none;
}
.eng-panel:hover::before { opacity: 1; }
.eng-panel-light {
    background: var(--white);
    border: 1px solid var(--hairline);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.eng-panel-light .eng-stat { border-bottom-color: var(--hairline); }
.eng-panel-light .eng-stat-label { color: var(--text-2); }
.eng-panel-light .eng-logo-chip { border: 1px solid var(--hairline); }
.eng-logo-chip {
    background: #fff;
    border-radius: var(--r);
    padding: 20px 26px;
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}
.eng-logo-chip img { max-height: 46px; width: auto; }
.eng-stats { display: grid; gap: 24px; }
.eng-stat {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.eng-stat:last-child { border-bottom: none; padding-bottom: 0; }
.eng-stat-num {
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    min-width: 84px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.eng-stat-label {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.55;
}

/* ===== CANADIAN CLOUD SECTION ===== */
.section-cloud {
    background:
        radial-gradient(70% 110% at 85% -10%, rgba(10,108,245,0.22) 0%, transparent 55%),
        radial-gradient(50% 90% at 10% 100%, rgba(34,211,238,0.12) 0%, transparent 60%),
        linear-gradient(160deg, #0b1120 0%, #0e1832 55%, #0b1120 100%);
    color: rgba(255,255,255,0.72);
}
.section-cloud .split-text h2 { color: #fff; }
.section-cloud .split-text p { color: rgba(255,255,255,0.68); }

/* ===== OPS SECTION — NOC terminal ===== */
.section-ops {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 90% at 85% 15%, rgba(10,108,245,0.12) 0%, transparent 55%),
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        #090e1c;
    background-size: auto, 44px 44px, 44px 44px, auto;
    color: rgba(255,255,255,0.72);
}
.section-ops > .container { position: relative; z-index: 2; }
.ops-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.ops-aurora {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 55vw;
    height: 55vw;
    left: -12%;
    top: -18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 65%);
    filter: blur(80px);
    will-change: transform;
    animation: opsAurora 27s ease-in-out infinite alternate;
}
@keyframes opsAurora {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(20vw, 14vh, 0) scale(1.3); }
}
@media (prefers-reduced-motion: reduce) {
    .ops-aurora { animation: none; }
}
.nok-flash { animation: nokFlash 0.9s ease; }
@keyframes nokFlash {
    0%   { color: #34d399; text-shadow: none; }
    30%  { color: #d1fae5; text-shadow: 0 0 12px rgba(52,211,153,0.95); }
    100% { color: #34d399; text-shadow: none; }
}
.section-ops .split-text h2 { color: #fff; }
.section-ops .split-text p { color: rgba(255,255,255,0.68); }
.section-ops .split-text em { font-style: normal; color: var(--sky); }
.section-ops .check-list li { color: rgba(255,255,255,0.68); }
.section-ops .check-list li::before { background-color: rgba(56,189,248,0.14); }
.pulse-board {
    background: rgba(6,10,20,0.85);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-lg);
    padding: 44px 40px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 80px rgba(10,108,245,0.10);
}
.pulse-head {
    text-align: center;
    padding-bottom: 28px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pulse-num {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.pulse-sub {
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.noc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}
.noc-panel {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
}
.noc-title {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 8px;
}
.noc-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 5px 0;
    font-family: 'SF Mono', ui-monospace, 'Roboto Mono', Menlo, Consolas, monospace;
    font-size: 0.72rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.noc-row:last-child { border-bottom: none; }
.noc-row .nk { color: rgba(255,255,255,0.45); min-width: 68px; }
.noc-row .nvs { flex: 1; color: rgba(255,255,255,0.60); white-space: nowrap; overflow: hidden; }
.noc-row em { font-style: normal; font-variant-numeric: tabular-nums; }
.noc-row .nv { color: #7dd3fc; }
.noc-row .nt { color: #fbbf24; }
.noc-row .nok {
    color: #34d399;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
}
.noc-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.40);
}
@media (max-width: 768px) {
    .pulse-board { padding: 28px 22px; }
    .noc-grid { grid-template-columns: 1fr; }
    .noc-row .nk { min-width: 64px; }
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.48);
    padding: 72px 0 40px;
    font-size: 0.86rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 28px;
}
.footer-brand p {
    color: rgba(255,255,255,0.48);
    font-size: 0.86rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}
.footer-logo { height: 30px; width: auto; }
.nuaj-logo { height: 20px; margin-top: 16px; opacity: 0.55; transition: opacity var(--dur); }
.nuaj-logo:hover { opacity: 0.9; }
.footer-nuaj { display: inline-block; }
.nuaj-wordmark {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    color: rgba(255,255,255,0.5);
    transition: color var(--dur);
}
.nuaj-wordmark:hover { color: rgba(255,255,255,0.85); }
.nuaj-wordmark-dark {
    color: var(--text-3);
    font-size: 1.1rem;
    margin-top: 0;
}
.footer-col h5 {
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.48);
    font-size: 0.88rem;
    margin-bottom: 10px;
    transition: color var(--dur);
    width: fit-content;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.38);
}
.footer-bottom a { color: rgba(255,255,255,0.48); }
.footer-bottom a:hover { color: #fff; }

/* ===== MOBILE NAV ===== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.35s var(--ease);
    border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== ENTRANCE CHOREOGRAPHY ===== */
.hero-content > * {
    animation: heroRise 1s var(--ease-out) both;
}
.hero-content > *:nth-child(2) { animation-delay: 0.12s; }
.hero-content > *:nth-child(3) { animation-delay: 0.24s; }
.hero-content > *:nth-child(4) { animation-delay: 0.36s; }
@keyframes heroRise {
    from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0);   filter: blur(0); }
}

/* Scroll-driven reveal — pure CSS, no JS. Browsers without support
   simply show everything; content can never be stuck hidden. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .service-card, .feature-box, .step, .review-card, .detail-card,
        .section-header, .split-text, .split-img, .eng-panel,
        .quote-card, .pulse-board {
            animation: viewRise both;
            animation-timeline: view();
            animation-range: entry 5% entry 45%;
        }
    }
}
@keyframes viewRise {
    from { opacity: 0.001; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .hero-content > * { animation: none; }
    .reveal { opacity: 1; transform: none; filter: none; transition: none; }
    .hero-scroll-cue { display: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stack-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid, .features-grid-3, .features-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .topbar { display: none; }
    .detail-grid { grid-template-columns: 1fr; }
    .section { padding: 96px 0; }
    .hero-home { min-height: 620px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-cta-desk { display: none; }
    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(255,255,255,0.96);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s var(--ease), visibility 0.35s;
        z-index: 150;
    }
    .nav-menu.open { opacity: 1; visibility: visible; }
    .nav-menu a { font-size: 1.25rem; padding: 14px 28px; font-weight: 600; }
    .services-grid { grid-template-columns: 1fr; }
    .stack-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
    .section-header { margin-bottom: 48px; }
    .photo-divider { height: 300px; }
    .hero { min-height: 480px; }
    .hero-home { min-height: 560px; }
    .hero-content { padding: 72px 0; }
    .hero h1 { font-size: 2.3rem; }
    .hero-text { font-size: 1.05rem; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .container { padding: 0 22px; }
    .split { gap: 36px; }
    .eng-panel, .detail-card, .contact-form, .quote-card { padding: 28px; }
    .cta-banner { padding: 80px 0; }
    .hero-scroll-cue { display: none; }
}

/* ===== FOOTER SOCIAL + LEGAL ===== */
.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}
.footer-social a {
    color: rgba(255,255,255,0.42);
    display: inline-flex;
    transition: color var(--dur);
}
.footer-social a:hover { color: #fff; }
.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-legal span { opacity: 0.5; }

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
}
.legal-content h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.legal-content .legal-date {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-bottom: 32px;
}
.legal-content h2 {
    font-size: 1.3rem;
    margin: 36px 0 12px;
    color: var(--text-primary);
}
.legal-content h3 {
    font-size: 1.05rem;
    margin: 22px 0 8px;
    color: var(--text-primary);
}
.legal-content p, .legal-content li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--brand-blue); }

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    justify-content: center;
    gap: 28px;
    margin-top: 48px;
}
.team-card {
    background: var(--bg, #fff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 32px;
    text-align: center;
}
.team-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.team-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.team-card .team-role {
    color: var(--brand-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.team-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}
.faq-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--hairline);
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 10px;
}
.faq-a {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== PRINT =====
   Scroll-driven reveals never run when printing, which would leave
   sections blank on paper. Force everything visible and drop the chrome. */
@media print {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .navbar, .topbar, .nav-toggle, .hero-scroll-cue,
    .footer-social, .ops-aurora, #opsCanvas { display: none !important; }
    body { background: #fff; color: #000; font-size: 11pt; }
    .section { padding: 24pt 0; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ===== CONSENT BANNER =====================================================
   Injected by script.js. position:fixed so it can never shift page layout
   (Core Web Vitals), and translateY off-screen until .is-in so the entrance
   is a transform rather than a reflow. Buttons are sized here rather than via
   a new global .btn-sm, since nothing else needs a small button yet. */
.consent-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 18px 22px;
    background: var(--navy);
    color: rgba(255,255,255,0.88);
    border-radius: var(--r-lg);
    box-shadow: 0 18px 50px rgba(11,17,32,0.34);
    transform: translateY(calc(100% + 24px));
    transition: transform 0.32s var(--ease-out);
}
.consent-bar.is-in { transform: translateY(0); }
.consent-text {
    margin: 0;
    flex: 1 1 380px;
    font-size: 0.93rem;
    line-height: 1.5;
}
.consent-text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.consent-bar .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
}
@media (max-width: 620px) {
    .consent-bar { padding: 16px 18px; gap: 14px; }
    .consent-actions { width: 100%; }
    .consent-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .consent-bar { transition: none; }
}
