/* ============================================================
   Times Corporate — Landing Page
   Theme: Corporate Blue on White, modern B2B
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    /* Surfaces */
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;        /* slate-50 */
    --bg-elev: #FFFFFF;
    --line: #E5E7EB;          /* gray-200 */
    --line-strong: #D1D5DB;   /* gray-300 */

    /* Text — high contrast on white (WCAG AA+) */
    --ink: #1E293B;           /* slate-800 — headings + body */
    --ink-body: #1E293B;      /* body copy */
    --ink-dim: #475569;       /* slate-600 — secondary */
    --ink-mute: #64748B;      /* slate-500 — meta */

    /* Brand — corporate blue */
    --blue: #2563EB;          /* primary (blue-600) */
    --blue-deep: #1D4ED8;     /* hover/active (blue-700) */
    --blue-darker: #1E40AF;
    --blue-soft: #EFF6FF;     /* tint background */
    --blue-soft-2: #DBEAFE;
    --blue-glow: rgba(37, 99, 235, 0.20);

    /* Secondary accent — pairs with blue for two-tone iconography */
    --accent: #0EA5E9;        /* sky-500 */
    --accent-deep: #0284C7;   /* sky-600 */
    --accent-soft: #E0F2FE;   /* sky-100 */

    /* Status */
    --green: #15803D;
    --red: #DC2626;

    --radius: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;

    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
    --shadow: 0 1px 3px rgba(17, 24, 39, 0.06), 0 4px 14px rgba(17, 24, 39, 0.06);
    --shadow-lg: 0 10px 30px rgba(17, 24, 39, 0.08), 0 30px 60px rgba(17, 24, 39, 0.10);

    --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
    background: var(--bg);
    color: var(--ink-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 112px 0;
    position: relative;
}
.section--alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--line);
}
.section__head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}
.section__lede {
    color: var(--ink-dim);
    font-size: 1.0625rem;
    margin-top: 14px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
    color: var(--ink);
}
h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
}
h2 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); }
h3 { font-size: 1.1875rem; }
p  { margin: 0; }

.text-accent { color: var(--blue); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    padding: 6px 12px;
    border: 1px solid var(--blue-soft-2);
    border-radius: var(--radius-pill);
    background: var(--blue-soft);
}
.eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: -0.005em;
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn--sm  { padding: 9px 16px; font-size: 0.875rem; }
.btn--lg  { padding: 14px 26px; font-size: 0.9875rem; }
.btn--block { width: 100%; }

.btn--primary {
    background: var(--blue);
    color: #FFFFFF;
    box-shadow: 0 6px 16px var(--blue-glow);
}
.btn--primary:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(26, 86, 219, 0.28);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn--ghost:hover {
    background: var(--blue);
    color: #FFFFFF;
}

.btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.btn__icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.brand__text { font-size: 1.0625rem; }
.brand__accent { color: var(--blue); font-weight: 800; }
.brand__mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    width: 26px; height: 26px;
    padding: 4px 0;
}
.brand__mark .brand__bar {
    width: 5px; background: var(--blue); border-radius: 2px;
    transition: height .3s var(--ease);
}
.brand__mark .brand__bar:nth-child(1) { height: 40%; }
.brand__mark .brand__bar:nth-child(2) { height: 70%; }
.brand__mark .brand__bar:nth-child(3) { height: 100%; }
.brand:hover .brand__mark .brand__bar:nth-child(1) { height: 100%; }
.brand:hover .brand__mark .brand__bar:nth-child(2) { height: 40%; }
.brand:hover .brand__mark .brand__bar:nth-child(3) { height: 70%; }

.brand__mark--lg { width: 56px; height: 56px; }
.brand__mark--lg .brand__bar { width: 10px; border-radius: 4px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid transparent;
    transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 24px;
    max-width: var(--container);
    margin: 0 auto;
}
.nav__links {
    display: flex;
    gap: 28px;
    margin-left: auto;
}
.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-dim);
    transition: color .2s var(--ease);
    position: relative;
    padding: 4px 0;
}
.nav__links a:hover { color: var(--blue); }
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--blue);
    transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { margin-left: 8px; }

