/* ============================================================================
   VendorCore — Bold Editorial redesign
   Palette : warm off-white paper · deep near-black · electric cobalt accent
   Type    : Instrument Serif (display, italic) · Inter Tight · JetBrains Mono
============================================================================ */

:root {
    /* Surface */
    --bg:           #FAFAF7;
    --bg-soft:      #F2F1EC;
    --bg-elevated:  #FFFFFF;
    --dark:         #0A0A0A;
    --dark-2:       #161614;

    /* Ink */
    --ink:          #0B0B0A;
    --ink-2:        #1F1F1D;
    --ink-soft:     #54534E;
    --ink-muted:    #8B8A82;
    --ink-faint:    #BAB8AE;
    --on-dark:      #F4F2EC;
    --on-dark-soft: #A8A69D;
    --on-dark-mute: #6F6E68;

    /* Lines */
    --hair:         #E5E3DC;
    --hair-2:       #D0CDC2;
    --hair-dark:    rgba(244, 242, 236, 0.10);
    --hair-dark-2:  rgba(244, 242, 236, 0.22);

    /* Accent */
    --accent:       #1A36F0;
    --accent-2:     #0B22C9;
    --accent-soft:  #6B7FFF;
    --accent-faint: #DCE2FF;
    --positive:     #156A3B;
    --negative:     #B91C1C;

    /* Type */
    --f-display: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --f-body:    'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --f-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    /* Layout */
    --container: 1320px;
    --gutter: 1.5rem;

    /* Motion */
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 2.5rem; }
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 72px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    font-feature-settings: 'ss01', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Paper grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.045;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---- Containers -------------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.wrap-narrow {
    max-width: 1080px;
}

/* ---- Utility ---------------------------------------------------------- */
.mono { font-family: var(--f-mono); }
.serif { font-family: var(--f-display); }
.italic { font-style: italic; }
.accent { color: var(--accent); }
.accent-soft { color: var(--accent-soft); }
.muted { color: var(--ink-muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    font-family: var(--f-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 1.75rem;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

.eyebrow.on-dark { color: var(--on-dark-soft); }
.eyebrow.on-dark::before { background: var(--accent-soft); }

/* ============================================================================
   NAV
============================================================================ */

.nav {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(250, 250, 247, 0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hair);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: .95rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--ink);
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.02em;
}

.brand-mark {
    width: 26px;
    height: 26px;
    display: inline-block;
    color: var(--ink);
    transition: transform .5s var(--ease-out);
}

.brand:hover .brand-mark { transform: rotate(-90deg); }

.nav-links {
    display: none;
    gap: 2.25rem;
}

@media (min-width: 992px) {
    .nav-links { display: flex; }
}

.nav-links a {
    position: relative;
    font-size: .92rem;
    font-weight: 450;
    color: var(--ink-soft);
    padding: .25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .3s var(--ease-out);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-shrink: 0;
}

.lang {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--f-mono);
    font-size: .72rem;
    letter-spacing: .08em;
}

.lang button {
    color: var(--ink-muted);
    padding: .25rem .25rem;
    text-transform: uppercase;
    transition: color .2s;
    position: relative;
}

.lang button.is-active { color: var(--ink); }
.lang button.is-active::after {
    content: '';
    position: absolute;
    left: .25rem;
    right: .25rem;
    bottom: 0;
    height: 1px;
    background: var(--accent);
}

.lang button:hover { color: var(--ink); }

.lang-sep { color: var(--hair-2); user-select: none; }

.btn-nav {
    display: none;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .25s var(--ease-out);
}

.btn-nav:hover {
    background: var(--ink);
    color: var(--bg);
    transform: translateY(-1px);
}

@media (min-width: 768px) { .btn-nav { display: inline-flex; } }

/* Always show the Early-Access button inside the mobile menu */
.menu .btn-nav { display: inline-flex; }

/* Mobile toggle */
.nav-toggle {
    width: 32px;
    height: 32px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 4px;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform .35s var(--ease-out), opacity .25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 992px) { .nav-toggle { display: none; } }

/* Mobile menu */
.menu {
    position: fixed;
    inset: 60px 0 0 0;
    background: var(--bg);
    z-index: 70;
    padding: 2rem var(--gutter) 3rem;
    transform: translateY(-110%);
    transition: transform .45s var(--ease-out);
    overflow-y: auto;
}

.menu.is-open { transform: translateY(0); }

.menu > a {
    display: block;
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1.2;
    color: var(--ink);
    padding: .9rem 0;
    border-bottom: 1px solid var(--hair);
}

.menu .menu-foot {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 992px) { .menu { display: none; } }

/* ============================================================================
   HERO
============================================================================ */

.hero { position: relative; }

/* Masthead bar */
.masthead {
    border-bottom: 1px solid var(--hair);
    padding: .85rem 0;
    font-family: var(--f-mono);
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.masthead-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
}

.masthead-item { display: inline-flex; align-items: center; gap: .55rem; }
.masthead-spacer { flex: 1 1 auto; min-width: 0; }

.dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(26, 54, 240, .14);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(26, 54, 240, .18); }
    50%      { box-shadow: 0 0 0 8px rgba(26, 54, 240, 0); }
}

