/* public.css — public-facing page styles */

body {
    display: flex;
    flex-direction: column;
    font-family: var(--font-family-sans-serif);
    font-weight: 400;
    background: radial-gradient(50% 100% at 90% 90%, var(--primary-2) 30%, var(--primary) 100%),
                linear-gradient(127.43deg, var(--primary-2) 10%, var(--primary) 100%);
    background-blend-mode: screen;
    background-attachment: fixed;
}

p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-color);
}

a {
    color: var(--highlight);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover,
a:focus {
    color: var(--secondary);
}

h1, h2, h3 {
    color: var(--on-primary);
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }

h1, h2, h3, p {
    line-height: 1.4;
    margin: 0.625rem;
}

ul, ol, li {
    line-height: 1.65;
}


form h1, form h2, form h3 {
    color: var(--highlight);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    /* Theme-aware frosted bar: a translucent --surface adapts per theme (light
       header on light themes, dark on dark) instead of the hardcoded indigo that
       clashed with every non-blue palette. Brand pills (--primary) pop against
       it; --surface is used (not --chrome-bg) so btn-filled doesn't render
       primary-on-primary. */
    background: var(--public-header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--public-header-border);
}

.navbar {
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    border-top: none;
}

/* Plain nav links read as body text on the frosted --surface header (high
   contrast in any theme). Scoped with :not() so the btn-outline / btn-filled
   pills keep their own --primary / --on-primary colours. */
.navbar ul li a:not(.btn-outline):not(.btn-filled) {
    color: var(--public-header-text);
    font-weight: 600;
    transition: color var(--transition-fast);
}
.navbar ul li a:not(.btn-outline):not(.btn-filled):hover {
    color: var(--primary);
}

/* Header pills are BUTTONS, not nav links — but components.css '.navbar ul li a'
   (color: --nav-color, 0,0,1,3) outranks the base .btn-* colour and washes the
   transparent outline pill out on the light header (light --nav-color on white).
   Override with higher specificity (header .navbar ul li a.btn-* = 0,0,2,4):
   outline gets near-black text + brand border; filled is restored to --on-primary;
   hover restores the designed brand-fill + on-primary text. */
header .navbar ul li a.btn-outline {
    color: var(--public-header-text-strong);
    border-color: var(--primary);
}
header .navbar ul li a.btn-outline:hover {
    color: var(--on-primary);
}
header .navbar ul li a.btn-filled {
    color: var(--on-primary);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--public-header-text-strong) !important;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--breakpoint-xl);
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    width: 100%;
}

.logo-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    height: 40px;
    width: auto;
    max-width: 220px;
    display: block;
}

.navbar-toggler.open .navbar-toggler-bar:first-child {
    transform: translateY(8px) rotate(45deg);
}
.navbar-toggler.open .navbar-toggler-bar:nth-child(2) {
    display: block;
    opacity: 0;
}
.navbar-toggler.open .navbar-toggler-bar:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

main {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    flex: 1 1 auto;
    overflow-y: visible;
    color: var(--text-color);
}

content {
    display: block;
}

sidebar {}

/* ── Public zone column layouts (public_one/two/three_column.xml) ────── */

/* Single-column: article is a centred readable measure inside full-width <main>. */
main > article {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    line-height: 1.65;
}

/* Two/three-column: <main> becomes a row container of sidebar(s) + article. */
main:has(> sidebar) {
    flex-direction: row;
    align-items: flex-start;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    gap: 2rem;
}
main:has(> sidebar) > article {
    flex: 1 1 0;
    max-width: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}
main > sidebar {
    flex: 0 0 240px;
    max-width: 240px;
    padding: 1.5rem 0;
}

@media (max-width: 900px) {
    main:has(> sidebar) {
        flex-direction: column;
        max-width: 760px;
    }
    main > sidebar {
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
    }
}

