/* --- RetireMe /new2 overrides on top of base site styles --- */
@import url('./style-base.css');

:root {
    /* RetireMe Navy Palette - matched to logo #134576 */
    --color-primary-start: #134576;
    --color-primary-end: #1a6aad;
    --color-secondary: #0d3460;
    --color-text-muted: #475569;
    --color-bg-light: #FDFBF7;
    --color-white: #FFFFFF;
    --color-border: #E2E8F0;

    /* Typography Overrides */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Staging mirror: https://retireme.nz/webtest/ - matches app UAT red strip (App.tsx) */
.retireme-webtest-banner {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    background: #dc2626;
    padding: 0.375rem 1rem;
    padding-top: calc(0.375rem + env(safe-area-inset-top, 0px));
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

body {
    background-color: var(--color-bg-light);
    padding-top: 0 !important;
    margin-top: 0 !important;
    color: var(--color-secondary);
    line-height: 1.7;
    /* Increased for readability */
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
    /* Prevent mobile gap above navbar */
    padding-top: 0 !important;
    margin-top: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-primary-start);
    letter-spacing: -0.025em;
    /* Modern tight tracking */
}

/* Rounded Buttons */
.btn {
    border-radius: 12px !important;
    /* Softer rounded corners */
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-primary-start);
    border: 1px solid var(--color-primary-start);
}

.btn-primary:hover {
    background: var(--color-primary-end);
    border-color: var(--color-primary-end);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-outline {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary-start);
    border-color: var(--color-primary-start);
}


/* Nav layout */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    /* Extend to top on mobile; padding for notch/safe-area only */
    padding-top: env(safe-area-inset-top, 0px);
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-right: 0;
    margin-left: 1.5rem;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    transform: none;
    overflow: visible;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--color-secondary);
    padding: 0;
    border-bottom: none;
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: var(--color-primary-start);
}

.nav-links a:last-child {
    border-bottom: none;
}

.nav-advisor-cta {
    display: none;
}

/* Knowledge dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font: inherit;
    font-weight: 600;
    color: var(--color-secondary);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-dropdown-trigger:hover {
    color: var(--color-primary-start);
}

.nav-dropdown-chevron {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.nav-dropdown-open .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.25rem;
    min-width: 180px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.nav-dropdown-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: var(--color-secondary);
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: #f0f9ff;
    color: var(--color-primary-start);
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

/* Mega menus (Features, Learn): same width - do not scope to --features only */
.nav-dropdown-menu.nav-dropdown-mega {
    min-width: min(560px, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    padding: 1rem 1.25rem 1.25rem;
}

.nav-mega-overview {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary-start);
    padding: 0 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--color-border);
}

.nav-mega-overview:hover {
    color: var(--color-primary-end);
}

/* Features menu: full-width card so "All features overview" matches topic tiles */
.nav-mega-overview-card {
    margin-bottom: 0.65rem !important;
    padding: 0.75rem 0.65rem !important;
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 55%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.22) !important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.nav-mega-overview-card .nav-mega-title {
    color: var(--color-primary-start);
}

.nav-mega-overview-card:hover {
    background: linear-gradient(145deg, #e0f2fe 0%, #dbeafe 50%, #f0f9ff 100%);
    border-color: rgba(37, 99, 235, 0.38) !important;
    color: inherit;
}

.nav-mega-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary-start);
    margin: 0.25rem 0 0.5rem;
    padding: 0 0.5rem;
}

.nav-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 1.25rem;
}

.nav-dropdown-mega .nav-mega-item {
    display: block;
    padding: 0.6rem 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    border-bottom: none;
}

.nav-dropdown-mega .nav-mega-item:hover {
    background: #f0f9ff;
}

.nav-mega-title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-secondary);
    line-height: 1.25;
}

.nav-mega-desc {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.35;
}

.nav-hamburger {
    display: none !important;
    background: none;
    border: none;
    padding: 0.35rem;
    cursor: pointer;
    line-height: 1;
    color: var(--color-secondary);
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
}
.nav-hamburger svg {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--color-secondary);
}

.nav-hamburger:hover {
    color: var(--color-primary-start);
}

.nav-hamburger:focus {
    outline: 2px solid var(--color-primary-start);
    outline-offset: 2px;
}

.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.navbar.nav-mobile-open .nav-links {
    transform: translateX(0);
}

.navbar.nav-mobile-open .nav-mobile-overlay {
    opacity: 1;
    visibility: visible;
}

