/*
 * SustainLedger Homepage Preview — ESG SaaS dark green theme
 * Static prototype for visual evaluation only. Mobile-first.
 */

:root {
    /* Dark green / near-black palette */
    --bg-dark: #0d1f17;
    --bg-darker: #081510;
    --bg-card: rgba(18, 42, 32, 0.6);
    --bg-card-border: rgba(72, 140, 110, 0.25);
    
    /* Green gradient accents */
    --gradient-section: linear-gradient(180deg, rgba(13, 31, 23, 0.98) 0%, rgba(8, 21, 16, 1) 100%);
    --gradient-card: linear-gradient(145deg, rgba(22, 52, 40, 0.8) 0%, rgba(13, 31, 23, 0.95) 100%);
    
    /* Bright green accent */
    --accent: #2ee88a;
    --accent-hover: #3dff9e;
    --accent-muted: rgba(46, 232, 138, 0.15);
    --accent-glow: rgba(46, 232, 138, 0.35);
    
    /* CTA band */
    --cta-bg: #0f3d2a;
    --cta-bright: #22c55e;
    --cta-bright-hover: #34d399;
    
    /* Text */
    --text-primary: #e8f5ec;
    --text-secondary: rgba(232, 245, 236, 0.85);
    --text-muted: rgba(232, 245, 236, 0.7);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
    
    /* Typography */
    --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: "Outfit", var(--font-sans);
    
    /* Radii & shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px var(--accent-glow);

    /* Legacy aliases for PHP pages using old variable names */
    --color-bg-dark: var(--bg-dark);
    --color-text-light: var(--text-primary);
    --color-accent-green: var(--accent);
    --color-accent-blue: var(--accent);
    --color-card-border: var(--bg-card-border);
    --color-card-bg: var(--bg-card);
    --color-chart-blue: var(--bg-dark);
    --color-success: var(--accent-hover);

    /* Chart-style illustration (hero, no data) */
    --chart-bg: #061713;
    --chart-grid: #173328;
    --chart-axis: #f4f6f5;
    --chart-bar: #26d26f;
    --chart-bar-dark: #1a9c53;
    --chart-line-blue: #2fa3ff;
    --chart-line-yellow: #e0ff6a;
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-darker);
    min-height: 100vh;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-sm);
}

/* ----- Top navigation ----- */
.top-nav {
    background: rgba(8, 21, 16, 0.95);
    border-bottom: 1px solid var(--bg-card-border);
    padding: var(--space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link.active {
    font-weight: 600;
    border-bottom: 2px solid #0ea5e9;
    box-shadow: 0 2px 12px rgba(14, 165, 233, 0.55);
}

.nav-link.nav-cta {
    font-weight: 700;
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
    color: var(--accent);
}
.nav-link.nav-cta.active {
    border-bottom: 2px solid #0ea5e9;
    box-shadow: 0 2px 12px rgba(14, 165, 233, 0.55);
}

/* ----- Hero (full-width) ----- */
.hero {
    background: var(--bg-dark);
    padding: var(--space-3xl) var(--space-sm);
    border-bottom: 1px solid var(--bg-card-border);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Two-column layout: equal balance between text and graphic */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* Statement block: defined width for even line lengths and balance with graphic */
.hero-statement {
    text-align: center;
}

.hero-statement-primary {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.hero-statement-secondary {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent);
    margin: 0 0 1.25rem 0;
    max-width: 12ch;
    line-height: 1.2;
}

.hero-statement-highlight {
    color: #34d399;
    font-family: var(--font-display);
    font-size: 0.58em;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-statement-blurb {
    font-size: 0.9875rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 1.5rem auto 0 auto;
    max-width: 40ch;
}

/* Diagram column: fills height to match text block */
.hero-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-diagram .hero-illustration-card {
    margin: 0;
    max-width: 100%;
    width: 100%;
}

/* Hero actions: force wrap to span full grid width (if inside a grid), then center contents */
.hero-actions-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.hero-actions-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    max-width: 640px;
}

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

.hero-actions-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.hero-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-note-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: var(--space-xs) 0 0 0;
}

/* Desktop: two equal columns, graph matches text block height */
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
        align-items: stretch;
    }

    .hero-statement {
        text-align: left;
        max-width: 32rem;
    }

    .hero-statement-primary {
        font-size: clamp(2.5rem, 4vw, 4rem);
        max-width: 28ch;
        text-wrap: balance;
    }

    .hero-statement-secondary {
        font-size: 2.1rem;
    }

    .hero-statement-blurb {
        margin: 1.5rem 0 0 0;
        margin-left: 0;
        margin-right: 0;
        max-width: 38ch;
    }

    .hero-diagram {
        align-items: stretch;
    }

    .hero-diagram .hero-illustration-card {
        max-width: 520px;
        width: 100%;
    }

    .hero-chart-svg {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 4rem var(--space-md) 4.5rem;
    }

    .hero-statement-primary {
        font-size: 4rem;
    }
}

