/* Shared landing-page theme. Dashboard and landing page use the same fx-theme preference. */
html[data-theme="light"],html[data-fx-theme="light"]{--bg:#f4f7f6;--bg-soft:#edf3f0;--bg-card:#fff;--border:rgba(15,45,31,.12);--border-strong:rgba(15,45,31,.2);--text:#102018;--muted:#52655b;--muted-2:#708077;--green:#159447;--green-dim:#0e7b38;color-scheme:light}
html[data-theme="light"] body,html[data-fx-theme="light"] body{background:var(--bg);color:var(--text)}
html[data-theme="light"] .navbar,html[data-fx-theme="light"] .navbar{background:rgba(244,247,246,.88);border-color:var(--border)}
html[data-theme="light"] .navbar .nav-links a,html[data-fx-theme="light"] .navbar .nav-links a,html[data-theme="light"] .muted,html[data-fx-theme="light"] .muted{color:var(--muted)}
html[data-theme="light"] .navbar .nav-links a:hover,html[data-fx-theme="light"] .navbar .nav-links a:hover,html[data-theme="light"] .btn-ghost:hover,html[data-fx-theme="light"] .btn-ghost:hover{background:rgba(21,148,71,.1)}
html[data-theme="light"] .hero,html[data-fx-theme="light"] .hero,html[data-theme="light"] .block,html[data-fx-theme="light"] .block,html[data-theme="light"] #platform-showcase,html[data-fx-theme="light"] #platform-showcase,html[data-theme="light"] #how-it-works,html[data-fx-theme="light"] #how-it-works,html[data-theme="light"] #faq,html[data-fx-theme="light"] #faq{background:var(--bg)!important}
html[data-theme="light"] .service-card,html[data-fx-theme="light"] .service-card,html[data-theme="light"] .faq-item,html[data-fx-theme="light"] .faq-item,html[data-theme="light"] .cta-banner,html[data-fx-theme="light"] .cta-banner,html[data-theme="light"] .stack-card,html[data-fx-theme="light"] .stack-card{background:var(--bg-card);border-color:var(--border);color:var(--text);box-shadow:0 14px 34px rgba(22,55,38,.08)}
html[data-theme="light"] .stack-card p,html[data-fx-theme="light"] .stack-card p,html[data-theme="light"] .service-card p,html[data-fx-theme="light"] .service-card p,html[data-theme="light"] .faq-a,html[data-fx-theme="light"] .faq-a{color:var(--muted)}
html[data-theme="light"] .pt-dashboard,html[data-fx-theme="light"] .pt-dashboard{background:#fff;border-color:var(--border);box-shadow:0 20px 60px rgba(23,59,41,.12)}
html[data-theme="light"] .cta-banner,html[data-fx-theme="light"] .cta-banner{background:radial-gradient(600px 300px at 85% 20%,rgba(21,148,71,.14),transparent 60%),radial-gradient(500px 280px at 15% 90%,rgba(21,148,71,.1),transparent 60%),#fff}
html[data-theme="light"] .site-footer,html[data-fx-theme="light"] .site-footer{background:var(--bg);border-color:var(--border)}
html[data-theme="light"] .pt-dark-band,html[data-fx-theme="light"] .pt-dark-band{background:var(--bg)!important}

/* Auth pages: mirror the dashboard's data-fx-theme attribute as well as the legacy data-theme attribute. */
html[data-theme="light"] body.auth-bg,html[data-fx-theme="light"] body.auth-bg{background:var(--bg)!important;color:var(--text)!important}
html[data-theme="light"] .auth-page,html[data-fx-theme="light"] .auth-page{background:radial-gradient(circle at 16% 18%,rgba(21,148,71,.09),transparent 32%),var(--bg)!important;color:var(--text)!important}
html[data-theme="light"] .auth-visual,html[data-fx-theme="light"] .auth-visual{background:linear-gradient(135deg,#eef8f1 0%,#f4f7f6 58%,#e8f4ec 100%)!important;border-right:1px solid var(--border)!important}
html[data-theme="light"] .auth-visual::before,html[data-fx-theme="light"] .auth-visual::before{background-image:linear-gradient(rgba(15,45,31,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(15,45,31,.06) 1px,transparent 1px)!important}
html[data-theme="light"] .auth-form-wrap,html[data-fx-theme="light"] .auth-form-wrap,html[data-theme="light"] .auth-form,html[data-fx-theme="light"] .auth-form{background:transparent!important;color:var(--text)!important}
html[data-theme="light"] .auth-form h1,html[data-fx-theme="light"] .auth-form h1,html[data-theme="light"] .auth-brand,html[data-fx-theme="light"] .auth-brand,html[data-theme="light"] .auth-visual-copy h2,html[data-fx-theme="light"] .auth-visual-copy h2,html[data-theme="light"] .auth-form label,html[data-fx-theme="light"] .auth-form label,html[data-theme="light"] .human-checkbox-row label,html[data-fx-theme="light"] .human-checkbox-row label{color:var(--text)!important}
html[data-theme="light"] .auth-form .sub,html[data-fx-theme="light"] .auth-form .sub,html[data-theme="light"] .auth-visual-copy p,html[data-fx-theme="light"] .auth-visual-copy p,html[data-theme="light"] .auth-quote,html[data-fx-theme="light"] .auth-quote,html[data-theme="light"] .auth-footnote,html[data-fx-theme="light"] .auth-footnote{color:var(--muted)!important}
html[data-theme="light"] .back-link,html[data-fx-theme="light"] .back-link,html[data-theme="light"] .auth-switch,html[data-fx-theme="light"] .auth-switch,html[data-theme="light"] .field-label-row .muted,html[data-fx-theme="light"] .field-label-row .muted{color:var(--muted)!important}
html[data-theme="light"] .form-control,html[data-fx-theme="light"] .form-control,html[data-theme="light"] .auth-form input,html[data-fx-theme="light"] .auth-form input{background:#fff!important;border-color:var(--border-strong)!important;color:var(--text)!important;caret-color:var(--green)}
html[data-theme="light"] .form-control::placeholder,html[data-fx-theme="light"] .form-control::placeholder,html[data-theme="light"] .auth-form input::placeholder,html[data-fx-theme="light"] .auth-form input::placeholder{color:#708077!important;opacity:1}
html[data-theme="light"] .form-control:focus,html[data-fx-theme="light"] .form-control:focus{background:#fff!important;border-color:var(--green)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--green) 14%,transparent)!important}
html[data-theme="light"] .human-check,html[data-fx-theme="light"] .human-check,html[data-theme="light"] .referral-consent,html[data-fx-theme="light"] .referral-consent{background:#fff!important;border-color:var(--border-strong)!important;color:var(--text)!important}
html[data-theme="light"] .human-puzzle-panel,html[data-fx-theme="light"] .human-puzzle-panel{border-color:var(--border)!important}
html[data-theme="light"] .site-loader-line,html[data-fx-theme="light"] .site-loader-line{background:linear-gradient(90deg,#e5eee8 25%,#cfe4d5 50%,#e5eee8 75%)!important}

.theme-toggle{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 11px;border:1px solid var(--border-strong);border-radius:10px;background:rgba(255,255,255,.04);color:var(--text);cursor:pointer;font:inherit;font-size:12px;font-weight:600}
.theme-toggle:hover{border-color:var(--green);color:var(--green)}
@media(max-width:720px){.theme-toggle span{display:none}.theme-toggle{width:36px;padding:0;justify-content:center}}
