:root {color-scheme:light;--error:#9b2727;--error-wash:#fff0ee;--on-primary:#fff;--control-border:#7d8d80;--shadow:0 2px 5px rgb(0 0 0 / .035),0 12px 25px -12px rgb(69 97 78 / .18)}
:root[data-theme="dark"] {color-scheme:dark;--bg:#121212;--surface:#1b1b1b;--low:#242424;--ink:#ededed;--muted:#bdbdbd;--primary:#b7d0b6;--primary-deep:#c8e3c8;--wash:#354c3d;--pale:#262626;--rule:#3a3a3a;--amber:#edc68e;--amber-wash:#403728;--error:#ffb4aa;--error-wash:#442925;--on-primary:#17251b;--shadow:0 2px 5px rgb(0 0 0 / .15),0 12px 25px -12px rgb(0 0 0 / .5)}
body {transition:background-color 180ms ease,color 180ms ease;caret-color:var(--primary);scrollbar-color:var(--muted) var(--bg)}
::selection {background:var(--wash);color:var(--ink)}
.site-preferences {display:flex;align-items:center;gap:8px;flex-shrink:0}
.preference-button {background:transparent;border:1px solid var(--rule);border-radius:var(--r-sm);color:var(--muted);font:inherit;font-size:13px;min-height:40px;min-width:40px;padding:8px 11px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.preference-button:hover {background:var(--pale);color:var(--ink)}
.preference-button svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.button:not(.button-secondary),.mini-start {color:var(--on-primary)}
.header .nav {gap:22px;flex-wrap:wrap}.nav-account-actions {margin-inline-start:auto}
.account-header {gap:20px;flex-wrap:wrap}.account-header .site-preferences{margin-inline-start:auto}
:root[lang="en"] .hero h1 {line-height:1.2;letter-spacing:-.025em;font-size:clamp(40px,4.2vw,60px)}
:root[lang="en"] .section-heading h2,:root[lang="en"] h2 {line-height:1.25;letter-spacing:-.02em}
:root[lang="en"] .account-story h1 {line-height:1.25;letter-spacing:-.02em}
:root[data-theme="dark"] .download-section {background:var(--surface);color:var(--ink)}
:root[data-theme="dark"] .download-section .button {background:var(--primary);color:var(--on-primary)}
:root[data-theme="dark"] .download-section .button-secondary {background:transparent;color:var(--primary);border-color:var(--rule)}
:root[data-theme="dark"] .download-inner p,:root[data-theme="dark"] .download-actions>span {color:var(--muted)}
:root[data-theme="dark"] .account-message[data-tone="error"],:root[data-theme="dark"] .field-error {color:var(--error)}
:root[data-theme="dark"] .account-message[data-tone="error"] {background:var(--error-wash)}
.account-retry {width:100%;margin-top:16px}
.password-control input {padding-inline-start:13px;padding-inline-end:48px}
.account-field input[aria-invalid="true"] {border-color:var(--error)}
@media(max-width:1100px){.header .nav {gap:15px}.nav-links {gap:18px}.nav-account-actions {gap:10px}}
@media(max-width:800px){.header .nav {justify-content:space-between}.nav-links{order:3;flex:1 0 100%;justify-content:center}.nav-account-actions{order:4;margin:0}.header .site-preferences{margin-inline-start:auto}.header .nav{padding-block:16px}.hero{padding-top:42px}.hero h1{max-width:12ch;margin-inline:auto}}
@media(max-width:560px){.header .nav{gap:14px}.header .nav-account-actions{width:100%;justify-content:center}.preference-button{font-size:12px;min-height:38px;padding:7px 9px}.account-back{order:3;width:100%}.account-header{padding-block:22px}.account-layout{padding-top:20px}.hero h1{font-size:43px!important}.hero-description{max-width:32ch;margin-inline:auto}.hero-actions{flex-wrap:wrap}.site-preferences{gap:6px}}
@media(prefers-reduced-motion:reduce){body{transition:none}}
:root[data-theme="light"] .download-actions .button:not(.button-secondary){color:var(--primary);background:var(--bg)}
:root[data-theme="light"] .download-actions .button:not(.button-secondary):hover{color:var(--primary-deep);background:var(--wash)}
:root[data-theme="light"] .preference-button,:root[data-theme="light"] .button-secondary{border-color:var(--control-border)}
:root[data-theme="light"] .account-field input:not(:focus):not([aria-invalid="true"]){border-color:var(--control-border)}