/* Article typography */
main > article h1 { font-size: 2rem; margin: 0 0 0.5rem; }
main > article h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
main > article h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
main > article p,
main > article ul,
main > article ol { margin: 0 0 1rem; }
main > article ul,
main > article ol { padding-left: 1.5rem; }
main > article ul li,
main > article ol li { margin-bottom: 0.4rem; }
main > article .legal-meta {
    color: var(--text-color);
    opacity: 0.6;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

footer {
    color: var(--nav-color);
    background-color: var(--bg-footer);
}
footer h1, footer h2, footer h3, footer h4 { color: var(--secondary); }
footer a {
    color: var(--secondary);
    font-weight: 400;
    transition: color var(--transition-fast);
}
footer a:hover { color: var(--highlight); }
footer p { color: inherit; }

.footer-wrap {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
    gap: 3rem;
    max-width: var(--breakpoint-xl, 1180px);
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
}
@media (max-width: 1024px) {
    .footer-wrap { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-trust { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .footer-wrap { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
}

.footer-column { min-width: 0; }
.footer-column h4 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 1.1rem;
}
.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.footer-column ul li a {
    font-size: .9rem;
    text-decoration: none;
    display: inline-block;
}

.footer-brand .footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-tagline {
    font-size: .9rem;
    color: var(--nav-color);
    line-height: 1.55;
    margin: 0 0 1.25rem;
    max-width: 280px;
    opacity: .8;
}
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,.05);
    color: var(--secondary);
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    font-size: .95rem;
}
.footer-social a:hover {
    background: var(--highlight);
    color: var(--on-highlight);
    transform: translateY(-2px);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-full);
    font-size: .72rem;
    color: var(--secondary);
}
.trust-pill i { color: var(--highlight); }

.footer-foot {
    background-color: var(--bg-footer-foot);
    border-top: 1px solid rgba(255,255,255,.04);
    padding: 1.1rem 1.5rem;
    font-size: .8rem;
    opacity: .85;
}
.footer-foot-inner {
    max-width: var(--breakpoint-xl, 1180px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-foot strong { color: var(--secondary); font-weight: 600; }
.footer-foot .footer-meta { opacity: .7; }
.footer-info { color: var(--secondary); }


/* ---------------------------------------------------
    REGISTER FORM
----------------------------------------------------- */

#register-form {
    background: var(--surface);
    border-radius: var(--radius-lg);
}

#register-top-panel {
    border-radius: var(--radius-lg);
    background: var(--surface);
}

#register-referrer {
    border: 1px solid var(--highlight);
    border-radius: var(--radius-lg);
}
#register-referrer p {
    color: var(--highlight);
}

#register-form .input, .select {
    width: 275px;
    height: 44px;
    padding: 0 0.75rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
    font-family: var(--font-family-sans-serif);
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-color);
    margin: 0 0 5px 0;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}
#register-form .input:focus, .select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--ring-color);
}

.subheading {
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 0.75rem auto;
    border-bottom: 1px solid var(--border);
    color: var(--text-color-dark);
}

#register a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--link);
}

#register-button {
    width: 275px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--success);
    border: none;
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: var(--font-family-sans-serif);
    color: var(--on-success);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}
#register-button:hover {
    filter: brightness(1.05);
    color: var(--on-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}


/* ---------------------------------------------------
    CUSTOM UTILITY OVERRIDES
----------------------------------------------------- */

.w-max-1200 { max-width: 1200px; }
.w-max-1140 { max-width: 1140px; }
.fb-972  { flex: 1; flex-basis: 972px; }
.fb-1140 { flex: 1; flex-basis: 1140px; }
.fb-1200 { flex: 1; flex-basis: 1200px; }


/* ---------------------------------------------------
    MEDIA QUERIES
----------------------------------------------------- */

@media (max-width: 576px) {
    header { width: 100%; }
}

@media (min-width: 576px) {
    header { width: 100%; }
}

@media only screen and (max-width: 768px) {
    #hidenav {
        display: none;
        width: 100%;
        clear: both;
    }
    .navbar {
        display: none;
    }
    header .navbar.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--public-header-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 0.75rem 1rem;
        max-width: none;
        border-bottom: 1px solid var(--public-header-border);
        z-index: 99;
    }
    header .navbar.open ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    header .navbar.open ul li {
        display: block;
        width: 100%;
    }
    header .navbar.open ul li a {
        display: block;
        padding: 0.75rem 1rem;
    }
    .navbar-toggler {
        float: right;
        display: flex;
    }
    .footer-column {
        border-bottom: 1px solid var(--highlight);
    }
    .footer-column:last-child {
        border-bottom: none;
    }
}