body.nav-menu-open {
    overflow: hidden;
}

.nav-actions {
    display: flex;
    gap: 0.55rem;
    margin-left: auto;
    align-items: center;
    order: 3;
}

.nav-actions .btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 0.95rem;
    font-size: 0.82rem;
    line-height: 1;
}

.nav-actions .nav-login-btn {
    margin-left: auto;
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    color: var(--color-secondary);
    font-size: 1.1rem;
    background: var(--color-white);
}

.nav-icon-btn:hover {
    color: var(--color-primary-start);
    border-color: var(--color-primary-start);
}

.nav-icon-svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-drawer-cta {
    display: none;
    margin-top: 1rem;
    border-bottom: none !important;
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: var(--color-white) !important;
    border-radius: 10px;
    padding: 0.75rem 1rem !important;
    text-align: center;
}

.kb-search-wrap {
    margin: 0.5rem 0 1.25rem;
}

.kb-search-input {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font: inherit;
}

.kb-search-empty {
    margin-top: 1rem;
    color: var(--color-text-muted);
}

.hidden {
    display: none !important;
}

/* Hero badge: shorter text on mobile to avoid wrap */
.badge-text-mobile {
    display: none;
}

@media (max-width: 768px) {
    .badge-text-desktop {
        display: none !important;
    }

    .badge-text-mobile {
        display: inline !important;
    }
}

/* Footer helpers */
.footer-logo-img {
    height: 30px;
    opacity: 0.8;
}

.footer-company {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
    line-height: 1.4;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-sign-out-row {
    margin-top: 0.25rem;
    padding-bottom: 0.35rem;
}

a.footer-sign-out {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
}

a.footer-sign-out:hover {
    color: var(--color-primary-start);
    text-decoration: underline;
}

/* Footer 3-column layout */
.footer-container {
    align-items: start;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin: 0 0 0.25rem;
}

/* Hero / CTA helpers */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-buttons.hero-buttons--center {
    justify-content: center;
}

.hero-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.hero-home-btn-outline {
    border-width: 2px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-with-bg {
    position: relative;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 91, 234, 0.03) 0%, rgba(0, 198, 251, 0.06) 100%);
    pointer-events: none;
}

.hero-bg-accent-img {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 70%;
    max-width: 500px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-compact {
    padding-top: 40px;
    padding-bottom: 40px;
    background: var(--color-bg-light);
}

.hero-tagline-transition {
    transition: opacity 0.5s ease;
}

.step-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    align-items: center;
}

.step-number-final {
    background: var(--color-primary-start) !important;
    color: white !important;
    border: none !important;
}

.step-block-last {
    border-bottom: none;
}

/* Content utility classes used by /new2 pages */
.hero-subhead-centered {
    max-width: 700px;
    margin: 0 auto;
}

.hero-subhead-compact {
    max-width: 600px;
    margin: 0 auto;
}

.hero-subhead-wide {
    max-width: 750px;
    margin: 0 auto;
}

.feature-card-spaced {
    margin-bottom: 2rem;
}

.feature-card-emphasis {
    margin-top: 2rem;
    border-top: 4px solid var(--color-primary-start);
}

.feature-title-tight {
    margin-bottom: 0.5rem;
}

.copy-top-gap {
    margin-top: 0.75rem;
}

.copy-top-gap-lg {
    margin-top: 1rem;
}

.copy-top-gap-xl {
    margin-top: 2rem;
}

.copy-tight-bottom {
    margin-bottom: 0;
}

.copy-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-secondary);
}

.text-link-strong {
    font-weight: 600;
}

.benefit-list-tight {
    margin-top: 0.5rem;
}

.benefit-list {
    list-style: none;
    /* Remove default bullet to avoid encoding issues */
    margin-left: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 0;
}

.benefit-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefit-list li::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary-end);
    /* Use brand color */
}

.section-lead-wide {
    max-width: 750px;
}

.grid-centered-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.grid-gap-2 {
    gap: 2rem;
}

.card-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grow-1 {
    flex-grow: 1;
}

.mt-auto {
    margin-top: auto;
}

.contact-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary-start);
}

