:root {
    color-scheme: light;
    --ink: #1d1d1f;
    --muted: #6e6e73;
    --subtle: #86868b;
    --line: #e2e2e7;
    --field: #f7f8fa;
    --paper: #fff;
    --blue: #06c;
    --blue-dark: #0055a9;
    --blue-soft: #eef6ff;
    --ease: cubic-bezier(0.2, 0, 0, 1);
    --quick: 90ms;
    --standard: 280ms;
}

* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: clip; background: var(--paper); }
body { display: flex; min-width: 320px; min-height: 100svh; flex-direction: column; margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: system-ui, sans-serif; font-size: 17px; line-height: 1.47; }
body > main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.site-header { position: sticky; z-index: 30; top: 0; width: 100%; height: 52px; border-bottom: 1px solid rgba(29, 29, 31, 0.12); background: rgba(245, 245, 247, 0.82); backdrop-filter: blur(16px); }
.site-header-inner { display: flex; width: min(980px, calc(100% - 40px)); height: 100%; align-items: center; justify-content: space-between; gap: 20px; margin: auto; }
.brand-link { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; line-height: 1; text-decoration: none; }
.brand-link img { width: 28px; height: 28px; border-radius: 8px; }
.header-actions { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 18px; }
.header-link { display: flex; min-height: 44px; align-items: center; font-size: 14px; line-height: 1; text-decoration: none; white-space: nowrap; transition: color var(--quick) var(--ease); }
.header-link:hover { color: var(--blue); }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.42); outline-offset: 3px; }