@media only screen and (min-width: 768px) {
    .navbar-toggler  { display: none; }
    .navbar-nav      { display: flex; flex-direction: row; align-items: center; gap: 0.25rem; }
    nav ul li        { display: inline-block; border-bottom: none; }
    .footer-column   { border-bottom: none; }
}

@media (min-width: 992px) {
    .header-wrap {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ---------------------------------------------------
    LANDING PAGE — SHARED
----------------------------------------------------- */

.container {
    display: block;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 2.5rem;
}

/* utility helpers used in landing content */
.text-center { text-align: center; }
.mb-6 { margin-bottom: 3rem; }
.mt-6 { margin-top: 3rem; }
.py-8 { padding-top: 4rem; padding-bottom: 4rem; }


/* ---------------------------------------------------
    HERO
----------------------------------------------------- */

.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background: var(--bg-gradient);
    color: var(--on-primary);
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--on-primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

.hero-buttons {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ---------------------------------------------------
    FEATURES
----------------------------------------------------- */

.features {
    padding: 6rem 0;
    background: var(--surface);
}

.features .section-title { color: var(--text-color-dark); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    margin: 0;
}


/* ---------------------------------------------------
    SOCIAL PROOF / TESTIMONIALS
----------------------------------------------------- */

.social-proof {
    padding: 6rem 0;
    background: var(--bg-color-distinct);
}

.social-proof .section-title { color: var(--text-color-dark); }

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    gap: 1.25rem;
}

.testimonial-content {
    font-style: italic;
    color: var(--text-color);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin: 0;
}

.testimonial-author {
    align-items: center;
    gap: 0.875rem;
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--bg-gradient);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-info span {
    font-weight: 600;
    color: var(--text-color-dark);
    font-size: 0.9375rem;
}

.author-company {
    font-weight: 400 !important;
    color: var(--text-color-light) !important;
    font-size: 0.8125rem !important;
}


/* ---------------------------------------------------
    PRICING
----------------------------------------------------- */

.pricing {
    padding: 6rem 0;
    background: var(--surface);
}

.pricing .section-title { color: var(--text-color-dark); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    background: var(--bg-gradient);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.04);
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 1rem;
}

.pricing-card.popular .pricing-title { color: var(--on-primary); }

.pricing-price {
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.pricing-card.popular .pricing-price { color: var(--on-primary); }

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.pricing-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color-light);
    align-self: flex-end;
    margin-bottom: 0.4rem;
}

.pricing-card.popular .pricing-period { color: rgba(255, 255, 255, 0.75); }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.pricing-feature {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border);
}

.pricing-feature::before {
    content: '✓ ';
    color: var(--success);
    font-weight: 700;
}

.pricing-card.popular .pricing-feature {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.popular .pricing-feature::before { color: var(--yellow-light); }

.pricing-card.popular .btn-outline {
    border-color: var(--white);
    color: var(--on-primary);
}

.pricing-card.popular .btn-outline:hover {
    background: var(--surface);
    color: var(--primary);
}


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

.cta {
    padding: 6rem 0;
    text-align: center;
}

.cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--on-primary);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.cta .btn { margin: 0.375rem; }


/* ---------------------------------------------------
    HOW IT WORKS
----------------------------------------------------- */

.how-it-works {
    padding: 6rem 0;
    background: var(--bg-color-distinct);
}

.how-it-works .section-title { color: var(--text-color-dark); }
.how-it-works .text-center { color: var(--text-color-light); }

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--bg-gradient);
    color: var(--on-primary);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    margin: 0;
}


/* ---------------------------------------------------
    COMPARISON TABLE
----------------------------------------------------- */

.comparison {
    padding: 6rem 0;
    background: var(--surface);
}

.comparison .section-title { color: var(--text-color-dark); }
.comparison .text-center { color: var(--text-color-light); }

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 860px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--bg-gradient);
    color: var(--on-primary);
    padding: 1rem 1.5rem;
    font-weight: 600;
    text-align: left;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.comparison-table td {
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-color);
    font-size: 0.9375rem;
}

.comparison-table tr:nth-child(even) td { background: var(--bg-color); }
.comparison-table tr:last-child td { border-bottom: none; }

.check {
    color: var(--success);
    font-weight: 700;
}

.total-row {
    font-weight: 700;
    background: var(--bg-color-distinct) !important;
    color: var(--text-color-dark) !important;
}


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