/* Mobile: hide diagram when cramped */
@media (max-width: 599px) {
    .hero-diagram {
        display: none;
    }
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-darker);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent-muted);
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-cta-primary {
    background: var(--bg-darker);
    color: var(--accent);
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
}

.btn-cta-primary:hover {
    background: var(--bg-dark);
    color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--bg-darker);
    border: 2px solid var(--bg-darker);
}

.btn-cta-secondary:hover {
    background: rgba(8, 21, 16, 0.3);
    border-color: var(--bg-darker);
}

/* ----- Hero chart: your SVG unchanged, container ~30% taller ----- */
.hero-illustration-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    aspect-ratio: 520 / 364;
    width: 100%;
    max-width: 100%;
}

.hero-chart-svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    vertical-align: top;
}

/* ----- Free Early Access banner ----- */
.banner {
    margin: var(--space-2xl) 0 var(--space-3xl) 0;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.banner-early-access {
    background: var(--accent-muted);
    border: 1px solid var(--bg-card-border);
}

.banner h2 {
    color: var(--accent);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.banner p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    line-height: 1.6;
}

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

.banner-note {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    margin-top: var(--space-xs);
}

/* ----- Feature cards (3-col desktop, stacked mobile) ----- */
.features {
    margin: var(--space-2xl) 0 var(--space-3xl) 0;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.features .section-heading {
    text-align: center;
}

.section-intro {
    max-width: 760px;
    margin: 0.75rem auto 2.5rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.card {
    background: var(--gradient-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: rgba(72, 140, 110, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-icon {
    color: var(--accent);
    margin: 0 auto var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.card-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
    text-align: left;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.card-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.card-note {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    font-style: italic;
    margin-top: var(--space-sm);
}

.card-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-lg);
}

.link-minor {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
}

.link-minor:hover {
    background: var(--accent-muted);
    color: var(--accent-hover);
}

/* ----- Who this is for ----- */
.audience {
    margin: var(--space-2xl) 0 var(--space-3xl) 0;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
}

.audience .section-heading {
    text-align: left;
    margin-bottom: var(--space-md);
}

.audience-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-sm);
}

.audience-list li {
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    padding-left: 1.5rem;
    position: relative;
}

.audience-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.audience p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.audience a {
    color: var(--accent);
    text-decoration: underline;
}

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

/* ----- CTA floating card (premium green, contained) ----- */
/* CTA: rounded card with padding and light lift, mid-page moment */
.cta-band {
    background: var(--accent);
    background: linear-gradient(160deg, rgba(15, 61, 42, 0.95) 0%, var(--cta-bright) 45%, var(--accent) 100%);
    margin: 4.5rem auto 2rem auto;
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    border-radius: 28px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    max-width: 100%;
}

.cta-band-inner {
    max-width: 520px;
    margin: 0 auto;
}

.cta-band-headline {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.cta-band-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.cta-band-actions .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
}

/* ----- Footer ----- */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--bg-card-border);
    color: var(--text-secondary);
    text-align: center;
    padding: var(--space-2xl) 0;
    margin-top: 2rem;
}

.site-footer p {
    margin-bottom: var(--space-xs);
    font-size: 0.95rem;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.footer-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

.footer-legal {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}
.footer-legal a {
    color: #34d399;
    text-decoration: underline;
}
.footer-legal a:hover,
.footer-legal-inline a:hover {
    color: var(--accent-hover);
}
.footer-legal-inline {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.footer-legal-inline a {
    color: #34d399;
    text-decoration: underline;
}

/* ----- Legal pages (Disclaimer, Terms, Privacy) ----- */
.legal-page {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    padding: var(--space-2xl) var(--space-md);
}
.legal-heading {
    font-family: 'Reenie Beanie', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: #34d399;
    margin-bottom: var(--space-lg);
}
.legal-h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-lg) 0 var(--space-sm) 0;
}
.legal-text {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}
.legal-text a {
    color: #34d399;
    text-decoration: underline;
}
.legal-text a:hover {
    color: var(--accent-hover);
}

/* ----- Desktop: 3-column cards ----- */
@media (min-width: 768px) {
    .container {
        padding: var(--space-lg) var(--space-md);
    }

    .hero {
        padding: var(--space-3xl) var(--space-md);
    }

    .hero-inner {
        max-width: 900px;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .card {
        padding: var(--space-xl) var(--space-lg);
        text-align: center;
    }

}

@media (min-width: 1024px) {
    .nav-links {
        font-size: 1rem;
        gap: var(--space-sm);
    }

    .hero {
        padding: 4.5rem var(--space-md) 5rem;
    }

    .hero-inner {
        max-width: 920px;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .section-heading {
        font-size: 2rem;
    }
}

/* Hero: match homepage-preview (white headline, centered buttons). Same structure & rules as preview.css. */
section.hero {
    background: var(--bg-dark);
}
section.hero .hero-inner {
    display: block; /* mockup uses block layout so hero-actions-wrap is full width of inner and centers */
}
section.hero .hero-statement {
    text-align: center;
}
section.hero .hero-statement-primary {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 0.5rem 0;
}
section.hero .hero-statement-highlight {
    color: #34d399;
    font-size: 0.58em;
    font-weight: 500;
}
section.hero .hero-actions-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
section.hero .hero-actions-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    max-width: 640px;
}
section.hero .hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
section.hero .hero-actions-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}
/* Mobile: stack buttons vertically */
@media (max-width: 479px) {
    section.hero .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}
@media (min-width: 768px) {
    section.hero .hero-statement {
        text-align: left;
    }
}

/* Compact hero (inner pages) */
.hero-compact .hero-grid {
    grid-template-columns: 1fr;
}
.hero-compact .hero-diagram {
    display: none;
}

/* Compact hero with right-side content (SVG chart or image, e.g. About page) */
.hero-compact.hero-has-aside .hero-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-compact.hero-has-aside .hero-diagram--banner {
    display: flex;
}
@media (max-width: 599px) {
    .hero-compact.hero-has-aside .hero-diagram {
        display: none;
    }
}
.hero-compact.hero-has-aside .hero-banner-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
}
@media (min-width: 768px) {
    .hero-compact .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-compact.hero-has-aside .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
        align-items: stretch;
    }
    .hero-compact.hero-has-aside .hero-diagram {
        align-items: stretch;
    }
.hero-compact.hero-has-aside .hero-banner-img {
    max-width: 620px;
}

/* Upload page: extra gap between hero statement and SVG */
.hero-upload.hero-compact .hero-grid {
    gap: var(--space-2xl);
}
.hero-intro {
    margin-top: 0.5rem;
}
}

.btn-large-hero,
.btn-large {
    font-size: 1.1rem;
    padding: 1rem 1.75rem;
}

/* Upload page tabs */
.upload-tabs {
    display: flex;
    gap: var(--space-sm);
    margin: 0 0 var(--space-md) 0;
    flex-wrap: wrap;
}
.upload-tab {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: #0f1f1b;
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    font-family: inherit;
}
.upload-tab:hover {
    border-color: #34d399;
    background: rgba(15, 31, 27, 0.95);
}
.upload-tab-active {
    color: #34d399;
    border-color: #34d399;
    background: rgba(52, 211, 153, 0.08);
}
/* Upload options section (hero → tabs → panels) */
.upload-options {
    padding: var(--space-2xl) var(--space-sm);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.upload-options h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}
.upload-options-intro {
    opacity: 0.85;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

.upload-panel {
    padding: var(--space-lg);
    margin-top: var(--space-md);
    background: #061a14;
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
}
.upload-panel-hidden { display: none; }
.upload-panel-title {
    color: #34d399;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 var(--space-sm) 0;
}
.upload-panel-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 var(--space-md) 0;
}
.upload-panel-desc a {
    color: var(--accent);
    text-decoration: underline;
}
.upload-panel-desc a:hover {
    color: var(--accent-hover);
}
.upload-panel-steps {
    margin: 0 0 var(--space-lg) 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.upload-panel-steps li {
    margin-bottom: 0.5rem;
}
.upload-panel-cta {
    margin-top: var(--space-lg);
    text-align: center;
}
.upload-panel-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cta-bright-hover);
    margin: 0 0 var(--space-xs) 0;
}
.upload-panel-list {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    opacity: 0.95;
}
.upload-panel-list li { margin-bottom: 0.5rem; }
.upload-panel-block {
    margin: var(--space-md) 0;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent);
}
.upload-panel-block-safe { border-left-color: var(--cta-bright-hover); }

