@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800&display=swap");

:root {
    color-scheme: light;
    --bg: #eef5ef;
    --bg-2: #dfeee4;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: #ffffff;
    --surface-muted: #f6faf7;
    --text: #143122;
    --muted: #444;
    --border: #a4a8a4;
    --border-strong: #8f938f;
    --accent: #017848;
    --accent-2: #017848;
    --accent-3: #2d8e5c;
    --accent-soft: rgba(1, 120, 72, 0.04);
    --accent-soft-2: rgba(1, 120, 72, 0.08);
    --success: #1f7a4c;
    --danger: #b23a48;
    --warning: #8c5b1d;
    --shadow-sm: 0 8px 20px rgba(18, 38, 28, 0.06);
    --shadow: 0 16px 40px rgba(18, 38, 28, 0.08);
    --shadow-lg: 0 30px 70px rgba(18, 38, 28, 0.16);
    --radius-xl: 26px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --focus: 0 0 0 3px rgba(1, 120, 72, 0.08);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: Urbanist, Aptos, Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.48;
    background: #FFFDFA;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(#d7d9d7 1px, transparent 1px),
        linear-gradient(90deg, #d7d9d7 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 72%);
    opacity: 0.26;
}

body.getstarted-page::before {
    content: none;
}

::selection {
    background: rgba(1, 120, 72, 0.05);
}

img, svg, video, canvas {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

a {
    color: inherit;
}

.page-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 56px;
    position: relative;
    z-index: 0;
}

.lead-shell {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 36px;
}

.lead-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: start;
}

.hero-panel,
.form-card,
.success-card,
.stat-card,
.notice-box,
.question-card,
.leads-table,
.toolbar,
.admin-login-viewport,
.admin-login-shell {
    backdrop-filter: blur(16px);
}

.hero-panel,
.form-card,
.success-card,
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(1, 120, 72, 0.08), transparent 36%),
        radial-gradient(circle at bottom left, rgba(1, 120, 72, 0.04), transparent 34%);
    pointer-events: none;
}

.hero-panel > * {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--accent);
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3.65rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

h2 {
    margin: 0;
    letter-spacing: -0.02em;
}

.lede,
.hero-summary,
.question-copy,
.fineprint,
.muted,
.field-hint,
.panel-stat span,
.stat-card span {
    color: var(--muted);
}

.lede {
    margin: 16px 0 0;
    font-size: 1.05rem;
    max-width: 58ch;
}

.hero-summary {
    margin: 18px 0 0;
    font-size: 0.98rem;
    max-width: 56ch;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.panel-stat {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #a4a8a4;
    box-shadow: 0 12px 26px rgba(18, 38, 28, 0.05);
}

.panel-stat strong,
.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.hero-points {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #a4a8a4;
    color: var(--text);
    box-shadow: 0 10px 22px rgba(18, 38, 28, 0.04);
}

.hero-point::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(1, 120, 72, 0.08);
    flex: 0 0 auto;
}

.form-card,
.success-card {
    padding: 22px;
}

.form-card {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(1, 120, 72, 0.08);
}

.form-card::before,
.success-card::before,
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
}

.form-card::after,
.success-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -18% auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(1, 120, 72, 0.03);
    pointer-events: none;
}

.progress-wrap {
    margin-bottom: 18px;
}

.progress-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.progress-head span:first-child {
    font-weight: 700;
    color: var(--accent);
}

.progress-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(1, 120, 72, 0.05);
    overflow: hidden;
}

.progress-bar span {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    box-shadow: 0 6px 20px rgba(1, 120, 72, 0.08);
    transition: width 220ms ease;
}

.question-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid #a4a8a4;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 20px rgba(18, 38, 28, 0.03);
}

.question-card + .question-card {
    margin-top: 14px;
}

.question-card h2 {
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.question-copy {
    margin: 7px 0 0;
    max-width: 54ch;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.options-grid.stacked {
    grid-template-columns: 1fr;
}

.option-btn,
.primary-btn,
.secondary-btn,
.password-toggle {
    border: 1px solid #a4a8a4;
    border-radius: 12px;
    padding: 13px 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        border-color 150ms ease,
        background 150ms ease,
        color 150ms ease;
}

.option-btn {
    background: rgba(255, 255, 255, 0.8);
    text-align: left;
}

.option-btn:hover,
.secondary-btn:hover,
.password-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(1, 120, 72, 0.08);
    box-shadow: 0 8px 18px rgba(18, 38, 28, 0.05);
}

.option-btn.selected {
    border-color: rgba(1, 120, 72, 0.14);
    background: rgba(1, 120, 72, 0.05);
    color: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(1, 120, 72, 0.03);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.form-grid label,
.admin-login label,
.password-field {
    display: grid;
    gap: 6px;
}

label span {
    font-size: 0.92rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select {
    width: 100%;
    border: 1px solid #a4a8a4;
    border-radius: 12px;
    padding: 12px 13px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    box-shadow: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

input::placeholder,
select::placeholder {
    color: rgba(94, 113, 104, 0.72);
}

input:focus,
select:focus,
button:focus,
.password-toggle:focus {
    outline: none;
    box-shadow: var(--focus);
    border-color: rgba(1, 120, 72, 0.08);
}

.notice-box {
    margin-top: 16px;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(1, 120, 72, 0.04);
    background: rgba(255, 255, 255, 0.82);
}

.notice-box p {
    margin: 0 0 8px;
}

.notice-box p:last-child {
    margin-bottom: 0;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 14px;
    line-height: 1.45;
    color: var(--text);
}

.consent-row input {
    margin-top: 4px;
    accent-color: var(--accent);
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.primary-btn {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(1, 120, 72, 0.08);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(1, 120, 72, 0.10);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
}

.error-banner,
.success-banner {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
}

.error-banner,
.field-error {
    color: var(--danger);
}

.error-banner {
    background: rgba(178, 58, 72, 0.08);
    border-color: rgba(178, 58, 72, 0.18);
}

.field-error {
    display: block;
    margin-top: 6px;
    font-size: 0.9rem;
}

.success-banner {
    background: rgba(1, 120, 72, 0.03);
    border-color: rgba(1, 120, 72, 0.06);
    color: var(--success);
}

.fineprint {
    margin: 12px 0 0;
    font-size: 0.9rem;
}

.success-card {
    width: min(760px, 100%);
    margin: 0 auto 22px;
    padding: 22px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.success-card h2 {
    margin-top: 0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.centered-card {
    width: min(760px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.narrow {
    max-width: 520px;
}

.admin-shell {
    min-height: 100vh;
}

.admin-login-viewport {
    min-height: calc(100vh - 56px);
    display: grid;
    place-items: center;
    padding: 24px 0;
}

.admin-login-shell {
    width: min(520px, 100%);
    margin-top: 0;
}

.admin-login {
    display: grid;
    gap: 12px;
}

.admin-login .primary-btn {
    margin-top: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.filter-row input[type="text"],
.filter-row select {
    min-width: 220px;
}

.checkbox-inline {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text);
}

.checkbox-inline input {
    accent-color: var(--accent);
}

.toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
}

.leads-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    background: #FFFDFA;
}

.leads-table th,
.leads-table td {
    padding: 12px 12px;
    border-bottom: 1px solid #a4a8a4;
    text-align: left;
    vertical-align: top;
    font-size: 0.92rem;
}

.leads-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: linear-gradient(180deg, #f7fbf8, #eef5ef);
    color: var(--text);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.leads-table tbody tr:hover td {
    background: rgba(1, 120, 72, 0.02);
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: capitalize;
    background: rgba(1, 120, 72, 0.03);
    color: var(--accent);
}

.pill.hot {
    background: rgba(1, 120, 72, 0.05);
    color: var(--success);
}

.pill.warm {
    background: rgba(140, 91, 29, 0.14);
    color: var(--warning);
}

.pill.cold {
    background: rgba(1, 120, 72, 0.03);
    color: var(--accent);
}

.strength-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
}

.strength-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
}

.strength-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--muted);
}

.strength-list li.met {
    color: var(--success);
}

.strength-list li.met::before {
    color: var(--success);
}

.strength-list li.missing {
    color: var(--danger);
}

.strength-list li.missing::before {
    color: var(--danger);
}

.confirm-match {
    color: var(--muted);
}

.confirm-match.ok {
    color: var(--success);
}

.confirm-match.bad {
    color: var(--danger);
}

.password-card {
    margin-bottom: 18px;
}

.password-input-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.password-input-wrap input {
    flex: 1;
}

.password-toggle {
    min-width: 76px;
    background: rgba(255, 255, 255, 0.92);
}

.table-wrap::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.table-wrap::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: rgba(1, 120, 72, 0.10);
    border: 3px solid transparent;
    background-clip: content-box;
    border-radius: 999px;
}

.table-wrap::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: #d7d9d7;
}

@media (max-width: 1080px) {
    .lead-layout {
        grid-template-columns: 1fr;
    }

    .hero-metrics,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .form-grid,
    .options-grid,
    .stats-grid,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .toolbar,
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-row input[type="text"],
    .filter-row select {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 18px, 100%);
        padding-top: 14px;
        padding-bottom: 32px;
    }

    .lead-shell {
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 24px;
        align-items: flex-start;
    }

    .hero-panel,
    .form-card,
    .success-card {
        border-radius: 22px;
        padding: 20px;
    }

    .question-card {
        padding: 16px;
        border-radius: 20px;
    }

    .progress-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .consent-row {
        font-size: 0.96rem;
    }
}

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

.brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--accent);
    box-shadow: 0 18px 30px rgba(1, 120, 72, 0.12);
}

.brand-copy {
    min-width: 0;
}

.brand-name {
    margin: 2px 0 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.lead-intro {
    min-height: 100%;
}

.lead-form-panel {
    min-height: 100%;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: 24px 26px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(1, 120, 72, 0.08), transparent 34%);
    pointer-events: none;
}

.dashboard-hero > * {
    position: relative;
    z-index: 1;
}

.dashboard-hero-copy h1 {
    max-width: 14ch;
}

.dashboard-hero-copy .lede {
    margin-top: 12px;
    max-width: 60ch;
}

.dashboard-hero-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.admin-brand-row {
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .dashboard-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .dashboard-hero-copy h1 {
        max-width: none;
    }

    .dashboard-hero-actions {
        justify-content: flex-start;
    }
}

.lead-form-panel {
    width: min(760px, 100%);
}

.lead-card-lede {
    margin-top: 0;
    max-width: 42ch;
}

.lead-card-summary {
    margin-top: 12px;
    max-width: 58ch;
}

.lead-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 22px;
}

.lead-rail-item {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(1, 120, 72, 0.04);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 247, 0.92));
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.45;
    box-shadow: 0 10px 20px rgba(18, 38, 28, 0.04);
}

@media (max-width: 760px) {
    .lead-rail {
        grid-template-columns: 1fr;
    }
}

/* Premium form polish overrides */
.question-card {
    padding: 16px;
    border: 1.5px solid #a4a8a4;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 5px 12px rgba(18, 38, 28, 0.02);
}

.question-card + .question-card {
    margin-top: 14px;
}

