/* DigitizeWeb shared stylesheet (moved out of index.html so every page can cache it) */
/* =========================================================
   DigitizeWeb: design tokens
   Brand blue (#1c75bc) is sampled from the logo artwork.
   ========================================================= */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/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: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/space-grotesk-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; }

/* Metric-matched fallbacks (computed from the font files with fontTools; heading values tuned to measured headline width) so text does not jump when the web fonts swap in */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Roboto"); size-adjust: 107.25%; ascent-override: 90.33%; descent-override: 22.49%; line-gap-override: 0%; }
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"); font-weight: 700; size-adjust: 100%; ascent-override: 98.39%; descent-override: 29.20%; line-gap-override: 0%; }
@font-face { font-family: "Space Grotesk Fallback Android"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 700; size-adjust: 106.5%; ascent-override: 92.38%; descent-override: 27.42%; line-gap-override: 0%; }

:root {
    --brand: #1c75bc;
    --brand-strong: #155e99;
    --brand-soft: #e8f2fb;
    --accent: #f97316;
    --accent-strong: #c2410c;
    --violet: #7c3aed;
    --teal: #0d9488;
    --pink: #db2777;
    --success: #15803d;
    --danger: #b91c1c;

    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --text: #0f172a;
    --text-2: #334155;
    --muted: #526073;
    --header-bg: rgba(255, 255, 255, 0.82);

    --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Space Grotesk", "Space Grotesk Fallback", "Space Grotesk Fallback Android", system-ui, sans-serif;

    --step--1: 0.875rem;
    --step-0: 1rem;
    --step-1: 1.125rem;
    --step-2: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    --step-3: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
    --step-4: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
    --step-5: clamp(2.3rem, 1.5rem + 3vw, 3.75rem);

    --space-section: clamp(4rem, 2.5rem + 5vw, 6.5rem);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.18);
    --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --container: 1200px;
}

