:root {
  color-scheme: dark;
  --ink: #f4f8fc;
  --muted: #9eb0c4;
  --muted-strong: #c5d2df;
  --page: #06101a;
  --panel: #0c1825;
  --line: #20374d;
  --blue: #59b8ff;
  --blue-bright: #8ad1ff;
  --cyan: #52e5d7;
  --green: #58e29a;
  --amber: #f4bc5a;
  --shadow: 0 25px 70px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 78% 8%, rgba(38,118,181,.16), transparent 28rem), radial-gradient(circle at 4% 52%, rgba(35,185,166,.09), transparent 25rem), var(--page);
  color: var(--ink);
  font: 17px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--blue-bright); }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(80,129,171,.25); background: rgba(5,14,23,.82); backdrop-filter: blur(18px); }
.site-nav { width: min(1180px, calc(100% - 40px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-size: 14px; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.brand-mark { width: 37px; height: 37px; padding: 7px; display: grid; grid-template-columns: repeat(2,1fr); gap: 4px; border: 1px solid rgba(91,192,255,.7); border-radius: 11px; background: linear-gradient(145deg,rgba(39,92,135,.72),rgba(16,37,57,.8)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05),0 8px 25px rgba(0,0,0,.25); }
.brand-mark i { border: 2px solid #75c8ff; border-radius: 1px; }
.site-nav nav,.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav nav a,.site-footer nav a { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.site-nav nav a:hover,.site-nav nav a:focus-visible,.site-footer nav a:hover,.site-footer nav a:focus-visible { color: var(--ink); }
.eyebrow { color: var(--blue-bright); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.home-hero,.public-content,.downloads-page,.legal-document,.site-footer>div { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.home-hero { padding: 105px 0 82px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 64px; align-items: center; }
.home-hero h1,.download-hero h1,.legal-document h1 { margin: 13px 0 20px; font-size: clamp(44px,7vw,82px); line-height: 1.02; letter-spacing: -.055em; }
.home-hero p,.download-hero-copy>p { max-width: 760px; color: var(--muted-strong); font-size: clamp(18px,2vw,21px); }
.primary-button,.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 18px; border: 1px solid #66bdff; border-radius: 11px; background: linear-gradient(135deg,#1771b8,#225388); box-shadow: inset 0 1px rgba(255,255,255,.16),0 12px 30px rgba(0,0,0,.25); color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; transition: transform .18s ease,filter .18s ease; }
.primary-button:hover,.download-button:hover { filter: brightness(1.12); transform: translateY(-2px); }
.ownership-card,.feature-card,.legal-document { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,rgba(18,35,53,.94),rgba(9,20,31,.96)); box-shadow: var(--shadow); }
.ownership-card { padding: 29px; }
.ownership-card strong { color: var(--blue-bright); }
.ownership-card ul { margin-bottom: 0; padding-left: 22px; color: var(--muted-strong); }
.public-content { padding: 10px 0 90px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { padding: 26px; }
.feature-card h2 { margin-top: 0; font-size: 21px; }
.feature-card p { margin-bottom: 0; color: var(--muted); }

.downloads-page { padding: 46px 0 95px; }
.download-hero { position: relative; overflow: hidden; min-height: 430px; padding: clamp(34px,6vw,70px); display: grid; grid-template-columns: minmax(0,1.35fr) minmax(250px,.65fr); gap: 44px; align-items: center; border: 1px solid #254766; border-radius: 30px; background: linear-gradient(110deg,rgba(11,31,49,.98),rgba(9,22,35,.95)); box-shadow: var(--shadow); }
.download-hero::before,.download-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.download-hero::before { width: 330px; height: 330px; right: -65px; top: -130px; border: 1px solid rgba(87,196,255,.18); box-shadow: 0 0 0 50px rgba(44,144,206,.035),0 0 0 100px rgba(44,144,206,.02); }
.download-hero::after { width: 190px; height: 190px; right: 24%; bottom: -145px; background: rgba(59,215,197,.08); }
.download-hero-copy,.release-summary { position: relative; z-index: 1; }
.download-hero h1 { max-width: 800px; font-size: clamp(47px,7vw,84px); }
.download-hero h1 span { color: #93a8bc; }
.beta-notice { max-width: 760px; margin-top: 28px; padding: 17px 19px; display: flex; align-items: flex-start; gap: 14px; border: 1px solid rgba(244,188,90,.58); border-radius: 14px; background: rgba(100,62,7,.25); box-shadow: inset 4px 0 0 var(--amber); }
.beta-notice strong { flex: 0 0 auto; color: #ffd98d; font-size: 12px; font-weight: 950; letter-spacing: .1em; }
.beta-notice span { color: #f0dcb6; font-size: 14px; line-height: 1.45; }
.unsigned-beta-warning { margin: 16px 0; padding: 13px 14px; border: 1px solid rgba(244,188,90,.65); border-radius: 12px; background: rgba(100,62,7,.24); color: #f0dcb6; font-size: 13px; line-height: 1.45; }
.unsigned-beta-warning strong { display: block; margin-bottom: 5px; color: #ffd98d; font-size: 11px; font-weight: 950; letter-spacing: .08em; }
.unsigned-beta-warning b { color: #fff1cf; }
.release-summary { padding: 30px; border: 1px solid rgba(87,188,255,.28); border-radius: 22px; background: rgba(4,13,22,.6); box-shadow: inset 0 1px rgba(255,255,255,.05); }
.summary-number { display: block; color: var(--cyan); font-size: 68px; font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.summary-label { display: block; margin-top: 7px; font-size: 19px; font-weight: 850; }
.summary-note { display: flex; align-items: center; gap: 9px; margin-top: 25px; color: var(--muted); font-size: 13px; }
.summary-note i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }

.download-section,.steps-section,.trust-section,.install-notes { margin-top: 72px; }
.section-heading { margin-bottom: 25px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2,.steps-section>h2,.trust-copy h2,.install-notes h2 { margin: 8px 0 0; font-size: clamp(30px,4.4vw,48px); line-height: 1.1; letter-spacing: -.035em; }
.section-heading>p { width: min(440px,100%); margin: 0; color: var(--muted); }
.download-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.download-card { min-height: 500px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,rgba(17,34,52,.94),rgba(8,19,29,.98)); box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.download-card.is-available { border-color: rgba(71,206,190,.45); }
.client-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.client-badges { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.client-icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid #416886; border-radius: 15px; background: linear-gradient(145deg,#183550,#102337); color: #8ad1ff; font-size: 12px; font-weight: 950; letter-spacing: .07em; }
.beta-pill { padding: 8px 11px; border: 1px solid rgba(244,188,90,.65); border-radius: 999px; background: rgba(129,77,4,.3); color: #ffda91; font-size: 11px; font-weight: 950; line-height: 1.25; letter-spacing: .08em; }
.availability-pill { max-width: 100%; padding: 8px 11px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #364e63; border-radius: 999px; color: var(--muted-strong); font-size: 11px; font-weight: 900; line-height: 1.25; text-transform: uppercase; }
.availability-pill i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--amber); }
.availability-pill.available { border-color: rgba(67,212,150,.38); color: #a9f3ce; }
.availability-pill.available i { background: var(--green); box-shadow: 0 0 12px rgba(88,226,154,.7); }
.client-platform { margin-top: 26px; color: var(--blue-bright); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.download-card h3 { margin: 7px 0 2px; font-size: 27px; line-height: 1.2; letter-spacing: -.025em; }
.client-format { margin: 0; color: #7f93a9; font-size: 14px; font-weight: 800; }
.client-description { color: var(--muted-strong); }
.download-button { width: 100%; margin-top: auto; justify-content: space-between; }
.release-meta { margin: 16px 0 0; padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; border-bottom: 1px solid var(--line); }
.release-meta div { display: flex; flex-direction: column; }
.release-meta dt { color: #758ba1; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.release-meta dd { margin: 2px 0 0; color: var(--muted-strong); font-size: 13px; font-weight: 750; }
.checksum { padding-top: 12px; color: var(--muted); font-size: 12px; }
.checksum summary { cursor: pointer; font-weight: 800; }
.checksum code { display: block; margin-top: 8px; overflow-wrap: anywhere; color: #8fa4b8; line-height: 1.4; }
.pending-panel { margin-top: auto; padding: 17px; border: 1px dashed #3b5368; border-radius: 13px; background: rgba(5,13,21,.42); }
.pending-panel strong { color: #dce5ee; font-size: 13px; }
.pending-panel p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.steps-section { padding: clamp(30px,5vw,52px); border: 1px solid var(--line); border-radius: 25px; background: rgba(10,24,37,.65); }
.steps-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.steps-grid article { padding-right: 20px; border-right: 1px solid var(--line); }
.steps-grid article:last-child { border-right: 0; }
.steps-grid span { color: var(--cyan); font-size: 13px; font-weight: 950; letter-spacing: .15em; }
.steps-grid h3 { margin: 11px 0 5px; font-size: 19px; }
.steps-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.trust-section { padding: clamp(30px,5vw,55px); display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap: 60px; border: 1px solid rgba(63,199,184,.32); border-radius: 25px; background: linear-gradient(120deg,rgba(11,42,51,.8),rgba(8,23,35,.9)); }
.trust-copy p { color: var(--muted-strong); }
.trust-list { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.trust-list li { padding: 13px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(70,153,158,.28); border-radius: 13px; background: rgba(3,13,20,.35); }
.trust-list li>span { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(58,220,178,.13); color: var(--green); font-weight: 900; }
.trust-list strong,.trust-list small { display: block; }
.trust-list small { color: var(--muted); }
.install-notes { padding: 31px; display: grid; grid-template-columns: minmax(240px,.7fr) minmax(0,1.3fr); gap: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.install-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.install-options article { padding: 18px; border-radius: 14px; background: rgba(18,35,51,.64); }
.install-options p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.install-options code { color: #b7e4ff; overflow-wrap: anywhere; }
.direct-page-note { max-width: 860px; margin: 34px auto 0; color: #7f92a7; font-size: 13px; text-align: center; }

.legal-document { max-width: 920px; margin-top: 50px; margin-bottom: 80px; padding: clamp(28px,6vw,60px); }
.legal-document h1 { font-size: clamp(40px,6vw,62px); }
.legal-document h2 { margin-top: 35px; }
.legal-document p,.legal-document li { color: var(--muted-strong); }
.site-footer { border-top: 1px solid rgba(70,104,136,.3); color: #71869b; font-size: 13px; }
.site-footer>div { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  .download-hero,.trust-section,.install-notes,.home-hero { grid-template-columns: 1fr; }
  .release-summary { max-width: 390px; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-nav { min-height: 88px; align-items: flex-start; padding: 16px 0; }
  .site-brand>span:last-child { max-width: 120px; line-height: 1.25; }
  .site-nav nav { max-width: 210px; justify-content: flex-end; gap: 10px 16px; }
  .site-nav nav a { font-size: 11px; }
  .downloads-page { padding-top: 22px; }
  .download-hero { min-height: 0; padding: 30px 24px; border-radius: 22px; }
  .download-hero h1 { font-size: clamp(42px,14vw,62px); }
  .beta-notice { display: block; }
  .beta-notice span { display: block; margin-top: 5px; }
  .section-heading { display: block; }
  .section-heading>p { margin-top: 14px; }
  .download-grid,.steps-grid,.install-options { grid-template-columns: 1fr; }
  .download-card { min-height: 0; padding: 22px; }
  .download-card .download-button,.download-card .pending-panel { margin-top: 24px; }
  .client-card-top { align-items: flex-start; }
  .client-badges { max-width: 70%; }
  .beta-pill,.availability-pill { font-size: 9px; }
  .steps-grid article { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps-grid article:last-child { padding-bottom: 0; border-bottom: 0; }
  .site-footer>div { padding: 23px 0; display: block; }
  .site-footer nav { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }
