:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-color: #4a90e2; 
    --secondary-bg: #f5f5f7;
    --border-color: #e5e5e5;
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --max-width: 1200px;
    --header-height: 88px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    /* Softer top wash — hero sky layer handles the strong top fade on scroll */
    background-image: 
        radial-gradient(circle at 90% 0%, hsla(215, 100%, 94%, 0.55) 0%, transparent 42%),
        radial-gradient(circle at 0% 100%, hsla(210, 100%, 93%, 0.5) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, hsla(215, 100%, 94%, 0.5) 0%, transparent 40%);
    background-repeat: no-repeat;
    background-position: top right, bottom left, bottom right;
    min-height: 100vh;
}

.hero-sky-fade {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Tall layer so color can ease out over a long vertical distance */
    height: min(185vh, 1680px);
    pointer-events: none;
    z-index: 0;
    /* Inner wash: many stops so there is no “hard band” before the edge */
    background: linear-gradient(
        180deg,
        hsla(210, 100%, 92%, 0.92) 0%,
        hsla(210, 99%, 93.5%, 0.78) 18%,
        hsla(210, 97%, 95%, 0.58) 38%,
        hsla(210, 96%, 96.5%, 0.38) 55%,
        hsla(210, 94%, 97.5%, 0.22) 70%,
        hsla(210, 92%, 98.5%, 0.1) 84%,
        hsla(210, 90%, 99.5%, 0.03) 94%,
        hsla(210, 88%, 100%, 0) 100%
    );
    /* Feather the entire layer at the bottom so the rectangle edge never reads as a sharp cut */
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 52%,
        rgba(0, 0, 0, 0.92) 64%,
        rgba(0, 0, 0, 0.55) 78%,
        rgba(0, 0, 0, 0.22) 90%,
        rgba(0, 0, 0, 0.06) 97%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 52%,
        rgba(0, 0, 0, 0.92) 64%,
        rgba(0, 0, 0, 0.55) 78%,
        rgba(0, 0, 0, 0.22) 90%,
        rgba(0, 0, 0, 0.06) 97%,
        transparent 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.15s ease-out;
}

.hero-sky-zone {
    position: relative;
    z-index: 1;
}

/* Second hero block: translucent top so fixed sky wash reads through, then cream — no hard white edge */
.hero--sky-blend {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(253, 251, 247, 0.78) 38%,
        #fdfbf7 100%
    ) !important;
}

.site-main {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }

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

.hero-float {
    animation: floatY 7s ease-in-out infinite;
}

.hero-float-1 { animation-delay: 0s; }
.hero-float-2 { animation-delay: 0.8s; }
.hero-float-3 { animation-delay: 1.6s; }

@keyframes fadeFill {
    from { opacity: 0; }
    to { opacity: 1; }
}

.chart-fill {
    opacity: 0;
}

.chart-anim .chart-fill {
    animation: fadeFill 1s ease forwards;
    animation-delay: 0.15s;
}

.performance-chart-svg {
    overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
    .animate-fade-up,
    .reveal,
    .hero-float,
    .chart-anim .chart-fill {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .plan-roi--highlight {
        animation: none !important;
        transform: none !important;
        text-shadow: none !important;
    }
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4b5563;
    font-weight: 600;
}

.section-subheading {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #0a0a0a;
}

.hero-lead {
    padding: 80px 0 30px;
}

.hero-lead-title {
    font-size: 4.4rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #0a0a0a;
    margin-bottom: 14px;
}

.hero-lead-title-line {
    display: block;
    line-height: 1.08;
}

.hero-lead-subtitle {
    max-width: 820px;
    margin: 0 auto 22px;
    font-size: 1.15rem;
    color: #4a4a4a;
}

.hero-lead-actions {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.hero-lead-actions .btn {
    border-radius: 999px;
    padding: 14px 22px;
}

.hero-media {
    opacity: 0;
    transform: translateX(28px);
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.hero-media.hero-media-in {
    opacity: 1;
    transform: translateX(0);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.plan-card {
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: #111;
}

.plan-meta {
    color: #6b7280;
    font-size: 0.9rem;
}

.plan-roi {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #111;
}

.plan-roi span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    margin-left: 6px;
}

.plan-roi--highlight {
    color: #16a34a !important;
    display: inline-block;
    animation: planRoiPulse 1.45s ease-in-out infinite;
    text-shadow: 0 0 0 rgba(22, 163, 74, 0);
}

.plan-roi--highlight span {
    color: #15803d !important;
}

@keyframes planRoiPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        text-shadow: 0 0 0 rgba(22, 163, 74, 0);
    }
    50% {
        transform: scale(1.06);
        opacity: 1;
        text-shadow: 0 0 18px rgba(22, 163, 74, 0.45);
    }
}

.plan-disclaimer {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.45;
    margin: 0;
}

.plans-check {
    color: #16a34a;
    font-weight: 800;
    font-size: 1.05rem;
}

.plans-prolong-disclaimer {
    font-size: 0.82rem;
    color: #9ca3af;
    line-height: 1.55;
    max-width: 900px;
    margin: 28px auto 0;
    text-align: center;
}

.plans-all-include-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 560px;
    width: 100%;
    display: grid;
    gap: 14px;
}

.plans-all-include-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    color: #374151;
    font-size: 0.98rem;
}

.plans-all-include-list li > span:first-child {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.plans-include-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f3f4f6;
}

/* Plans page: equal gaps between payment logos (reference: uniform horizontal spacing) */
.plans-payment-row {
    width: 100%;
}

#plans-payment-methods .plans-payment-logos {
    list-style: none;
    margin: 0 auto;
    padding: 12px 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 2.75rem;
    row-gap: 1.5rem;
    width: 100%;
    max-width: 960px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    #plans-payment-methods .plans-payment-logos {
        flex-wrap: nowrap;
        column-gap: 3rem;
        padding: 16px 12px;
    }
}

#plans-payment-methods .plans-payment-logos li {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#plans-payment-methods .plans-payment-logos img {
    height: auto;
    width: auto;
    max-height: 44px;
    max-width: min(140px, 28vw);
    object-fit: contain;
    display: block;
}

/* Fallback if id missing */
.plans-payment-logos {
    list-style: none;
    margin: 0 auto;
    padding: 12px 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.75rem;
    max-width: 960px;
}

.plans-payment-logos li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plans-payment-logos img {
    height: auto;
    width: auto;
    max-height: 44px;
    object-fit: contain;
    display: block;
}

.plan-risk {
    color: #4b5563;
}

.plan-features {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.plan-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #111;
}

.plan-features li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 900;
}

.plan-cta {
    margin-top: auto;
    text-align: center;
}

.faq-accordion {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.faq-q {
    font-weight: 700;
    color: #111;
}

.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    position: relative;
    flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #111;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    transition: opacity 0.2s ease;
}

.faq-item.is-open .faq-icon::after {
    opacity: 0;
}

.faq-panel {
    height: 0px;
    overflow: hidden;
    transition: height 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-panel-inner {
    padding: 0 16px 16px;
    color: #4b5563;
    line-height: 1.7;
}

.testimonial-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: inline-flex;
    gap: 16px;
    padding: 12px 0;
    animation: testimonialMarquee 38s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
}

@keyframes testimonialMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-photo {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 800;
    color: #111;
    font-size: 0.95rem;
}

.testimonial-rating {
    font-size: 0.9rem;
    color: #f59e0b;
}

.testimonial-text {
    color: #4b5563;
    line-height: 1.7;
}

.chart-counter {
    font-weight: 900;
    color: #8b2c3a;
    letter-spacing: -0.03em;
}

@media (max-width: 900px) {
    .hero-lead-title { font-size: 3.2rem; }
    .section-subheading { font-size: 2.2rem; }
    .site-logo-img { height: 36px; }
    .site-logo-text,
    .site-logo-wordmark { font-size: clamp(1.35rem, 5vw, 2.52rem); }
    .site-logo-img--footer { height: 34px; }
}

/* Infinite Scroll Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    gap: 40px;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 24px;
    border-radius: 16px;
    min-width: 350px;
    max-width: 350px;
    white-space: normal;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s;
}

.testimonial-marquee {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; color: #666; font-size: 1rem; }

/* Header */
header {
    height: var(--header-height);
    position: sticky;
    top: 0;
    /* Transparent background with heavy blur */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 100%;
    margin: 0 auto;
}