[data-theme="dark"] {
    --brand: #5aaee8;
    --brand-strong: #8cc7f0;
    --brand-soft: rgba(90, 174, 232, 0.12);
    --accent: #fb923c;
    --accent-strong: #fdba74;
    --bg: #0b1220;
    --surface: #111a2c;
    --surface-2: #16223a;
    --border: #1f2c45;
    --border-strong: #2d3d5c;
    --text: #e8eef7;
    --text-2: #c3cfdf;
    --muted: #94a3b8;
    --header-bg: rgba(11, 18, 32, 0.8);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--text-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 700;
    text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

.intro-loader { display: none; }
.intro { --intro: 750ms; }
.intro .intro-loader {
    position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
    background: var(--bg);
    animation: intro-out 380ms var(--ease-out) 720ms forwards;
}
.intro-inner { display: grid; justify-items: center; gap: 22px; }
.intro-inner img { height: 64px; width: auto; animation: intro-logo 600ms var(--ease-out) both; }
.intro-loader .logo-dark { display: none; }
[data-theme="dark"] .intro-loader .logo-light { display: none; }
[data-theme="dark"] .intro-loader .logo-dark { display: block; }
.intro-bar { display: block; width: 150px; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.intro-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: 0 50%; animation: intro-bar 700ms var(--ease-out) 80ms forwards; }
@keyframes intro-logo { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
@keyframes intro-bar { to { transform: scaleX(1); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

.skip-link {
    position: fixed; left: 16px; top: 12px; z-index: 1000;
    padding: 10px 18px; border-radius: 999px;
    background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
    transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress {
    position: fixed; inset: 0 0 auto; height: 3px; z-index: 200;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform-origin: 0 50%; transform: scaleX(0);
}

/* =========================================================
   Buttons, eyebrows, section heads
   ========================================================= */
.btn {
    --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--border-strong);
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    border: 1px solid var(--btn-bd); border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    font-weight: 600; font-size: 0.97rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms, border-color 220ms, color 220ms;
    overflow: hidden; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); }
.btn:active { transform: translateY(0); }
.btn .i { transition: transform 220ms var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: transparent; box-shadow: 0 8px 24px -8px rgba(28, 117, 188, 0.6); }
[data-theme="dark"] .btn-primary { --btn-bg: #1c75bc; }
.btn-primary::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-100%); transition: transform 700ms var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { --btn-bg: var(--brand-strong); border-color: transparent; }
[data-theme="dark"] .btn-primary:hover { --btn-bg: #155e99; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; margin-bottom: 18px;
    border: 1px solid var(--border); border-radius: 999px;
    background: var(--surface);
    color: var(--brand-strong); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(249, 115, 22, 0); } }

.section { padding-block: var(--space-section); position: relative; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 { font-size: var(--step-4); margin-bottom: 16px; }
.section-head p:not(.eyebrow) { font-size: var(--step-1); color: var(--muted); }
.grad-text {
    background: linear-gradient(100deg, var(--brand) 0%, #3b9be0 45%, var(--brand-strong) 90%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 250ms, box-shadow 250ms;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px -14px rgba(15, 23, 42, 0.25); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: 46px; width: auto; }
.brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: block; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.primary-nav a {
    position: relative; display: block; padding: 8px 15px; border-radius: 999px;
    color: var(--muted); font-size: 0.93rem; font-weight: 500; text-decoration: none;
    transition: color 200ms, background 200ms;
}
.primary-nav a:hover { color: var(--text); background: var(--surface-2); }
.primary-nav a[aria-current="true"] { color: var(--brand-strong); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text);
    cursor: pointer; transition: transform 300ms var(--ease-out), border-color 200ms;
}
.icon-btn:hover { border-color: var(--brand); }
.theme-toggle:hover .i { transform: rotate(25deg); }
.theme-toggle .i { transition: transform 400ms var(--ease-out); }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }

@media (max-width: 991px) {
    .menu-toggle { display: inline-grid; }
    .header-cta { display: none; }
    .header-actions { margin-left: auto; }
    .primary-nav {
        position: fixed; inset: 72px 0 auto; margin: 0;
        padding: 16px 20px 24px; background: var(--surface); border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity 220ms, transform 260ms var(--ease-out), visibility 0s 260ms;
    }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms, transform 260ms var(--ease-out); }
    .primary-nav ul { flex-direction: column; border: 0; padding: 0; background: none; gap: 4px; }
    .primary-nav a { padding: 13px 16px; font-size: 1.05rem; border-radius: 12px; }
    .primary-nav .nav-cta { display: flex; margin-top: 12px; }
    .primary-nav .nav-cta .btn { display: flex; width: 100%; color: #fff; background: #1c75bc; padding: 14px 20px; border-radius: 999px; }
}
@media (min-width: 992px) { .primary-nav .nav-cta { display: none; } }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(3.5rem, 2rem + 4vw, 6rem); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    opacity: 0.6;
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; animation: drift 18s ease-in-out infinite alternate; }
.blob-1 { width: 460px; height: 460px; background: #5aaee8; top: -140px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #fdba74; bottom: -160px; left: -120px; animation-delay: -6s; opacity: 0.35; }
.blob-3 { width: 300px; height: 300px; background: #7dd3fc; top: 30%; left: 45%; animation-delay: -12s; opacity: 0.22; }
[data-theme="dark"] .blob { opacity: 0.22; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--step-5); margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); max-width: 56ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 0.93rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.flags { display: inline-flex; gap: 5px; margin-left: 4px; vertical-align: middle; }
.flags img { width: 21px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--border); transition: transform 250ms var(--ease-out); }
.flags img:hover { transform: translateY(-2px) scale(1.12); }
.flags-center { display: flex; justify-content: center; margin: 12px 0 0; }
.hero-trust .i { color: var(--success); width: 18px; height: 18px; }
[data-theme="dark"] .hero-trust .i { color: #4ade80; }

/* Load-in choreography (CSS only, so it runs before any JS) */
.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise 800ms var(--ease-out) var(--intro, 0ms) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: calc(var(--intro, 0ms) + 90ms); }
.js .hero-copy > :nth-child(3) { animation-delay: calc(var(--intro, 0ms) + 180ms); }
.js .hero-copy > :nth-child(4) { animation-delay: calc(var(--intro, 0ms) + 270ms); }
.js .hero-copy > :nth-child(5) { animation-delay: calc(var(--intro, 0ms) + 360ms); }
.js .hero-visual { opacity: 0; transform: translateY(24px) scale(0.98); animation: rise 1000ms calc(var(--intro, 0ms) + 200ms) var(--ease-out) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Illustrative product mock-up (decorative) */
.hero-visual { position: relative; padding: 28px 28px 40px 0; }
.mock-browser {
    position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
    transition: transform 600ms var(--ease-out);
}
.hero-visual:hover .mock-browser { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.mock-dots span:nth-child(2) { background: #fbbf24; }
.mock-dots span:nth-child(3) { background: #34d399; }
.mock-url { flex: 1; padding: 5px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.mock-url .i { width: 12px; height: 12px; color: var(--success); }
.mock-body { padding: 22px; display: grid; gap: 16px; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-logo { width: 74px; height: 12px; border-radius: 6px; background: var(--brand); opacity: 0.85; }
.mock-links { display: flex; gap: 8px; }
.mock-links span { width: 34px; height: 8px; border-radius: 4px; background: var(--border-strong); }
.mock-hero { display: grid; gap: 9px; padding: 18px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), transparent); }
.sk { height: 10px; border-radius: 5px; background: var(--border-strong); position: relative; overflow: hidden; }
.sk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-100%); animation: shimmer 2.4s infinite; }
[data-theme="dark"] .sk::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent); }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-title { height: 16px; width: 78%; background: var(--text); opacity: 0.85; }
.sk-title.short { width: 52%; }
.sk-btns { display: flex; gap: 8px; margin-top: 6px; }
.sk-btns span { height: 22px; width: 78px; border-radius: 999px; background: var(--brand); }
.sk-btns span + span { background: transparent; border: 1.5px solid var(--border-strong); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { padding: 12px; border-radius: 12px; border: 1px solid var(--border); display: grid; gap: 7px; }
.mock-card i { width: 22px; height: 22px; border-radius: 7px; background: var(--brand-soft); display: block; }
.mock-card:nth-child(2) i { background: rgba(249, 115, 22, 0.16); }
.mock-card:nth-child(3) i { background: rgba(124, 58, 237, 0.14); }

.float {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 14px; border: 1px solid var(--border);
    background: var(--surface); box-shadow: var(--shadow); font-size: 0.82rem; color: var(--text); font-weight: 600;
    animation: bob 6s ease-in-out infinite;
}
.float small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }
.float-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; flex: none; }
.float-ico .i { width: 18px; height: 18px; }
.float-ai { top: 0; right: -6px; max-width: 250px; align-items: flex-start; animation-delay: -2s; }
.float-ai .float-ico { background: linear-gradient(135deg, #1c75bc, #3b9be0); }
.typing { display: inline-flex; gap: 3px; margin-top: 6px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.float-conf { bottom: 6px; left: -28px; animation-delay: -4s; }
.float-conf .float-ico { background: linear-gradient(135deg, var(--pink), #f472b6); }
.mock-phone {
    position: absolute; z-index: 3; right: -4px; bottom: -6px; width: 128px; padding: 10px 8px 14px;
    border-radius: 24px; border: 6px solid #0f172a; background: var(--surface); box-shadow: var(--shadow-lg);
    display: grid; gap: 7px; animation: bob 7s ease-in-out infinite; animation-delay: -1s;
}
.mock-phone::before { content: ""; width: 34px; height: 5px; border-radius: 3px; background: #0f172a; justify-self: center; margin-bottom: 3px; }
.mock-phone .row { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 9px; background: var(--surface-2); }
.mock-phone .row i { width: 16px; height: 16px; border-radius: 5px; background: var(--brand); flex: none; }
.mock-phone .row:nth-child(3) i { background: var(--accent); }
.mock-phone .row:nth-child(4) i { background: var(--teal); }
.mock-phone .row .sk { flex: 1; height: 7px; }
.mock-phone .label { font-size: 0.66rem; font-weight: 700; color: var(--text); text-align: center; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* =========================================================
   Tech marquee
   ========================================================= */
.tech-band { padding: 26px 0; border-block: 1px solid var(--border); background: var(--surface); }
.tech-band h2 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; gap: 12px; padding-right: 12px; animation: scroll-x 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); font-weight: 500; font-size: 0.92rem; color: var(--text-2); white-space: nowrap; }
.tech-logo { width: 20px; height: 20px; flex: none; fill: var(--c, var(--text)); transition: transform 300ms var(--ease-out); }
.marquee-track li:hover .tech-logo { transform: scale(1.15); }
[data-theme="dark"] .tech-logo[style*="#1C3C3C"], [data-theme="dark"] .tech-logo[style*="#02569B"] { fill: var(--text); }
@keyframes scroll-x { to { transform: translateX(-100%); } }

/* =========================================================
   Services (bento grid)
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
    --mx: 50%; --my: 50%; --tone: var(--brand);
    position: relative; display: flex; flex-direction: column;
    padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--surface); overflow: hidden; isolation: isolate;
    transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out), border-color 350ms;
}
.card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 350ms;
    background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--tone) 14%, transparent), transparent 60%);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tone) 40%, var(--border)); }
.card:hover::before { opacity: 1; }
.card-wide { grid-column: span 2; }
.card-icon {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
    border-radius: 14px; color: var(--tone);
    background: color-mix(in srgb, var(--tone) 12%, transparent);
    transition: transform 400ms var(--ease-out);
}
.card:hover .card-icon { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.card-icon .i { width: 26px; height: 26px; }
.card h3 { font-size: var(--step-2); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.tags li { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.78rem; font-weight: 500; color: var(--text-2); }
.card-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 18px; padding: 4px 0; font-weight: 600; font-size: 0.93rem; color: var(--tone); text-decoration: none; }
.card-link .i { width: 18px; height: 18px; transition: transform 250ms var(--ease-out); }
.card:hover .card-link .i { transform: translateX(4px); }
.card-link:hover { text-decoration: underline; }
.tone-blue { --tone: #1c75bc; }
.tone-violet { --tone: #7c3aed; }
.tone-purple { --tone: #9333ea; }
.tone-teal { --tone: #0f766e; }
.tone-orange { --tone: #c2410c; }
.tone-pink { --tone: #be185d; }
.tone-indigo { --tone: #4f46e5; }
.tone-green { --tone: #15803d; }
[data-theme="dark"] .tone-blue { --tone: #5aaee8; }
[data-theme="dark"] .tone-violet { --tone: #a78bfa; }
[data-theme="dark"] .tone-purple { --tone: #c084fc; }
[data-theme="dark"] .tone-teal { --tone: #2dd4bf; }
[data-theme="dark"] .tone-orange { --tone: #fb923c; }
[data-theme="dark"] .tone-pink { --tone: #f472b6; }
[data-theme="dark"] .tone-indigo { --tone: #818cf8; }
[data-theme="dark"] .tone-green { --tone: #4ade80; }
.card-points { display: grid; gap: 8px; margin-top: 16px; }
.card-points li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--text-2); }
.card-points .i { color: var(--tone); width: 18px; height: 18px; margin-top: 3px; }

/* =========================================================
   Stats band
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: var(--border); border: 1px solid var(--border); margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.stat { padding: 28px 20px; text-align: center; background: var(--surface); }
.stat-value { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem); font-weight: 700; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-value span { color: var(--brand); }
.stat-label { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

/* =========================================================
   Why us
   ========================================================= */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.why-intro { position: sticky; top: 110px; }
.why-intro h2 { font-size: var(--step-4); margin-bottom: 18px; }
.why-intro p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); margin-bottom: 26px; }
.why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-cards .card { padding: 26px; }
.why-cards .card h3 { font-size: 1.2rem; }
.why-cards .card:nth-child(even) { transform: translateY(32px); }
.why-cards .card:nth-child(even):hover { transform: translateY(28px); }

/* =========================================================
   Process
   ========================================================= */
.process-wrap { position: relative; }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-line { position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: var(--border); }
.process-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform 150ms linear; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
    position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px;
    border-radius: 50%; border: 2px solid var(--brand); background: var(--bg);
    font-family: var(--font-display); font-weight: 700; color: var(--brand-strong);
    transition: background 300ms, color 300ms, transform 400ms var(--ease-out);
}
.step:hover .step-num { background: var(--brand); color: #fff; transform: scale(1.08); }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step-out { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 0.8rem; font-weight: 600; }
.step-out .i { width: 15px; height: 15px; }
.timeline-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 48px; padding: 18px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--muted); font-size: 0.95rem; }
.timeline-note strong { color: var(--text); }
.timeline-note .i { display: inline; vertical-align: -3px; color: var(--brand); width: 18px; height: 18px; margin-right: 4px; }

/* =========================================================
   Testimonials
   ========================================================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { margin: 0; }
.quote .stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: 16px; }
.quote .stars .i { width: 18px; height: 18px; }
.quote blockquote { margin: 0 0 22px; font-size: 1.05rem; color: var(--text); line-height: 1.6; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.quote figcaption strong { display: block; color: var(--text); font-size: 0.95rem; }
.quote figcaption span { font-size: 0.85rem; color: var(--muted); }
.q-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); flex: none; }
.q-avatar .i { width: 20px; height: 20px; }

/* =========================================================
   Team
   ========================================================= */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member { align-items: center; text-align: center; }
.member-photo { position: relative; width: 104px; height: 104px; margin-bottom: 18px; }
.member-photo::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(from 0deg, var(--brand), var(--accent), var(--brand)); animation: spin 8s linear infinite; opacity: 0; transition: opacity 400ms; }
.member:hover .member-photo::before { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.member-photo img, .member-initials { position: relative; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); background: var(--surface-2); }
.member-initials { display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1c75bc, #0e4f86); }
.member-emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 3.2rem; line-height: 1; background: linear-gradient(135deg, #e8f2fb, #fde7d4); }
[data-theme="dark"] .member-emoji { background: linear-gradient(135deg, #16365a, #4a2a14); }
.member h3 { font-size: 1.25rem; margin-bottom: 4px; }
.member .role { color: var(--brand-strong); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.member-links { display: flex; justify-content: center; gap: 8px; margin-top: auto; padding-top: 18px; }
.member-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); color: var(--text-2); transition: color 200ms, border-color 200ms, transform 300ms var(--ease-out); }
.member-links a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.member-links .i { width: 18px; height: 18px; }

/* =========================================================
   FAQ (native <details>, works without JS)
   ========================================================= */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; margin: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color 250ms, box-shadow 250ms; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--shadow-sm); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 22px; cursor: pointer; list-style: none;
    font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { color: var(--brand); transition: transform 300ms var(--ease-out); }
.faq-item[open] summary .i { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 22px; color: var(--muted); }
.faq-item[open] .faq-answer { animation: fade-down 350ms var(--ease-out); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* =========================================================
   Contact
   ========================================================= */
.contact-panel {
    display: grid; grid-template-columns: 0.85fr 1.15fr; overflow: hidden;
    border-radius: 28px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg);
}
.contact-aside {
    position: relative; padding: clamp(2rem, 1.5rem + 2vw, 3rem); color: #cfe0f2; isolation: isolate; overflow: hidden;
    background: radial-gradient(circle at 0% 0%, #1c75bc 0, transparent 55%), radial-gradient(circle at 100% 100%, rgba(249, 115, 22, 0.45) 0, transparent 50%), #0b1a30;
}
.contact-aside h2 { color: #fff; font-size: var(--step-3); margin-bottom: 14px; }
.contact-aside > p:not(.eyebrow) { margin-bottom: 30px; }
.contact-methods { display: grid; gap: 14px; margin-bottom: 34px; }
.contact-methods a, .contact-methods div { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-weight: 500; }
.contact-methods a:hover span:last-child { text-decoration: underline; }
.contact-methods .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); flex: none; }
.contact-methods small { display: block; color: #9fb7d1; font-weight: 400; font-size: 0.8rem; }
.method-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.copy-btn { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; transition: background 200ms; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.16); }
.copy-btn .i { width: 17px; height: 17px; }
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 300; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 0.92rem; box-shadow: var(--shadow-lg); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 250ms, transform 300ms var(--ease-out); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .i { width: 18px; height: 18px; color: #22c55e; }
.next-steps { counter-reset: n; display: grid; gap: 12px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.next-steps h3 { color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.next-steps li { counter-increment: n; display: flex; gap: 12px; font-size: 0.93rem; }
.next-steps li::before { content: counter(n); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 0.78rem; font-weight: 700; flex: none; }

.contact-form { padding: clamp(2rem, 1.5rem + 2vw, 3rem); }
.contact-form h3 { font-size: var(--step-2); margin-bottom: 6px; }
.contact-form > p { color: var(--muted); margin-bottom: 26px; font-size: 0.95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 15px;
    border: 1.5px solid var(--border-strong); border-radius: 12px; background: var(--bg); color: var(--text);
    transition: border-color 200ms, box-shadow 200ms, background 200ms;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23526073' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.75; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
[data-theme="dark"] .field [aria-invalid="true"] { border-color: #f87171; }
.field-error { display: none; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--danger); }
[data-theme="dark"] .field-error { color: #fca5a5; }
.field-error .i { width: 16px; height: 16px; }
.field-error.is-visible { display: flex; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: 0.82rem; max-width: 34ch; }
.form-status { display: none; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 500; font-size: 0.95rem; }
.form-status.is-visible { display: flex; animation: fade-down 300ms var(--ease-out); }
.form-status.ok { background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); }
.form-status.err { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); }
[data-theme="dark"] .form-status.ok { color: #86efac; }
[data-theme="dark"] .form-status.err { color: #fca5a5; }
.form-status .i { margin-top: 2px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 700ms linear infinite; display: none; }
.is-loading .spinner { display: block; }
.is-loading .i-send { display: none; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding: 64px 0 28px; background: #0b1220; color: #9fb0c6; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 38ch; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #c6d3e3; text-decoration: none; transition: color 200ms; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .i { width: 18px; height: 18px; margin-top: 3px; color: #5aaee8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #1f2c45; font-size: 0.85rem; }

.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow);
    cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity 250ms, transform 250ms var(--ease-out), visibility 0s 250ms;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 250ms, transform 250ms var(--ease-out); }
.to-top:hover { border-color: var(--brand); color: var(--brand); }

/* =========================================================
   Scroll reveal (only hidden when JS is running)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .why-cards .card[data-reveal].is-visible:nth-child(even) { transform: translateY(32px); }

.hero-grid > *, .why-grid > *, .faq-wrap > *, .contact-panel > *, .bento > *, .form-grid > * { min-width: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
    .hero-grid, .why-grid, .faq-wrap, .contact-panel { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .why-intro, .faq-wrap .section-head { position: static; }
    .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .process-line { display: none; }
    .quotes, .team { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .container { padding-inline: 16px; }
    .header-inner { height: 64px; }
    .primary-nav { inset: 64px 0 auto; }
    .brand img { height: 40px; }
    .bento, .why-cards, .quotes, .team, .form-grid { grid-template-columns: 1fr; }
    .card-wide { grid-column: auto; }
    .why-cards .card:nth-child(even), .js .why-cards .card[data-reveal].is-visible:nth-child(even) { transform: none; }
    .process { grid-template-columns: 1fr; }
    .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
    .step-num { margin: 0; grid-row: span 3; }
    .step-out { justify-self: start; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-visual { padding: 20px 8px 30px 0; }
    .float-ai { right: 0; max-width: 210px; }
    .float-conf { left: -4px; }
    .mock-phone { width: 104px; }
    .footer-grid { grid-template-columns: 1fr; }
    .to-top { right: 14px; bottom: 14px; }
}

.mobile-bar { display: none; }
@media (max-width: 680px) {
    .mobile-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: var(--header-bg); border-top: 1px solid var(--border);
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        transform: translateY(110%); transition: transform 300ms var(--ease-out);
    }
    .mobile-bar.is-visible { transform: none; }
    .mobile-bar .btn { min-height: 46px; padding: 10px 14px; font-size: 0.93rem; }
    .to-top { bottom: 84px; }
    .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
    .marquee { mask-image: none; -webkit-mask-image: none; }
    .marquee-track[aria-hidden="true"] { display: none; }
    .mock-browser { transform: none; }
}
@media print {
    .intro-loader, .site-header, .to-top, .scroll-progress, .hero-visual, .tech-band, .contact-form { display: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Inner pages: services, articles, hubs
   ========================================================= */
.primary-nav a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); }
.card h3 a, .card h2 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--tone); text-decoration: underline; text-underline-offset: 4px; }
.container.narrow { max-width: 860px; }
.center-link { margin-top: 32px; text-align: center; }

.breadcrumb { padding-top: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.88rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-strong); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text-2); font-weight: 500; }

.page-hero { position: relative; isolation: isolate; padding: clamp(1.75rem, 1rem + 3vw, 3.25rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4rem); border-bottom: 1px solid var(--border); }
.page-hero::before { content: ""; position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 55% 70% at 92% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
                radial-gradient(ellipse 35% 55% at 0% 100%, rgba(249, 115, 22, 0.1), transparent 70%); }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); max-width: 22ch; margin-bottom: 18px; }
