:root {
  color-scheme: light dark;
  --bg: #f8fafc; --surface: #fff; --text: #172438;
  --muted: #69778b; --line: #dfe5ee; --accent: #2f6fed; --soft: #edf3ff;
  --landing-title-size: 48px;
  --landing-caption-size: 13px;
  --landing-provider-border: #8194b0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--ui-font); word-break: keep-all; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: 1080px; margin: auto; padding: 0 32px; }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 750; }
.brand span { font-size: var(--landing-caption-size); font-weight: 400; color: var(--muted); }
nav { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; background: #2f6fed; color: white; padding: 14px 18px; border-radius: 9px; font-weight: 650; }
.button:hover { filter: brightness(1.1); text-decoration: none; }
.button.small { padding: 10px 16px; }
.hero { text-align: center; padding-top: 48px; padding-bottom: 48px; }
.eyebrow { font-size: var(--landing-caption-size); letter-spacing: 1.8px; color: var(--accent); font-weight: 700; }
h1 { font-size: var(--landing-title-size); line-height: 1.22; letter-spacing: -2px; margin: 18px 0; }
h2 { font-size: 24px; line-height: 1.4; letter-spacing: -.7px; margin: 12px 0; }
h3 { font-size: 18px; line-height: 1.5; margin: 10px 0; letter-spacing: -.3px; }
.intro { font-size: 16px; line-height: 1.85; color: var(--muted); }
.text-link { color: var(--accent); font-weight: 650; }
.muted { color: var(--muted); }
.provider-tags { display: flex; justify-content: center; gap: 8px; margin: 20px 0 30px; }
.provider-tags > span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border: 2px solid var(--landing-provider-border); border-radius: 20px; color: var(--text); }
.provider-emoji { font-size: 16px; line-height: 1; }
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.download-card { background: var(--surface); border: 1px solid var(--line); padding: 22px; border-radius: 12px; display: flex; flex-direction: column; gap: 12px; }
.os-label { font-size: 14px; font-weight: 650; }
.download-card small { font-size: var(--landing-caption-size); color: var(--muted); }
.download-card .text-link { margin-top: 4px; }
.release-note { margin-top: 20px; font-size: var(--landing-caption-size); color: var(--muted); }
.release-note span { margin: 0 8px; }
.release-note a { color: var(--accent); margin-left: 14px; }
.installation { padding-top: 44px; padding-bottom: 44px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 28px; }
.windows-install { display: grid; grid-template-columns: 30% 1fr; gap: 28px; padding: 28px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; }
.platform-label { color: var(--accent); font-size: var(--landing-caption-size); font-weight: 700; }
.install-copy p { color: var(--muted); line-height: 1.9; }
.install-copy strong { color: var(--text); }
.install-copy .text-link { display: inline-block; margin-top: 10px; }
.smartscreen-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.screen-example { background: #075a99; color: #fff; padding: 20px; min-height: 210px; display: flex; flex-direction: column; border-radius: 6px; }
.step-label { font-size: var(--landing-caption-size); opacity: .85; margin-bottom: 18px; }
.screen-example strong { font-size: 16px; font-weight: 500; }
.screen-example p { font-size: var(--landing-caption-size); line-height: 1.75; margin: 13px 0; }
.example-more { align-self: flex-start; text-decoration: underline; text-underline-offset: 3px; outline: 2px solid #fff; outline-offset: 5px; margin: 6px 0 14px; }
.example-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; }
.example-buttons span { background: #fff; color: #15324c; padding: 6px 10px; font-size: var(--landing-caption-size); white-space: nowrap; }
.example-buttons .example-run { outline: 2px solid #fff; outline-offset: 4px; }
.example-caption { grid-column: 1 / -1; font-size: var(--landing-caption-size); color: var(--muted); margin: 0; }
.install-note { font-size: var(--landing-caption-size); color: var(--muted); line-height: 1.9; }
.install-note a { color: var(--accent); text-decoration: underline; }
.mac-install { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 24px 28px; margin-top: 24px; }
.mac-install p { color: var(--muted); margin-bottom: 0; }
.arrow { color: var(--accent); margin: 0 8px; }
.connection { padding-top: 42px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.connection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.connection-grid h3 { font-size: 14px; }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; overflow: auto; white-space: pre; word-break: normal; }
code { font-size: 12px; }
.connection-close { margin-top: 28px; font-weight: 650; }
details { border-top: 1px solid var(--line); padding: 16px 0; margin-top: 20px; }
summary { cursor: pointer; color: var(--muted); }
details p { color: var(--muted); line-height: 1.9; }
footer { border-top: 1px solid var(--line); padding-top: 26px !important; padding-bottom: 26px !important; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); }
footer .brand { font-size: 18px; }
.install-guide { max-width: 820px; padding-top: 38px; padding-bottom: 60px; }
.install-guide section { margin-top: 38px; }
.install-guide p { line-height: 1.9; }
.install-guide h1 { font-size: 36px; }
.guide-callout { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.guide-callout .smartscreen-flow { margin-top: 20px; }
.guide-steps { padding-left: 22px; }
.guide-steps li { margin: 14px 0; line-height: 1.9; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #101720; --surface: #18222f; --text: #e5ecf6; --muted: #a1aec0; --line: #2e3c4e; --accent: #7da8ff; --soft: #1b2b44; --landing-provider-border: #8fa6c8; }
}
@media (max-width: 800px) {
  .windows-install { grid-template-columns: 1fr; }
  .install-copy br { display: none; }
}
@media (max-width: 700px) {
  :root { --landing-title-size: 32px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav { height: 72px; }
  nav { gap: 12px; }
  nav > a:not(.button) { display: none; }
  .hero { padding-top: 30px; padding-bottom: 32px; }
  h1 { letter-spacing: -1px; }
  .intro { font-size: 14px; }
  .downloads, .connection-grid { grid-template-columns: 1fr; }
  .download-card { padding: 20px; }
  .release-note { line-height: 2; }
  .release-note a { display: block; margin: 0; }
  .installation, .connection { padding-top: 32px; padding-bottom: 32px; }
  .windows-install { padding: 20px; gap: 20px; }
  .smartscreen-flow { grid-template-columns: 1fr; }
  .screen-example { min-height: 190px; }
  .mac-install { flex-direction: column; align-items: flex-start; padding: 20px; }
  .mac-install p { line-height: 2; }
  .arrow { margin: 0 4px; }
  .guide-callout { padding: 20px; }
  .install-guide h1 { font-size: 30px; }
  footer { flex-wrap: wrap; gap: 16px; }
  footer .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.guide-steps { padding-left: 0; display: grid; gap: 24px; }
.guide-steps img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 12px; }
.connection-grid > article, .downloads > article, .windows-install > div { min-width: 0; }
@media (max-width: 380px) { .nav .brand span { display: none; } .nav > .text-link { max-width: 140px; font-size: var(--landing-caption-size); } }

@media (max-width: 620px) { .nav nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; } .nav { min-height: 88px; height: auto; padding-top: 16px; padding-bottom: 16px; } }

.subscription-note { margin-top: 24px; padding: 20px 24px; background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; }
.subscription-note h3 { margin: 0 0 10px; font-size: var(--ui-heading-size); color: var(--text); }
.subscription-note p { margin: 0; line-height: 1.9; word-break: keep-all; }
.subscription-note .subscription-conditions { margin-top: 12px; color: var(--muted); }