.masthead-id { color: var(--ink-faint); }

/* Hero body */
.hero-body { padding: 4.5rem 0 3rem; }
@media (min-width: 768px) { .hero-body { padding: 6.5rem 0 4.5rem; } }
@media (min-width: 1200px) { .hero-body { padding: 7.5rem 0 5rem; } }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 3.5rem;
    }
}

.hero-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(2.9rem, 9vw, 7rem);
    line-height: .96;
    letter-spacing: -.045em;
    margin: 0 0 2rem;
    color: var(--ink);
}

.hero-title em {
    font-style: italic;
    font-weight: 700;
    color: var(--accent);
    padding-right: .03em;
}

.hero-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 36rem;
    margin: 0 0 2.4rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem .75rem;
    align-items: center;
}

/* Buttons */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .95rem 1.6rem;
    background: var(--ink);
    color: var(--bg);
    font-size: .95rem;
    font-weight: 500;
    border-radius: 999px;
    overflow: hidden;
    transition: transform .25s var(--ease-out), color .25s, background .25s;
    isolation: isolate;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateY(110%);
    transition: transform .4s var(--ease-out);
    z-index: -1;
}

.btn-primary:hover { transform: translateY(-1px); color: var(--bg); }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary .icon-arrow { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.btn-primary:hover .icon-arrow { transform: translateX(3px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.4rem;
    border: 1px solid var(--hair-2);
    border-radius: 999px;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 500;
    transition: all .2s;
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: var(--bg-soft);
}

/* Dossier card */
.hero-side {}

.dossier {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--hair);
    padding: 1.65rem 1.65rem 1.5rem;
    box-shadow:
        0 1px 0 var(--hair),
        0 35px 70px -32px rgba(15, 15, 14, .18),
        0 12px 30px -16px rgba(15, 15, 14, .06);
}

.dossier::before {
    content: '';
    position: absolute;
    left: -1px;
    right: -1px;
    top: -1px;
    height: 4px;
    background: var(--ink);
}

.dossier::after {
    /* paper "ear" — corner fold */
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, transparent 50%, var(--hair) 50%, var(--bg-soft) 60%);
    border-bottom: 1px solid var(--hair);
    border-left: 1px solid var(--hair);
}

.dossier-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--hair);
}

.dossier-title {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.dossier-label {
    font-family: var(--f-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
}

.dossier-no {
    font-family: var(--f-mono);
    font-size: .68rem;
    letter-spacing: .08em;
    color: var(--ink-muted);
}

.dossier-seal {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--f-mono);
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .2em;
    color: var(--accent);
    text-transform: uppercase;
    border: 1px solid var(--accent);
    background: var(--accent-faint);
    padding: .25rem .6rem;
    transform: rotate(-4deg);
    transform-origin: center right;
}

.dossier-seal::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

.dossier-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: .95rem 0;
    border-bottom: 1px dashed var(--hair);
}

.dossier-list li:last-child { border-bottom: 0; }

.d-label {
    font-family: var(--f-mono);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.d-value {
    font-family: var(--f-display);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--ink);
}