.question-card h2 {
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.question-copy {
    margin: 7px 0 0;
    max-width: 54ch;
}

.options-grid {
    gap: 9px;
    margin-top: 13px;
}

.option-btn,
.primary-btn,
.secondary-btn,
.password-toggle {
    border-radius: 11px;
    padding: 12px 14px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
}

.option-btn:hover,
.secondary-btn:hover,
.password-toggle:hover {
    border-color: rgba(1, 120, 72, 0.06);
    box-shadow: 0 5px 12px rgba(18, 38, 28, 0.03);
}

.option-btn.selected {
    border-color: rgba(1, 120, 72, 0.16);
    background: rgba(1, 120, 72, 0.03);
    box-shadow: inset 0 0 0 1px rgba(1, 120, 72, 0.02);
}

.form-grid {
    gap: 11px;
    margin-top: 13px;
}

.form-grid label,
.admin-login label,
.password-field {
    gap: 5px;
}

label span {
    font-size: 0.9rem;
    color: rgba(20, 49, 34, 0.86);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select {
    border: 1px solid #a4a8a4;
    border-radius: 11px;
    padding: 12px 13px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

input:focus,
select:focus,
button:focus,
.password-toggle:focus {
    box-shadow: 0 0 0 3px rgba(1, 120, 72, 0.08);
    border-color: rgba(1, 120, 72, 0.08);
}

.notice-box {
    margin-top: 16px;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid rgba(1, 120, 72, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.consent-row {
    line-height: 1.42;
}

.primary-btn {
    background: #017848;
    box-shadow: 0 10px 20px rgba(1, 120, 72, 0.08);
}

.primary-btn:hover {
    box-shadow: 0 12px 24px rgba(1, 120, 72, 0.08);
}

/* One-question wizard layout */
.wizard-card {
    width: min(680px, 100%);
}

.choice-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.choice-card {
    position: relative;
    display: block;
    border: 1px solid #a4a8a4;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card span {
    display: block;
    padding: 14px 16px;
    color: var(--text);
    font-weight: 600;
}

.choice-card:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
    box-shadow: 0 5px 12px rgba(18, 38, 28, 0.03);
}

.choice-card:has(input:focus-visible) {
    box-shadow: 0 0 0 3px rgba(1, 120, 72, 0.08);
    border-color: rgba(1, 120, 72, 0.08);
}

.choice-card:has(input:checked) {
    border-color: rgba(1, 120, 72, 0.16);
    background: rgba(1, 120, 72, 0.03);
    box-shadow: inset 0 0 0 1px rgba(1, 120, 72, 0.02);
}

.choice-card:has(input:checked) span {
    color: var(--accent);
}

.wizard-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.wizard-actions.single-action {
    grid-template-columns: 1fr;
}

.wizard-actions .secondary-btn,
.wizard-actions .primary-btn {
    width: 100%;
    min-width: 0;
}

.progress-head {
    align-items: baseline;
}

.progress-head span:first-child {
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .wizard-actions,
    .wizard-actions.single-action {
        grid-template-columns: 1fr;
    }

    .choice-card span {
        padding: 13px 14px;
    }
}

/* Bare wizard surface */
body {
    background: #FFFDFA;
}

.page-shell {
    width: min(760px, calc(100% - 32px));
}

.lead-shell {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

.form-card.wizard-card,
.success-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    width: min(680px, 100%);
}

.form-card.wizard-card::before,
.form-card.wizard-card::after,
.success-card::before,
.success-card::after {
    display: none;
}

.progress-wrap {
    margin-bottom: 28px;
}

.progress-head {
    margin-bottom: 12px;
}

.question-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.question-card + .question-card {
    margin-top: 0;
}

.question-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.08;
}

.question-copy {
    margin-top: 10px;
    font-size: 1rem;
    max-width: 46ch;
}

.choice-list {
    margin-top: 24px;
    gap: 12px;
}

.choice-card {
    background: rgba(255, 255, 255, 0.72);
    border-color: #a4a8a4;
}

.choice-card span {
    padding: 15px 16px;
    font-size: 0.98rem;
}

.wizard-actions {
    margin-top: 24px;
}

.notice-box {
    background: rgba(255, 255, 255, 0.68);
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 100%);
        min-height: auto;
        display: block;
        padding-bottom: 24px;
    }

    .lead-shell {
        padding-top: 12px;
    }

    .progress-wrap {
        margin-bottom: 20px;
    }

    .question-card h2 {
        font-size: clamp(1.35rem, 7vw, 1.8rem);
    }

    .choice-card span {
        padding: 14px 14px;
    }
}

/* Public wizard vertical centering override */
body > .page-shell.lead-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

body > .page-shell.lead-shell > .form-card.wizard-card,
body > .page-shell.lead-shell > .success-card {
    width: min(680px, 100%);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    body > .page-shell.lead-shell {
        min-height: auto;
        align-items: flex-start;
        padding-top: 12px;
        padding-bottom: 24px;
    }
}

/* Admin login polish */
.admin-login-shell {
    padding: 28px 30px;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.admin-login-shell::before,
.admin-login-shell::after {
    display: none;
}

.admin-login {
    margin-top: 0;
}

/* Admin dashboard restructure */
body.admin-page {
    background: #FFFDFA;
}

body.admin-page::before {
    opacity: 0.12;
}

body.admin-page .page-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.admin-page .admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
}

body.admin-page .admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 18px 18px;
    background: #017848;
    color: #fff;
    box-shadow: 18px 0 36px rgba(18, 38, 28, 0.09);
}

body.admin-page .sidebar-nav {
    display: grid;
    gap: 10px;
}