.contact-hours {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.btn-full {
    width: 100%;
}

.office-address {
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.top-divider {
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.text-small-95 {
    font-size: 0.95rem;
}

/* Legal pages */
.page-main-pad {
    padding-top: 60px;
    padding-bottom: 80px;
}

.legal-page .narrow-container {
    max-width: 780px;
}

.legal-page section h2 {
    margin-bottom: 0.5rem;
}

.legal-page ul {
    margin: 0.75rem 0 0.5rem 1.2rem;
}

.legal-page li {
    margin-bottom: 0.35rem;
}

/* KB helpers */
.kb-section-tight {
    padding: 1.15rem 0;
}

.kb-badge-tight {
    margin-bottom: 1rem;
    display: inline-flex;
}

.kb-reviewed {
    margin-top: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
}

.table-scroll {
    overflow-x: auto;
}

.nz-super-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.nz-super-table-head {
    background: #f8fafc;
}

.nz-super-table th,
.nz-super-table td {
    padding: 0.65rem;
    border: 1px solid #e2e8f0;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.table-note {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* Accessibility and contrast touch-ups */
.lightbox-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.gap-nz-super {
    border-top-color: #059669;
}

.gap-no-frills {
    border-top-color: #d97706;
}

.gap-choices {
    border-top-color: #dc2626;
}

.gap-highlight {
    border: 2px solid #d97706;
}

.gap-highlight-number {
    color: #b45309;
}

@media (max-width: 768px) {

    /* Tight hero gap on index (navbar-to-hero) for mobile */
    body.page-index .main-content {
        padding-top: 0 !important;
    }
    body.page-index .hero-with-bg {
        padding-top: 0.25rem !important;
        padding-bottom: 4rem !important;
    }
    body.page-index .hero-with-bg .hero-container {
        padding-top: 0.25rem !important;
        padding-bottom: 3rem !important;
    }

    /* Smaller hero typography on mobile */
    body.page-index .hero-tagline-transition {
        font-size: 1.5rem !important;
        line-height: 1.25;
    }
    body.page-index .hero-with-bg .hero-subhead {
        font-size: 1rem !important;
    }
    body.page-index .hero-with-bg .hero-hook {
        font-size: 0.9rem !important;
    }

    /* Shrink logo on mobile */
    .navbar .logo img {
        height: 38px;
    }

    /* Get started: prevent text wrap, compact button */
    .nav-actions .btn {
        padding: 6px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .nav-actions .nav-login-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .nav-icon-btn {
        width: 36px;
        height: 36px;
    }

    .nav-hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* New Research badge: compact single line, shorter text on mobile */
    .hero-badge {
        font-size: 0.8rem;
        padding: 3px 6px 3px 10px;
        white-space: nowrap;
    }

    .hero-badge .badge-label {
        font-size: 0.68rem;
        padding: 2px 6px;
        margin-right: 6px;
    }

    .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: calc(var(--nav-height) + 1rem) 1.5rem 1.5rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        align-items: stretch;
        font-size: 0.95rem;
    }

    .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
        font-weight: 600;
    }

    .nav-advisor-cta {
        display: block;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
        text-align: left;
    }

    .nav-dropdown-menu {
        position: static;
        margin: 0;
        padding: 0 0 0 1rem;
        box-shadow: none;
        border: none;
        border-radius: 0;
        transform: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.25s ease;
    }

    .nav-dropdown.nav-dropdown-open .nav-dropdown-menu:not(.nav-dropdown-mega) {
        max-height: 200px;
        padding: 0 0 0.5rem 1rem;
    }

    .nav-dropdown.nav-dropdown-open .nav-dropdown-mega {
        max-height: 2800px;
        padding: 0 0 0.75rem 0.75rem;
    }

    .nav-dropdown-menu.nav-dropdown-mega {
        min-width: 0 !important;
        max-width: none !important;
    }

    .nav-mega-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .nav-mega-label {
        margin-top: 0.5rem;
    }

    .nav-dropdown:hover .nav-dropdown-chevron {
        transform: none;
    }

    .nav-dropdown.nav-dropdown-open .nav-dropdown-chevron {
        transform: rotate(180deg);
    }

    .nav-drawer-cta {
        display: block;
    }

    .nav-mobile-overlay {
        display: block;
    }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .how-step:not(:last-child)::after {
        display: none;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        text-align: left;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-newsletter-btn {
        width: 100%;
    }

    .hero-carousel {
        max-height: 280px;
    }

    .carousel-slide img {
        max-height: 280px;
    }
}

/* ========================================
   How It Works - horizontal 3-step cards
   ======================================== */
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 860px) {
    .how-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .how-step:not(:last-child)::after {
        display: none;
    }
}

.how-step {
    text-align: center;
    position: relative;
    padding: 0 0.5rem;
}

.how-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(0, 91, 234, 0.2);
}

.how-step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.how-step p {
    color: var(--color-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.how-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
    opacity: 0.25;
}

/* ========================================
   Stats bar - sourced statistics
   ======================================== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-secondary);
    max-width: 220px;
    margin: 0 auto 0.35rem;
    line-height: 1.4;
}

.stat-source {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ========================================
   Trust strip
   ======================================== */
.trust-section {
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-light);
}

.trust-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.25rem;
    font-size: 0.95rem;
    color: var(--color-secondary);
}

.trust-item {
    font-weight: 600;
}

.trust-divider {
    color: var(--color-text-muted);
    padding: 0 0.35rem;
}

/* ========================================
   Testimonial cards
   ======================================== */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
}