header.header-scrolled {
    top: 20px;
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    color: #000;
}

/* Public header: logo ~80% larger than previous 26px image / 1.4rem wordmark */
.site-logo-img {
    height: 47px;
    width: auto;
    display: block;
    object-fit: contain;
}

.site-logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.52rem;
    letter-spacing: -0.04em;
    color: #000;
}

.brand-wordmark {
    font-family: 'Inter', sans-serif;
}

.site-logo-wordmark {
    font-family: 'Inter', sans-serif;
    font-size: 2.52rem;
    line-height: 1;
}

.site-logo-img--footer {
    height: 38px;
    width: auto;
    margin-right: 0;
    display: block;
    object-fit: contain;
}

/* Footer brand matches header wordmark; ~20% smaller than header */
.site-footer-logo .site-logo-text {
    font-size: 2.02rem;
}

.site-footer-logo .site-logo-text::first-letter {
    color: #8b2c3a;
}

.site-footer-logo .site-logo-wordmark {
    font-size: 2.02rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: #444;
}

.footer-socials--end {
    margin-left: auto;
}

.footer-socials--bottom-right {
    margin-left: auto;
}

.btn-login-outline {
    border: 2px solid #4b5563 !important;
    background: #fff !important;
    color: #111 !important;
}

.btn-login-outline:hover {
    background: #f9f9f9 !important;
    border-color: #374151 !important;
}

.features-headline-line {
    display: block;
}

.feature-tab {
    font: inherit;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.feature-tab:hover {
    border-color: #d1d5db;
    color: #111;
}

.feature-tab.is-active {
    color: #111;
    border-color: #8b2c3a;
    box-shadow: 0 0 0 1px #8b2c3a inset;
}

.feature-tab-panel[hidden] {
    display: none !important;
}

.how-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 900px) {
    .how-steps-grid {
        grid-template-columns: 1fr;
    }
}

.how-step-card {
    background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
}

