:root { --error: #b52a3d; }
nav { align-items: center; gap: 22px; }
#theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; flex-shrink: 0; }
#theme-toggle:hover { background: #f0eefc; }
#theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-sun { display: none; }
.field-error { color: var(--error); font-size: 12px; line-height: 1.65; margin-top: 7px; }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 7px; }
#code-delivery { overflow-wrap: anywhere; font-size: 12px; }
.email-help { margin-top: 9px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.email-help summary { display: list-item; list-style: disclosure-closed inside; padding: 3px 0; font-size: 12px; color: var(--purple); }
.email-help[open] summary { list-style-type: disclosure-open; }
.email-help summary::-webkit-details-marker { display: inline; }
.email-help ol { margin: 10px 0; padding-left: 20px; }
.email-help li + li { margin-top: 6px; }
.email-help p { font-size: inherit; line-height: inherit; padding: 0; margin-bottom: 10px; }
.email-help .secondary-button { margin: 0 0 6px; padding: 8px 12px; }
.field.has-error > input, .field.has-error .input-group { border-color: var(--error); }
.field.has-error > input:focus, .field.has-error .input-group:focus-within { box-shadow: 0 0 0 3px #b52a3d18; }
input:disabled { opacity: .7; }
:root[data-theme="dark"] { color-scheme: dark; --ink: #e5eaf4; --muted: #a6b3c8; --purple: #b1a3ff; --line: #303c51; --error: #ff9ca9; background: #101622; }
[data-theme="dark"] .theme-sun { display: block; }
[data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .site-header { border-color: var(--line); }
[data-theme="dark"] nav a { color: #bbc7dc; }
[data-theme="dark"] nav a:hover { color: var(--purple); }
[data-theme="dark"] #theme-toggle:hover { background: #292b48; }
[data-theme="dark"] .hero { background: #182131; border-color: var(--line); }
[data-theme="dark"] .hero-introduction { background: radial-gradient(ellipse at 15% 95%, #1d344b 0, transparent 54%), radial-gradient(ellipse at 95% 45%, #2b2c50 0, transparent 60%), #1a2538; }
[data-theme="dark"] .claim-card { border-color: var(--line); }
[data-theme="dark"] .hero-description { color: #c8d3e5; }
[data-theme="dark"] .hero-detail, [data-theme="dark"] .platforms, [data-theme="dark"] .visual-heading, [data-theme="dark"] .node-caption { color: #aebbd1; }
[data-theme="dark"] .network-visual { background: linear-gradient(125deg, #18283ee6, #202c43bd); border-color: #40516a; box-shadow: none; }
[data-theme="dark"] .network-line { background: #667b9c; }
[data-theme="dark"] .connection-orbit { border-color: #435673; }
[data-theme="dark"] .connection-mark, [data-theme="dark"] .destination { background: #26344b; border-color: #43516a; box-shadow: none; }
[data-theme="dark"] .destination img[src$="x.svg"], [data-theme="dark"] .destination img[src$="ChatGPT-Logo.svg"] { filter: invert(1); }
[data-theme="dark"] .offer { background: #2a2848; }
[data-theme="dark"] .offer > div + div { border-color: #4a4269; }
[data-theme="dark"] .offer > div > span { color: #b5accd; }
[data-theme="dark"] input, [data-theme="dark"] #download-platform { background: #111b2c; color: var(--ink); border-color: #4b5a73; }
[data-theme="dark"] input::placeholder { color: #9aa9c0; }
[data-theme="dark"] .input-group { border-color: #4b5a73; background: #111b2c; }
[data-theme="dark"] .input-group input { background: transparent; }
[data-theme="dark"] .input-group .password-toggle { color: #acbad0; }
[data-theme="dark"] .send-code::before { background: #4b5a73; }
[data-theme="dark"] .primary-button { background: #6553d8; border-color: #8879e8; color: #fff; }
[data-theme="dark"] .primary-button:hover { background: #7562e5; }
[data-theme="dark"] .primary-button:active { background: #5543c1; }
[data-theme="dark"] .secondary-button { background: #242c42; border-color: #4b506e; color: #c2b6ff; }
[data-theme="dark"] .form-note { color: #a5b1c7; }
[data-theme="dark"] .form-feedback { background: #2e2b4b; color: #d1c6f3; }
[data-theme="dark"] .service-message, [data-theme="dark"] #result-message, [data-theme="dark"] #download-message, [data-theme="dark"] .reference { color: #b6c1d3; }
[data-theme="dark"] #download-panel { border-color: var(--line); }
[data-theme="dark"] #install-guide { color: var(--purple); }
[data-theme="dark"] .step-icon { background: #2a2b49; border-color: #41405e; }
[data-theme="dark"] .step-icon img { filter: brightness(1.8); }
[data-theme="dark"] footer, [data-theme="dark"] footer .brand { color: #a5b3c9; }
[data-theme="dark"] .field.has-error > input, [data-theme="dark"] .field.has-error .input-group { border-color: var(--error); }
[data-theme="dark"] input:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px #111b2c inset; }
@media (max-width: 420px) { nav { gap: 12px; } #theme-toggle { width: 36px; height: 36px; } }