.testimonial-quote {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-secondary);
    flex-grow: 1;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* ========================================
   Hero carousel
   ======================================== */
.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    max-height: 420px;
    background: var(--color-bg-light);
}

.carousel-track {
    display: flex;
    transition: transform 0.45s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    display: block;
    cursor: pointer;
    max-height: 420px;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-secondary);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.carousel-btn:hover {
    background: var(--color-white);
}

.carousel-prev {
    left: 8px;
}

.carousel-next {
    right: 8px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
    background: var(--color-white);
    transform: scale(1.25);
}

/* ========================================
   Newsletter signup - footer
   ======================================== */
/* ========================================
   Newsletter signup - footer
   ======================================== */
.footer-newsletter {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-newsletter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 420px;
    margin: 0 auto;
}

.footer-newsletter-input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 2px solid #94a3b8;
    /* Slate-400 for high visibility */
    border-radius: 8px;
    background: #f8fafc;
    /* Slate-50 - slight off-white contrast */
    color: var(--color-secondary);
    font: inherit;
    font-size: 0.9rem;
}

.footer-newsletter-input::placeholder {
    color: #64748b;
    /* Slate-500 - darker placeholder */
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--color-primary-start);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15);
    background: var(--color-white);
}

.footer-newsletter-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    background: var(--color-primary-start);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Add shadow for depth */
}

.footer-newsletter-btn:hover {
    background: var(--color-primary-end);
    transform: translateY(-1px);
}

.footer-newsletter-btn:hover {
    background: #f0f4ff;
    transform: translateY(-1px);
}

.footer-newsletter-status {
    min-height: 1.25rem;
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-newsletter-status.is-success {
    color: #047857;
}

.footer-newsletter-status.is-error {
    color: #b91c1c;
}

/* Footer disclaimer */
.footer-disclaimer {
    max-width: 780px;
    margin: 1.25rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    text-align: center;
}

/* ========================================
   FAQ accordion
   ======================================== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.15rem 0;
    background: none;
    border: none;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--color-primary-start);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 300;
    transition: transform 0.25s ease;
    color: var(--color-text-muted);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--color-primary-start);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding-bottom: 1.15rem;
}

.faq-answer p {
    color: var(--color-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

.faq-answer p+p {
    margin-top: 0.5rem;
}

/* ========================================
   About page
   ======================================== */
.about-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-secondary);
    border-left: 4px solid var(--color-primary-start);
    padding-left: 1.5rem;
    margin: 2rem 0;
    line-height: 1.6;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-value h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.about-value p {
    font-size: 0.95rem;
    color: var(--color-secondary);
    line-height: 1.6;
}

/* ========================================
   Pricing page
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-price-original {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.pricing-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--card-radius);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card-featured {
    border-color: var(--color-primary-start);
    box-shadow: 0 4px 24px rgba(0, 91, 234, 0.12);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.pricing-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary-start);
    margin: 0.75rem 0 0.25rem;
    line-height: 1;
}

.pricing-price-sub {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.45rem 0;
    padding-left: 1.6rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--color-secondary);
    line-height: 1.45;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

.pricing-card .btn {
    align-self: stretch;
    text-align: center;
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    max-width: 600px;
    margin: 2rem auto 0;
    font-size: 0.9rem;
    color: var(--color-secondary);
    line-height: 1.6;
}

.tier-access-callout {
    border: 1px solid #fcd34d;
    background: #fffbeb;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    color: #78350f;
    line-height: 1.6;
}

.tier-access-callout p + p {
    margin-top: 0.5rem;
}

.tier-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.tier-badge--free {
    background: #e2e8f0;
    color: #334155;
}

.tier-badge--paid {
    background: #dbeafe;
    color: #1d4ed8;
}

.tier-badge--manager {
    background: #d1fae5;
    color: #065f46;
}

/* Accessibility: Focus States */
:focus-visible {
    outline: 2px solid var(--color-primary-start);
    outline-offset: 2px;
}