.d-value.is-positive { color: var(--positive); }
.d-value.is-negative { color: var(--negative); }

.d-value small {
    font-family: var(--f-mono);
    font-size: .68rem;
    letter-spacing: .06em;
    color: var(--ink-muted);
    margin-left: .35rem;
    text-transform: uppercase;
    font-weight: 400;
}

.dossier-foot {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hair);
    font-family: var(--f-mono);
    font-size: .66rem;
    letter-spacing: .08em;
    color: var(--ink-muted);
    text-transform: uppercase;
}

/* Ticker */
.ticker {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    padding: .9rem 0;
    background: var(--bg);
}

.ticker::before, .ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}

.ticker::before { left: 0;  background: linear-gradient(90deg, var(--bg), rgba(250,250,247,0)); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg), rgba(250,250,247,0)); }

.ticker-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    width: max-content;
    animation: ticker 55s linear infinite;
    font-family: var(--f-mono);
    font-size: .74rem;
    letter-spacing: .1em;
    color: var(--ink-soft);
    text-transform: uppercase;
}

.ticker-item strong { color: var(--ink); font-weight: 500; margin-right: .4rem; }
.ticker-dot { color: var(--accent); font-size: .42rem; }

@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================================
   SECTIONS — common
============================================================================ */

.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
@media (min-width: 1200px) { .section { padding: 9.5rem 0; } }

.section-head { max-width: 920px; margin-bottom: 4rem; }

.section-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 4.4vw, 3.9rem);
    line-height: 1;
    letter-spacing: -.035em;
    margin: 0 0 1.4rem;
    color: var(--ink);
}

.section-title em {
    display: block;
    font-style: italic;
    font-weight: 700;
    color: var(--accent);
}

.section-lead {
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 58ch;
    margin: 0;
}

/* ============================================================================
   PROBLEM (dark)
============================================================================ */

.problem {
    background: var(--dark);
    color: var(--on-dark);
}

.problem .section-title { color: var(--on-dark); }
.problem .section-title em { color: var(--accent-soft); }
.problem .section-lead { color: var(--on-dark-soft); }

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--hair-dark);
}

@media (min-width: 700px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .problem-grid { grid-template-columns: repeat(4, 1fr); } }

.p-stat {
    padding: 3rem 1.75rem 3.25rem;
    border-bottom: 1px solid var(--hair-dark);
    border-right: 1px solid var(--hair-dark);
    position: relative;
}

@media (min-width: 1100px) {
    .p-stat:nth-child(4n) { border-right: 0; }
}
@media (min-width: 700px) and (max-width: 1099px) {
    .p-stat:nth-child(2n) { border-right: 0; }
}
@media (max-width: 699px) { .p-stat { border-right: 0; } }

.p-stat:first-child { padding-left: 0; }
@media (max-width: 1099px) { .p-stat { padding-left: 0; padding-right: 1rem; } }

.p-stat-num {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(3.2rem, 7.5vw, 5.4rem);
    line-height: .9;
    color: var(--on-dark);
    margin-bottom: 1.4rem;
    letter-spacing: -.045em;
}

.p-stat-num small {
    font-size: .45em;
    color: var(--accent-soft);
    margin-left: .06em;
    font-weight: 700;
}

.p-stat-text {
    font-size: .96rem;
    line-height: 1.5;
    color: var(--on-dark-soft);
    max-width: 28ch;
}

/* ============================================================================
   PRODUCT / FEATURES
============================================================================ */

.features {
    margin-top: 1rem;
    border-top: 1px solid var(--ink);
}

.feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--hair);
    position: relative;
    transition: background .35s ease;
}

@media (min-width: 768px) {
    .feature {
        grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.7fr);
        gap: 2.5rem;
        padding: 3.25rem 0;
    }
}

.feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .6s var(--ease-out);
}

.feature:hover::before { width: 100%; }
.feature:hover { background: linear-gradient(to right, transparent, rgba(26,54,240,.025) 70%, transparent); }

.feature-index {
    font-family: var(--f-mono);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--accent);
    text-transform: uppercase;
    align-self: start;
}

