.landing-page {
    --home-text: #1c302b;
    --home-muted: #506359;
    --home-accent: #296445;
    --home-line: #c9d6cc;
    --home-panel: #edf3e8;
    --home-panel-strong: #e5efdc;
    --home-button: #20392e;
    --home-button-text: #fff;
    --home-error: #a22c3b;
}

html[data-theme=dark] .landing-page {
    --home-text: #f0f6f7;
    --home-muted: #bdccd2;
    --home-accent: #9ae2be;
    --home-line: #40575c;
    --home-panel: #1b2d32;
    --home-panel-strong: #203a3e;
    --home-button: #a5e3bd;
    --home-button-text: #173024;
    --home-error: #ffb6bf;
}

html[data-theme] .landing-page .skip-link { color: #173024; }
html[data-theme] .landing-page :is(a, button, select, summary):focus-visible { outline: 3px solid var(--home-accent); outline-offset: 4px; }
html[data-theme] .landing-page .section :is(h2, h3, dt, summary) { color: var(--home-text); }
html[data-theme] .landing-page :is(.section-intro, .preview-description p, .preview-caption, .feature-group dd, .feature-disclaimer, .install-steps p, .tool-note, .platform-list p, .reseller-lead, .reseller-steps p, .reseller-grid p, .reseller-footnote, .api-lead, .api-note, .api-example-note, .faq-list p, .footer-main>p, .footer-bottom, .continuity-heading>p, .continuity-facts p, .continuity-note) { color: var(--home-muted); }
html[data-theme] .landing-page :is(.section-index, .install-steps li>span, .reseller-steps li>span, .quick-grid span) { color: var(--home-muted); }
html[data-theme] .landing-page :is(.text-link, .feature-group h3 .icon, .quick-grid .icon, .platform-icon, .reseller-grid>div>.icon, .faq-list summary .icon, .continuity-facts .icon) { color: var(--home-accent); }
html[data-theme] .landing-page :is(.feature-groups, .feature-group, .feature-disclaimer, .install-steps li, .platform-list>div, .reseller-steps, .reseller-grid, .reseller-footnote, .api-capabilities li, .faq-list details, .footer-bottom, .continuity-facts>div, .continuity-note) { border-color: var(--home-line); }

html[data-theme] .landing-page .download-tool {
    background: var(--home-panel-strong);
    border-color: var(--home-line);
}
html[data-theme] .landing-page .tool-heading { color: var(--home-accent); }
html[data-theme] .landing-page .apk-tag {
    color: var(--home-text);
    background: transparent;
    border-color: var(--home-line);
}
html[data-theme] .landing-page .code-label { color: var(--home-muted); font-size: 11px; }
html[data-theme] .landing-page .code-control code { color: var(--home-text); }
html[data-theme] .landing-page :is(.copy-status, .api-copy-status) { color: var(--home-accent); }
html[data-theme] .landing-page :is(.copy-status.error, .api-copy-status.error) { color: var(--home-error); }
html[data-theme] .landing-page :is(.download-tool, .api-example) .icon-button {
    background: transparent;
    color: var(--home-accent);
    border-color: var(--home-line);
}
html[data-theme] .landing-page :is(.download-tool, .api-example) .icon-button:hover {
    background: var(--home-button);
    color: var(--home-button-text);
    border-color: var(--home-button);
}

html[data-theme] .landing-page .button.ink {
    background: var(--home-button);
    border-color: var(--home-button);
    color: var(--home-button-text);
}
html[data-theme] .landing-page .button.ink:hover {
    background: var(--home-text);
    border-color: var(--home-text);
    color: var(--home-panel);
}
html[data-theme] .landing-page .button.primary { color: #172c1e; }
html[data-theme] .landing-page .button.primary:hover {
    background: #c4e69c;
    border-color: #c4e69c;
    color: #172c1e;
}
html[data-theme] .landing-page .button.outline { color: var(--home-text); border-color: var(--home-line); }
html[data-theme] .landing-page .button.outline:hover { background: var(--home-panel); }
html[data-theme] .landing-page .platform-badge {
    background: var(--home-panel);
    color: var(--home-muted);
    border: 1px solid var(--home-line);
}

html[data-theme] .landing-page .api-example { background: var(--home-panel); border-color: var(--home-line); }
html[data-theme] .landing-page .api-example-heading { color: var(--home-accent); border-color: var(--home-line); }
html[data-theme] .landing-page .api-example pre code { color: var(--home-text); font-size: 12px; }
html[data-theme] .landing-page :is(.preview-caption, .feature-disclaimer, .tool-note, .reseller-footnote, .api-example-note, .footer-main>p) { font-size: 12px; line-height: 1.85; }
html[data-theme] .landing-page .footer-bottom { font-size: 12px; }
html[data-theme] .landing-page .appearance-menu { background: var(--home-panel); border-color: var(--home-line); }
html[data-theme] .landing-page .appearance-control .appearance-menu button { color: var(--home-muted); }
html[data-theme] .landing-page .appearance-control .appearance-menu :is(button:hover, button[aria-checked=true]) { background: var(--home-panel-strong); color: var(--home-text); }

html[data-theme=dark] .landing-page .site-header { background: #152125; }
html[data-theme=dark] .landing-page :is(.features-section, .compatibility-section) { background: #18272c; }
html[data-theme=dark] .landing-page .install-section { background: #122024; }
html[data-theme=dark] .landing-page .reseller-section { background: #192c2e; }
html[data-theme=dark] .landing-page .continuity-section { background: #192d2b; }
html[data-theme=dark] .landing-page :is(.quick-strip, .site-footer) { background: #162327; }
html[data-theme=dark] .landing-page .remote-section { background: #101e1c; }
html[data-theme=dark] .landing-page .closing-section { background: #1b332a; }
html[data-theme=dark] .landing-page :is(.platform-badge.available, .platform-badge.separate) { color: #c3efcf; background: #29483a; border-color: #52745d; }
html[data-theme=dark] .landing-page .platform-badge.separate { color: #f2d5a0; background: #423b2a; border-color: #7c6d49; }
html[data-theme=dark] .landing-page .view-tabs button { color: var(--home-muted); }
html[data-theme=dark] .landing-page :is(.view-tabs button:hover, .view-tabs button[aria-selected=true]) { color: #e7f5e9; background: #335449; }
html[data-theme=dark] .landing-page .header-upload:hover,
html[data-theme=dark] .landing-page .site-header nav a:hover { color: var(--home-accent); }
html[data-theme=dark] .landing-page :is(.remote-section p:not(.eyebrow), .remote-commands span) { color: #c0d2c8; }
html[data-theme=dark] .landing-page :is(.remote-commands>div, .remote-commands kbd) { border-color: #456359; }
html[data-theme=dark] .landing-page .dialog-toolbar .icon-button { color: #e9f5ef; }
html[data-theme=dark] .landing-page .dialog-toolbar .icon-button:hover { background: #35574a; }

@media(max-width:760px) {
    html[data-theme] .landing-page :is(.preview-caption, .feature-disclaimer, .reseller-footnote, .api-example-note, .footer-main>p, .footer-bottom) { font-size: 11px; }
    html[data-theme] .landing-page .api-example pre code { font-size: 11px; }
    html[data-theme=dark] .landing-page .site-header nav { background: #1a2d30; }
}