/* Responsive Tables */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 1rem;
}

/* Feature pages: optional caption under full-width screenshots */
.feature-screenshot-caption {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 42rem;
    margin: 0.75rem auto 0;
    line-height: 1.5;
}

.section-title--sm {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

/* ========================================
   Leadership team page
   ======================================== */
.leadership-hero {
    padding: 3rem 0 2.5rem;
    background: linear-gradient(165deg, #f0f7ff 0%, #f5f0ff 45%, var(--color-bg-light) 100%);
}

.leadership-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6d28d9;
    margin-bottom: 0.75rem;
}

.leadership-hero h1 {
    font-size: 2.1rem;
    line-height: 1.2;
    max-width: 720px;
    margin: 0 auto 1rem;
}

.leadership-hero .hero-subhead {
    max-width: 680px;
    margin: 0 auto;
}

.leadership-team-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.leadership-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.75rem;
    align-items: start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.75rem 1.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.leadership-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.leadership-avatar--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
}

.leadership-avatar--marketing {
    background: linear-gradient(135deg, #6d28d9, #134576);
}

.leadership-avatar--finance {
    background: linear-gradient(135deg, #0d9488, #134576);
}

.leadership-avatar--karl {
    background: linear-gradient(135deg, #0d5a2d, #134576);
}

.leadership-card .team-avatar-frame--leadership.team-avatar-frame--karl img {
    object-position: center 50%;
    transform: scale(1.55) translateY(20%);
    transform-origin: center 50%;
}

.leadership-name {
    font-size: 1.45rem;
    margin: 0 0 0.35rem;
    line-height: 1.2;
}

.leadership-roles {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary-start);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.leadership-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-secondary);
    border-left: 3px solid var(--color-primary-start);
    padding-left: 1rem;
    margin: 0 0 1rem;
    line-height: 1.55;
}

.leadership-bio {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0 0 1rem;
}

.leadership-bio p {
    margin: 0 0 0.75rem;
}

.leadership-bio p:last-child {
    margin-bottom: 0;
}

.leadership-contact {
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

.leadership-contact a {
    color: var(--color-primary-start);
    font-weight: 600;
    text-decoration: none;
}

.leadership-contact a:hover {
    text-decoration: underline;
}

.leadership-help {
    margin: 0;
    padding: 1rem 1.1rem;
    background: rgba(19, 69, 118, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(19, 69, 118, 0.08);
}

.leadership-help-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary-start);
    margin: 0 0 0.5rem;
}

.leadership-help ul {
    margin: 0;
    padding: 0 0 0 1.15rem;
    font-size: 0.92rem;
    color: var(--color-secondary);
    line-height: 1.6;
}

.leadership-help li {
    margin-bottom: 0.25rem;
}

.leadership-vision-box {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.leadership-vision-box blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-secondary);
    margin: 1.5rem 0 0;
    line-height: 1.6;
}

.leadership-adviser-strip {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(19, 69, 118, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(19, 69, 118, 0.12);
    text-align: center;
}

.leadership-adviser-strip p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-secondary);
}

.leadership-adviser-strip a {
    font-weight: 600;
    color: var(--color-primary-start);
}

@media (max-width: 720px) {
    .leadership-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .leadership-quote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--color-primary-start);
        padding-top: 1rem;
    }

    .leadership-help {
        text-align: left;
    }

    .leadership-hero h1 {
        font-size: 1.75rem;
    }
}

/* Meet the team teaser (about page) */
.team-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.team-teaser-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.35rem 1.1rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.team-teaser-card:hover {
    border-color: rgba(19, 69, 118, 0.25);
    box-shadow: 0 6px 16px rgba(19, 69, 118, 0.1);
    transform: translateY(-2px);
}

.team-teaser-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    margin-bottom: 0.85rem;
    border: 3px solid var(--color-white);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
}

.leadership-avatar--photo,
.team-teaser-avatar--photo {
    object-position: center 18%;
}

.leadership-avatar--mascot,
.team-teaser-avatar--mascot {
    object-fit: contain;
    object-position: center;
    background: linear-gradient(165deg, #f0f7ff 0%, #f5f0ff 100%);
    padding: 0.35rem;
}

.team-teaser-avatar--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
}