.faq {
    padding: 6rem 0;
    background: var(--bg-color-distinct);
}

.faq .section-title { color: var(--text-color-dark); }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}


/* ---------------------------------------------------
    NAV ENHANCEMENTS (PUBLIC)
----------------------------------------------------- */

.btn-ghost-nav {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.4rem 0.875rem;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background var(--transition-fast);
}
.btn-ghost-nav:hover {
    color: var(--on-primary);
    background: rgba(255, 255, 255, 0.1);
}

.btn-nav {
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-sep {
    flex: 1;
}

@media (max-width: 768px) {
    #pub-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 15, 60, 0.97);
        backdrop-filter: blur(12px);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    #pub-nav.nav-open { display: flex; }
    #pub-nav .nav-sep { display: none; }
    #pub-nav li { width: 100%; }
    #pub-nav li a { display: block; padding: 0.6rem 0; }
}


/* ---------------------------------------------------
    HERO ENHANCEMENTS
----------------------------------------------------- */

.hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.btn-hero {
    padding: 0.875rem 2rem !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
}

.hero-reassurance {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
    margin-bottom: 0;
}


/* ---------------------------------------------------
    STATS BAR
----------------------------------------------------- */

.stats-bar {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.5rem 0;
}

.stats-grid {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    align-items: center;
    padding: 0.5rem 2.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--on-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}


/* ---------------------------------------------------
    SECTION SHARED HELPERS
----------------------------------------------------- */

.section-label {
    display: block;
    color: var(--highlight);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.625rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color-light);
    font-size: 1.0625rem;
    max-width: 640px;
    margin: -1.75rem auto 2.75rem;
    line-height: 1.65;
}


/* ---------------------------------------------------
    PAIN POINTS SECTION
----------------------------------------------------- */

.pain-section {
    padding: 6rem 0;
    background: var(--bg-gradient);
    color: var(--on-primary);
    text-align: center;
}

.pain-title-main {
    color: var(--on-primary) !important;
}

.pain-subtitle {
    color: rgba(255, 255, 255, 0.65) !important;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    text-align: left;
    margin-top: 1rem;
}

.pain-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: background var(--transition-base), transform var(--transition-base);
}

.pain-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.pain-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.pain-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--on-primary);
    margin-bottom: 0.625rem;
}

.pain-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}


/* ---------------------------------------------------
    SOLUTION BRIDGE
----------------------------------------------------- */

.solution-bridge {
    padding: 6rem 0;
    background: var(--surface);
}

.solution-bridge .section-label { color: var(--primary); }

.solution-bridge-content {
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.solution-bridge-text {
    flex: 1 1 380px;
}

.solution-bridge-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--text-color-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.solution-bridge-text p {
    color: var(--text-color-light);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.solution-bridge-text .btn { margin-top: 1rem; }

.solution-bridge-visual {
    flex: 1 1 340px;
}

.tools-replaced {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.tools-replaced-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

.old-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.old-tool {
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-color);
    gap: 0.25rem;
}

.old-tool span {
    color: var(--danger);
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.old-tools-total {
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-color-light);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    margin-bottom: 0.875rem;
}

.old-tools-total strong {
    color: var(--danger);
    font-size: 1rem;
}

.vs-arrow {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.875rem 0;
    letter-spacing: 0.03em;
}

.new-platform {
    background: var(--bg-gradient);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
}

.new-platform-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--on-primary);
    letter-spacing: -0.02em;
}

.new-platform-price {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--yellow-light);
    line-height: 1.25;
    margin: 0.25rem 0;
}

.new-platform-tagline {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
}


/* ---------------------------------------------------
    FEATURE LIST (inside feature cards)
----------------------------------------------------- */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: left;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--text-color-light);
    padding: 0.2rem 0;
}

.feature-list li::before {
    content: '→ ';
    color: var(--primary);
    font-weight: 700;
}


/* ---------------------------------------------------
    TESTIMONIAL STARS
----------------------------------------------------- */

.testimonial-stars {
    color: var(--warning);
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.875rem;
    display: block;
}


/* ---------------------------------------------------
    PRICING ENHANCEMENTS
----------------------------------------------------- */

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-color-light);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    min-height: 2.75rem;
}

.pricing-card.popular .pricing-desc { color: rgba(255, 255, 255, 0.72); }