.how-step-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.how-step-text {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.how-step-cta {
    align-self: flex-start;
    background: #0d9488 !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.how-step-markets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.market-chip {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.how-step-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #374151;
    font-size: 0.92rem;
    line-height: 1.55;
}

.how-step-faux-rows {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
    font-size: 0.8rem;
}

.faux-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.faux-row:last-child {
    border-bottom: 0;
}

.faux-long {
    background: #ccfbf1;
    color: #0f766e;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 6px;
}

.faux-pnl {
    font-weight: 700;
    color: #111;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

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

.benefits-list {
    display: grid;
    gap: 10px;
}

.benefit-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font: inherit;
    color: #374151;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.benefit-item:hover {
    border-color: #d1d5db;
}

.benefit-item.is-active {
    border-color: #111;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.benefit-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
}

.benefit-item.is-active .benefit-icon {
    background: #111;
    color: #fff;
}

.benefits-visual-inner {
    position: relative;
    border-radius: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    min-height: 280px;
}

.benefit-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 82%;
    max-width: 400px;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.benefit-panel.is-visible {
    opacity: 1;
}

.resources-list-card {
    gap: 36px;
}

.resources-list-img-wrap,
.resources-list-image {
    padding-right: 0;
}

.resources-list-content {
    padding-left: 8px;
    min-width: 0;
}

@media (max-width: 900px) {
    .resources-list-card {
        gap: 20px;
    }

    .resources-list-img-wrap,
    .resources-list-image {
        padding-bottom: 0;
    }

    .resources-list-content {
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    .blog-index-card {
        grid-template-columns: 1fr !important;
    }
    .how-it-works-legacy-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Legal pages (terms, privacy, disclaimer) */
.legal-prose {
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.75;
    color: #374151;
    font-size: 1rem;
}

.legal-prose h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111;
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.02em;
}

.legal-prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 1.5rem 0 0.5rem;
}

.legal-prose p,
.legal-prose ul {
    margin-bottom: 1rem;
}

.legal-prose ul {
    padding-left: 1.25rem;
}

.legal-prose li {
    margin-bottom: 0.5rem;
}

.legal-lead {
    font-size: 1.05rem;
    color: #1f2937;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    position: relative;
}

.nav-links a:hover {
    color: #000;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    letter-spacing: -0.01em;
}

.btn-primary {
    background-color: #111;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.btn-secondary {
    background-color: #fff;
    color: #111;
    border-color: #e5e5e5;
}

.btn-secondary:hover {
    background-color: #f9f9f9;
    border-color: #ccc;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 24px;
    background: linear-gradient(180deg, #111 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.35rem;
    max-width: 600px;
    margin: 0 auto 48px;
    color: #666;
}

.hero-visual {
    margin-top: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.15);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.02); /* Slight zoom for effect */
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.feature-card {
    background: #fff;
    padding: 48px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: #f5f5f7;
    border-radius: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
    align-items: start;
}

/* Financial Management Section */
.fin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.fin-content {
    max-width: 500px;
}

.fin-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fin-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a1a;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.fin-pill:hover {
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (max-width: 900px) {
    .fin-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .fin-content {
        margin: 0 auto 40px;
    }
    
    .fin-pills {
        max-width: 400px;
        margin: 0 auto;
    }
}
/* Pricing Card (Basic/Enterprise) */
.pricing-card {
    border: none;
    padding: 20px 40px; /* Reduced top/bottom padding by 50% */
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

/* Featured Pricing Card (Premium) */
.pricing-card.featured {
    background: linear-gradient(180deg, #9fcbf5 0%, #fdfbf7 100%); /* Darker blue start */
    color: #111;
    border: 4px solid #7cb3e8; /* Darker blue border */
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.25);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card.featured h3,
.pricing-card.featured p,
.pricing-card.featured .price,
.pricing-card.featured .feature-check {
    /* Colors handled inline or inherited, ensuring override */
}

/* Pricing Toggle */
.pricing-toggle-container {
    background: rgba(255,255,255,0.6);
    border-radius: 50px;
    padding: 4px;
    display: inline-flex;
    margin-bottom: 20px;
    align-self: flex-start; /* Align left inside card if needed, or center? Image shows left aligned in card flow? No, centered in card actually. */
    align-self: center;
}

.pricing-toggle-btn {
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
}

.pricing-toggle-btn.active {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Checkmarks */
.feature-icon-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pricing-features {
    margin: 30px 0;
}

.pricing-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #333;
}

/* Blog Section (Revised) */
.blog-featured-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-bottom: 40px;
}

.blog-featured-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
}

.blog-featured-content {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.blog-featured-content h3 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 20px 0;
    color: #1a1a1a;
}

.blog-featured-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Secondary Grid */
.blog-grid-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
    gap: 30px;
    width: 100%; /* Ensure full container width */
}

.blog-card-secondary {
    transition: transform 0.3s ease;
    width: 100%; /* Take full width of grid cell */
}

.blog-card-secondary:hover {
    transform: translateY(-5px);
}

.blog-image-secondary {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    margin-bottom: 15px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    width: fit-content;
}

.badge-brown { background-color: #5d4037; }
.badge-orange { background-color: #e65100; }
.badge-blue { background-color: #1976d2; }
.badge-yellow { background-color: #f57f17; }
.badge-green { background-color: #2e7d32; }

@media (max-width: 900px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
    }
    .blog-featured-image {
        min-height: 300px;
    }
}

/* Original Blog CSS Removed */
/* .blog-preview-grid ... removed */

/* CTA — same clean end band as inner pages (e.g. plans.php); pairs with footer */
.cta-section {
    background-color: #ffffff;
    border-top: 1px solid #ececec;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.cta-section-tagline {
    white-space: nowrap;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.82rem, 2.15vw, 1.25rem);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Community Section (Revised) */
.community-card {
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.btn-community {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background-color: #fff;
    color: #1a1a1a;
    border: 1px solid #d0d7df;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    width: fit-content;
    margin-top: auto; /* Pushes button to bottom */
}

.btn-community:hover {
    background-color: #f9f9f9;
    border-color: #b0b8c0;
    transform: translateY(-1px);
}

/* Original Community Section Removed/Updated */
/* .community-section { ... } removed */

/* Forms */
.form-container {
    max-width: 440px;
    margin: 80px auto;
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: #fcfcfc;
}

.form-control:focus {
    outline: none;
    border-color: #000;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

/* Seamless Section Overlay Buttons */
.seamless-overlay-buttons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.btn-overlay {
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s ease;
}

.btn-overlay:hover {
    background: rgba(30, 30, 30, 0.9);
    transform: translateY(-2px);
    color: #fff;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(139, 44, 58, 0.4);
    background: #fff;
    color: #8b2c3a;
    box-shadow: 0 8px 28px rgba(139, 44, 58, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.back-to-top-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #8b2c3a;
    color: #fff;
    border-color: #8b2c3a;
}

.back-to-top:focus-visible {
    outline: 2px solid #8b2c3a;
    outline-offset: 2px;
}

/* Footer — white band to match plans and other inner pages */
footer {
    background-color: #ffffff;
    padding: 56px 0 40px;
    border-top: 1px solid #ececec;
    margin-top: 0;
}

.footer-box {
    background: transparent;
    border-radius: 0;
    padding: 0;
    color: #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}

.footer-col.brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 0;
    max-width: 320px;
}

.footer-wordmark-first {
    color: #8b2c3a;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.social-btn--icon {
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.social-btn-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.social-btn--icon:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.social-btn:hover:not(.social-btn--icon) {
    transform: translateY(-2px);
    background: #000;
}

.social-btn--icon:hover {
    transform: translateY(-2px);
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0a0a0a;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #1a1a1a;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #8b2c3a;
}

.footer-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    width: 100%;
    margin-bottom: 30px;
}

.footer-bottom strong {
    color: #000;
    font-weight: 700;
}

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

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .footer-socials--bottom-right {
        margin-left: 0;
        align-self: flex-end;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .hero { padding: 100px 0 60px; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-5px); }
    .marquee-content { gap: 20px; }
    .testimonial-card { min-width: 280px; max-width: 280px; }
}

/* Content pages: security, sitemap, market movers */
.page-doc-hero {
    padding: 120px 0 36px;
    background: linear-gradient(180deg, hsl(210 100% 96%) 0%, #fff 55%);
}

.page-doc-section {
    padding-bottom: 72px;
}

.security-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.security-card {
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.security-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
}

.security-card-text {
    color: #4b5563;
    line-height: 1.65;
    font-size: 0.98rem;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.sitemap-heading {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #111;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 10px;
}

.sitemap-list a {
    color: #4b5563;
    font-size: 0.98rem;
}

.sitemap-list a:hover {
    color: #8b2c3a;
}

.mm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

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

.mm-panel {
    border: 1px solid #eee;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mm-panel-head {
    padding: 20px 20px 8px;
}

.mm-panel-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
}

.mm-panel-sub {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
}

.mm-chart-strip {
    height: 72px;
    background: linear-gradient(180deg, #fff 0%, #fdfbf7 100%);
    border-bottom: 1px solid #f0f0f0;
}

.mm-chart-bg {
    width: 100%;
    height: 72px;
    display: block;
}

.mm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.mm-table th,
.mm-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.mm-table th {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mm-sym {
    font-weight: 800;
    color: #111;
}

.mm-pct {
    font-weight: 700;
    color: #16a34a;
    font-variant-numeric: tabular-nums;
}

.mm-pct--neg {
    color: #dc2626;
}

.mm-trend {
    width: 120px;
}

.mm-spark {
    display: block;
    max-width: 100%;
    height: auto;
}

.mm-last {
    font-variant-numeric: tabular-nums;
    color: #111;
}

/* Homepage / public market snapshot strip */
.market-snapshot-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.market-snap-card {
    flex: 1 1 100px;
    min-width: 100px;
    max-width: 140px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.market-snap-card__sym {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 4px;
}

.market-snap-card__px {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.market-snap-card__ch {
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.market-snap-card--up .market-snap-card__ch {
    color: #16a34a;
}

.market-snap-card--down .market-snap-card__ch {
    color: #dc2626;
}
