/* Post-task visual polish: shared readable tokens, then explicit dark-surface exceptions. */
html[data-theme="light"]{--text:#14243a;--muted:#42566d;--line:#c7d7d5}
html[data-theme="light"] body{font-size:16px;line-height:1.7}
html[data-theme="light"] p{color:#42566d}
html[data-theme="light"] .header{box-shadow:0 4px 18px rgba(20,36,58,.08)}
html[data-theme="light"] nav a,html[data-theme="light"] .sign-in{color:#263c55}
html[data-theme="light"] .language-button{color:#42566d}
html[data-theme="light"] .language-button.active{color:#067b63}
html[data-theme="light"] .section-tint{background:#eaf3f1;border-color:#c7d7d5}
html[data-theme="light"] .card,html[data-theme="light"] .features-grid article,html[data-theme="light"] .resource-grid article{border-color:#c7d7d5;box-shadow:0 8px 22px rgba(23,59,55,.08)}
html[data-theme="light"] .card h3,html[data-theme="light"] .features-grid h3,html[data-theme="light"] .resource-grid h3{color:#14243a}
html[data-theme="light"] .card p:not(.card-kicker),html[data-theme="light"] .features-grid p,html[data-theme="light"] .resource-grid p{color:#42566d;font-size:14px;line-height:1.75}
html[data-theme="light"] .card-kicker{color:#496178;font-size:10px}
html[data-theme="light"] .text-link{color:#067b63}
html[data-theme="light"] .steps h3,html[data-theme="light"] .section-heading h2,html[data-theme="light"] .center-heading h2,html[data-theme="light"] .faq-layout h2,html[data-theme="light"] .resources h2,html[data-theme="light"] .legal-placeholders h2{color:#14243a}
html[data-theme="light"] .steps p,html[data-theme="light"] .section-heading>p,html[data-theme="light"] .center-heading p:not(.eyebrow){color:#42566d;font-size:14px;line-height:1.75}
html[data-theme="light"] .steps>li:not(:last-child):after{background:#90aaa7}
html[data-theme="light"] .faq-items details,html[data-theme="light"] .legal-placeholders details{border-color:#c7d7d5}
html[data-theme="light"] .faq-items summary,html[data-theme="light"] .legal-placeholders summary{color:#19334e;font-size:15px;font-weight:700;line-height:1.6}
html[data-theme="light"] .faq-items summary:hover,html[data-theme="light"] .legal-placeholders summary:hover{color:#067b63}
html[data-theme="light"] .faq-items p,html[data-theme="light"] .legal-placeholders>p,html[data-theme="light"] .legal-placeholders details p{color:#42566d;font-size:14px;line-height:1.8}
html[data-theme="light"] .resources{padding-block:72px}
html[data-theme="light"] .resources>h2{margin-bottom:30px}
html[data-theme="light"] .legal-placeholders{padding-block:65px}
html[data-theme="light"] footer{box-shadow:0 -4px 18px rgba(20,36,58,.05)}
html[data-theme="light"] footer h3{color:#19334e;font-size:14px}
html[data-theme="light"] footer a{color:#40566c;font-size:13px;line-height:2}
html[data-theme="light"] footer p,html[data-theme="light"] .footer-bottom{color:#536579;font-size:13px;line-height:1.7}
html[data-theme="light"] .footer-bottom p{color:#536579}
/* Dark product surfaces remain intentionally dark in Light Mode. */
html[data-theme="light"] .custody,html[data-theme="light"] .invoice-card,html[data-theme="light"] .integration,html[data-theme="light"] .pricing-card,html[data-theme="light"] .final-cta,html[data-theme="light"] .dashboard{color:#f4f7fc}
html[data-theme="light"] .custody p,html[data-theme="light"] .custody small,html[data-theme="light"] .custody li,html[data-theme="light"] .invoice-card p,html[data-theme="light"] .invoice-card small,html[data-theme="light"] .invoice-card span,html[data-theme="light"] .integration p,html[data-theme="light"] .pricing-card p,html[data-theme="light"] .pricing-card li,html[data-theme="light"] .final-cta p,html[data-theme="light"] .dashboard p,html[data-theme="light"] .dashboard span,html[data-theme="light"] .dashboard small{color:#cbd8e3}
html[data-theme="light"] .custody h2,html[data-theme="light"] .invoice-card h3,html[data-theme="light"] .integration h3,html[data-theme="light"] .pricing-card h3,html[data-theme="light"] .final-cta h2,html[data-theme="light"] .final-cta .eyebrow{color:#f4f7fc}
html[data-theme="light"] .integration{border-color:#35556a;box-shadow:0 10px 24px rgba(20,36,58,.14)}
html[data-theme="light"] .pricing-card,html[data-theme="light"] .invoice-card{box-shadow:0 14px 34px rgba(20,36,58,.18)}
html[data-theme="light"] .final-cta{box-shadow:0 12px 30px rgba(20,36,58,.16)}
html[data-theme="light"] .status-badge,html[data-theme="light"] .preview-badge{color:#b9f5df}
html[data-theme="light"] .code-panel{color:#19334e;box-shadow:0 8px 22px rgba(23,59,55,.08)}
html[data-theme="light"] .code-panel p,html[data-theme="light"] .code-panel .code-label{color:#42566d}
html[data-theme="light"] .acquisition{box-shadow:0 12px 28px rgba(23,59,55,.1)}
html[data-theme="light"] .acquisition-copy>p:not(.eyebrow),html[data-theme="light"] .acquisition-price small{color:#42566d}
html[data-theme="light"] .trust span{color:#536579;font-size:11px}
html[data-theme="light"] .launch-note{color:#42566d;font-size:13px}
@media(max-width:600px){html[data-theme="light"] .card p:not(.card-kicker),html[data-theme="light"] .features-grid p,html[data-theme="light"] .resource-grid p,html[data-theme="light"] .faq-items p,html[data-theme="light"] .legal-placeholders>p,html[data-theme="light"] .legal-placeholders details p{font-size:14px;line-height:1.8}html[data-theme="light"] footer a{font-size:13px}}
/* Readability floor for dark product surfaces. */
html[data-theme="light"] .custody p:not(.eyebrow),html[data-theme="light"] .custody li{font-size:15px;line-height:1.8}
html[data-theme="light"] .custody small,html[data-theme="light"] .observer span,html[data-theme="light"] .observer small{font-size:12px;line-height:1.6}
html[data-theme="light"] .integration p{font-size:14px;line-height:1.7}
html[data-theme="light"] .pricing-card>p:not(.price),html[data-theme="light"] .pricing-card li{font-size:14px;line-height:1.7}
html[data-theme="light"] .pricing-card .fair-use,html[data-theme="light"] .pricing-card .fine-print{font-size:12px;line-height:1.7}
html[data-theme="light"] .invoice-body p,html[data-theme="light"] .invoice-body span,html[data-theme="light"] .invoice-body small{font-size:13px;line-height:1.7}
html[data-theme="light"] .final-cta p{font-size:15px;line-height:1.7}
/* Shared typography floor for critical reading surfaces in both themes. */
.faq-items summary,.legal-placeholders summary{font-size:15px;line-height:1.6}
.faq-items p,.legal-placeholders>p,.legal-placeholders details p{font-size:14px;line-height:1.8}
.final-cta>div>p:not(.eyebrow){font-size:15px;line-height:1.7;color:#cbd8e3}
.final-cta .fine-print{font-size:12px!important;line-height:1.6!important;color:#cbd8e3!important}
/* Global typography upgrade: stronger hierarchy without changing the product layout. */
body{font-size:16px;line-height:1.7;font-weight:450}
h1{font-size:clamp(3.5rem,5vw,5rem);font-weight:750;line-height:1.08}
.hero h1{font-weight:750}
h2{font-size:clamp(2.25rem,3.4vw,3.1rem);font-weight:750;line-height:1.15}
h3{font-size:clamp(1.2rem,1.45vw,1.35rem);font-weight:700;line-height:1.35}
nav{font-size:14px;font-weight:600}
.button{font-size:15px;font-weight:700}
.card p:not(.card-kicker),.features-grid p,.steps p,.resource-grid p,.acquisition-copy>p:not(.eyebrow){font-size:15px;line-height:1.75;font-weight:450}
.card-kicker,.eyebrow,.code-label,.status-badge,.preview-badge{font-weight:700}
.steps p,.resource-grid p,.faq-items p,.legal-placeholders>p,.legal-placeholders details p{font-size:14px;line-height:1.8}
.faq-items summary,.legal-placeholders summary{font-size:16px;font-weight:700}
.faq-items p,.legal-placeholders details p{font-weight:450}
.footer-grid>div:not(:first-child) a{font-size:14px;font-weight:550;line-height:1.9}
html[data-theme="dark"] .card p:not(.card-kicker),html[data-theme="dark"] .features-grid p,html[data-theme="dark"] .steps p,html[data-theme="dark"] .resource-grid p,html[data-theme="dark"] .acquisition-copy>p:not(.eyebrow),html[data-theme="dark"] .faq-items p,html[data-theme="dark"] .legal-placeholders>p,html[data-theme="dark"] .legal-placeholders details p{color:#d5e0ea}
html[data-theme="dark"] .faq-items summary,html[data-theme="dark"] .legal-placeholders summary{color:#f4f7fc;font-weight:700}
html[data-theme="dark"] footer p,html[data-theme="dark"] .footer-bottom{color:#d5e0ea}
html[data-theme="dark"] .footer-grid>div:not(:first-child) a{color:#e4edf5}
html[data-theme="dark"] .final-cta>div>p:not(.eyebrow){color:#d5e0ea;font-size:16px}
html[data-theme="dark"] .invoice-card p,html[data-theme="dark"] .invoice-card span,html[data-theme="dark"] .invoice-card small,html[data-theme="dark"] .integration p,html[data-theme="dark"] .pricing-card p,html[data-theme="dark"] .pricing-card li,html[data-theme="dark"] .custody p,html[data-theme="dark"] .custody li{color:#d5e0ea}
html[data-theme="light"] .card p:not(.card-kicker),html[data-theme="light"] .features-grid p,html[data-theme="light"] .steps p,html[data-theme="light"] .resource-grid p,html[data-theme="light"] .acquisition-copy>p:not(.eyebrow){font-size:15px;font-weight:500}
html[data-theme="light"] .faq-items summary,html[data-theme="light"] .legal-placeholders summary{font-size:16px;font-weight:700}
html[data-theme="light"] .footer-grid>div:not(:first-child) a{font-size:14px;font-weight:600}
@media(max-width:600px){h1{font-size:clamp(3rem,13vw,3.6rem)}h2{font-size:clamp(2rem,9vw,2.5rem)}h3{font-size:1.2rem}.button{font-size:14px}.card p:not(.card-kicker),.features-grid p,.steps p,.resource-grid p,.acquisition-copy>p:not(.eyebrow){font-size:14px}.faq-items summary,.legal-placeholders summary{font-size:15px}}
