/* DB Investing green: --brand-green #00A651; secondary green #99CC33. */
:root{
  --lime:#00a651;
  --lime-deep:#007e3e;
  --brand-green-light:#99cc33;
  --paper:#f8faf8;
  --paper-2:#edf4ef;
  --line:#d5e2d9;
  --muted:#59706a;
}

.button.lime:hover{background:#31bd73}
.brand-mark{background:var(--lime);color:#071e18}
.brand-logo{display:block;position:relative;width:168px;max-width:100%;aspect-ratio:3824/1119;flex:none}
.brand-logo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:left center}
.brand-logo .brand-logo-for-light{display:block}
.brand-logo .brand-logo-for-dark{display:none}
[data-theme="dark"] .brand-logo .brand-logo-for-light{display:none}
[data-theme="dark"] .brand-logo .brand-logo-for-dark{display:block}
.arch-diagram .core .brand-logo{width:128px}
.arch-diagram .core .brand-logo .brand-logo-for-light{display:none}
.arch-diagram .core .brand-logo .brand-logo-for-dark{display:block}
@media(max-width:560px){.arch-diagram .core .brand-logo{width:100px}}
.footer-brand .brand-logo{width:180px}
@media(max-width:800px){.site-header .brand-logo{width:150px}}
@media(max-width:400px){.site-header .brand-logo{width:132px}}
.review-header .brand-logo{width:150px}
.turnstile-panel{margin-top:24px;padding:20px;border:1px solid #c7d9cc;background:#f4f8f3;border-radius:5px}
.turnstile-panel .field-label{margin:0 0 13px}
.turnstile-widget{min-height:65px;max-width:320px}
.turnstile-status{margin:9px 0 0;color:#527163;font-size:11px;line-height:1.5}
[data-theme="dark"] .turnstile-panel{background:#15362c;border-color:#426a53}
[data-theme="dark"] .turnstile-status{color:#b6d5be}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;min-width:85px;min-height:42px;padding:9px 12px;border:1px solid #d3e3d8;border-radius:6px;background:#fff;color:#203b32;font-size:11px;font-weight:800;line-height:1;transition:background .2s,border-color .2s,transform .2s}
.theme-toggle:hover{border-color:var(--lime);transform:translateY(-1px)}
.theme-toggle-icon{font-size:17px;font-weight:400;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.theme-toggle-icon svg{display:block;width:18px;height:18px}
.site-header{background:#fff;color:#102d25;box-shadow:0 1px 0 #dce9df}
.nav-links a{color:#456157}
.nav-links a:hover,.nav-links a[aria-current=page]{color:#007e3e}
.menu-toggle{color:#102d25}

/* Light mode has a genuinely light first screen; the desk card stays dark for depth. */
.hero,.page-hero{background:#f6faf7;color:#102b25}
.hero:before{background:radial-gradient(circle at 80% 31%,#c9eed7 0,transparent 36%),linear-gradient(120deg,#f7fbf8,#eaf5ee)}
.hero-grid{opacity:.09;background-image:linear-gradient(90deg,#197c4d 1px,transparent 1px),linear-gradient(#197c4d 1px,transparent 1px)}
.hero h1 em,.page-hero h1 em{color:#007e3e}
.hero-lede,.page-hero p{color:#526b62}
.hero .eyebrow.light,.page-hero .eyebrow{color:#007e3e}
.hero-note{color:#5f7b6e}
.hero-note:before{background:#75a989}
.hero-bottom{background:#e8f3eb;border-color:#d3e5d9}
.hero-bottom span{color:#007e3e}
.hero-bottom li{color:#3d5e4c}
.hero-bottom li+li:before{background:#8fba9d}
.hero .button.outline-light,.page-hero .button.outline-light{border-color:#82a992;color:#163c2b}
.hero .button.outline-light:hover,.page-hero .button.outline-light:hover{border-color:#007e3e}
.page-hero:before{background:linear-gradient(115deg,#f7fbf8,#e6f3e9)}
.page-hero:after{background:linear-gradient(90deg,#197c4d1b 1px,transparent 1px),linear-gradient(#197c4d1b 1px,transparent 1px)}
.flow-console{border-color:#285348;background:linear-gradient(160deg,#153e33,#0e2928 75%)}
.console-live i{background:var(--lime)}
.console-index,.connector-arrow{color:var(--brand-green-light)}
.connector-line{background:linear-gradient(90deg,#547b66,var(--brand-green-light))}
.console-outcome{background:var(--lime);color:#062d1c}

/* One provider line, with status visible on every card. */
.provider-section{background:#edf5ef}
.provider-legend{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;margin:-18px auto 24px;color:#48695a;font-size:12px}
.provider-legend span{display:inline-flex;align-items:center;gap:9px}
.provider-legend i{width:8px;height:8px;border-radius:50%;background:var(--lime)}
.provider-legend span:last-child i{background:#719488}
.provider-line{border-top:1px solid #cbded0;border-bottom:1px solid #cbded0;padding:24px 0}
.provider-line .provider-marquee{min-height:126px}
.provider-line .provider-track{animation-duration:67s}
.provider-logo-card{height:112px;gap:7px}
.provider-logo-card .provider-name{font-weight:700}
.provider-logo-card .provider-status{font:500 8px 'DM Mono',monospace;letter-spacing:.06em;text-transform:uppercase;color:#007e3e}
.provider-logo-card.dark .provider-status{color:#9ddc7c}
.provider-logo-card[data-provider-status="evaluation"] .provider-status{color:#617d71}
.provider-logo-card.dark[data-provider-status="evaluation"] .provider-status{color:#9aafb0}
.provider-logo-card.logo-unavailable .provider-name{font-size:18px}
.provider-logo-card.logo-unavailable .provider-status{font:500 8px 'DM Mono',monospace;letter-spacing:.06em;text-transform:uppercase}
.provider-footnote{padding-top:24px}
.provider-footnote p{color:#5c7467}

.section-kicker,.detail-id,.about-fact .eyebrow,.client-card .eyebrow,.inquiry-list span{color:#007e3e}
.service-row:hover{background:#edf6ef}
.arch-copy{background:#edf4ef}
.arch-copy li{border-color:#cfdfd3}
.cta-panel{background:var(--lime);color:#062a18}
.cta-panel .button{background:#082e20;color:#fff}
.cta-panel .button:hover{background:#174635}
.subnav{background:#edf5ef;border-color:#d3e3d8}
.client-card,.client-card:nth-child(2),.client-card:nth-child(3),.contact-card{background:#eff6f0;border-color:#d3e2d6}
.contact-card{background:#edf5ef}
.detail-aside{background:#edf5ef}
.feature{background:var(--paper)}
.inquiry-dialog{background:var(--paper)}
.inquiry-progress span.active{border-color:var(--lime);color:#007e3e}
.check-grid input,.consent-row input{accent-color:var(--lime)}
.field-grid em,.wide-label em,.field-label em,.consent-row em{color:#007e3e}
.inquiry-actions{background:linear-gradient(180deg,#f8faf800,#f8faf8 19%)}

/* Keep the light theme calm through the footer and private review area. */
.site-footer{background:#eaf2ec;color:#193b2b;border-top:1px solid #d4e4d8}
.footer-brand{color:#193b2b}
.footer-brand p,.footer-col a{color:#526b5d}
.footer-col h3{color:#2b5340}
.footer-disclosure{border-color:#cfdfd4}
.footer-disclosure p,.footer-bottom{color:#657e6d}
.footer-disclosure a{color:#345d43}
.footer-bottom{border-color:#cfdfd4}
.review-page{background:#f5faf6;color:#163b29}
.review-card{background:#fff;border-color:#d2e2d6}

/* Dark mode carries the same green across every surface and form control. */
:root[data-theme="dark"]{
  --paper:#0b1e21;
  --paper-2:#102a2b;
  --line:#2a4640;
  --muted:#a2b9af;
}
[data-theme="dark"] body{background:var(--paper);color:#e6f2eb}
[data-theme="dark"] .site-header{background:#091b20;color:#f1faf5;box-shadow:0 1px 0 #2b4941}
[data-theme="dark"] .nav-links a{color:#b5cdc0}
[data-theme="dark"] .nav-links a:hover,[data-theme="dark"] .nav-links a[aria-current=page]{color:#6bdd95}
[data-theme="dark"] .menu-toggle{color:#eef8f0}
[data-theme="dark"] .theme-toggle{background:#142c2c;border-color:#426254;color:#e9f6ec}
[data-theme="dark"] .theme-toggle:hover{border-color:#35b973}
[data-theme="dark"] .hero,[data-theme="dark"] .page-hero{background:#071c20;color:#effaf1}
[data-theme="dark"] .hero:before{background:radial-gradient(circle at 78% 32%,#1463444d,transparent 37%),linear-gradient(120deg,#071c20,#12302e)}
[data-theme="dark"] .hero-grid{opacity:.13;background-image:linear-gradient(90deg,#66a382 1px,transparent 1px),linear-gradient(#66a382 1px,transparent 1px)}
[data-theme="dark"] .hero h1 em,[data-theme="dark"] .page-hero h1 em{color:#40cf7e}
[data-theme="dark"] .hero-lede,[data-theme="dark"] .page-hero p{color:#b5cbc0}
[data-theme="dark"] .hero .eyebrow.light,[data-theme="dark"] .page-hero .eyebrow{color:#72e49e}
[data-theme="dark"] .hero-note{color:#96b3a6}
[data-theme="dark"] .hero-bottom{background:#0a2526;border-color:#315047}
[data-theme="dark"] .hero-bottom span{color:#66dc91}
[data-theme="dark"] .hero-bottom li{color:#c4d8cb}
[data-theme="dark"] .hero .button.outline-light,[data-theme="dark"] .page-hero .button.outline-light{border-color:#658a77;color:#eef8f1}
[data-theme="dark"] .page-hero:before{background:linear-gradient(115deg,#071c20,#123630)}
[data-theme="dark"] .page-hero:after{background:linear-gradient(90deg,#78b28c20 1px,transparent 1px),linear-gradient(#78b28c20 1px,transparent 1px)}
[data-theme="dark"] .provider-section{background:#0f2827}
[data-theme="dark"] .provider-legend{color:#adc8b8}
[data-theme="dark"] .provider-line{border-color:#315148}
[data-theme="dark"] .provider-footnote p{color:#96b4a3}
[data-theme="dark"] .intro-grid .lead span,[data-theme="dark"] .about-overview .large-copy span{color:#81a995}
[data-theme="dark"] .section-kicker,[data-theme="dark"] .detail-id,[data-theme="dark"] .about-fact .eyebrow,[data-theme="dark"] .client-card .eyebrow,[data-theme="dark"] .inquiry-list span{color:#68d991}
[data-theme="dark"] .service-row:hover{background:#15312e}
[data-theme="dark"] .service-row svg,[data-theme="dark"] .feature svg{color:#61d68b}
[data-theme="dark"] .arch-copy{background:#112e2c}
[data-theme="dark"] .arch-copy li{border-color:#35534a}
[data-theme="dark"] .cred-item{border-color:#315047}
[data-theme="dark"] .subnav{background:#132f2d;border-color:#37564c}
[data-theme="dark"] .subnav a{color:#bad1c2}
[data-theme="dark"] .subnav a:hover{color:#fff}
[data-theme="dark"] .detail-content .lead{color:#b2cbbd}
[data-theme="dark"] .feature-grid{background:#29463c;border-color:#29463c}
[data-theme="dark"] .feature{background:#102926}
[data-theme="dark"] .detail-aside{background:#16372f;color:#bed4c5}
[data-theme="dark"] .detail-aside strong{color:#f0f8f1}
[data-theme="dark"] .client-card,[data-theme="dark"] .client-card:nth-child(2),[data-theme="dark"] .client-card:nth-child(3),[data-theme="dark"] .contact-card{background:#122e2b;border-color:#315146}
[data-theme="dark"] .client-card p,[data-theme="dark"] .contact-layout p{color:#a8c0b2}
[data-theme="dark"] .client-card .icon{color:#6fd698}
[data-theme="dark"] .contact-card .eyebrow,[data-theme="dark"] .contact-alt span{color:#80dc9d}
[data-theme="dark"] .contact-alt{border-color:#365a4b}
[data-theme="dark"] .contact-side{background:#102d2b;border-color:#375e4e}
[data-theme="dark"] .contact-legal{background:#102a28}
[data-theme="dark"] .site-footer{background:#081c1e;color:#e8f6ec;border-color:#315047}
[data-theme="dark"] .footer-brand{color:#f2faf4}
[data-theme="dark"] .footer-brand p,[data-theme="dark"] .footer-col a{color:#a8c3b1}
[data-theme="dark"] .footer-col h3{color:#d5e9db}
[data-theme="dark"] .footer-disclosure,[data-theme="dark"] .footer-bottom{border-color:#34544a}
[data-theme="dark"] .footer-disclosure p,[data-theme="dark"] .footer-bottom{color:#90ab99}
[data-theme="dark"] .footer-disclosure a{color:#c5dfcd}
[data-theme="dark"] .inquiry-dialog{background:#0e2825;border-color:#416557;color:#e8f5ec}
[data-theme="dark"] .inquiry-top{background:#09201f}
[data-theme="dark"] .inquiry-intro .eyebrow,[data-theme="dark"] .inquiry-progress span.active{color:#6ee49b}
[data-theme="dark"] .inquiry-intro>p:last-child,[data-theme="dark"] .inquiry-success p,[data-theme="dark"] .inquiry-privacy{color:#a7c1b0}
[data-theme="dark"] .inquiry-progress span{border-color:#456354;color:#a6c0ad}
[data-theme="dark"] .inquiry-progress span.active{border-color:var(--lime)}
[data-theme="dark"] .field-grid label,[data-theme="dark"] .wide-label,[data-theme="dark"] .field-label{color:#dceee1}
[data-theme="dark"] .field-grid input,[data-theme="dark"] .field-grid select,[data-theme="dark"] .wide-label textarea{background:#173a33;border-color:#4a6d5c;color:#f3faf4}
[data-theme="dark"] .field-grid input::placeholder,[data-theme="dark"] .wide-label textarea::placeholder{color:#9db7a6}
[data-theme="dark"] .check-grid label,[data-theme="dark"] .upload-box{background:#173830;border-color:#436350;color:#deeee1}
[data-theme="dark"] .upload-box label span,[data-theme="dark"] .file-hint{color:#aac5b0}
[data-theme="dark"] .upload-box input[type=file],[data-theme="dark"] .consent-row{color:#d3e8d8}
[data-theme="dark"] .upload-box input::file-selector-button{background:#254d3c;border-color:#6ba67b;color:#f2faf4}
[data-theme="dark"] .inquiry-actions{border-color:#436451;background:linear-gradient(180deg,#0e282500,#0e2825 19%)}
[data-theme="dark"] .button.outline-dark{border-color:#6d9d7e;color:#edf9ef}
[data-theme="dark"] .button.outline-dark:hover{border-color:#b0e6b6}
[data-theme="dark"] .review-page{background:#0b2220;color:#eaf6ec}
[data-theme="dark"] .review-title{border-color:#385b49}
[data-theme="dark"] .review-title p,[data-theme="dark"] .review-status,[data-theme="dark"] .review-flow{color:#aec8b4}
[data-theme="dark"] .review-card{background:#14302b;border-color:#385b49}
[data-theme="dark"] .review-detail{border-color:#385b49}
[data-theme="dark"] .review-detail dt,[data-theme="dark"] .review-card-head .eyebrow{color:#a4c4aa}
[data-theme="dark"] .review-files a{background:#20503a;border-color:#528565;color:#ecf8ef}

@media(max-width:800px){
  .nav-links.open{background:#fff;box-shadow:0 12px 25px #102d2520}
  .nav-links.open a{color:#173c2a}
  .provider-line{padding:13px 0}
  .provider-line .provider-marquee{overflow-x:auto;mask-image:none;scrollbar-width:thin}
  .provider-line .provider-track{animation:none}
  .provider-logo-card{height:112px}
  [data-theme="dark"] .nav-links.open{background:#0b2525;box-shadow:0 12px 25px #03120ec0}
  [data-theme="dark"] .nav-links.open a{color:#edf8ef}
}
@media(max-width:560px){
  .theme-toggle{min-width:42px;width:42px;padding:8px}
  .theme-toggle-text{display:none}
  .provider-logo-card{height:106px}
}
