:root {
  color-scheme: light;
  --navy: #10314a;
  --navy-deep: #0b2438;
  --ink: #17232c;
  --muted: #61717c;
  --line: #d9e3e7;
  --canvas: #f4f7f8;
  --surface: #ffffff;
  --soft: #e8f3f8;
  --accent: #0e609d;
  --success: #278263;
  --radius-card: 16px;
  --shadow: 0 18px 60px rgb(16 49 74 / 10%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.site-shell {
  width: min(100%, 1240px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 80px rgb(16 49 74 / 5%);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 24px clamp(24px, 6vw, 72px);
  background: var(--surface);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -0.04em; }
.brand-name { font-size: 1.32rem; }
.brand-mark { position: relative; display: inline-flex; align-items: end; gap: 3px; width: 25px; height: 25px; padding: 3px; border-radius: 8px; background: var(--navy); }
.brand-mark i { display: block; width: 4px; border-radius: 4px; background: #fff; }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 13px; }

.header-nav { display: flex; gap: 26px; margin-right: auto; color: var(--muted); font-size: 0.9rem; }
.header-nav a { transition: color 160ms ease; }
.header-nav a:hover, .text-link:hover, .format-links a:hover { color: var(--accent); }
.release-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.release-pill span, .release-state i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgb(39 130 99 / 12%); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr); gap: clamp(36px, 7vw, 96px); align-items: center; padding: clamp(52px, 8vw, 106px) clamp(24px, 8vw, 100px) clamp(64px, 9vw, 112px); background: var(--navy); color: #fff; position: relative; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero::before { width: 480px; height: 480px; right: -160px; top: -220px; background: radial-gradient(circle, rgb(103 179 228 / 26%), transparent 68%); }
.hero::after { width: 360px; height: 360px; left: -190px; bottom: -230px; background: radial-gradient(circle, rgb(39 130 99 / 24%), transparent 70%); }
.eyebrow { margin: 0 0 14px; color: #67b3e4; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; }
.hero h1, .downloads-section h2, .install-section h2, .help-section h2 { margin: 0; letter-spacing: -0.055em; line-height: 1.03; }
.hero h1 { max-width: 590px; font-size: clamp(2.7rem, 5.4vw, 5.1rem); font-weight: 700; }
.hero-lede { max-width: 500px; margin: 24px 0 0; color: rgb(255 255 255 / 70%); font-size: clamp(1.03rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 13px 17px; border: 1px solid transparent; border-radius: 11px; font-size: 0.91rem; font-weight: 750; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button b { font-size: 1.02rem; font-weight: 500; }
.button-primary { background: #fff; color: var(--navy); box-shadow: 0 8px 24px rgb(0 0 0 / 15%); }
.button-primary:hover { box-shadow: 0 12px 32px rgb(0 0 0 / 22%); }
.button-quiet { border-color: rgb(255 255 255 / 24%); color: #fff; }
.button-quiet:hover { background: rgb(255 255 255 / 9%); }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 28px 0 0; color: rgb(255 255 255 / 55%); font-size: 0.8rem; }
.hero-note span { display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid rgb(103 179 228 / 65%); border-radius: 50%; color: #67b3e4; font-size: 0.7rem; }

.hero-visual { position: relative; min-width: 0; }
.visual-window { padding: 9px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 20px; background: rgb(255 255 255 / 9%); box-shadow: 0 26px 70px rgb(0 0 0 / 24%); transform: rotate(1deg); }
.window-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; color: rgb(255 255 255 / 60%); font-size: 0.75rem; font-weight: 750; letter-spacing: -0.02em; }
.window-bar em { color: #67b3e4; font-style: normal; }
.window-dots { display: flex; gap: 5px; margin-right: auto; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / 24%); }
.window-version { margin-left: auto; color: rgb(255 255 255 / 36%); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.65rem; }
.window-body { display: grid; grid-template-columns: 56px 1fr; min-height: 330px; overflow: hidden; border-radius: 13px; background: #f7fafb; color: var(--navy); }
.window-sidebar { display: flex; flex-direction: column; align-items: center; gap: 19px; padding: 20px 0; background: #e8f3f8; }
.sidebar-logo { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--navy); color: #fff; font-size: 0.75rem; font-weight: 800; }
.sidebar-logo span { color: #67b3e4; }
.window-sidebar i { width: 17px; height: 5px; border-radius: 4px; background: #9fb7c4; }
.window-sidebar i:nth-child(3) { width: 21px; background: var(--accent); }
.review-preview { padding: 40px clamp(22px, 5vw, 48px); }
.preview-kicker { margin: 0; color: var(--accent); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.16em; }
.review-preview h2 { margin: 8px 0 30px; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -0.055em; }
.preview-line { display: flex; gap: 12px; margin-top: 13px; }
.preview-line span { display: block; height: 9px; border-radius: 5px; background: #d6e2e6; }
.preview-line span:first-child { width: 24%; background: #8da9b8; }
.preview-line span:nth-child(2) { width: 39%; }
.preview-line span:last-child { width: 18%; }
.preview-line.short span:first-child { width: 42%; }
.preview-line.short span:nth-child(2) { width: 26%; }
.preview-result { display: flex; align-items: center; gap: 11px; margin-top: 48px; padding: 14px; border: 1px solid #c9e4db; border-radius: 11px; background: #f0faf6; }
.result-check { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #d8f0e6; color: var(--success); font-size: 0.85rem; }
.preview-result small { display: block; color: var(--success); font-size: 0.52rem; font-weight: 800; letter-spacing: 0.1em; }
.preview-result strong { display: block; margin-top: 2px; font-size: 0.75rem; }
.preview-result b { margin-left: auto; color: var(--success); font-size: 1rem; font-weight: 500; }
.visual-caption { display: flex; align-items: center; gap: 8px; margin: 19px 0 0 14px; color: rgb(255 255 255 / 50%); font-size: 0.75rem; }
.visual-caption span { width: 6px; height: 6px; border-radius: 50%; background: #67b3e4; }

.compatibility { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 25px clamp(24px, 8vw, 100px); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.76rem; font-weight: 650; letter-spacing: 0.02em; }
.compatibility span { display: flex; align-items: center; gap: 10px; }
.compatibility b { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95rem; }

.downloads-section { padding: clamp(64px, 9vw, 108px) clamp(24px, 8vw, 100px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.downloads-section h2, .install-section h2, .help-section h2 { color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.7rem); }
.release-meta { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 13px; color: var(--muted); font-size: 0.74rem; }
.release-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.release-meta code { padding: 5px 8px; border-radius: 6px; background: var(--soft); color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.68rem; }
.release-meta a { color: var(--accent); font-weight: 750; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.download-card { display: flex; min-height: 306px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); }
.download-card.featured { border-color: #9bc7dc; background: linear-gradient(145deg, #f4fbfe 0%, #fff 66%); }
.card-topline { display: flex; align-items: center; gap: 10px; }
.platform-label { color: var(--navy); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.04em; }
.platform-tag { padding: 5px 7px; border-radius: 5px; background: var(--soft); color: var(--accent); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.09em; }
.download-card h3 { margin: 24px 0 8px; color: var(--navy); font-size: 1.15rem; letter-spacing: -0.035em; }
.download-card p { min-height: 48px; margin: 0; color: var(--muted); font-size: 0.84rem; }
.button-stack { margin-top: auto; }
.card-button { width: 100%; margin-top: 20px; }
.button-dark { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgb(16 49 74 / 16%); }
.button-dark:hover { background: var(--navy-deep); box-shadow: 0 12px 28px rgb(16 49 74 / 24%); }
.download-card small { display: block; overflow: hidden; margin-top: 12px; color: #8b9aa2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.62rem; text-overflow: ellipsis; white-space: nowrap; }
.text-link { display: block; margin-top: 12px; color: var(--accent); font-size: 0.76rem; font-weight: 750; text-align: center; }
.text-link b { margin-left: 4px; font-weight: 500; }
.format-links { display: flex; gap: 8px; margin-top: 12px; }
.format-links a { flex: 1; padding: 7px; border: 1px solid var(--line); border-radius: 7px; color: var(--accent); font-size: 0.75rem; font-weight: 750; text-align: center; }

.install-section { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(40px, 8vw, 100px); padding: clamp(64px, 8vw, 100px) clamp(24px, 8vw, 100px); background: var(--soft); }
.install-intro p:last-child { max-width: 360px; margin: 21px 0 0; color: var(--muted); font-size: 0.94rem; }
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 55px 1fr; gap: 17px; padding: 0 0 25px; }
.steps li:not(:last-child) { margin-bottom: 25px; border-bottom: 1px solid rgb(16 49 74 / 13%); }
.steps li > span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.83rem; font-weight: 800; }
.steps h3 { margin: -3px 0 5px; color: var(--navy); font-size: 1rem; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 0.82rem; }

.help-section { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(52px, 7vw, 78px) clamp(24px, 8vw, 100px); background: var(--navy); color: #fff; }
.help-section h2 { max-width: 500px; color: #fff; }
.help-section p { max-width: 355px; margin: 0; color: rgb(255 255 255 / 62%); font-size: 0.88rem; }
.help-section .eyebrow { color: #67b3e4; }

.site-footer { display: flex; align-items: center; gap: 25px; padding: 27px clamp(24px, 8vw, 100px); background: var(--navy-deep); color: rgb(255 255 255 / 45%); font-size: 0.72rem; }
.site-footer .brand { margin-right: auto; color: #fff; }
.site-footer .brand-mark { background: #fff; }
.site-footer .brand-mark i { background: var(--navy); }
.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .site-header { gap: 20px; }
  .header-nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(100%, 610px); margin: 0 auto; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 0; }
  .download-card p { min-height: 0; }
  .install-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
  .header-nav { order: 3; width: 100%; padding-top: 4px; border-top: 1px solid var(--line); }
  .release-pill { margin-left: auto; font-size: 0.62rem; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .compatibility { grid-template-columns: 1fr; gap: 11px; }
  .section-heading, .help-section { align-items: start; flex-direction: column; }
  .section-heading { gap: 22px; }
  .release-meta { justify-content: start; }
  .window-body { min-height: 270px; }
  .review-preview { padding: 30px 20px; }
  .visual-caption { margin-left: 4px; }
  .site-footer { align-items: start; flex-direction: column; gap: 10px; }
  .site-footer .brand { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
