/* ==========================================================================
   StockPortal — Design System
   Brand: Navy #19144d  |  Lime #dee44b
   ========================================================================== */

:root {
    --navy:        #19144d;
    --navy-900:    #110d36;
    --navy-800:    #1f1960;
    --navy-700:    #2b2480;
    --lime:        #dee44b;
    --lime-600:    #c9cf2f;
    --lime-soft:   #f4f6c8;
    --ink:         #15132e;
    --body:        #44425a;
    --muted:       #6b6982;
    --line:        #e6e5ee;
    --bg:          #ffffff;
    --bg-soft:     #f6f6fb;
    --bg-tint:     #eeeef7;
    --white:       #ffffff;
    --success:     #2e9e5b;
    --radius:      14px;
    --radius-lg:   22px;
    --shadow-sm:   0 1px 3px rgba(25,20,77,.08);
    --shadow:      0 10px 30px rgba(25,20,77,.10);
    --shadow-lg:   0 30px 60px rgba(25,20,77,.16);
    --maxw:        1180px;
    --font-head:   'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
    --font-body:   'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
    padding: 12px 18px; z-index: 999; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    text-align: center; line-height: 1.1; white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-primary { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-600); border-color: var(--lime-600); color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(222,228,75,.4); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ----- Header / Nav ------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
    transition: background .25s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 38px; width: auto; }
.brand-logo--light { display: none; }

.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; }
.primary-nav a {
    font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem;
    padding: 10px 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--navy); background: var(--bg-tint); }
.primary-nav .caret { transition: transform .2s ease; opacity: .6; }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 320px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s; display: grid; gap: 2px;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-item { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 12px; }
.dropdown-item:hover, .dropdown-item.active { background: var(--bg-soft); }
.dropdown-item-label { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .98rem; }
.dropdown-item-desc { font-size: .82rem; color: var(--muted); font-weight: 400; }