.team-teaser-avatar--finance {
    background: linear-gradient(135deg, #0d9488, #134576);
}

.team-teaser-avatar--marketing {
    background: linear-gradient(135deg, #6d28d9, #134576);
}

.team-teaser-avatar--karl {
    background: linear-gradient(135deg, #0d5a2d, #134576);
}

/* Team photo frames (circular crop + optional zoom-in per person) */
button.team-avatar-frame {
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.team-avatar-frame {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-white);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    flex-shrink: 0;
}

.team-avatar-frame .team-teaser-avatar,
.team-avatar-frame .leadership-avatar {
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.team-avatar-frame--founder {
    width: 150px;
    height: 150px;
    margin: 0;
    border-width: 4px;
}

.team-avatar-frame--leadership {
    width: 140px;
    height: 140px;
    margin: 0;
    border-width: 4px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.team-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    border: none;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    display: block;
}

.team-avatar-frame--karl img {
    object-position: center 50%;
    transform: scale(1.55) translateY(20%);
    transform-origin: center 50%;
}

.team-photo-zoom {
    cursor: zoom-in;
}

.team-photo-zoom:focus-visible {
    outline: 2px solid var(--color-primary-start);
    outline-offset: 3px;
}

.founder-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.team-teaser-hint {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin: -0.35rem 0 0.5rem;
}

.team-teaser-name {
    font-size: 1.05rem;
    margin: 0 0 0.25rem;
    line-height: 1.25;
    color: var(--color-secondary);
}

.team-teaser-role {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary-start);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.team-teaser-blurb {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   Feature detail pages (Planolitix-parity)
   ======================================== */
.feature-video-wrap {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 1.5rem auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    background: #0f172a;
}

.feature-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.feature-video-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.feature-topic-section h3 {
    font-size: 1.15rem;
    margin: 1.75rem 0 0.5rem;
}

.feature-quick-tip {
    margin-top: 2rem;
    padding: 1rem 1.15rem;
    background: rgba(109, 40, 217, 0.06);
    border-left: 4px solid #6d28d9;
    border-radius: 0 10px 10px 0;
    font-size: 0.95rem;
    color: var(--color-secondary);
    line-height: 1.6;
}

.feature-quick-tip strong {
    color: #6d28d9;
}

.feature-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-related-card {
    display: block;
    padding: 1rem 1.1rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-related-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.feature-related-card h3 {
    font-size: 0.98rem;
    margin: 0 0 0.35rem;
}

.feature-related-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.features-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.features-catalog-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.features-catalog-card h3 {
    font-size: 1.08rem;
    margin: 0;
}

.features-catalog-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

.features-catalog-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.features-catalog-actions .btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
}

.features-catalog-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6d28d9;
    background: rgba(109, 40, 217, 0.08);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.15rem;
}

.features-catalog-badge.adviser {
    color: var(--color-primary-start);
    background: rgba(19, 69, 118, 0.08);
}

/* ===== Adviser section: plan + practice chip strips ===== */
.adviser-module-strip {
    background: rgba(19, 69, 118, 0.04);
    border-bottom: 1px solid var(--color-border);
    padding: 0.55rem 0;
}

.adviser-module-strip--journeys {
    background: rgba(19, 69, 118, 0.055);
}

.adviser-module-strip--practice {
    background: rgba(19, 69, 118, 0.08);
}

.adviser-module-strip-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem 0.85rem;
    flex-wrap: wrap;
}

.adviser-module-strip-label {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    line-height: 1.9;
    padding-top: 0.05rem;
}

.adviser-module-chips {
    display: flex;
    flex: 1 1 16rem;
    flex-wrap: wrap;
    gap: 0.35rem;
    min-width: 0;
}

.adviser-module-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.26rem 0.62rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary-start);
    text-decoration: none;
    background: var(--color-white);
    border: 1px solid rgba(19, 69, 118, 0.18);
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.adviser-module-chip:hover {
    background: rgba(19, 69, 118, 0.08);
    border-color: rgba(19, 69, 118, 0.35);
}

.adviser-module-chip.is-active,
.adviser-module-chip[aria-current="page"] {
    background: var(--color-primary-start);
    border-color: var(--color-primary-start);
    color: #fff;
}

@media (max-width: 640px) {
    .adviser-module-strip-label {
        display: none;
    }
}

.journey-stage-list {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
}

.journey-stage-list li {
    margin-bottom: 0.75rem;
    line-height: 1.45;
}

/* ===== Conversion landing (start.html) ===== */
body.page-start {
    background: var(--color-bg-light);
}

/* ===== Homepage refresh hero (two-lane conversion) ===== */
.hero-refresh {
    color: white;
}
.hero-refresh-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4.5rem;
    max-width: 1120px;
    margin: 0 auto;
}
.hero-refresh-text {
    min-width: 0;
}
.hero-refresh-card {
    background: #fff;
    color: var(--color-text, #1f2937);
    margin: 0;
    width: 100%;
    max-width: 420px;
    justify-self: end;
}
@media (max-width: 900px) {
    .hero-refresh-container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-top: 2.5rem;
        padding-bottom: 3rem;
        text-align: center;
    }
    .hero-refresh-card {
        justify-self: center;
    }
    .hero-refresh-text h1 {
        font-size: 2rem !important;
    }
    .hero-refresh-text p {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


.page-start .navbar {
    box-shadow: none;
    border-bottom: 1px solid var(--color-border);
}

.page-start .nav-actions .btn {
    display: none;
}

.page-start .nav-hamburger {
    display: none;
}

.page-start .nav-links {
    display: none !important;
}

.landing-hero {
    padding: 2.5rem 0 3rem;
    background:
        linear-gradient(160deg, rgba(19, 69, 118, 0.94) 0%, rgba(13, 52, 96, 0.88) 55%, rgba(15, 23, 42, 0.92) 100%),
        url('assets/hero-coast.png') center center / cover no-repeat;
    color: #fff;
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: start;
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.landing-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.landing-hero h1 {
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.landing-hero-lead {
    font-size: 1.15rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.25rem;
    max-width: 34rem;
}

.landing-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 0 0 1.5rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

.landing-proof-row span::before {
    content: '✓ ';
    color: #eab308;
    font-weight: 700;
}

.landing-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.landing-benefit-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.95);
}

.landing-benefit-list li strong {
    color: #fff;
}

.landing-benefit-icon {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(234, 179, 8, 0.2);
    color: #fde047;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

.landing-signup-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    color: var(--color-secondary);
}

.landing-signup-card h2 {
    font-size: 1.35rem;
    margin: 0 0 0.35rem;
    color: var(--color-primary-start);
}

.landing-signup-sub {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0 0 1rem;
    line-height: 1.45;
}

.landing-meta-lead-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #1e40af;
    margin-bottom: 0.85rem;
}

.landing-signup-card input[type="email"] {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

.landing-signup-card label.landing-terms {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin-top: 0.75rem;
    padding: 0.7rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #475569;
    text-align: left;
}

.landing-signup-card .btn-full {
    width: 100%;
    margin-top: 0.75rem;
}

.landing-signup-card .landing-or {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin: 0.85rem 0 0.5rem;
}

.landing-signup-notice {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    color: #134576;
    min-height: 1.2rem;
}

.landing-signup-notice.is-error {
    color: #b91c1c;
}

.landing-sent-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.landing-sent-box p {
    margin: 0;
}

.landing-sent-title {
    font-weight: 700;
    color: #15803d;
    font-size: 1.05rem;
    margin-bottom: 0.35rem !important;
}

.landing-micro-trust {
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
}

.landing-outcome {
    padding: 3rem 0;
}

.landing-outcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.landing-outcome-steps {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.landing-outcome-step {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.landing-outcome-num {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-primary-start);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.landing-whats-new {
    padding: 2rem 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.landing-questions {
    padding: 2.75rem 0;
}

.landing-questions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.landing-question-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.5rem 1.35rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.landing-question-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(19, 69, 118, 0.35);
}

.landing-question-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0 0 0.6rem;
    color: var(--color-primary-start);
}

.landing-question-card p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    flex: 1;
}

.landing-question-cta {
    font-weight: 700;
    color: var(--color-primary-start);
    text-decoration: none;
    font-size: 0.95rem;
}

.landing-question-cta:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .landing-questions-grid {
        grid-template-columns: 1fr;
    }
}

.landing-whats-new-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.landing-whats-new-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem;
}

.landing-whats-new-card h3 {
    font-size: 0.95rem;
    margin: 0 0 0.35rem;
    color: var(--color-primary-start);
}

.landing-whats-new-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}