body.admin-page .sidebar-link,
body.admin-page .sidebar-logout {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.admin-page .sidebar-link {
    color: rgba(255, 255, 255, 0.9);
}

body.admin-page .sidebar-link:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

body.admin-page .sidebar-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

body.admin-page .sidebar-logout {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

body.admin-page .sidebar-logout:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

body.admin-page .admin-content {
    min-width: 0;
    padding: 28px;
    display: grid;
    gap: 18px;
    align-content: start;
}

body.admin-page .stats-grid {
    width: 100%;
}

body.admin-page .stat-card,
body.admin-page .form-card,
body.admin-page .table-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

body.admin-page .stat-card,
body.admin-page .form-card,
body.admin-page .table-panel,
body.admin-page .admin-password-card {
    position: relative;
    overflow: hidden;
}

body.admin-page .stat-card::before,
body.admin-page .form-card::before,
body.admin-page .table-panel::before,
body.admin-page .admin-password-card::before,
body.admin-page .toolbar::before,
body.admin-page .success-card::before,
body.admin-page .dashboard-hero::before {
    display: none;
    content: none;
}

body.admin-page .table-panel {
    width: 100%;
    margin: 0;
    padding: 22px;
}

body.admin-page .table-panel .toolbar {
    margin-bottom: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.admin-page .toolbar {
    width: 100%;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
}

body.admin-page .toolbar .filter-row {
    flex: 1 1 520px;
}

body.admin-page .toolbar-actions {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

body.admin-page .admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

body.admin-page .leads-table {
    width: 100%;
    min-width: 1100px;
    border-radius: 18px;
    box-shadow: none;
    background: #fff;
}

body.admin-page .leads-table thead th {
    background: #f5f8f5;
}

body.admin-page .admin-password-card {
    width: min(760px, 100%);
    padding: 24px;
}

body.admin-page .admin-password-card h2 {
    margin-bottom: 18px;
}

body.admin-page .password-card .admin-login {
    margin-top: 0;
}

body.admin-page .admin-login {
    max-width: none;
}

body.admin-page .admin-login-shell {
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

body.admin-page .admin-login-shell::before,
body.admin-page .admin-login-shell::after {
    display: none;
}

@media (max-width: 1100px) {
    body.admin-page .admin-layout {
        grid-template-columns: 1fr;
    }

    body.admin-page .admin-sidebar {
        position: sticky;
        top: 0;
        z-index: 20;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
    }

    body.admin-page .sidebar-nav {
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        width: 100%;
    }

    body.admin-page .sidebar-logout {
        margin-top: 0;
        white-space: nowrap;
    }

    body.admin-page .admin-content {
        padding: 18px 16px 28px;
    }
}

@media (max-width: 720px) {
    body.admin-page .toolbar {
        align-items: stretch;
    }

    body.admin-page .toolbar .filter-row {
        flex-basis: 100%;
    }

    body.admin-page .toolbar-actions {
        width: 100%;
        justify-content: stretch;
    }

    body.admin-page .toolbar-actions .primary-btn,
    body.admin-page .toolbar-actions .secondary-btn {
        width: 100%;
    }

    body.admin-page .admin-password-card,
    body.admin-page .table-panel {
        padding: 16px;
    }
}


/* Admin dashboard refinements */
body.admin-page .toolbar-actions {
    align-items: center;
    gap: 12px;
}

body.admin-page .band-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

body.admin-page .band-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.admin-page .band-badge:hover {
    border-color: var(--accent);
    color: var(--accent);
}

body.admin-page .band-badge.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

body.admin-page .band-badge.hot.active,
body.admin-page .band-badge.warm.active,
body.admin-page .band-badge.cold.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

body.admin-page .admin-password-card {
    width: min(720px, 100%);
    padding: 18px 20px;
}

body.admin-page .admin-password-card h2 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

body.admin-page .admin-password-form {
    display: grid;
    gap: 10px;
}

body.admin-page .admin-password-form .password-field {
    gap: 4px;
}

body.admin-page .admin-password-form .password-input-wrap {
    gap: 6px;
}

body.admin-page .admin-password-form .password-toggle {
    min-width: 68px;
}

body.admin-page .admin-password-form .field-hint {
    margin-top: 2px;
    font-size: 0.86rem;
}

body.admin-page .admin-password-form .strength-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    margin-top: 6px;
}

body.admin-page .admin-password-form .strength-list li {
    margin: 0;
}

body.admin-page .admin-password-form .primary-btn {
    margin-top: 4px;
}

@media (max-width: 720px) {
    body.admin-page .band-badges {
        width: 100%;
    }

    body.admin-page .band-badge,
    body.admin-page .toolbar-actions .primary-btn {
        width: auto;
    }

    body.admin-page .admin-password-form .strength-list {
        grid-template-columns: 1fr;
    }
}


body.admin-password-page .admin-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

body.admin-password-page .admin-password-card {
    margin: auto;
    width: min(720px, 100%);
}

body.admin-password-page .success-banner,
body.admin-password-page .error-banner {
    width: min(720px, 100%);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1100px) {
    body.admin-password-page .admin-content {
        min-height: auto;
        justify-content: flex-start;
        padding: 18px 16px 28px;
    }

    body.admin-password-page .admin-password-card,
    body.admin-password-page .success-banner,
    body.admin-password-page .error-banner {
        width: 100%;
    }
}


/* Admin toolbar alignment tweaks */
body.admin-page .table-panel .toolbar {
    align-items: center;
    flex-wrap: wrap;
}

body.admin-page .toolbar .filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
    flex-wrap: nowrap;
}

body.admin-page .toolbar .filter-row input[type="text"] {
    width: 260px;
    min-width: 0;
    flex: 0 1 260px;
}

body.admin-page .toolbar .filter-row .checkbox-inline {
    white-space: nowrap;
}

body.admin-page .toolbar .filter-row .secondary-btn {
    white-space: nowrap;
}

body.admin-page .toolbar-actions {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: flex-start;
}

body.admin-page .band-badges {
    align-items: center;
}

@media (max-width: 720px) {
    body.admin-page .toolbar .filter-row {
        width: 100%;
        flex-wrap: wrap;
    }

    body.admin-page .toolbar .filter-row input[type="text"] {
        width: 100%;
        flex-basis: 100%;
    }

    body.admin-page .toolbar-actions {
        width: 100%;
    }
}

.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    background: transparent;
    pointer-events: none;
}

.site-navbar .site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    pointer-events: auto;
}


.site-navbar img {
    display: block;
    width: auto;
    height: 96px;
    max-width: 420px;
}

body > .site-navbar + .page-shell.lead-shell {
    padding-top: 128px;
}

@media (max-width: 640px) {
    .site-navbar {
        top: 0;
        left: 0;
    }


    .site-navbar img {
        height: 76px;
        max-width: 320px;
    }

    body > .site-navbar + .page-shell.lead-shell {
        padding-top: 108px;
    }
}


.blank-shell {
    min-height: 100vh;
}


.landing-page {
    background: #FFFDFA;
}

.landing-shell {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.landing-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: clamp(104px, 10vw, 144px) clamp(20px, 4vw, 56px) clamp(32px, 5vw, 56px);
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(1, 120, 72, 0.12), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(1, 120, 72, 0.08), transparent 20%),
        linear-gradient(135deg, #f7fbf8 0%, #eef6f0 42%, #ffffff 100%);
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.landing-hero::before {
    inset: 9% auto auto -6%;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(1, 120, 72, 0.16), transparent 68%);
}

.landing-hero::after {
    inset: auto -10% -14% auto;
    width: min(38vw, 26rem);
    height: min(38vw, 26rem);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.82), transparent 62%);
}