.nav__toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    border-radius: 8px;
}
.nav__toggle:hover { background: var(--bg-alt); }
.nav__toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink);
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown — hidden by default everywhere.
   The HTML `hidden` attribute is respected; on desktop it stays hidden
   even if (somehow) un-hidden. Only displays when on a small viewport
   AND the toggle has explicitly removed `hidden`. */
.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--line);
    background: #FFFFFF;
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.06);
}
.nav__mobile a {
    padding: 14px 4px;
    font-weight: 500;
    color: var(--ink-body);
    border-bottom: 1px solid var(--line);
}
.nav__mobile .btn { margin-top: 16px; }
/* Show only on mobile when JS has removed the [hidden] attribute */
@media (max-width: 980px) {
    .nav__mobile:not([hidden]) {
        display: flex;
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 152px 0 96px;
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(700px 480px at 88% -10%, rgba(26, 86, 219, 0.10), transparent 60%),
        radial-gradient(560px 380px at 0% 30%, rgba(26, 86, 219, 0.05), transparent 70%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}
.hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 24, 39, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero__copy .eyebrow { margin-bottom: 22px; }
.hero__title { margin-bottom: 22px; }
.hero__sub {
    color: var(--ink-dim);
    font-size: 1.125rem;
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 32px;
    color: var(--ink-mute);
    font-size: 0.875rem;
}
.trust__item { display: inline-flex; align-items: center; gap: 8px; }
.trust__item i { width: 18px; height: 18px; color: var(--blue); }

/* Hero panel (decorative dashboard) */
.hero__panel { position: relative; }
.hero__glow {
    position: absolute;
    inset: -10% -10% auto auto;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--blue-glow), transparent 60%);
    z-index: -1;
    filter: blur(40px);
}
.panel {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(17, 24, 39, 0.10), 0 32px 64px rgba(17, 24, 39, 0.12);
}
.panel__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
}
.panel__chrome span {
    width: 10px; height: 10px; border-radius: 50%;
    background: #D1D5DB;
}
.panel__chrome span:first-child { background: #ff5f57; }
.panel__chrome span:nth-child(2) { background: #febc2e; }
.panel__chrome span:nth-child(3) { background: #28c840; }
.panel__chrome p {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--ink-mute);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.panel__body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.panel__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.stat-card {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
}
.stat-card__label { font-size: 0.78rem; color: var(--ink-mute); margin-bottom: 6px; }
.stat-card__value { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.stat-card__delta {
    margin-top: 6px;
    font-size: 0.78rem;
    display: inline-flex; align-items: center; gap: 4px;
    font-weight: 500;
}
.stat-card__delta i { width: 14px; height: 14px; }
.stat-card__delta.up { color: var(--green); }
.stat-card__delta.down { color: var(--blue); }

.panel__chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-alt);
}
.panel__chart .bar {
    flex: 1;
    height: var(--h, 50%);
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
    border-radius: 4px 4px 2px 2px;
    opacity: 0.92;
    animation: barRise 1.2s var(--ease) both;
}
.panel__chart .bar:nth-child(1) { animation-delay: .05s; }
.panel__chart .bar:nth-child(2) { animation-delay: .12s; }
.panel__chart .bar:nth-child(3) { animation-delay: .19s; }
.panel__chart .bar:nth-child(4) { animation-delay: .26s; }
.panel__chart .bar:nth-child(5) { animation-delay: .33s; }
.panel__chart .bar:nth-child(6) { animation-delay: .40s; }
.panel__chart .bar:nth-child(7) { animation-delay: .47s; }
.panel__chart .bar:nth-child(8) { animation-delay: .54s; }
@keyframes barRise { from { height: 0; opacity: 0; } to { height: var(--h, 50%); opacity: .92; } }

.panel__list { display: flex; flex-direction: column; gap: 8px; }
.list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--ink-body);
}
.list-row .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue);
}
.list-row .badge i { width: 16px; height: 16px; }
.list-row__main { flex: 1; }
.list-row__meta { font-size: 0.78rem; color: var(--ink-mute); }