.home-page { height: 100dvh; overflow: hidden; }
.home-page > main { flex: 1 1 auto; }
.home-main { min-height: 0; padding: 34px 20px; overflow: hidden; }
.home-shell { display: grid; width: min(1160px, 100%); height: 100%; grid-template-columns: minmax(430px, 470px) minmax(0, 1fr); align-items: center; gap: clamp(30px, 4vw, 54px); margin: auto; }
.home-copy h1 { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.625rem); font-weight: 650; line-height: 1.12; letter-spacing: -0.055em; }
.headline-line { display: block; white-space: nowrap; }
.home-copy h1 em { display: inline-block; color: var(--blue); font-style: normal; white-space: nowrap; }
.home-summary { max-width: 560px; margin: 20px 0 0; color: var(--muted); font-size: 15px; font-weight: 400; line-height: 1.55; }
.install-panel { margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--line); }
.install-heading { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: baseline; gap: 12px; }
.install-heading h2 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.install-heading p { margin: 0; color: var(--subtle); font-size: 12px; font-weight: 400; line-height: 1.4; }
.download-platform-picker { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
.download-platform-radio { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.download-platform-switch { display: inline-grid; grid-template-columns: repeat(2, minmax(92px, 1fr)); gap: 3px; padding: 3px; border-radius: 10px; background: #f2f2f5; }
.download-platform-switch label { display: flex; min-height: 32px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; transition: background var(--quick) var(--ease), color var(--quick) var(--ease), box-shadow var(--quick) var(--ease); }
#download-platform-windows:checked ~ .download-platform-switch label[for="download-platform-windows"], #download-platform-linux:checked ~ .download-platform-switch label[for="download-platform-linux"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(29, 29, 31, 0.12); }
#download-platform-windows:focus-visible ~ .download-platform-switch label[for="download-platform-windows"], #download-platform-linux:focus-visible ~ .download-platform-switch label[for="download-platform-linux"] { outline: 3px solid rgba(0, 113, 227, 0.42); outline-offset: 2px; }
.download-platform-panels { margin-top: 10px; }
.download-platform-panel { display: none; }
#download-platform-windows:checked ~ .download-platform-panels .windows-panel, #download-platform-linux:checked ~ .download-platform-panels .linux-panel { display: grid; }
.download-package-list { display: grid; }
.download-package-option { display: grid; min-height: 44px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 5px 0; border-top: 1px solid rgba(29, 29, 31, 0.09); color: var(--ink); }
.download-package-option:last-child { border-bottom: 1px solid rgba(29, 29, 31, 0.09); }
.download-package-copy { display: grid; min-width: 0; grid-template-columns: 76px minmax(0, 1fr); align-items: baseline; gap: 9px; }
.download-package-copy strong { font-size: 14px; font-weight: 650; line-height: 1.3; }
.download-package-copy > span { overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.download-package-action { display: inline-flex; min-width: 76px; min-height: 32px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; background: var(--blue); color: white; font-size: 12px; font-weight: 650; line-height: 1; text-decoration: none; white-space: nowrap; transition: background var(--quick) var(--ease), box-shadow var(--quick) var(--ease), transform 120ms var(--ease); }
.download-package-action:hover { background: var(--blue-dark); box-shadow: 0 4px 10px rgba(0, 72, 145, 0.14); transform: translateY(-1px); }
.install-note a { text-underline-offset: 3px; }
.install-note { margin: 14px 0 0; color: var(--subtle); font-size: 11px; font-weight: 400; line-height: 1.4; }
.family-mobile-note { display: none; }
.family-mobile-note a { display: inline-flex; min-height: 32px; align-items: center; gap: 4px; color: var(--blue); white-space: nowrap; }
.home-product { position: relative; display: flex; min-width: 0; height: min(650px, 76vh); align-items: center; justify-content: center; margin: 0; }
.product-glow { position: absolute; inset: 8% 0; border-radius: 50%; background: radial-gradient(circle, rgba(0, 102, 204, 0.18), transparent 68%); filter: blur(28px); }
.product-window { position: relative; z-index: 1; width: 100%; overflow: hidden; border: 0; border-radius: 2px; background: white; box-shadow: 0 28px 70px rgba(34, 46, 67, 0.17); }
.product-window img { width: 100%; height: auto; }
.page-enter { animation: page-enter var(--standard) var(--ease) both; }
.home-product.page-enter { animation-delay: 60ms; }

.updates-page { width: 100%; background: var(--paper); }
.updates-hero { width: min(980px, calc(100% - 40px)); margin: auto; padding: 94px 0 42px; text-align: center; }
.updates-hero h1 { margin: 0; font-size: clamp(40px, 7vw, 72px); font-weight: 650; line-height: 1.06; letter-spacing: 0; word-break: keep-all; }
.updates-hero > p { width: min(720px, 100%); margin: 22px auto 0; color: var(--muted); font-size: 21px; line-height: 1.5; word-break: keep-all; }
.updates-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
.page-action-button, .page-secondary-link { display: flex; align-items: center; justify-content: center; border-radius: 999px; line-height: 1; text-decoration: none; }
.page-action-button { min-height: 46px; gap: 8px; padding: 0 24px; border: 0; background: var(--blue); color: white; font-size: 16px; font-weight: 650; cursor: pointer; list-style: none; }
.page-action-button::-webkit-details-marker { display: none; }
.page-secondary-link { min-height: 42px; padding: 0 20px; border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 600; }
.download-picker { position: relative; }
.download-chevron { display: block; width: 16px; height: 16px; flex: 0 0 16px; transition: transform var(--quick) var(--ease); }
.download-chevron path { fill: none; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.download-picker[open] .download-chevron { transform: rotate(180deg); }
.download-options { position: absolute; z-index: 20; top: 50px; left: 0; display: grid; width: 310px; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 16px 42px rgba(0, 0, 0, 0.14); text-align: left; }
.download-option { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 11px; border-radius: 8px; text-decoration: none; }
.download-option strong { font-size: 14px; }
.download-option span { color: var(--muted); font-size: 13px; }
a.download-option:hover { background: var(--blue-soft); }
.download-option[aria-disabled="true"] { color: #86868b; }
.updates-content { display: grid; width: min(880px, calc(100% - 40px)); min-width: 0; gap: 18px; margin: auto; }
.updates-section { min-width: 0; padding: 28px 0; border-top: 1px solid var(--line); }
.updates-section h2 { margin: 0; font-size: 26px; line-height: 1.18; }
.updates-section > p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }
.release-note-list { display: grid; gap: 10px; margin-top: 16px; }
.release-note-list > * { display: flex; min-height: 59px; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.release-note-list > a:hover { border-color: #8cbdf0; color: var(--blue); }
.release-note-list span { color: var(--muted); font-weight: 500; }

.feedback-hero p { display: flex; width: min(1040px, 100%); flex-direction: column; align-items: center; text-align: center; }
.feedback-hero p span { display: block; width: fit-content; max-width: 100%; margin-inline: auto; text-align: center; }
.feedback-privacy-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid rgba(0, 102, 204, 0.18); border-radius: 8px; background: rgba(0, 102, 204, 0.06); color: var(--muted); font-size: 15px; line-height: 1.55; word-break: keep-all; }
.feedback-privacy-icon { flex: 0 0 auto; font-size: 18px; line-height: 1.4; }
.feedback-privacy-note div { display: flex; min-width: 0; flex-wrap: wrap; gap: 4px 10px; }
.feedback-privacy-note strong { color: var(--ink); font-weight: 650; }
.feedback-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feedback-contact-card { display: flex; min-width: 0; flex-direction: column; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.feedback-contact-card h2 { margin: 0; color: var(--ink); font-size: 26px; line-height: 1.18; letter-spacing: 0; }
.feedback-card-copy p { margin: 12px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; word-break: keep-all; }
.feedback-card-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: auto; }
.feedback-email-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.feedback-email-address { min-width: 0; max-width: 100%; overflow-wrap: anywhere; color: #3a3a40; font-size: 17px; font-weight: 600; line-height: 1.45; }
.feedback-copy-button, .feedback-send-button, .feedback-issue-button { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 0 13px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1; }
.feedback-copy-button { border: 1px solid var(--line); background: var(--paper); color: var(--blue); cursor: pointer; font-family: inherit; }
.feedback-send-button, .feedback-issue-button { min-height: 42px; gap: 8px; padding: 0 20px; border: 1px solid var(--blue); background: var(--blue); color: white; font-size: 15px; }
.feedback-github-mark { flex: 0 0 auto; fill: currentcolor; }
.site-footer { width: 100%; flex: 0 0 auto; margin-top: 0; padding: 18px 0; border-top: 1px solid rgba(29, 29, 31, 0.08); background: #f7f7f9; font-size: 13px; line-height: 1.4; }
.site-footer-inner { display: grid; width: min(980px, calc(100% - 40px)); grid-template-columns: minmax(140px, 1fr) minmax(0, max-content) minmax(140px, 1fr); align-items: center; column-gap: 28px; margin: auto; }
.updates-page + .site-footer { margin-top: 48px; }
.footer-brand { display: inline-flex; align-items: center; justify-self: start; gap: 8px; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.site-footer-inner > p { width: max-content; max-width: none; justify-self: center; margin: 0; color: #86868b; font-size: 13px; line-height: 1.45; text-align: center; word-break: keep-all; }
.site-footer-inner nav { display: inline-flex; justify-self: end; gap: 16px; color: var(--muted); font-size: 13px; line-height: 1.4; white-space: nowrap; }

@keyframes page-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 960px) { .updates-hero { padding-top: 72px; } }
@media (max-width: 820px) {
    .site-header-inner { width: min(calc(100% - 32px), 980px); }
    .home-main { min-height: 0; padding: 25px 14px; }
    .home-shell { display: block; width: min(520px, 100%); }
    .home-copy h1 { font-size: clamp(1.5rem, 7.8vw, 2.5rem); }
    .home-summary { margin-top: 14px; font-size: 14px; }
    .install-panel { margin-top: 18px; padding-top: 15px; }
    .install-heading { display: grid; }
    .install-heading p { margin-top: 0; }
    .home-product { display: none; }
    .updates-hero > p { font-size: 18px; line-height: 1.5; }
    .updates-actions { justify-content: center; }
    .page-action-button { padding-inline: 20px; font-size: 15px; }
    .page-secondary-link { padding-inline: 16px; font-size: 14px; }
    .download-options { width: min(310px, calc(100vw - 40px)); }
    .release-note-list > * { align-items: flex-start; flex-direction: column; gap: 6px; }
    .feedback-card-grid { grid-template-columns: 1fr; }
    .site-footer { padding-block: 16px; }
    .site-footer-inner { width: min(calc(100% - 32px), 980px); grid-template-columns: 1fr; justify-items: start; gap: 10px; }
    .site-footer-inner nav { grid-column: 1; justify-self: start; }
}
@media (max-width: 520px) {
    .site-header-inner { width: min(calc(100% - 24px), 980px); gap: 12px; }
    .site-footer-inner { width: min(calc(100% - 24px), 980px); }
    .brand-link span { font-size: 17px; }
    .header-actions { gap: 12px; }
    .header-link { font-size: 12px; }
    .family-header-link { display: none; }
    .family-mobile-note { display: block; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
    .site-footer > .family-mobile-note { width: calc(100% - 24px); margin: 12px auto 0; }
    .feedback-contact-card { padding: 20px; }
    .feedback-contact-card h2 { font-size: 24px; }
    .feedback-card-copy p { font-size: 15px; line-height: 1.58; }
    .feedback-email-address { font-size: 14px; }
    .site-footer-inner nav { flex-wrap: wrap; }
}
@media (max-height: 799px) and (min-width: 821px) {
    .home-main { padding: 16px 20px; }
    .home-copy h1 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); }
    .home-summary { margin-top: 14px; line-height: 1.5; }
    .install-panel { margin-top: 16px; padding-top: 14px; }
    .download-platform-picker { margin-top: 9px; }
    .download-platform-panels { margin-top: 7px; }
    .home-product { height: min(480px, 62vh); }
}
@media (max-height: 699px) { .home-page { height: auto; min-height: 648px; overflow: auto; } .home-main { flex: 0 0 auto; min-height: 648px; } }
@media (max-width: 420px) {
    .download-platform-switch { display: grid; width: 100%; }
    .download-platform-switch label { padding-inline: 12px; }
    .download-package-option { gap: 10px; }
    .download-package-copy { grid-template-columns: 70px minmax(0, 1fr); gap: 7px; }
    .download-package-action { min-width: 72px; padding-inline: 12px; }
}
@media (max-width: 340px) {
    .updates-actions { flex-direction: column; align-items: center; }
    .download-picker { width: 100%; }
    .download-picker .page-action-button { width: max-content; margin-inline: auto; }
    .download-options { position: static; width: 100%; margin-top: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