.popular-badge {
    display: inline-block;
    background: var(--warning);
    color: var(--on-warning);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.875rem;
}

.pricing-guarantee {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--text-color-light);
    font-size: 0.875rem;
}


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

.final-cta {
    padding: 8rem 0;
    text-align: center;
    background: var(--bg-gradient);
    color: var(--on-primary);
}

.final-cta-content {
    max-width: 740px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--on-primary);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.125rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.hero .btn-outline,
.pain-section .btn-outline,
.final-cta .btn-outline {
    border-color: var(--white);
    color: var(--on-primary);
}
.hero .btn-outline:hover,
.pain-section .btn-outline:hover,
.final-cta .btn-outline:hover {
    background-color: var(--surface);
    color: var(--primary);
}


/* ---------------------------------------------------
    LANDING PAGE — MOBILE ADJUSTMENTS
----------------------------------------------------- */

@media (max-width: 768px) {
    .hero { padding: 5rem 0 4rem; }
    .pain-section, .solution-bridge, .features, .social-proof,
    .pricing, .cta, .how-it-works, .comparison, .faq,
    .final-cta { padding: 4rem 0; }
    .section-title { font-size: 1.6rem; }
    .pricing-card.popular { transform: none; }
    .steps-container { grid-template-columns: 1fr; }
    .step { gap: 1rem; }
    .stats-grid { gap: 0.5rem; }
    .stat-item { padding: 0.5rem 1.25rem; }
    .stat-divider { height: 30px; }
    .solution-bridge-content { flex-direction: column; gap: 2.5rem; }
    .old-tools-grid { grid-template-columns: 1fr; }
    .pain-grid { grid-template-columns: 1fr; }
    .final-cta { padding: 5rem 0; }
}


/* ---------------------------------------------------
    LOGIN PAGE
----------------------------------------------------- */

.login-body {
    background: var(--primary-soft);
}

.login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72vh;
    padding: 3rem 1rem;
    background: linear-gradient(150deg, var(--primary-soft) 0%, var(--surface) 100%);
}

.login-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 2.25rem;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

/* Wider auth card — for multi-section auth pages (e.g. email validation) that need more room than the 460px login card. */
.login-container-wide { max-width: 640px; }
.login-container-wide .login-header { margin-bottom: 1rem; }

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 1.875rem;
    font-weight: 800;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.375rem;
}

.login-header p {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    margin: 0;
}

/* ── Form groups ── */

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.375rem;
}

.form-control {
    width: 100%;
    height: 44px;
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.875rem;
    font-size: 1rem;
    font-family: var(--font-family-sans-serif);
    color: var(--text-color);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--ring-color);
}

/* ── Password with show/hide toggle ── */

.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field .form-control {
    padding-right: 4.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-family-sans-serif);
    letter-spacing: 0.02em;
    line-height: 1;
}

.password-toggle:hover { color: var(--primary-2); }

.error-message {
    display: none;
    font-size: 0.8125rem;
    color: var(--danger);
    margin-top: 0.3rem;
}

/* ── Remember me ── */

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.remember-me label {
    font-size: 0.875rem;
    color: var(--text-color-light);
    cursor: pointer;
    margin: 0;
}

/* ── Sign in button — full width gradient ── */

.login-container #btn_login {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0.25rem 0;
    background: var(--bg-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.login-container #btn_login:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ── Login footer — links & social ── */

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.login-footer p {
    font-size: 0.875rem;
    color: var(--text-color-light);
    margin: 0.5rem 0;
}

.login-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.login-footer a:hover { text-decoration: underline; }

/* ── "Or" divider ── */

.divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: var(--text-color-light);
    font-size: 0.8125rem;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── Social OAuth buttons ── */

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    height: 44px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-family-sans-serif);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-sizing: border-box;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.social-btn.google {
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    color: var(--text-color);
}

.social-btn.google:hover {
    background: var(--surface-3);
    box-shadow: var(--shadow-sm);
}

.social-btn.apple {
    background: var(--bg-footer);
    border: 1.5px solid var(--border-strong);
    color: var(--on-dark);
}

.social-btn.apple:hover {
    background: var(--bg-footer);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    .login-container {
        padding: 2rem 1.25rem;
        border-radius: var(--radius-md);
        box-shadow: none;
        border: 1px solid var(--border);
    }
    .login-main { padding: 2rem 1rem; }
}


