/* ==========================================================================
   Mexus marketing site
   ========================================================================== */

:root {
    --navy-950: #07111f;
    --navy-900: #0d1b2e;
    --navy-800: #142640;
    --navy-700: #1d3456;

    --ink: #0f1d33;
    --body: #3d4b61;
    --muted: #64738a;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;

    --green: #15803d;
    --green-hover: #116b33;
    --green-bright: #46b065;
    --green-tint: #e8f6ed;

    --leave-blue: #1976d2;
    --leave-red: #ef5350;
    --leave-amber: #f5a524;
    --leave-green: #2fb35a;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 29, 51, .06), 0 1px 3px rgba(15, 29, 51, .05);
    --shadow: 0 10px 30px -12px rgba(15, 29, 51, .18), 0 2px 6px rgba(15, 29, 51, .05);
    --shadow-lg: 0 30px 60px -20px rgba(15, 29, 51, .28);

    --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

    --header-h: 68px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-hover); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -.02em;
    text-wrap: balance;
}

p { margin: 0 0 1em; }

:focus-visible {
    outline: 3px solid var(--leave-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 16px;
}

@media (min-width: 640px) {
    .container { padding-inline: 24px; }
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

/* Buttons ----------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.2rem;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .15s; }
.btn:hover .icon { transform: translateX(2px); }

.btn-sm { padding: .5rem .9rem; font-size: .9rem; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(21, 128, 61, .55);
}
.btn-primary:hover { background: var(--green-hover); color: #fff; }

.btn-outline {
    background: #fff;
    border-color: var(--line-strong);
    color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--green); }
.btn-ghost:hover .icon { transform: none; }

.btn-light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.play-dot {
    display: inline-grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--green);
    box-shadow: var(--shadow);
    transition: transform .2s;
}
.play-dot .icon { width: 16px; height: 16px; margin-left: 2px; stroke: none; }
.btn-ghost:hover .play-dot { transform: scale(1.08); }

.pill {
    display: inline-flex;
    align-items: center;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* Topbar ------------------------------------------------------------------ */

.topbar {
    background: var(--navy-950);
    color: #c8d3e3;
    font-size: .85rem;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
}
.topbar-offer {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.topbar-offer strong { color: #fff; }
a.topbar-offer:hover { color: #fff; }
a.topbar-offer:hover .icon { transform: translateX(2px); }
.topbar-offer .icon { width: 1em; height: 1em; transition: transform .15s; }
.pill-offer { background: var(--green-bright); color: var(--navy-950); }

.currency-switch {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    flex: none;
}
.currency-switch button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #aebbd0;
    font: inherit;
    font-size: .78rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.currency-switch button span { opacity: .7; margin-right: 1px; }
.currency-switch button:hover { color: #fff; }
.currency-switch button[aria-pressed="true"] { background: #fff; color: var(--navy-900); }
.currency-switch button[aria-pressed="true"] span { opacity: 1; }

@media (max-width: 560px) {
    .topbar-offer .pill-offer, .topbar-offer .icon { display: none; }
    .currency-switch button { padding: .25rem .5rem; }
}

/* Header ------------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--navy-900);
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--header-h);
}
.brand { display: inline-flex; margin-right: auto; }
.brand img { width: 120px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
    display: block;
    padding: .45rem .75rem;
    border-radius: 8px;
    color: #c8d3e3;
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s, background-color .15s;
}
.site-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav ul a.is-active { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-signin { color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav-signin:hover { color: var(--green-bright); }

.nav-toggle {
    display: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 8px;
    margin-right: -8px;
    cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 16px 20px;
        background: var(--navy-900);
        border-top: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 20px 30px -10px rgba(0, 0, 0, .4);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .site-nav ul { flex-direction: column; }
    .site-nav ul a { padding: .75rem .5rem; font-size: 1rem; }
    .nav-actions { justify-content: space-between; padding: 12px .5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); }
}

/* Sections ---------------------------------------------------------------- */

.section { padding-block: 88px; }
.section-tight { padding-block: 48px; }
.section-soft { background: var(--bg-soft); }

@media (max-width: 640px) {
    .section { padding-block: 64px; }
    .section-tight { padding-block: 32px; }
}

.section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-head-left { margin-inline: 0; text-align: left; }

.kicker {
    display: inline-block;
    margin-bottom: .75rem;
    color: var(--green);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.split-faq { grid-template-columns: 5fr 7fr; align-items: start; }
@media (max-width: 900px) {
    .split, .split-faq { grid-template-columns: 1fr; gap: 40px; }
}

/* Hero -------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 56px;
    background: linear-gradient(180deg, #eef3f9 0%, #f7f9fc 70%, #fff 100%);
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15, 29, 51, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 29, 51, .06) 1px, transparent 1px);
    background-size: 56px 44px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 11fr 12fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .85rem .4rem .6rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-size: .88rem;
    font-weight: 600;
}
.eyebrow .icon { color: var(--green-bright); }

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.035em;
    margin-bottom: 1.25rem;
}
.hl {
    background: linear-gradient(90deg, var(--green) 0%, var(--leave-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lead { font-size: 1.15rem; color: var(--body); max-width: 540px; margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
    font-size: .9rem;
    color: var(--muted);
}
.hero-notes li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-notes .icon { color: var(--green); width: 1.1em; height: 1.1em; }

.hero-visual { position: relative; }
.hero-visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(15, 29, 51, .12)); }

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: .85rem;
    color: var(--ink);
    animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: .78rem; }
.float-who { top: 6%; left: -4%; flex-direction: column; align-items: flex-start; gap: 8px; }
.float-title { font-weight: 600; }
.float-approved { bottom: 4%; right: -2%; animation-delay: -3s; }
.float-icon {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--green-tint);
    color: var(--green);
}
.float-icon .icon { width: 18px; height: 18px; stroke-width: 2.5; }

.avatars { display: flex; }
.avatars span, .mock-avatar {
    display: grid;
    place-items: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--c);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    border: 2px solid #fff;
}
.avatars span + span { margin-left: -8px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 56px 0 0;
    padding: 0;
    list-style: none;
}
.benefits li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.benefits strong { display: block; color: var(--ink); line-height: 1.3; }
.benefits small { color: var(--muted); font-size: .88rem; }
.benefit-icon {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    flex: none;
    border-radius: 12px;
    background: var(--navy-900);
    color: var(--green-bright);
}

@media (max-width: 960px) {
    .hero { padding-top: 48px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
    .float-who { left: 0; }
    .float-approved { right: 0; }
    .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .float-card { padding: 8px 12px; font-size: .78rem; }
    .float-who { top: -4%; }
    .float-approved { bottom: -6%; }
    .avatars span { width: 26px; height: 26px; font-size: .62rem; }
}

/* Features ---------------------------------------------------------------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card, .contact-card {
    position: relative;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.feature-card h3, .contact-card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.feature-card p { margin: 0; color: var(--muted); }

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 12%, #fff);
}
.feature-icon .icon { width: 24px; height: 24px; }

/* How it works ------------------------------------------------------------ */

.steps {
    counter-reset: step;
    margin: 0;
    padding: 0;
    list-style: none;
}
.steps li {
    position: relative;
    padding: 0 0 28px 64px;
    counter-increment: step;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: -4px;
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    font-weight: 700;
}
.steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 20px; top: 44px; bottom: 4px;
    border-left: 2px dashed var(--line-strong);
}
.steps li:last-child { padding-bottom: 0; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--muted); }

.request-mock {
    position: relative;
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
    font-size: .92rem;
}
.mock-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mock-head strong { display: block; line-height: 1.3; }
.mock-head small { color: var(--muted); }
.mock-avatar { width: 42px; height: 42px; font-size: .85rem; border: 0; }
.pill-pending { margin-left: auto; background: #fff4e0; color: #9a5b00; }

.mock-rows { margin: 0; padding: 12px 0; }
.mock-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.mock-rows dt { color: var(--muted); }
.mock-rows dd { margin: 0; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-align: right; }
.mock-rows i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }

.mock-balance { padding: 14px 16px; background: var(--bg-soft); border-radius: var(--radius); }
.mock-balance-label { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.mock-balance-label span:last-child { color: var(--ink); font-weight: 600; }
.bar { display: flex; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar span { background: var(--leave-blue); }
.bar .bar-new {
    background: repeating-linear-gradient(-45deg, var(--leave-blue) 0 4px, #64a8ea 4px 8px);
}

.mock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mock-btn { display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 10px; border-radius: 10px; font-weight: 600; }
.mock-btn-muted { border: 1.5px solid var(--line-strong); color: var(--body); }
.mock-btn-primary { background: var(--green); color: #fff; }
.mock-btn .icon { width: 18px; height: 18px; stroke-width: 2.5; }

.mock-toast {
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 10px 16px;
    background: var(--navy-900);
    color: #e2e8f0;
    border-radius: 999px;
    font-size: .8rem;
    box-shadow: var(--shadow);
}
.mock-toast .icon { color: var(--green-bright); width: 16px; height: 16px; }

/* Leave types ------------------------------------------------------------- */

.types-band {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: center;
    padding: 36px 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}
.types-band h2 { font-size: 1.5rem; }
.types-band p { margin: 0; color: var(--muted); }
.type-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.type-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .45rem .9rem .45rem .7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--c) 10%, #fff);
    color: var(--ink);
    font-size: .9rem;
    font-weight: 600;
}
.type-chips li::before {
    content: "";
    width: 18px; height: 8px;
    border-radius: 3px;
    background: var(--c);
}
.type-chips .chip-custom { background: transparent; border: 1.5px dashed var(--line-strong); color: var(--muted); padding-left: .9rem; }
.type-chips .chip-custom::before { display: none; }

@media (max-width: 860px) {
    .types-band { grid-template-columns: 1fr; padding: 28px 24px; }
}

/* Pricing ----------------------------------------------------------------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
@media (max-width: 960px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.plan h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.plan-desc { color: var(--muted); font-size: .93rem; min-height: 3em; }

.price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin-top: .5rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
}
.price-symbol { font-size: 1.6rem; font-weight: 700; align-self: flex-start; margin-top: .35rem; margin-right: 2px; }
.price-amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.price-was {
    order: -1;
    flex-basis: 100%;
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration-color: var(--leave-red);
    text-decoration-thickness: 2px;
}
.price-period { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.plan-note { text-align: center; color: var(--muted); font-size: .82rem; margin: .6rem 0 0; }

.plan-features {
    margin: 24px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
    display: grid;
    gap: 12px;
    font-size: .94rem;
    color: var(--ink);
}
.plan-features li { display: flex; align-items: flex-start; gap: 10px; }
.plan-features .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--green); stroke-width: 2.5; }
.plan-features .off { color: var(--muted); }
.plan-features .off > span:first-of-type { text-decoration: line-through; text-decoration-color: var(--line-strong); }
.plan-features .off .icon { color: var(--line-strong); }
.plan-features strong { font-weight: 600; }

.plan-featured {
    border: 2px solid var(--green);
    box-shadow: 0 30px 60px -24px rgba(21, 128, 61, .35);
}
@media (min-width: 961px) {
    .plan-featured { transform: translateY(-12px); }
}
.plan-badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    padding: .4rem 1rem;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 6px 14px -4px rgba(21, 128, 61, .5);
}

.estimator {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: center;
    max-width: 920px;
    margin: 56px auto 0;
    padding: 28px 32px;
    background: var(--navy-900);
    color: #c8d3e3;
    border-radius: var(--radius-lg);
}
.estimator label { display: block; color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.estimator p { margin: .15rem 0 1rem; font-size: .92rem; }
.estimator-control { display: flex; align-items: center; gap: 16px; }
.estimator output {
    min-width: 3.2em;
    padding: .3rem .6rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.estimator input[type="range"] {
    flex: 1;
    min-width: 0;
    height: 6px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 99px;
    background: linear-gradient(to right, var(--green-bright) var(--fill, 8%), rgba(255, 255, 255, .15) var(--fill, 8%));
    cursor: pointer;
}
.estimator input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--green-bright);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.estimator input[type="range"]::-moz-range-thumb {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--green-bright);
}
.estimator-result { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.estimator-plan { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-bright); }
.estimator-total { color: #fff; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.estimator-total small { font-size: .9rem; font-weight: 500; color: #9fb0c8; margin-left: 4px; letter-spacing: 0; }
.estimator-detail { font-size: .85rem; min-height: 1.4em; }
.estimator-detail s { text-decoration-color: var(--leave-red); }

@media (max-width: 720px) {
    .estimator { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
    .estimator-result { align-items: flex-start; text-align: left; }
}

.pricing-foot { margin: 32px 0 0; text-align: center; color: var(--muted); font-size: .92rem; }

/* FAQ --------------------------------------------------------------------- */

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 4px;
    color: var(--ink);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--green); }
.faq-list summary .icon { color: var(--muted); transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { margin: -4px 0 20px; padding-inline: 4px; color: var(--muted); max-width: 62ch; }

/* CTA --------------------------------------------------------------------- */

.cta {
    position: relative;
    overflow: hidden;
    padding: 72px 32px;
    border-radius: 28px;
    background: radial-gradient(ellipse at 50% 120%, var(--navy-700) 0%, var(--navy-900) 60%);
    color: #c8d3e3;
    text-align: center;
}
.cta h2 { position: relative; color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.cta p { position: relative; font-size: 1.1rem; margin-bottom: 2rem; }
.cta .hero-actions { position: relative; justify-content: center; }
.cta-bars span {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: 14px;
    border-radius: 5px;
    background: var(--c);
    opacity: .18;
}
@media (max-width: 640px) {
    .cta { padding: 56px 20px; border-radius: 20px; }
}

/* Contact ----------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.contact-card {
    display: block;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
    text-decoration: none;
}
.contact-card p { margin: 0; color: var(--muted); }
a.contact-card, button.contact-card { cursor: pointer; }
a.contact-card:hover, button.contact-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
a.contact-card:hover p, button.contact-card:hover p { color: var(--green); }

/* Footer ------------------------------------------------------------------ */

.site-footer {
    margin-top: 32px;
    background: var(--navy-950);
    color: #9fb0c8;
    font-size: .93rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-block: 64px 48px;
}
.footer-brand img { width: 132px; margin-bottom: 16px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: 0; margin-bottom: 1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #c8d3e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .85rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Video dialog ------------------------------------------------------------ */

.video-dialog {
    width: min(960px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: #000;
    overflow: visible;
}
.video-dialog::backdrop { background: rgba(7, 17, 31, .82); backdrop-filter: blur(3px); }
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-close {
    position: absolute;
    top: -48px; right: 0;
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    cursor: pointer;
}
.video-close:hover { background: rgba(255, 255, 255, .28); }

/* Legal pages & errors ---------------------------------------------------- */

.page-hero {
    padding: 56px 0 40px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: .3rem; }
.page-hero p { margin: 0; color: var(--muted); }

.prose {
    max-width: 760px;
    padding-block: 48px 72px;
    color: var(--body);
}
.prose h2, .prose h3 { font-size: 1.3rem; margin: 2.2em 0 .6em; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--green); }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

/* Reveal on scroll -------------------------------------------------------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .plan-featured[data-reveal].is-visible { transform: translateY(-12px); }
@media (max-width: 960px) {
    .js .plan-featured[data-reveal].is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .float-card { animation: none; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