.feature-name {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--ink);
    margin: 0;
}

.feature-content { display: flex; flex-direction: column; gap: 1.1rem; }

.feature-desc {
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
    margin: 0;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--f-mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem .65rem;
    color: var(--ink-soft);
    background: var(--bg);
    border: 1px solid var(--hair-2);
    border-radius: 999px;
}

/* ============================================================================
   HOW IT WORKS (dark)
============================================================================ */

.how {
    background: var(--dark);
    color: var(--on-dark);
    position: relative;
    overflow: hidden;
}

.how::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(26, 54, 240, .14), transparent 50%),
        radial-gradient(circle at 10% 95%, rgba(26, 54, 240, .08), transparent 55%);
    pointer-events: none;
}

.how > .wrap { position: relative; z-index: 1; }
.how .section-title { color: var(--on-dark); }
.how .section-title em { color: var(--accent-soft); }
.how .section-lead { color: var(--on-dark-soft); }

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    border: 1px solid var(--hair-dark-2);
    background: var(--hair-dark-2);
    margin-top: 1rem;
}

@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
    background: var(--dark);
    padding: 2.5rem 1.75rem 3rem;
    transition: background .35s ease;
    position: relative;
}

.step:hover { background: var(--dark-2); }

.step-num {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent-soft);
    letter-spacing: -.05em;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.step-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--on-dark);
    margin: 0 0 .9rem;
}

.step-text {
    font-size: .95rem;
    line-height: 1.55;
    color: var(--on-dark-soft);
    max-width: 36ch;
    margin: 0;
}

/* ============================================================================
   SECURITY / TRUST
============================================================================ */

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--ink);
}

@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-item {
    padding: 2.25rem 1.5rem 2.5rem;
    border-bottom: 1px solid var(--hair);
    border-right: 1px solid var(--hair);
}

.trust-item:first-child { padding-left: 0; }

@media (min-width: 1100px) {
    .trust-item:nth-child(4n) { border-right: 0; padding-right: 0; }
    .trust-item:nth-child(4n+1) { padding-left: 0; }
}

@media (min-width: 640px) and (max-width: 1099px) {
    .trust-item:nth-child(2n) { border-right: 0; padding-right: 0; }
    .trust-item:nth-child(2n+1) { padding-left: 0; }
}

@media (max-width: 639px) {
    .trust-item { border-right: 0; padding-left: 0; padding-right: 0; }
}

.trust-icon {
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: inline-flex;
    transition: transform .35s var(--ease-out);
}

.trust-icon svg {
    width: 28px;
    height: 28px;
}

.trust-item:hover .trust-icon { transform: scale(1.1) rotate(-3deg); }

.trust-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 .65rem;
    color: var(--ink);
}

.trust-text {
    font-size: .92rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

/* ============================================================================
   KPI COVERAGE
============================================================================ */

.kpis-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--hair);
}

.kpi-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--hair);
    border: 1px solid var(--hair);
    margin-top: 1rem;
}

@media (min-width: 720px)  { .kpi-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .kpi-groups { grid-template-columns: repeat(4, 1fr); } }

.kpi-group {
    background: var(--bg);
    padding: 2rem 1.5rem 2.25rem;
}

.kpi-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.4rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--hair);
}

.kpi-group-label {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -.02em;
    color: var(--ink);
}

.kpi-group-num {
    font-family: var(--f-mono);
    font-size: .65rem;
    letter-spacing: .12em;
    color: var(--accent);
    text-transform: uppercase;
}

.kpi-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.kpi-list li { display: block; }

.kpi-name {
    display: block;
    font-family: var(--f-mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: .2rem;
}

.kpi-desc {
    display: block;
    font-size: .82rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

/* ============================================================================
   FAQ
============================================================================ */

.faq-section { background: var(--bg); }

.faq-list {
    border-top: 1px solid var(--ink);
    margin-top: 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--hair);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.02em;
    color: var(--ink);
    transition: color .2s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:hover { color: var(--accent); }

.faq-toggle {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--ink);
    transition: transform .3s var(--ease-out), background .2s;
}

.faq-toggle::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 1.5px;
    transform: translateY(-50%);
}