.landing-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(20px, 2.8vw, 36px);
    align-items: center;
}

.hero-copy {
    max-width: 42rem;
}

.hero-eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
}

.landing-hero h1 {
    margin: 0;
    max-width: 11ch;
    color: #183528;
    font-size: clamp(2.45rem, 5.8vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.hero-subheading {
    margin: 20px 0 0;
    max-width: 60ch;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.45vw, 1.18rem);
    line-height: 1.6;
}

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

.hero-cta {
    min-height: 58px;
    padding-inline: 26px;
    border-radius: 16px;
    font-size: 1rem;
    box-shadow: 0 18px 30px rgba(1, 120, 72, 0.18);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(1, 120, 72, 0.24);
}

.trust-signals {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(1, 120, 72, 0.12);
    background: rgba(255, 255, 255, 0.8);
    color: #183528;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 20px rgba(18, 38, 28, 0.05);
    backdrop-filter: blur(14px);
}

.hero-visual {
    position: relative;
    display: grid;
    justify-items: end;
    align-items: end;
}

.hero-photo-card {
    position: relative;
    width: min(100%, 440px);
    margin: 0;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    background: #dce7de;
    box-shadow: 0 32px 70px rgba(18, 38, 28, 0.16);
}

.hero-photo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(1, 120, 72, 0.06), transparent 26%, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.hero-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    object-position: center;
}

.hero-photo-caption {
    position: absolute;
    left: 18px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    color: #22342a;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 12px 26px rgba(18, 38, 28, 0.14);
    backdrop-filter: blur(14px);
}

