:root { color-scheme: light dark; --bg: #f3f5f7; --surface: #fff; --text: #192a38; --muted: #526675; --border: #dce3e9; --accent: #136347; --soft: #e9f6ee; --error: #b42318; font-family: "Segoe UI", system-ui, sans-serif; }
@media (prefers-color-scheme: dark) { :root { --bg: #10171d; --surface: #19232c; --text: #e8eef3; --muted: #a6b5c2; --border: #34424f; --accent: #72d9ad; --soft: #203e32; --error: #ffada6; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; }
main { max-width: 1160px; padding: 0 24px 30px; margin: auto; }
header { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-bottom: 1px solid var(--border); gap: 16px; }
a { color: var(--accent); text-underline-offset: 3px; }
.brand { font-size: 25px; font-weight: 800; text-decoration: none; letter-spacing: -1px; }
header > a:last-child { font-size: 13px; }
.intro { padding: 54px 0 24px; max-width: 760px; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: 1.5px; color: var(--accent); }
h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.15; letter-spacing: -1.7px; margin: 16px 0; }
h2 { font-size: 20px; margin: 12px 0 4px; }
p { margin: 8px 0 14px; }
.intro p { color: var(--muted); font-size: 17px; }
.intro .hint { font-size: 13px; }
.notice { padding: 18px 22px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; margin: 0 0 26px; background: var(--surface); }
.notice p { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.browser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; background: var(--surface); min-width: 0; }
.card.is-recommended { border-color: var(--accent); outline: 1px solid var(--accent); }
.browser-icon { display: grid; place-items: center; width: 42px; height: 42px; background: var(--soft); color: var(--accent); border-radius: 10px; font-size: 22px; font-weight: 800; }
.card > p, .package-status { color: var(--muted); font-size: 13px; }
.download { display: block; text-align: center; text-decoration: none; background: var(--soft); color: var(--accent); border-radius: 7px; padding: 11px; margin: 18px 0 8px; font-size: 13px; font-weight: 650; }
.download[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.package-status { display: block; font-size: 11px; overflow-wrap: anywhere; }
ol { padding-left: 20px; font-size: 13px; }
li { padding: 5px 0; }
code { overflow-wrap: anywhere; font-size: 12px; }
button { color: var(--accent); border: 1px solid var(--border); background: var(--surface); border-radius: 6px; padding: 8px 12px; cursor: pointer; font: inherit; font-size: 12px; }
button:hover, a.download:hover:not([aria-disabled="true"]) { border-color: var(--accent); }
.hint { font-size: 13px; color: var(--muted); }
#install-status:empty { display: none; }
#install-error { color: var(--error); border: 1px solid currentColor; padding: 12px; border-radius: 7px; font-size: 13px; overflow-wrap: anywhere; }
.setup, details.card { margin-top: 24px; }
.address-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 7px; margin: 12px 0; }
.address-row code { font-size: 14px; }
.muted { color: var(--muted); }
summary { cursor: pointer; font-weight: 650; }
details p { margin-top: 14px; }
footer { color: var(--muted); text-align: center; font-size: 11px; padding: 30px 0 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
@media (max-width: 820px) { .browser-grid { grid-template-columns: 1fr; } .intro { padding-top: 32px; } }