.header-cta { flex-shrink: 0; }
.nav-cta-mobile { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----- Sections ---------------------------------------------------------- */
section { position: relative; }
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-navy { background: var(--navy); color: #d9d7ec; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.section-navy .section-head p { color: #b9b6d6; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
    font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--navy-700); background: var(--lime-soft); padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.section-navy .eyebrow { color: var(--navy); background: var(--lime); }

/* ----- Hero -------------------------------------------------------------- */
.hero {
    background:
        radial-gradient(1100px 600px at 88% -8%, rgba(222,228,75,.18), transparent 60%),
        radial-gradient(900px 500px at 0% 110%, rgba(43,36,128,.55), transparent 55%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
    color: #d9d7ec; padding: 96px 0 0; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--lime); }
.hero-lead { font-size: 1.22rem; color: #c4c1e0; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 9px; font-size: .96rem; color: #c4c1e0; font-weight: 500; }
.hero-badges svg { flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1); }
.hero-visual .float-card {
    position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 20px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 13px; font-family: var(--font-head); font-weight: 700;
}
.hero-visual .float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.float-card .fc-num { font-size: 1.4rem; line-height: 1; }
.float-card--tl { top: 22px; left: -26px; }
.float-card--br { bottom: 26px; right: -22px; }
.fc-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(46,158,91,.18); }

.hero-strip { margin-top: 70px; border-top: 1px solid rgba(255,255,255,.12); padding: 26px 0 34px; }
.hero-strip p { text-align: center; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #8d8ab0; margin-bottom: 18px; font-weight: 600; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; }
.logo-row span {
    font-family: var(--font-head); font-weight: 700; color: #fff; opacity: .82; font-size: 1.05rem;
    padding: 8px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
}

/* ----- Stats ------------------------------------------------------------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--navy); line-height: 1; }
.section-navy .stat .num { color: var(--lime); }
.stat .label { font-size: .98rem; color: var(--muted); margin-top: 8px; }
.section-navy .stat .label { color: #b9b6d6; }

/* ----- Feature grid / cards --------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7d6e6; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card-icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--navy); color: var(--lime); margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card.lime .card-icon { background: var(--lime); color: var(--navy); }

.card-link { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; }
.card-link svg { transition: transform .18s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ----- Split / alternating media ---------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: .5em; }
.split-body .lead { font-size: 1.1rem; color: var(--muted); }

.tick-list { list-style: none; display: grid; gap: 14px; margin: 22px 0 28px; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; color: var(--body); }
.tick-list .tick {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--lime-soft);
    color: var(--navy); display: grid; place-items: center; margin-top: 2px;
}
.section-navy .tick-list li { color: #d9d7ec; }
.section-navy .tick { background: rgba(222,228,75,.18); color: var(--lime); }
.tick-list strong { color: var(--ink); }
.section-navy .tick-list strong { color: #fff; }

/* ----- Pill list (feature chips) ---------------------------------------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.pill-list li {
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
    font-size: .92rem; font-weight: 500; color: var(--body); font-family: var(--font-head);
}
.section-soft .pill-list li { background: #fff; }

/* ----- Feature columns (long lists) ------------------------------------- */
.feature-block { margin-bottom: 56px; }
.feature-block:last-child { margin-bottom: 0; }
.feature-block-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.feature-block-head .fb-icon { width: 48px; height: 48px; border-radius: 13px; background: var(--navy); color: var(--lime); display: grid; place-items: center; flex-shrink: 0; }
.feature-block-head h3 { margin: 0; font-size: 1.45rem; }
.feature-cols { columns: 2; column-gap: 40px; }
.feature-cols li {
    break-inside: avoid; list-style: none; display: flex; gap: 11px; padding: 9px 0; align-items: flex-start;
    border-bottom: 1px solid var(--line); font-size: .98rem;
}
.feature-cols li .tick { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--lime-soft); color: var(--navy); display: grid; place-items: center; margin-top: 3px; }

/* ----- CTA band ---------------------------------------------------------- */
.cta-band {
    background:
        radial-gradient(700px 400px at 90% 10%, rgba(222,228,75,.16), transparent 60%),
        linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
    border-radius: 28px; padding: 64px 56px; color: #fff; text-align: center; overflow: hidden; position: relative;
}
.cta-band h2 { color: #fff; max-width: 640px; margin: 0 auto .5em; }
.cta-band p { color: #c4c1e0; max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .hero-cta { justify-content: center; }

/* ----- Breadcrumb -------------------------------------------------------- */
.breadcrumb { font-size: .88rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--line); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

/* ----- Page hero (interior) --------------------------------------------- */
.page-hero {
    background:
        radial-gradient(900px 500px at 92% -10%, rgba(222,228,75,.14), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
    color: #c4c1e0; padding: 30px 0 80px;
}
.page-hero .breadcrumb { color: #8d8ab0; }
.page-hero .breadcrumb a { color: #8d8ab0; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb [aria-current] { color: #fff; }
.page-hero h1 { color: #fff; max-width: 820px; margin-top: 18px; }
.page-hero h1 .hl { color: var(--lime); }
.page-hero .page-hero-lead { font-size: 1.18rem; color: #c4c1e0; max-width: 680px; margin-top: 8px; }
.page-hero .hero-cta { margin-top: 30px; }

/* ----- FAQ / accordion --------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink);
    padding: 24px 44px 24px 0; position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--navy-700); transition: transform .2s ease; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-bottom: 24px; color: var(--muted); margin: 0; }

/* ----- Timeline ---------------------------------------------------------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; list-style: none; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 84px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 66px 1fr; gap: 34px; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy); text-align: right; padding-top: 16px; }
.timeline-marker { position: absolute; left: 78px; top: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--lime); border: 3px solid var(--navy); z-index: 1; }
.timeline-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.timeline-card h3 { margin-bottom: .35em; font-size: 1.18rem; }
.timeline-card p { margin: 0; color: var(--muted); font-size: .98rem; }

@media (max-width: 560px) {
    .timeline::before { left: 58px; }
    .timeline-item { grid-template-columns: 48px 1fr; gap: 22px; }
    .timeline-year { font-size: 1.1rem; padding-top: 14px; }
    .timeline-marker { left: 52px; top: 20px; }
}

/* ----- Pricing ----------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
    display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card.featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); position: relative; }
.price-card.featured::before {
    content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--lime); color: var(--navy); font-family: var(--font-head); font-weight: 700;
    font-size: .78rem; padding: 6px 16px; border-radius: 999px; letter-spacing: .04em;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card .price-desc { color: var(--muted); font-size: .95rem; min-height: 44px; }
.price-amount { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--navy); margin: 14px 0 2px; }
.price-amount small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price-meta { font-size: .85rem; color: var(--muted); margin: 0 0 4px; font-weight: 500; }
.price-card ul { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.price-card ul .tick { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--lime-soft); color: var(--navy); display: grid; place-items: center; margin-top: 2px; }
.price-card .btn { margin-top: auto; }

/* ----- Logos / integration tiles ---------------------------------------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px;
    display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 700; color: var(--ink);
    box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .tile-badge { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-tint); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; font-weight: 800; }
.tile small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }

/* ----- Quote / testimonial ---------------------------------------------- */
.quote-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px;
    box-shadow: var(--shadow-sm);
}
.quote-card blockquote { margin: 0 0 20px; font-family: var(--font-head); font-size: 1.18rem; color: var(--ink); line-height: 1.5; font-weight: 500; }
.quote-card .author { display: flex; align-items: center; gap: 12px; }
.quote-card .author .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--lime); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.quote-card .author strong { display: block; color: var(--ink); font-family: var(--font-head); }
.quote-card .author span { font-size: .9rem; color: var(--muted); }

/* ----- Contact form ------------------------------------------------------ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
    font-family: var(--font-body); font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line);
    border-radius: 11px; background: var(--bg-soft); color: var(--ink); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--muted); }
.contact-aside .tick-list { margin-top: 0; }

.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-size: .98rem; }
.alert-success { background: #e7f6ed; color: #1c6b3e; border: 1px solid #b7e3c8; }
.alert-error { background: #fdecec; color: #a32626; border: 1px solid #f3c4c4; }

/* ----- Misc -------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.center-cta { text-align: center; margin-top: 48px; }

/* ----- Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: #a9a6c8; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 42px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #9794ba; font-size: .96rem; max-width: 360px; }
.footer-contact a { color: var(--lime); font-weight: 600; }
.footer-col h3 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: #a9a6c8; font-size: .96rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; }
.footer-bottom p { margin: 0; font-size: .88rem; color: #807da3; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: #807da3; font-size: .88rem; }
.footer-legal a:hover { color: #fff; }

/* ----- Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 560px; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split.reverse .split-media { order: 0; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .price-card.featured { order: -1; }
    .tile-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
        max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: var(--shadow);
    }
    .primary-nav.open { max-height: calc(100vh - 76px); overflow-y: auto; }
    .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 26px; }
    .primary-nav li { width: 100%; }
    .primary-nav a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
    .has-dropdown .caret { margin-left: auto; }
    .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
        min-width: 0; padding: 0 0 6px 14px; max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .has-dropdown.open .dropdown { max-height: 600px; }
    .has-dropdown.open .caret { transform: rotate(180deg); }
    .nav-cta-mobile { display: block; margin-top: 14px; }
    .nav-cta-mobile .btn { width: 100%; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    .feature-cols { columns: 1; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 44px 24px; }
    .float-card--tl { left: 8px; top: 8px; }
    .float-card--br { right: 8px; bottom: 8px; }
    .hero-cta .btn, .cta-band .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