/* Page content blocks (legacy compatibility) */
.info-box {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}
.info-box h3 { color: var(--accent); margin-bottom: var(--space-sm); }
.info-box h2, .info-box h4 { color: var(--text-primary); }
.info-box p, .info-box li { color: var(--text-secondary); line-height: 1.7; }
.info-box a { color: var(--accent); text-decoration: none; }
.info-box a:hover { color: var(--accent-hover); text-decoration: underline; }
.info-box .btn,
.info-box .btn-primary { color: var(--bg-darker); }
.info-box .btn:hover,
.info-box .btn-primary:hover { color: var(--bg-darker); }

/* Benefits checklist: tick and text inline like bullet points */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-md);
}
.checklist-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-sm);
}
.checklist-item .checkmark {
    color: var(--accent);
    font-size: 1.25em;
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1.4;
}
.checklist-item > div {
    flex: 1;
    min-width: 0;
}
.checklist-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.15em;
}
.checklist-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-left: 3px solid var(--accent);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}
.faq-question { color: var(--accent); font-weight: 600; margin-bottom: var(--space-xs); }
.faq-answer { color: var(--text-secondary); line-height: 1.7; margin: 0; }
.faq-container { display: flex; flex-direction: column; gap: var(--space-md); }

.form-input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: rgba(13, 31, 23, 0.5);
    border: 2px solid var(--bg-card-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-muted);
}
.upload-box, .signup-box {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}
.upload-intro, .signup-intro { text-align: center; color: var(--text-secondary); margin-bottom: var(--space-lg); }
.alert { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); margin-bottom: var(--space-md); border-left: 4px solid; }
.alert-success { background: var(--accent-muted); border-color: var(--accent); color: var(--text-primary); }
.alert-error { background: rgba(220,53,69,0.15); border-color: #dc3545; color: var(--text-primary); }
.flow-link { color: var(--accent); text-decoration: none; padding: var(--space-xs) var(--space-sm); border: 1px solid var(--accent); border-radius: var(--radius-sm); }
.flow-link:hover { background: var(--accent-muted); color: var(--accent-hover); }