/* ============================================================
   LOGO STRIP
   ============================================================ */
.logos {
    padding: 56px 0;
    border-block: 1px solid var(--line);
    background: var(--bg-alt);
}
.logos__title {
    text-align: center;
    color: var(--ink-mute);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 32px;
    font-weight: 500;
}
.logos__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 56px;
    color: var(--ink-mute);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 1.1rem;
}
.logos__row span {
    transition: color .25s var(--ease);
}
.logos__row span:hover { color: var(--ink); }

/* ============================================================
   GRID + CARDS (Why us, Services)
   ============================================================ */
.grid {
    display: grid;
    gap: 20px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-soft-2);
    box-shadow: var(--shadow);
}
.card__icon {
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
    margin-bottom: 18px;
    transition: transform .3s var(--ease), background .3s var(--ease);
}
.card:hover .card__icon {
    transform: rotate(-6deg) scale(1.05);
    background: var(--blue-soft-2);
}
.card__icon i { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-dim); font-size: 0.95rem; }

/* Services — generous spacing + two-tone "tile" iconography */
.grid--services .service {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.grid--services .service:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.10);
}

/* Two-tone icon tile: blue/sky gradient background, blue stroke icon,
   plus a small accent dot to clearly read as multi-color. */
.service__icon {
    position: relative;
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-soft) 0%, var(--accent-soft) 100%);
    color: var(--blue-deep);
    margin-bottom: 28px;             /* generous gap between icon and title */
    transition: transform .3s var(--ease);
}
.service__icon::after {
    content: "";
    position: absolute;
    top: -4px; right: -4px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px #FFFFFF;
}
.service__icon i,
.service__icon svg {
    width: 26px; height: 26px;
    stroke: var(--blue);
}
.grid--services .service:hover .service__icon {
    transform: rotate(-4deg) scale(1.04);
}

.grid--services .service h3 { margin-bottom: 10px; }
.grid--services .service p { color: var(--ink-dim); font-size: 0.95rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.process__step {
    position: relative;
    padding: 36px 28px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.process__step::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 60%; height: 3px;
    background: linear-gradient(90deg, var(--blue), transparent);
}
.process__num {
    display: inline-block;
    font-family: ui-monospace, monospace;
    font-size: 0.78rem;
    color: var(--blue);
    letter-spacing: 0.18em;
    margin-bottom: 12px;
    font-weight: 600;
}
.process__step h3 { margin-bottom: 8px; font-size: 1.375rem; }
.process__step p { color: var(--ink-dim); font-size: 0.95rem; }

/* ============================================================
   SHOWCASE — full-bleed image break between Process and Stats
   ============================================================ */
.showcase {
    padding: 112px 0;
    background:
        radial-gradient(800px 300px at 50% 0%, var(--blue-soft) 0%, transparent 70%),
        #FFFFFF;
    border-block: 1px solid var(--line);
}
.showcase__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.showcase__caption {
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: clamp(1.125rem, 1.6vw, 1.375rem);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.4;
}
.showcase__frame {
    margin: 0;
    width: 100%;
    max-width: 1040px;
    border-radius: var(--radius-lg);
    padding: 10px;                       /* gradient "frame" */
    background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
    box-shadow:
        0 1px 3px rgba(17, 24, 39, 0.08),
        0 18px 40px rgba(37, 99, 235, 0.18),
        0 36px 80px rgba(17, 24, 39, 0.12);
    position: relative;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.showcase__frame:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 3px rgba(17, 24, 39, 0.08),
        0 22px 50px rgba(37, 99, 235, 0.22),
        0 44px 90px rgba(17, 24, 39, 0.14);
}
.showcase__frame img {
    display: block;
    width: 100%;
    height: auto;                        /* prevents distortion on mobile */
    border-radius: calc(var(--radius-lg) - 6px);
    background: #FFFFFF;
}

@media (max-width: 980px) {
    .showcase { padding: 88px 0; }
    .showcase__frame { padding: 6px; }
}
@media (max-width: 640px) {
    .showcase { padding: 72px 0; }
    .showcase__caption { margin-bottom: 28px; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 200px at 50% 50%, rgba(255,255,255,0.10), transparent 70%),
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 64px 64px;
    pointer-events: none;
}
.stats__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    position: relative;
}
.stats__num {
    font-size: clamp(2.25rem, 4.4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    line-height: 1;
}
.stats__label {
    margin-top: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    position: relative;
    margin: 0;
    transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.quote:hover {
    transform: translateY(-3px);
    border-color: var(--blue-soft-2);
    box-shadow: var(--shadow);
}
.quote__mark {
    width: 28px; height: 28px;
    color: var(--blue);
    margin-bottom: 14px;
}
.quote blockquote {
    margin: 0 0 22px;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink-body);
}
.quote figcaption strong {
    display: block;
    font-weight: 600;
    color: var(--ink);
}
.quote figcaption span {
    display: block;
    color: var(--ink-mute);
    font-size: 0.875rem;
    margin-top: 2px;
}

/* ============================================================
   TECHNOLOGY
   ============================================================ */
.tech__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}
.tech__copy h2 { margin: 18px 0 18px; }
.tech__copy p { color: var(--ink-dim); margin-bottom: 26px; max-width: 520px; }
.tech__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tech__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-body);
    font-size: 0.975rem;
}
.tech__list i {
    flex-shrink: 0;
    width: 20px; height: 20px;
    color: #FFFFFF;
    background: var(--blue);
    border-radius: 999px;
    padding: 3px;
}