.landing-testimonial {
    padding: 2.5rem 0;
}

.landing-faq {
    padding: 2.5rem 0 3.5rem;
    background: var(--color-bg-light);
}

.landing-faq details {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.65rem;
}

.landing-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary-start);
}

.landing-faq p {
    margin: 0.65rem 0 0;
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.landing-sticky-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.landing-sticky-cta .btn {
    width: 100%;
    min-height: 48px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-start .footer-minimal {
    padding: 1.5rem 0 5rem;
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
}

@media (max-width: 900px) {
    .landing-hero-grid,
    .landing-outcome-grid {
        grid-template-columns: 1fr;
    }

    .landing-whats-new-grid {
        grid-template-columns: 1fr 1fr;
    }

    .landing-signup-card {
        /* order removed - headline first on mobile */
    }
}

@media (max-width: 640px) {
    .landing-hero {
        padding: 1.5rem 0 2rem;
    }

    .landing-whats-new-grid {
        grid-template-columns: 1fr;
    }

    .landing-sticky-cta {
        display: block;
    }

    .page-start .footer-minimal {
        padding-bottom: 5.5rem;
    }

    .matariki-hero {
        padding: 2.5rem 0 2.75rem;
    }

    .matariki-hero-inner {
        text-align: center;
    }

    .matariki-cta {
        width: 100%;
        max-width: 20rem;
    }
}

/* ===== Matariki landing variant (?hook=matariki) ===== */
.matariki-hero {
    position: relative;
    overflow: hidden;
    padding: 3.25rem 0 3.5rem;
    color: #fff;
    background:
        radial-gradient(ellipse 120% 80% at 50% 120%, rgba(88, 28, 135, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 15% 20%, rgba(19, 69, 118, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse 70% 45% at 85% 15%, rgba(30, 58, 138, 0.4) 0%, transparent 45%),
        linear-gradient(175deg, #0a1628 0%, #0f1f3d 38%, #132a52 68%, #1a1a3e 100%);
}

.matariki-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.95) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 28% 42%, rgba(255, 255, 255, 0.85) 50%, transparent 51%),
        radial-gradient(1px 1px at 45% 12%, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
        radial-gradient(2px 2px at 62% 28%, rgba(253, 224, 71, 0.9) 50%, transparent 51%),
        radial-gradient(1px 1px at 78% 55%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 88% 22%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
        radial-gradient(1px 1px at 8% 68%, rgba(255, 255, 255, 0.65) 50%, transparent 51%),
        radial-gradient(2px 2px at 22% 78%, rgba(253, 224, 71, 0.85) 50%, transparent 51%),
        radial-gradient(1px 1px at 38% 88%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 55% 72%, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
        radial-gradient(1px 1px at 72% 82%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
        radial-gradient(2px 2px at 92% 68%, rgba(253, 224, 71, 0.8) 50%, transparent 51%),
        radial-gradient(1px 1px at 18% 35%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
        radial-gradient(1px 1px at 52% 48%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 68% 8%, rgba(255, 255, 255, 0.7) 50%, transparent 51%);
    opacity: 0.95;
}

.matariki-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
}

.matariki-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(253, 224, 71, 0.95);
    margin: 0 0 0.85rem;
}

.matariki-eyebrow-star {
    font-size: 0.95rem;
    line-height: 1;
}

.matariki-hero h1 {
    font-size: clamp(1.85rem, 4.2vw, 2.65rem);
    line-height: 1.18;
    margin: 0 0 1rem;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.matariki-lead {
    font-size: 1.12rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.5rem;
    max-width: 34rem;
}

.matariki-lead strong {
    color: #fde047;
    font-weight: 700;
}

.btn-gold {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    border: 1px solid #a16207;
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(234, 179, 8, 0.35);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    border-color: #ca8a04;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(234, 179, 8, 0.45);
}

.matariki-cta {
    min-height: 52px;
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

.page-start.matariki-active .landing-hero {
    background: var(--color-bg-light);
    color: var(--color-secondary);
    padding: 2rem 0 2.75rem;
}

.page-start.matariki-active .landing-hero-copy {
    display: none;
}

.page-start.matariki-active .landing-hero-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
}

.page-start.matariki-active .landing-signup-card {
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}

.page-start.matariki-active .landing-sticky-cta .btn {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    border-color: #a16207;
    color: #1a1a1a;
}

.page-start.matariki-active .landing-sticky-cta .btn:hover {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    border-color: #ca8a04;
    color: #0f172a;
}

.landing-matariki-promo {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--color-secondary);
}

.landing-matariki-promo strong {
    color: #92400e;
}

