/*
 * insign public portal (landing page at '/')
 * Standalone stylesheet, no build step. Brand colours follow the app (navy #05386b, mint #5cdb94).
 */

/* ---------- Tokens ---------- */
:root {
    --navy: #05386b;
    --navy-900: #04285b;
    --navy-950: #021a3d;
    --mint: #5cdb94;
    --mint-300: #8ee4af;
    --mint-100: #e3f8ec;
    --mint-dark: #13794a; /* text & icons on white (≈5.4:1) */
    --ink: #0f1f33;
    --muted: #5b6b7f;
    --muted-on-dark: #b9cde0;
    --line: #e2e8f0;
    --surface: #ffffff;
    --surface-2: #f4f8fb;

    --radius: 20px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 31, 51, .05), 0 2px 6px rgba(15, 31, 51, .06);
    --shadow: 0 14px 34px -14px rgba(5, 56, 107, .28);
    --shadow-lg: 0 30px 60px -24px rgba(2, 26, 61, .45);

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 96px;
    --font: 'Inter', 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--mint-dark); }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; color: var(--navy-900); text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--mint-dark); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
    position: absolute; 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: -100px; z-index: 100;
    padding: 10px 16px; border-radius: var(--radius-sm);
    background: var(--navy-900); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }

.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .75em 1.3em;
    border: 2px solid transparent; border-radius: 999px;
    font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9em 1.6em; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--mint); color: var(--navy-900); box-shadow: 0 10px 22px -10px rgba(92, 219, 148, .9); }
.btn-primary:hover { background: var(--mint-300); color: var(--navy-900); }

.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--surface-2); color: var(--navy); }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--mint-100); color: var(--navy-900); }