/* Orbit visual */
.tech__visual {
    display: grid;
    place-items: center;
    min-height: 480px;
    position: relative;
}
.orbit {
    position: relative;
    width: 420px; height: 420px;
    border-radius: 50%;
    border: 1px dashed var(--line-strong);
    display: grid; place-items: center;
}
.orbit::before, .orbit::after {
    content: "";
    position: absolute;
    inset: 14%;
    border: 1px dashed var(--line);
    border-radius: 50%;
}
.orbit::after { inset: 28%; border-color: var(--line-strong); opacity: 0.6; }
.orbit__core {
    width: 130px; height: 130px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: 0 0 0 6px rgba(26, 86, 219, 0.06), 0 8px 30px var(--blue-glow);
}
.orbit__chip {
    position: absolute;
    top: 50%; left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    border: 1px solid var(--line);
    color: var(--ink-body);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transform:
        translate(-50%, -50%)
        rotate(var(--a))
        translate(210px)
        rotate(calc(-1 * var(--a)));
    transition: border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
    animation: orbitFloat 6s ease-in-out infinite;
}
.orbit__chip i { width: 14px; height: 14px; color: var(--blue); }
.orbit__chip:hover {
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: 0 4px 14px var(--blue-glow);
}
@keyframes orbitFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(var(--a)) translate(210px) rotate(calc(-1 * var(--a))); }
    50%      { transform: translate(-50%, -50%) rotate(var(--a)) translate(218px) rotate(calc(-1 * var(--a))); }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
}
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.contact__copy h2 { margin: 16px 0 18px; }
.contact__copy p { color: var(--ink-dim); margin-bottom: 28px; max-width: 460px; }
.contact__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.contact__points {
    list-style: none;
    padding: 28px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.contact__points li {
    display: flex; gap: 14px; align-items: flex-start;
}
.contact__points i {
    flex-shrink: 0;
    width: 36px; height: 36px;
    padding: 8px;
    background: var(--blue-soft);
    border-radius: 10px;
    color: var(--blue);
}
.contact__points strong { display: block; font-weight: 600; color: var(--ink); }
.contact__points span { display: block; color: var(--ink-mute); font-size: 0.875rem; margin-top: 2px; }

/* ============================================================
   MODAL — Demo request
   ============================================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 5vh 20px 20px;
    overflow-y: auto;             /* scroll the overlay on small screens */
    overscroll-behavior: contain;
}
.modal.is-open {
    display: flex;
    animation: modalFadeIn .25s var(--ease);
}
.modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.modal__dialog {
    position: relative;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.30);
    width: 100%;
    max-width: 580px;
    padding: 36px;
    animation: modalSlideIn .3s var(--ease);
    /* On wider screens, dialog centers vertically; on narrower screens, it scrolls naturally with the overlay. */
    margin: auto 0;
}
.modal__dialog:focus { outline: none; }
@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--ink-dim);
    transition: background .2s var(--ease), color .2s var(--ease);
}
.modal__close:hover { background: var(--bg-alt); color: var(--ink); }
.modal__close:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.modal__close i { width: 20px; height: 20px; }