.faq-toggle::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1.5px;
    transform: translateX(-50%);
}

.faq-item[open] .faq-toggle::after { transform: translateX(-50%) rotate(90deg); }
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: var(--accent); }

.faq-answer {
    padding: 0 0 1.5rem;
    max-width: 72ch;
}

.faq-answer p {
    font-size: .98rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

@media (max-width: 600px) {
    .faq-item summary { font-size: 1rem; padding: 1.2rem 0; gap: 1rem; }
    .kpi-group { padding: 1.5rem 1.25rem 1.75rem; }
}

/* ============================================================================
   CTA (dark, dramatic)
============================================================================ */

.cta {
    background: var(--dark);
    color: var(--on-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center top, rgba(26, 54, 240, .22), transparent 55%),
        radial-gradient(ellipse at center bottom, rgba(26, 54, 240, .08), transparent 60%);
    pointer-events: none;
}

.cta > .wrap { position: relative; z-index: 1; }

.cta-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(2.1rem, 6.3vw, 5.4rem);
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--on-dark);
    margin: 0 auto 1.5rem;
    max-width: 22ch;
}

.cta-title em {
    display: block;
    font-style: italic;
    font-weight: 700;
    color: var(--accent-soft);
}

.cta-lead {
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--on-dark-soft);
    max-width: 50ch;
    margin: 0 auto 2.5rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: 1.15rem 2.2rem;
    background: var(--accent);
    color: var(--on-dark);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 999px;
    transition: all .3s var(--ease-out);
    box-shadow: 0 12px 40px -10px rgba(26, 54, 240, .55);
}

.btn-cta:hover {
    background: var(--on-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(244, 242, 236, .25);
}

.btn-cta .icon-arrow { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.btn-cta:hover .icon-arrow { transform: translateX(3px); }

.cta-email {
    margin-top: 2rem;
    font-family: var(--f-mono);
    font-size: .8rem;
    letter-spacing: .08em;
    color: var(--on-dark-mute);
}

/* ============================================================================
   FOOTER
============================================================================ */

footer {
    background: var(--bg);
    border-top: 1px solid var(--hair);
    padding: 4.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2.1fr 1fr 1fr 1.6fr;
        gap: 2rem;
    }
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: .85rem;
}

.footer-tag {
    color: var(--ink-soft);
    font-size: .92rem;
    line-height: 1.5;
    max-width: 36ch;
    margin: 0;
}

.footer-heading {
    font-family: var(--f-mono);
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin: 0 0 1.1rem;
    font-weight: 500;
}

.footer-links a {
    display: block;
    color: var(--ink-soft);
    padding: .3rem 0;
    font-size: .92rem;
    transition: color .2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-address {
    color: var(--ink-soft);
    font-size: .88rem;
    line-height: 1.6;
    margin: 0;
}

.footer-divider {
    border-top: 1px solid var(--hair);
    margin: 3rem 0 1.25rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    font-family: var(--f-mono);
    font-size: .7rem;
    letter-spacing: .08em;
    color: var(--ink-muted);
    text-transform: uppercase;
}

/* ============================================================================
   ANIMATIONS
============================================================================ */

@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rise {
    opacity: 0;
    animation: rise .9s var(--ease-out) forwards;
}

.d-1 { animation-delay: .05s; }
.d-2 { animation-delay: .18s; }
.d-3 { animation-delay: .32s; }
.d-4 { animation-delay: .46s; }
.d-5 { animation-delay: .6s; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

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

/* ============================================================================
   RESPONSIVE TWEAKS
============================================================================ */

@media (max-width: 767px) {
    .hero-body { padding: 2.75rem 0 2rem; }
    .hero-title { line-height: .94; }
    .hero-cta .btn-primary, .hero-cta .btn-ghost {
        width: 100%;
        justify-content: center;
    }
    .masthead-spacer { display: none; }
    .section-head { margin-bottom: 2.75rem; }
    .dossier { padding: 1.4rem 1.25rem 1.25rem; }
    .d-value { font-size: 1.3rem; }
    .footer-bottom { font-size: .65rem; }
}