.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* ---------- Maintenance notice (above the sticky header, scrolls away) ---------- */
.site-notice { background: #fff4d6; border-bottom: 1px solid #f0c36d; color: var(--ink); }
.site-notice-inner { display: flex; align-items: center; gap: 12px; padding-block: 12px; }
.site-notice-inner > i { color: #a86a00; flex-shrink: 0; }
.site-notice-inner p { margin: 0; flex: 1; font-size: 15px; line-height: 1.5; }
.site-notice-dismiss { flex-shrink: 0; padding: .5em 1em; font-size: 14px; border-color: var(--navy); color: var(--navy); background: transparent; }
.site-notice-dismiss:hover { background: var(--navy); color: #fff; }
@media (max-width: 600px) {
    .site-notice-inner { flex-wrap: wrap; }
    .site-notice-dismiss { margin-left: auto; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(5, 56, 107, .35); }

.header-inner { position: relative; display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { flex-shrink: 0; }
.brand img { height: 76px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    display: block; padding: 8px 7px; border-radius: 999px;
    color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: background-color .2s, color .2s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--navy); }
.nav-links a.is-active { background: var(--mint-100); color: var(--navy-900); }

.nav-actions { display: flex; gap: 4px; }
.nav-actions .btn { padding-inline: 1.1em; white-space: nowrap; }
.nav-actions .btn-ghost { padding-inline: .8em; }

.nav-toggle {
    display: none; margin-left: auto;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; color: var(--navy); font-size: 18px; cursor: pointer;
}

@media (max-width: 1199px) {
    :root { --header-h: 80px; }
    .brand img { height: 58px; }

    /* Without JS the menu simply wraps under the logo */
    .header-inner { flex-wrap: wrap; }
    .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 16px; }
    .nav-links { flex-direction: column; }
    .nav-links a { padding: 12px; font-size: 16px; }
    .nav-actions { flex-direction: column; }
    .nav-actions .btn { width: 100%; }
    .nav-actions .btn-ghost { border-color: var(--line); }

    .js .nav-toggle { display: inline-flex; }
    .js .site-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0; /* .header-inner's padding box spans the full container */
        padding: 12px var(--gutter) 24px;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .js .site-nav.is-open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
    background:
        radial-gradient(640px 420px at 88% 8%, rgba(92, 219, 148, .30), transparent 62%),
        radial-gradient(720px 520px at -5% 105%, rgba(5, 56, 107, .10), transparent 60%),
        linear-gradient(180deg, #f6fafd 0%, #fff 100%);
}

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 22px; padding: 6px 14px;
    border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
    font-size: 14px; font-weight: 600; color: var(--navy);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(92, 219, 148, .28); }

.text-gradient {
    background: linear-gradient(90deg, var(--navy) 0%, var(--mint-dark) 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

.hero .lead { max-width: 34em; margin: 22px 0 34px; }

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

.hero-points {
    display: flex; flex-wrap: wrap; gap: 10px 24px;
    margin: 30px 0 0; padding: 0; list-style: none;
    font-size: 15px; font-weight: 500; color: var(--muted);
}
.hero-points i { margin-right: 8px; color: var(--mint-dark); }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; }
}

/* ---------- Product mock (hero visual) ---------- */
.mock {
    position: relative; isolation: isolate;
    padding: clamp(28px, 4.5vw, 52px);
    border-radius: 28px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 40%, #0d6f86 78%, var(--mint) 130%);
    box-shadow: var(--shadow-lg);
}
/* Hatch lines & mint glow, echoing the app's background */
.mock::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 16px);
    -webkit-mask-image: linear-gradient(to bottom left, #000 10%, transparent 65%);
    mask-image: linear-gradient(to bottom left, #000 10%, transparent 65%);
}
.mock::after {
    content: ""; position: absolute; z-index: -1; right: 0; bottom: 0;
    width: 70%; height: 70%; border-radius: 0 0 28px 0;
    background: radial-gradient(circle at 100% 100%, rgba(142, 228, 175, .55), transparent 65%);
}

.mock-window { overflow: hidden; border-radius: 16px; background: #f8fafc; box-shadow: 0 24px 50px -22px rgba(2, 26, 61, .7); }

.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f6; border-bottom: 1px solid var(--line); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-dot:nth-child(1) { background: #f87171; }
.mock-dot:nth-child(2) { background: #fbbf24; }
.mock-dot:nth-child(3) { background: #34d399; }
.mock-url {
    flex: 1; max-width: 220px; margin-left: 12px; padding: 3px 12px;
    border: 1px solid var(--line); border-radius: 999px; background: #fff;
    font-size: 12px; color: var(--muted);
}
.mock-url i { margin-right: 4px; font-size: 10px; color: var(--mint-dark); }

.mock-toolbar {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 9px 16px; background: #fff; border-bottom: 1px solid var(--line);
    font-size: 12px; color: var(--muted);
}
.mock-file { min-width: 0; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-file i { margin-right: 6px; color: #e5484d; }
.mock-pages { white-space: nowrap; }

.mock-sheet {
    position: relative;
    display: flex; flex-direction: column; gap: 9px;
    width: 80%; margin: 20px auto 24px; padding: 24px 22px 128px;
    border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: var(--shadow-sm);
}
.mock-line { display: block; height: 7px; border-radius: 4px; background: #e6ecf2; }
.mock-line--title { width: 55%; height: 10px; margin-bottom: 6px; background: #cfd9e3; }
.mock-line--short { width: 68%; }
.mock-line--mid { width: 86%; }

.mock-signature {
    position: absolute; right: 16px; bottom: 16px;
    display: flex; flex-direction: column;
    width: min(64%, 240px); padding: 8px 12px 10px;
    border: 2px dashed var(--mint); border-radius: 8px;
    background: rgba(92, 219, 148, .09);
}
.mock-scribble { width: 100%; height: 40px; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mock-sig-label { margin-top: 2px; font-size: 10px; color: var(--muted); }
.mock-sig-name { font-size: 12.5px; font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.mock-sig-date { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.mock-otp {
    position: absolute; top: 16%; right: -14px;
    display: flex; flex-direction: column; gap: 8px;
    padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg);
}
.mock-otp-label { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.mock-otp-label i { margin-right: 4px; color: var(--mint-dark); }
.mock-otp-digits { display: flex; gap: 4px; }
.mock-otp-digits span {
    display: grid; place-items: center; width: 24px; height: 30px;
    border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2);
    font-size: 15px; font-weight: 700; color: var(--navy-900); font-variant-numeric: tabular-nums;
}

.mock-toast {
    position: absolute; left: -14px; bottom: 12%;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 999px; background: var(--navy-950); box-shadow: var(--shadow-lg);
    font-size: 13.5px; font-weight: 600; color: #fff; white-space: nowrap;
}
.mock-toast i { color: var(--mint); }

@media (max-width: 560px) {
    .mock { padding: 20px 16px; }
    .mock-sheet { width: 90%; padding: 18px 16px 104px; }
    .mock-signature { right: 10px; bottom: 10px; width: 82%; padding: 6px 10px 8px; }
    .mock-scribble { height: 30px; }
    .mock-sig-label { font-size: 9px; }
    .mock-sig-name { font-size: 11.5px; }
    .mock-otp { right: 8px; top: 8px; padding: 10px; }
    .mock-otp-digits span { width: 20px; height: 26px; font-size: 13px; }
    .mock-toast { left: 8px; bottom: 8px; font-size: 12.5px; }
}

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-block: 1px solid var(--line); }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-block: 0; padding-block: 28px; list-style: none;
}
.trust-item { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.trust-item strong { display: block; font-size: 15px; color: var(--navy-900); }
.trust-item i { flex-shrink: 0; font-size: 28px; --fa-primary-color: var(--navy); --fa-secondary-color: var(--mint); --fa-secondary-opacity: 1; }

@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--alt { background: var(--surface-2); }
.section--dark {
    background: radial-gradient(820px 420px at 100% 0%, rgba(92, 219, 148, .16), transparent 60%), var(--navy-900);
    color: var(--muted-on-dark);
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p:last-child { margin: 16px 0 0; font-size: 18px; color: var(--muted); }

.kicker { display: inline-block; margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--mint-dark); }
.kicker--light { color: var(--mint); }

.icon-badge {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--mint-100); font-size: 22px;
    --fa-primary-color: var(--navy); --fa-secondary-color: var(--mint-dark); --fa-secondary-opacity: .55;
}
.icon-badge--lg { width: 64px; height: 64px; border-radius: 18px; font-size: 28px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step {
    position: relative; padding: 28px 24px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-number { position: absolute; top: 16px; right: 22px; font-size: 48px; font-weight: 800; line-height: 1; color: #e7eef5; }
.step h3 { margin: 20px 0 8px; }
.step p { margin: 0; font-size: 15.5px; color: var(--muted); }

@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 16px; }
.pillar { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%); }
.pillar h3 { margin: 20px 0 10px; font-size: 22px; }
.pillar p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 0 32px; }
.feature { display: flex; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.feature h3 { margin: 2px 0 6px; font-size: 17px; }
.feature p { margin: 0; font-size: 15.5px; color: var(--muted); }

.privacy-note {
    display: flex; align-items: center; gap: 20px;
    margin-top: 40px; padding: 24px 28px;
    border-radius: var(--radius); background: var(--navy-900); color: var(--muted-on-dark);
}
.privacy-note i { flex-shrink: 0; font-size: 32px; --fa-primary-color: #fff; --fa-secondary-color: var(--mint); --fa-secondary-opacity: 1; }
.privacy-note strong { color: #fff; }
.privacy-note p { margin: 0; }

/* ---------- Legal ---------- */
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.legal-copy .lead { margin: 20px 0 0; color: var(--muted-on-dark); }
.legal-points { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.legal-points li {
    display: flex; gap: 18px; padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, .10); border-radius: var(--radius); background: rgba(255, 255, 255, .05);
}
.legal-points i { flex-shrink: 0; margin-top: 2px; font-size: 26px; --fa-primary-color: var(--mint); --fa-secondary-color: #fff; --fa-secondary-opacity: .35; }
.legal-points h3 { margin: 0 0 4px; font-size: 18px; }
.legal-points p { margin: 0; font-size: 15.5px; }

@media (max-width: 960px) { .legal-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pricing-copy h2 { margin-bottom: 20px; }
.pricing-copy p:not(.kicker) { font-size: 18px; }

.price-card {
    position: relative; overflow: hidden; padding: 40px 36px 36px;
    border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg);
}
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--navy), var(--mint)); }
.price-badge { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px; background: var(--mint-100); font-size: 13px; font-weight: 700; color: var(--mint-dark); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 28px; }
.price-amount { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--navy-900); }
.price-period { font-weight: 600; color: var(--muted); }

.check-list { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.check-list i {
    display: grid; place-items: center; flex-shrink: 0;
    width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
    background: var(--mint-100); font-size: 11px; color: var(--mint-dark);
}

@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- Apply (timeline) ---------- */
.apply-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.apply-head { position: sticky; top: calc(var(--header-h) + 32px); }
.apply-head p:not(.kicker) { margin: 16px 0 28px; font-size: 18px; color: var(--muted); }

.timeline { margin: 0; padding: 0; list-style: none; }
.timeline-item { position: relative; display: flex; gap: 20px; padding-bottom: 30px; }
/* Connector from each marker down to the next one */
.timeline-item:not(:last-child)::before {
    content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px;
    background: linear-gradient(var(--mint), rgba(5, 56, 107, .45));
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: relative; z-index: 1; display: grid; place-items: center; flex-shrink: 0;
    width: 48px; height: 48px; border: 2px solid var(--mint); border-radius: 50%;
    background: #fff; color: var(--navy);
}
.timeline-item h3 { margin: 2px 0 6px; font-size: 18px; }
.timeline-step { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--mint-dark); }
.timeline-item p { margin: 0; font-size: 15.5px; color: var(--muted); }
.timeline-item .timeline-note {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px;
    border-radius: 999px; background: var(--mint-100); color: var(--mint-dark); font-size: 14px; font-weight: 600;
}

@media (max-width: 960px) {
    .apply-grid { grid-template-columns: 1fr; }
    .apply-head { position: static; }
}

/* ---------- Business ---------- */
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.business-card {
    display: flex; flex-direction: column; align-items: flex-start; padding: 36px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
}
.business-card h3 { margin: 20px 0 8px; font-size: 22px; }
.business-card > p { color: var(--muted); }
.business-card .btn { margin-top: auto; }

.endpoint-list { display: grid; gap: 10px; width: 100%; margin: 0 0 28px; padding: 0; list-style: none; }
.endpoint-list li {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px;
    padding: 10px 14px; border-radius: 10px; background: var(--navy-950);
    font-size: 13.5px; color: var(--muted-on-dark);
}
.endpoint-list code { font-family: var(--mono); font-size: 13px; color: #fff; }
.endpoint-list .method { margin-right: 6px; font-weight: 700; color: var(--mint); }

@media (max-width: 860px) { .business-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .business-card { padding: 28px 22px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-head p:not(.kicker) { margin-top: 16px; font-size: 18px; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--mint); box-shadow: var(--shadow-sm); }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 22px; cursor: pointer; list-style: none;
    font-weight: 600; color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex-shrink: 0; color: var(--mint-dark); transition: transform .2s; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Contact / final CTA ---------- */
.cta {
    padding-block: clamp(64px, 9vw, 104px); color: #fff;
    background:
        radial-gradient(620px 320px at 92% 0%, rgba(142, 228, 175, .40), transparent 62%),
        linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 45%, #0d6f86 80%, #1f9d6a 110%);
}
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cta h2 { color: #fff; }
.cta .lead { margin: 16px 0 32px; color: #d3e3f1; }

.contact-card { padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); color: var(--ink); font-style: normal; }
.contact-card h3 { margin: 0 0 20px; font-size: 20px; }
.contact-card ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact-card li { display: flex; align-items: center; gap: 14px; }
.contact-card i {
    display: grid; place-items: center; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 12px; background: var(--mint-100); color: var(--mint-dark);
}
.contact-card a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.contact-note { margin: 20px 0 0; font-size: 13.5px; color: var(--muted); }

@media (max-width: 960px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 24px; background: var(--navy-950); font-size: 15px; color: #9fb3c8; }
.site-footer a { color: #c9d8e6; text-decoration: none; }
.site-footer a:hover { color: var(--mint); }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: auto; height: 48px; margin-bottom: 18px; }
.footer-brand p { max-width: 28em; }
.footer-col h2 { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: #fff; }
.footer-col ul { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }

.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .10); font-size: 14px;
}
.footer-bottom p { margin: 0; }

@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Cookie consent (spatie/laravel-cookie-consent markup) ---------- */
.cookie-consent {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
    max-width: 560px; padding: 16px 20px;
    border-radius: 16px; background: var(--navy-900); box-shadow: var(--shadow-lg);
    font-size: 14.5px; color: #fff;
}
.cookie-consent__message { flex: 1 1 260px; }
.cookie-consent__message i { margin-right: 6px; color: var(--mint); }
.cookie-consent__agree {
    padding: 10px 20px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--mint); color: var(--navy-900); font: inherit; font-weight: 700;
}
.cookie-consent__agree:hover { background: var(--mint-300); }

/* ---------- Motion (only when the visitor hasn't asked for less) ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover, .step:hover { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
    .js .reveal.is-visible { opacity: 1; transform: none; }

    .mock-signature { animation: sig-drop .9s cubic-bezier(.2, .8, .2, 1) .5s both; }
    .mock-scribble path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: sig-draw 1.6s ease-out 1.3s forwards; }
    .mock-otp { animation: float-in .7s ease-out .2s both, bob 6s ease-in-out 1s infinite; }
    .mock-toast { animation: pop .5s cubic-bezier(.2, .9, .3, 1.4) 3s both; }
}

@keyframes sig-drop {
    from { opacity: 0; transform: translate(-40px, -56px) rotate(-3deg); }
    to { opacity: 1; transform: none; }
}
@keyframes sig-draw { to { stroke-dashoffset: 0; } }
@keyframes float-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes pop {
    from { opacity: 0; transform: scale(.8); }
    to { opacity: 1; transform: none; }
}