.page-hero .lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem); color: var(--muted); max-width: 64ch; margin-bottom: 28px; }
.page-hero .eyebrow .i { width: 16px; height: 16px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.93rem; }
.page-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-meta .i { width: 17px; height: 17px; color: var(--brand); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-3 > * { min-width: 0; }
.split-2 { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.split-2 > * { min-width: 0; }

.prose { max-width: 72ch; font-size: 1.06rem; color: var(--text-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: var(--step-3); margin-top: 1.9em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-2); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); }
.prose code { font-size: 0.92em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }
.callout { margin-top: 2em; padding: 18px 22px; border-radius: var(--radius); background: var(--brand-soft); border-left: 4px solid var(--brand); }

.side-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.side-card h2 { font-size: 1.15rem; margin-bottom: 12px; }
.side-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.mini-steps { counter-reset: st; display: grid; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.mini-steps li { counter-increment: st; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; font-size: 0.95rem; color: var(--muted); }
.mini-steps li::before { content: counter(st); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; font-size: 0.85rem; }
.mini-steps strong { color: var(--text); font-family: var(--font-display); }
.side-note { display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--muted); }
.side-note .i { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }

.tech-row { margin-top: 40px; }
.tech-row h3 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip-list li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 13px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-weight: 500; font-size: 0.93rem; color: var(--text-2); }