.modal__header { margin-bottom: 24px; padding-right: 32px; }
.modal__header h2 { margin: 14px 0 10px; font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.modal__header p { color: var(--ink-dim); font-size: 0.9375rem; }

/* ============================================================
   FORM (used inside the modal)
   ============================================================ */
.contact__form { /* container only — no card chrome since it lives inside the modal */
    display: block;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--ink-body);
}
.field input,
.field select,
.field textarea {
    background: #FFFFFF;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.18);
}
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A56DB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 38px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form__note {
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--ink-mute);
    text-align: center;
}
.form__success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 10px;
    color: #047857;
    font-size: 0.9rem;
}
.form__success i { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0F172A;       /* slate-900 — adds visual anchor without the harsh black */
    color: #CBD5E1;            /* slate-300 */
}
.footer .brand,
.footer .brand__text { color: #FFFFFF; }
.footer .brand__accent { color: var(--blue-soft-2); }
.footer .brand__mark .brand__bar { background: var(--blue-soft-2); }

.footer__inner {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 64px;
    padding: 64px 24px 48px;
}
.footer__tag {
    margin-top: 16px;
    color: #94A3B8;            /* slate-400 */
    font-size: 0.9rem;
    max-width: 320px;
}
.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer__col h4 {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 16px;
    font-weight: 600;
}
.footer__col a, .footer__col span {
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #CBD5E1;
    transition: color .2s var(--ease);
}
.footer__col a:hover { color: #FFFFFF; }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    font-size: 0.85rem;
    color: #94A3B8;
}
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: #FFFFFF; }

/* ============================================================
   SCROLL REVEAL
   Critical hero copy is excluded (no .reveal on first paragraph)
   so we still want a sensible default — start visible, animate in
   only the "secondary" elements. We achieve that by only applying
   .reveal where it's been added in the markup; nothing is hidden
   by default if it lacks the class.
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .section { padding: 80px 0; }
    .hero { padding: 124px 0 72px; }
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__panel { max-width: 560px; margin: 0 auto; }

    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: 1fr; }
    .stats__inner { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }

    .tech__inner { grid-template-columns: 1fr; gap: 56px; }
    .tech__visual { min-height: 380px; }
    .orbit { width: 340px; height: 340px; }
    .orbit__chip {
        transform: translate(-50%, -50%) rotate(var(--a)) translate(170px) rotate(calc(-1 * var(--a)));
    }
    @keyframes orbitFloat {
        0%, 100% { transform: translate(-50%, -50%) rotate(var(--a)) translate(170px) rotate(calc(-1 * var(--a))); }
        50%      { transform: translate(-50%, -50%) rotate(var(--a)) translate(176px) rotate(calc(-1 * var(--a))); }
    }

    .contact__inner { grid-template-columns: 1fr; gap: 48px; }
    .footer__inner { grid-template-columns: 1fr; gap: 40px; }

    .nav__links { display: none; }
    .nav__cta { display: none; }
    .nav__toggle { display: flex; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .grid--3 { grid-template-columns: 1fr; }
    .stats__inner { grid-template-columns: 1fr; gap: 28px; }
    .footer__cols { grid-template-columns: 1fr 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .modal__dialog { padding: 28px 22px; }
    .modal { padding: 16px; }
    .hero__sub { font-size: 1rem; }
    .panel__row { grid-template-columns: 1fr; }
}

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