.hero-float-card {
    position: absolute;
    left: -24px;
    bottom: 34px;
    max-width: 290px;
    padding: 16px 16px 14px;
    border-radius: 22px;
    border: 1px solid rgba(1, 120, 72, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 48px rgba(18, 38, 28, 0.14);
    backdrop-filter: blur(16px);
}

.hero-float-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(1, 120, 72, 0.08);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-float-card strong {
    display: block;
    margin-top: 12px;
    color: #1f2f27;
    font-size: 1rem;
    line-height: 1.4;
}

.hero-float-meta {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.5;
}

@media (min-width: 981px) {
    .landing-hero {
        height: 50vh;
        min-height: 50vh;
        max-height: 50vh;
        display: flex;
        align-items: center;
        padding-top: 72px;
        padding-bottom: 18px;
    }

    .landing-hero-inner {
        width: min(70vw, 1180px);
        height: 100%;
        align-items: center;
        gap: clamp(18px, 2.6vw, 28px);
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-eyebrow {
        margin-bottom: 8px;
    }

    .landing-hero h1 {
        max-width: 12ch;
        font-size: clamp(1.95rem, 3.1vw, 3.1rem);
        line-height: 0.98;
    }

    .hero-subheading {
        margin-top: 10px;
        font-size: 0.93rem;
        line-height: 1.38;
    }

    .hero-actions {
        margin-top: 12px;
    }

    .hero-cta {
        min-height: 46px;
        padding-inline: 18px;
        border-radius: 14px;
    }

    .trust-signals {
        margin-top: 12px;
        gap: 8px;
    }

    .trust-pill {
        min-height: 34px;
        padding: 8px 10px;
        font-size: 0.84rem;
    }

    .hero-visual {
        align-self: center;
    }

    .hero-photo-card {
        width: min(100%, 390px);
        aspect-ratio: 4 / 3;
    }

    .hero-photo-card img {
        aspect-ratio: auto;
        height: 100%;
    }

    .hero-photo-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .hero-float-card {
        top: 12px;
        right: 12px;
        left: auto;
        bottom: auto;
        max-width: 220px;
        padding: 12px 12px 10px;
    }

    .hero-float-card strong {
        margin-top: 8px;
        font-size: 0.92rem;
    }

    .hero-float-meta {
        margin-top: 6px;
        font-size: 0.84rem;
        line-height: 1.35;
    }
}

@media (max-width: 980px) {
    .landing-hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-items: center;
        order: -1;
    }

    .hero-float-card {
        left: 18px;
        right: 18px;
        bottom: 18px;
        max-width: none;
    }

    .hero-photo-card {
        width: min(100%, 620px);
    }

    .hero-photo-card img {
        aspect-ratio: 1.18 / 1;
    }

    .landing-hero h1 {
        max-width: 13ch;
    }
}

@media (max-width: 640px) {
    .landing-hero {
        padding: 108px 18px 32px;
    }

    .landing-hero h1 {
        max-width: none;
        font-size: clamp(2.15rem, 11vw, 3.7rem);
    }

    .hero-subheading {
        margin-top: 16px;
    }

    .hero-actions {
        margin-top: 24px;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
    }

    .trust-signals {
        gap: 8px;
    }

    .trust-pill {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-photo-card {
        border-radius: 24px;
    }

    .hero-photo-caption {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .hero-float-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 14px;
    }
}


/* Fintech landing page hero */
body.fintech-landing {
    --fintech-bg: #fbfcfa;
    --fintech-surface: rgba(255, 255, 255, 0.88);
    --fintech-surface-strong: #ffffff;
    --fintech-text: #1f2937;
    --fintech-muted: #444;
    --fintech-accent: #017848;
    --fintech-accent-soft: rgba(1, 120, 72, 0.1);
    --fintech-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
    --fintech-shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(circle at 12% 8%, rgba(1, 120, 72, 0.08), transparent 24%),
        radial-gradient(circle at 88% 20%, rgba(1, 120, 72, 0.06), transparent 18%),
        linear-gradient(180deg, #fffdfa 0%, #f8fbf7 100%);
    color: var(--fintech-text);
    font-family: Urbanist, Aptos, Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.fintech-landing::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(1, 120, 72, 0.03), transparent 38%),
        radial-gradient(circle at 50% 0, rgba(1, 120, 72, 0.04), transparent 28%);
    opacity: 0.9;
}

.fintech-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(255, 253, 250, 0.8);
    border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}

.fintech-nav {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 88px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.fintech-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.fintech-brand img {
    display: block;
    height: 72px;
    width: auto;
}

.fintech-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.fintech-menu a {
    color: var(--fintech-text);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 160ms ease, opacity 160ms ease;
}

.fintech-menu a:hover {
    color: var(--fintech-accent);
}

.fintech-nav-cta {
    min-height: 48px;
    padding-inline: 20px;
    border-radius: 14px;
    font-size: 0.98rem;
}

.fintech-page {
    width: 100%;
}

.fintech-hero {
    width: 100%;
    padding: clamp(14px, 2vw, 22px) 0 clamp(14px, 2vw, 22px);
}

.fintech-hero-grid {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: clamp(26px, 3.8vw, 56px);
    align-items: center;
}

.fintech-copy {
    max-width: 44rem;
    padding: clamp(10px, 1.5vw, 18px) 0;
}

.fintech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(1, 120, 72, 0.08);
    color: var(--fintech-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fintech-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--fintech-accent);
    box-shadow: 0 0 0 5px rgba(1, 120, 72, 0.12);
}

.fintech-copy h1 {
    margin: 0;
    color: var(--fintech-text);
    font-size: clamp(2.6rem, 5.8vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    max-width: 11ch;
}

.fintech-copy h1 span {
    color: var(--fintech-accent);
}

.fintech-subheading {
    margin: 20px 0 0;
    max-width: 56ch;
    color: var(--fintech-muted);
    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    line-height: 1.65;
}

.fintech-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fintech-hero-btn {
    min-height: 58px;
    padding-inline: 24px;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(1, 120, 72, 0.18);
}

.fintech-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(1, 120, 72, 0.24);
}

.fintech-reviews {
    margin-top: 20px;
    display: grid;
    gap: 6px;
    color: var(--fintech-muted);
}

.fintech-reviews .review-stars {
    color: var(--fintech-accent);
    letter-spacing: 0.12em;
    font-size: 0.95rem;
}

.fintech-reviews p,
.fintech-reviews span {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.5;
}

.fintech-reviews strong {
    color: var(--fintech-text);
}

.fintech-media {
    position: relative;
    display: grid;
    justify-items: end;
    align-items: center;
    min-height: 0;
}

.media-orb {
    position: absolute;
    inset: 12% 14% auto auto;
    width: min(24vw, 260px);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(1, 120, 72, 0.2) 0%, rgba(1, 120, 72, 0.08) 32%, rgba(1, 120, 72, 0.02) 58%, transparent 72%);
    filter: blur(4px);
}

.media-card {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    margin: 0;
    overflow: hidden;
    border-radius: 42px 42px 124px 124px;
    background: linear-gradient(180deg, #eaf4ed 0%, #ffffff 100%);
    box-shadow: var(--fintech-shadow);
    border: 1px solid rgba(1, 120, 72, 0.08);
}

.media-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%),
        radial-gradient(circle at 0% 0%, rgba(1, 120, 72, 0.12), transparent 36%);
    pointer-events: none;
    z-index: 1;
}

.media-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.6 / 1;
    object-fit: cover;
    object-position: center;
}

.floating-info-card {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    width: min(100%, 240px);
    padding: 16px 16px 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(16px);
    color: var(--fintech-text);
}