/* ---------------------------------------------------
    REGISTER PAGE
----------------------------------------------------- */

.register-body {
    background: var(--primary-soft);
}

.register-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 72vh;
    padding: 3rem 1rem;
    background: linear-gradient(150deg, var(--primary-soft) 0%, var(--surface) 100%);
}

.register-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 2.25rem;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.register-container form { margin: 0; }

.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-header h1 {
    font-size: 1.875rem;
    font-weight: 800;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.375rem;
}

.register-header p {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    margin: 0;
}

.register-referrer {
    background: var(--bg-color-distinct);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    color: var(--primary);
    text-align: center;
}

/* ── Two-column field grid ── */

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.375rem;
    border-bottom: 2px solid var(--bg-color-distinct);
}

.register-section .section-heading:first-child { margin-top: 0; }

select.form-control {
    height: 44px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

/* ── Terms & Submit ── */

.register-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.register-footer .terms-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 520px;
    width: 100%;
    margin: 0;
}

.register-footer .terms-box label {
    margin: 0;
    font-weight: 500;
    color: var(--warning-text);
    cursor: pointer;
}

.register-footer .terms-box input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--primary);
    flex-shrink: 0;
    cursor: pointer;
}

.register-btn {
    min-width: 220px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--bg-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.register-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.register-help {
    font-size: 0.875rem;
    color: var(--text-color-light);
    margin: 0;
}

.register-help a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.register-help a:hover { text-decoration: underline; }

@media (max-width: 620px) {
    .register-grid { grid-template-columns: 1fr; }
    .register-container {
        padding: 2rem 1.25rem;
        box-shadow: none;
        border: 1px solid var(--border);
    }
    .register-main { padding: 1.5rem 0.75rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION BLOCKS — token-driven, art-directed page sections. A page is a stack
   of these; each reads the Brand Kit tokens (--brand-*, --font-display,
   --text-*, --section-y, --brand-eyebrow-mark) so one kit restyles the whole
   page in a site's own voice. Generic + reusable; see reference_brand_kit_system.
   ═══════════════════════════════════════════════════════════════════════════ */

/* rhythm + width */
.section        { padding: var(--section-y) 0; }
.section-tight  { padding-top: 0; }
.section-wrap   { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* display type + section heading row */
.display        { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.08; }
.section-head   { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-h2); margin: .6rem 0 0; }
.section-head a  { font-family: var(--font-display); font-weight: 600; color: var(--brand-strong); white-space: nowrap; }
.section-lead   { font-size: var(--text-lead); color: var(--text-color-light, #6b5d52); max-width: 54ch; }

/* eyebrow — the motif marker (signature) */
.eyebrow        { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600;
                  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-strong);
                  background: var(--brand-soft); padding: .4rem .85rem; border-radius: var(--radius-full); }
.eyebrow::before { content: var(--brand-eyebrow-mark); font-size: .95rem; }

/* brand CTAs (pill) */
.btn-brand      { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600;
                  font-size: 1rem; padding: .85rem 1.6rem; border-radius: var(--radius-full); border: 2px solid transparent;
                  background: var(--brand); color: var(--brand-on); cursor: pointer;
                  transition: transform .15s ease, background .2s ease; }
.btn-brand:hover { background: var(--brand-strong); transform: translateY(-2px); }
.btn-brand-ink  { background: var(--brand-ink); color: var(--brand-cream); }
.btn-ghost-light{ display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600;
                  padding: .85rem 1.6rem; border-radius: var(--radius-full); background: transparent; color: #fff;
                  border: 2px solid rgba(255,255,255,.75); transition: transform .15s ease, background .2s ease; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

/* HERO — image variant (the base .hero centered-gradient stays for existing sites) */
.hero--image    { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden;
                  padding: 0; text-align: left; background: none; }
.hero-bg        { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero--image .hero-bg::after { content: ""; position: absolute; inset: 0;
                  background: linear-gradient(100deg,
                    color-mix(in srgb, var(--brand-ink) 82%, transparent) 0%,
                    color-mix(in srgb, var(--brand-ink) 48%, transparent) 44%,
                    color-mix(in srgb, var(--brand-ink) 6%, transparent) 80%); }
.hero--image .hero-content { position: relative; z-index: 1; max-width: 600px; margin: 0; padding: 3rem 0; }
.hero--image h1 { font-family: var(--font-display); font-size: var(--text-hero); color: #fff; margin: 1.1rem 0 1rem; }
.hero--image p  { font-size: 1.2rem; color: rgba(255,255,255,.92); max-width: 34ch; margin-bottom: 0; }
.hero--image .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.hero-btns      { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }

/* TRUST STRIP */
.trust-strip    { background: var(--brand-ink); color: var(--brand-cream); }
.trust-strip .section-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 2.5rem; padding-top: 1.15rem; padding-bottom: 1.15rem; }
.trust-strip span { font-family: var(--font-display); font-weight: 500; font-size: .98rem; display: inline-flex; align-items: center; gap: .55rem; }

/* CATEGORY GRID */
.category-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.category-tile  { display: block; background: var(--brand-soft); border-radius: var(--radius-xl); padding: 1.6rem 1rem; text-align: center;
                  border: 1px solid color-mix(in srgb, var(--brand-ink) 8%, transparent); color: inherit;
                  transition: transform .15s ease, box-shadow .2s ease; }
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-tile-emoji { font-size: 2rem; line-height: 1; }
.category-tile-name  { font-family: var(--font-display); font-weight: 600; margin-top: .5rem; }

/* PREMIUM PRODUCT SHOWCASE — restyle the product widget only inside a .showcase */
.showcase .product-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.showcase .product-card  { background: var(--brand-cream); border: 1px solid color-mix(in srgb, var(--brand-ink) 8%, transparent);
                  border-radius: var(--radius-xl); overflow: hidden; transition: transform .15s ease, box-shadow .2s ease; }
.showcase .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.showcase .product-card .btn-action { background: var(--brand); color: var(--brand-on); border-radius: var(--radius-full); }
.showcase .product-card .btn-action:hover { background: var(--brand-strong); }

/* SPOTLIGHT — image + copy */
.spotlight      { background: linear-gradient(160deg, color-mix(in srgb, var(--brand-accent) 12%, var(--brand-cream)), var(--brand-soft)); }
.spotlight .section-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.spotlight-img  { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4 / 3; }
.spotlight-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotlight h2   { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-h2); margin: 1rem 0; }
.spotlight ul   { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .6rem; }
.spotlight li   { display: flex; align-items: center; gap: .65rem; font-weight: 600; }
.spotlight li::before { content: var(--brand-eyebrow-mark); }

/* REVIEWS */
.review-grid    { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; text-align: left; }
.review-card    { background: var(--brand-cream); border: 1px solid color-mix(in srgb, var(--brand-ink) 8%, transparent); border-radius: var(--radius-xl); padding: 1.75rem; }
.review-stars   { color: var(--brand-highlight); font-size: 1.05rem; letter-spacing: .1em; }
.review-card p  { margin: .75rem 0 1.25rem; font-size: 1.05rem; }
.review-who     { font-family: var(--font-display); font-weight: 600; }
.review-who small { display: block; color: var(--text-color-light, #8a7c70); font-family: var(--font-body); font-weight: 600; }

/* CTA / NEWSLETTER BAND */
.cta-band       { background: var(--brand); color: var(--brand-on); text-align: center; }
.cta-band h2    { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-h2); color: var(--brand-on); margin: .9rem 0 .6rem; }
.cta-band p     { color: color-mix(in srgb, var(--brand-on) 92%, transparent); max-width: 44ch; margin: 0 auto 1.75rem; }
.cta-band .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.cta-form       { display: flex; gap: .6rem; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.cta-form input { flex: 1 1 240px; border: none; border-radius: var(--radius-full); padding: .9rem 1.3rem; font-family: var(--font-body); font-size: 1rem; }

/* responsive */
@media (max-width: 820px) {
  .spotlight .section-wrap { grid-template-columns: 1fr; }
  .hero--image { min-height: 66vh; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-brand, .btn-ghost-light, .category-tile, .showcase .product-card { transition: none; }
}
.section a:focus-visible, .cta-form input:focus-visible, .category-tile:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }

.section-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-h2); line-height: 1.1; margin: .6rem 0 2.25rem; }

/* robustness (from live agent run): hero content sits above the image/overlay
   regardless of the inner wrapper class the author used; ghost brand button. */
.hero--image > *:not(.hero-bg){ position:relative; z-index:1; }
.btn-brand--ghost{ background:transparent; color:var(--brand); border:2px solid var(--brand); border-radius:var(--radius-full); font-family:var(--font-display); font-weight:600; padding:.85rem 1.6rem; display:inline-flex; align-items:center; gap:.5rem; transition:transform .15s ease, background .2s ease; }
.btn-brand--ghost:hover{ transform:translateY(-2px); }
.hero--image .btn-brand--ghost{ color:#fff; border-color:rgba(255,255,255,.75); }
.hero--image .btn-brand--ghost:hover{ background:rgba(255,255,255,.14); }

/* hero cover fallback: the bg image may sit on .hero-bg OR directly on .hero--image */
.hero--image{ background-size:cover; background-position:center; background-repeat:no-repeat; }
/* section background variants for rhythm & contrast (token-driven) */
.section--soft{ background:var(--brand-soft); }
.section--mist{ background:color-mix(in srgb, var(--brand-accent) 12%, var(--brand-cream)); }
.section--ink { background:var(--brand-ink); color:var(--brand-cream); }
/* stat strip */
.stat-strip{ display:flex; flex-wrap:wrap; justify-content:center; gap:2.25rem 3.5rem; }
.stat{ text-align:center; }
.stat-num{ font-family:var(--font-display); font-weight:var(--display-weight); font-size:clamp(2.2rem,4vw,3rem); color:var(--brand); line-height:1; }
.stat-label{ font-size:.76rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-color-light,#8a7c70); margin-top:.4rem; }
/* feature card: brand the heading so grids read on-brand, not generic */
.feature-card .feature-title, .feature-card h3{ font-family:var(--font-display); }

/* ── SITE CHROME BLOCKS (token-driven nav + footer) ───────────────────────── */
.site-nav{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.35rem 2rem; background:var(--brand-cream); border-bottom:1px solid color-mix(in srgb,var(--brand-ink) 8%,transparent); position:sticky; top:0; z-index:50; }
.site-nav-brand{ font-family:var(--font-display); font-weight:var(--display-weight); font-size:1.5rem; color:var(--brand-ink); letter-spacing:.01em; }
.site-nav-brand span{ color:var(--brand); }
.site-nav-links{ display:flex; align-items:center; gap:1.75rem; }
.site-nav-links a{ font-size:.8rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-ink); transition:color .2s; }
.site-nav-links a:hover{ color:var(--brand); }
.site-nav-cta{ background:var(--brand); color:var(--brand-on); padding:.55rem 1.25rem; border-radius:var(--radius-full); }
.site-nav-cta:hover{ background:var(--brand-strong); color:var(--brand-on); }

.site-footer{ background:var(--brand-ink); color:color-mix(in srgb,var(--brand-cream) 68%,transparent); padding:3.75rem 0 2rem; }
.site-footer .section-wrap{ max-width:1140px; }
.site-footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:2.5rem; padding-bottom:2.25rem; border-bottom:1px solid rgba(255,255,255,.13); }
.site-footer-brand{ font-family:var(--font-display); font-weight:var(--display-weight); font-size:1.6rem; color:var(--brand-cream); }
.site-footer-brand span{ color:var(--brand-highlight); }
.site-footer-lead{ margin-top:.9rem; max-width:26rem; font-size:.95rem; line-height:1.6; }
.site-footer h4{ font-family:var(--font-body); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--brand-cream); margin:0 0 .9rem; }
.site-footer a{ display:block; color:color-mix(in srgb,var(--brand-cream) 62%,transparent); font-size:.9rem; padding:.22rem 0; transition:color .2s; }
.site-footer a:hover{ color:var(--brand-highlight); }
.site-footer-bottom{ padding-top:1.5rem; font-size:.8rem; text-align:center; color:color-mix(in srgb,var(--brand-cream) 50%,transparent); }
@media (max-width:820px){ .site-nav-links a:not(.site-nav-cta){ display:none; } .site-footer-grid{ grid-template-columns:1fr; } }

/* testimonial quotes read as elegant, handwriting-like display italic */
.review-card p{ font-family:var(--font-display); font-style:italic; font-size:1.2rem; line-height:1.45; }