a.related-card { text-decoration: none; color: inherit; }
a.related-card h2, a.related-card h3 { font-size: var(--step-2); margin-bottom: 10px; }
a.related-card .card-link { margin-top: auto; padding-top: 18px; }
.post-meta { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 0.84rem; color: var(--muted); }
.post-meta .i { width: 15px; height: 15px; }
.post-card h2, .post-card h3 { font-size: 1.22rem !important; }
.read-next { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 600; transition: border-color 250ms, transform 300ms var(--ease-out); }
.read-next:hover { border-color: var(--brand); transform: translateY(-2px); }
.read-next small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.read-next > .i:first-child { width: 26px; height: 26px; color: var(--brand); }
.read-next .i-arrow { margin-left: auto; }
.hub-note { margin-top: 28px; text-align: center; color: var(--muted); }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(1.8rem, 1.2rem + 2.5vw, 3rem); border-radius: 28px; color: #cfe0f2;
    background: radial-gradient(circle at 0% 0%, #1c75bc 0, transparent 55%), radial-gradient(circle at 100% 100%, rgba(249, 115, 22, 0.45) 0, transparent 50%), #0b1a30; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: var(--step-3); margin-bottom: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { border-color: #fff; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 16px; }
.toc ol { display: grid; gap: 8px; margin: 0; padding-left: 1.2em; list-style: decimal; font-size: 0.93rem; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--brand-strong); text-decoration: underline; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 3rem !important; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.author-box img, .avatar-initials { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; }
.avatar-initials { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #0e4f86); color: #fff; }
.author-box strong { display: block; color: var(--text); font-family: var(--font-display); }
.author-box span { display: block; font-size: 0.88rem; color: var(--brand-strong); margin-bottom: 6px; }
.author-box p { font-size: 0.93rem; color: var(--muted); margin: 0; }

@media (max-width: 991px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split-2, .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 680px) {
    .grid-3 { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .cta-actions, .cta-actions .btn { width: 100%; }
}