.floating-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(1, 120, 72, 0.08);
    color: var(--fintech-accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.floating-info-card strong {
    display: block;
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.45;
}

.floating-info-card p {
    margin: 10px 0 0;
    color: var(--fintech-muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.feature-bar {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--fintech-shadow-soft);
    border: 1px solid rgba(1, 120, 72, 0.08);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 4px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(1, 120, 72, 0.1);
    color: var(--fintech-accent);
    font-weight: 800;
    font-size: 0.98rem;
    box-shadow: inset 0 0 0 1px rgba(1, 120, 72, 0.08);
}

.feature-item h2 {
    margin: 0;
    color: var(--fintech-text);
    font-size: 1rem;
    line-height: 1.25;
}

.feature-item p {
    margin: 5px 0 0;
    color: var(--fintech-muted);
    font-size: 0.93rem;
    line-height: 1.45;
}

@media (min-width: 1081px) {
    .fintech-page {
        min-height: calc(100svh - 88px);
        display: flex;
        flex-direction: column;
    }

    .fintech-hero {
        position: relative;
        flex: 1 1 auto;
        min-height: calc(100svh - 88px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        padding-bottom: 132px;
    }

    .fintech-hero-grid {
        flex: 1 1 auto;
        align-items: center;
        min-height: 0;
    }

    .fintech-copy {
        max-width: 40rem;
    }

    .fintech-copy h1 {
        font-size: clamp(2.1rem, 4vw, 4.1rem);
        max-width: 11ch;
    }

    .fintech-subheading {
        margin-top: 14px;
        font-size: 0.98rem;
        line-height: 1.52;
    }

    .fintech-actions {
        margin-top: 16px;
    }

    .fintech-hero-btn {
        min-height: 50px;
    }

    .fintech-reviews {
        margin-top: 16px;
    }

    .fintech-media {
        justify-self: end;
        width: 100%;
        max-width: 500px;
        min-height: 0;
    }

    .media-orb {
        inset: 14% 8% auto auto;
        width: min(22vw, 260px);
    }

    .media-card {
        width: min(100%, 440px);
    }

    .media-card img {
        aspect-ratio: 1.6 / 1;
    }

    .floating-info-card {
        width: min(100%, 250px);
        right: 14px;
        bottom: 14px;
        padding: 14px 14px 12px;
    }

    .floating-info-card strong {
        margin-top: 8px;
        font-size: 0.94rem;
    }

    .floating-info-card p {
        margin-top: 8px;
        font-size: 0.88rem;
    }

    .feature-bar {
        position: absolute;
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        margin: 0;
        width: min(1220px, calc(100% - 32px));
        padding: 12px 14px;
    }
}

@media (max-width: 1080px) {

    .fintech-nav {
        grid-template-columns: auto 1fr;
        row-gap: 16px;
    }

    .fintech-nav-cta {
        grid-column: 2;
        justify-self: end;
    }

    .fintech-menu {
        grid-column: 1 / -1;
        order: 3;
        justify-content: flex-start;
        gap: 18px;
    }

    .fintech-hero-grid {
        grid-template-columns: 1fr;
    }

    .fintech-copy h1 {
        max-width: 12ch;
    }

    .fintech-media {
        min-height: auto;
        justify-items: center;
        order: -1;
    }

    .media-orb {
        inset: 8% auto auto 50%;
        transform: translateX(-50%);
        width: min(52vw, 340px);
    }

    .feature-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .fintech-nav {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: auto;
        padding: 14px 0 18px;
    }

    .fintech-menu {
        justify-content: center;
        gap: 12px 16px;
    }

    .fintech-nav-cta {
        grid-column: auto;
        justify-self: center;
        width: 100%;
        max-width: 280px;
    }

    .fintech-hero {
        padding-top: 18px;
    }

    .fintech-copy h1 {
        font-size: clamp(2.25rem, 11vw, 3.45rem);
    }

    .fintech-subheading {
        margin-top: 16px;
    }

    .fintech-actions {
        margin-top: 20px;
    }

    .fintech-hero-btn {
        width: 100%;
        justify-content: center;
    }

    .media-card {
        border-radius: 34px 34px 108px 108px;
    }

    .floating-info-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 20px);
        margin: -48px auto 0;
    }

    .feature-bar {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}


/* Home hero */
body.hero-home {
    --primary: #017848;
    --text: #444;
    --dark: #1f2937;
    --muted: #6b7280;
    --soft-green: #e8f5ef;
    --surface: #ffffff;
    --surface-strong: #fffdf9;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 26px 60px rgba(15, 23, 42, 0.12);
    background:
        radial-gradient(circle at 14% 10%, rgba(1, 120, 72, 0.08), transparent 22%),
        radial-gradient(circle at 90% 18%, rgba(1, 120, 72, 0.05), transparent 18%),
        linear-gradient(180deg, #fffdfa 0%, #f6fbf8 100%);
    color: var(--dark);
}

body.hero-home::before {
    content: none;
}

.hero-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(16px);
}

.hero-header__inner {
    width: min(1260px, calc(100% - 32px));
    min-height: 84px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hero-brand img {
    display: block;
    height: 96px;
    width: auto;
    max-width: 420px;
}

.hero-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-nav a {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 160ms ease, opacity 160ms ease;
}

.hero-nav a:hover {
    color: var(--primary);
}

.hero-nav-cta,
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid transparent;
    box-shadow: 0 18px 32px rgba(1, 120, 72, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.hero-nav-cta:hover,
.hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 42px rgba(1, 120, 72, 0.24);
}

.hero-page {
    width: 100%;
}

.hero-section {
    width: 100%;
    padding: clamp(20px, 3vw, 34px) 0 clamp(16px, 2.4vw, 26px);
}

.hero-section__inner {
    width: min(1260px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(24px, 3.4vw, 48px);
    align-items: center;
}

.hero-copy {
    max-width: 44rem;
    padding: clamp(8px, 1vw, 12px) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 0 0 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--soft-green);
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.hero-copy h1 {
    margin: 0;
    max-width: 11ch;
    color: var(--dark);
    font-size: clamp(2.8rem, 5.8vw, 5.7rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-copy h1 span {
    color: var(--primary);
}

.hero-text {
    margin: 20px 0 0;
    max-width: 58ch;
    color: var(--text);
    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    line-height: 1.7;
}

.hero-points {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(1, 120, 72, 0.12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    color: var(--dark);
    font-weight: 700;
}

.hero-points li::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(1, 120, 72, 0.12);
    flex: 0 0 auto;
}

.hero-actions {
    margin-top: 24px;
}

.hero-proof {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text);
}

.hero-proof__stars {
    color: var(--primary);
    letter-spacing: 0.11em;
    font-size: 0.95rem;
}

.hero-proof__copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.hero-proof__copy strong {
    color: var(--dark);
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    align-self: stretch;
}

.hero-visual__orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-visual__orb--large {
    width: min(34vw, 420px);
    aspect-ratio: 1;
    inset: 14% 6% auto auto;
    background: radial-gradient(circle, rgba(1, 120, 72, 0.16) 0%, rgba(1, 120, 72, 0.08) 38%, transparent 72%);
    filter: blur(2px);
}

.hero-visual__orb--small {
    width: min(18vw, 220px);
    aspect-ratio: 1;
    inset: auto auto 10% 8%;
    background: radial-gradient(circle, rgba(1, 120, 72, 0.1) 0%, rgba(1, 120, 72, 0.04) 40%, transparent 72%);
}

.hero-panel {
    position: absolute;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(1, 120, 72, 0.08);
    backdrop-filter: blur(16px);
}

.hero-panel__label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(1, 120, 72, 0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-panel--main {
    width: min(100%, 420px);
    left: 6%;
    top: 8%;
    padding: 22px 22px 20px;
}

.hero-panel--main h2 {
    margin: 14px 0 0;
    color: var(--dark);
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.hero-steps {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    font-size: 0.96rem;
    line-height: 1.35;
    font-weight: 600;
}

.hero-steps li span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--soft-green);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-panel--stat {
    width: min(100%, 220px);
    padding: 16px 16px 14px;
}

.hero-panel--stat strong {
    display: block;
    margin-top: 12px;
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.3;
}

.hero-panel--stat p {
    margin: 8px 0 0;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.45;
}

.hero-panel--top {
    right: 4%;
    top: 20%;
}

.hero-panel--bottom {
    right: 10%;
    bottom: 12%;
}

.feature-strip {
    width: min(1260px, calc(100% - 32px));
    margin: 22px auto 0;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(1, 120, 72, 0.08);
}

.feature-strip__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 4px;
}

.feature-strip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--soft-green);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(1, 120, 72, 0.08);
}

.feature-strip__item h2 {
    margin: 0;
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.25;
}

.feature-strip__item p {
    margin: 6px 0 0;
    color: var(--text);
    font-size: 0.93rem;
    line-height: 1.5;
}

@media (min-width: 1081px) {
    .hero-page {
        min-height: calc(100svh - 84px);
        display: flex;
        flex-direction: column;
    }

    .hero-section {
        position: relative;
        flex: 1 1 auto;
        min-height: calc(100svh - 84px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 106px;
        overflow: hidden;
    }

    .hero-section__inner {
        align-items: center;
        min-height: 0;
    }

    .hero-copy {
        max-width: 40rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 4.5vw, 4.8rem);
    }

    .hero-visual {
        max-width: 440px;
        justify-self: end;
    }

    .hero-visual__orb {
        width: min(14vw, 180px);
        inset: 12% 10% auto auto;
    }

    .hero-image-card {
        width: min(100%, 440px);
    }

    .feature-strip {
        position: absolute;
        left: 50%;
        bottom: 14px;
        transform: translateX(-50%);
        margin: 0;
        width: min(1260px, calc(100% - 32px));
    }
}

@media (max-width: 1080px) {
    .hero-header__inner {
        grid-template-columns: auto 1fr;
        row-gap: 16px;
    }

    .hero-nav-cta {
        grid-column: 2;
        justify-self: end;
    }

    .hero-nav {
        grid-column: 1 / -1;
        order: 3;
        justify-content: flex-start;
        gap: 18px;
    }

    .hero-section__inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
        margin-top: 8px;
    }

    .hero-visual__orb--large {
        inset: 14% auto auto 50%;
        transform: translateX(-50%);
        width: min(56vw, 340px);
    }

    .hero-visual__orb--small {
        inset: auto auto 8% 18%;
        width: min(28vw, 180px);
    }

    .hero-panel--main {
        left: 4%;
        top: 8%;
        width: min(100%, 460px);
    }

    .hero-panel--top {
        right: 6%;
        top: 18%;
    }

    .hero-panel--bottom {
        right: 10%;
        bottom: 10%;
    }

    .feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 18px;
    }
}

@media (max-width: 720px) {
    .hero-header__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: auto;
        padding: 14px 0 18px;
    }

    .hero-nav {
        justify-content: center;
        gap: 12px 16px;
    }

    .hero-nav-cta {
        grid-column: auto;
        justify-self: center;
        width: 100%;
        max-width: 280px;
    }

    .hero-section {
        padding-top: 18px;
    }

    .hero-copy h1 {
        font-size: clamp(2.35rem, 11vw, 3.6rem);
    }

    .hero-text {
        margin-top: 16px;
    }

    .hero-actions {
        margin-top: 20px;
    }

    .hero-cta {
        width: 100%;
    }

    .hero-visual {
        min-height: auto;
        display: grid;
        gap: 12px;
        margin-top: 8px;
    }

    .hero-visual__orb,
    .hero-panel__label {
        display: none;
    }

    .hero-panel {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        margin: 0;
    }

    .hero-panel--main {
        width: 100%;
        padding: 18px 18px 16px;
    }

    .hero-panel--top,
    .hero-panel--bottom {
        width: 100%;
    }

    .feature-strip {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}
