:root {
  --ink: #071b29;
  --ink-soft: #17384a;
  --ocean: #006c77;
  --ocean-bright: #00a6a6;
  --signal: #9bea4b;
  --signal-dark: #4d8f16;
  --paper: #f5f8f5;
  --white: #ffffff;
  --mist: #dce9e7;
  --line: #c9d9d6;
  --muted: #5e737d;
  --warning: #fff4d6;
  --shadow: 0 24px 60px rgba(4, 28, 40, 0.14);
  --radius: 22px;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: 1.35rem; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin: 0 auto; }
.narrow-shell { max-width: 860px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand { color: var(--white); text-decoration: none; font-size: 1.2rem; }
.brand img, .footer-brand img { border-radius: 7px; }
.notranslate[translate="no"] { display: inline-block; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 9px 15px;
  color: #bcd0d7;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--ink); background: var(--signal); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 30%, rgba(0, 166, 166, 0.26), transparent 31%),
    linear-gradient(135deg, #071b29 0%, #0a2c3b 55%, #063844 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -320px;
  bottom: -580px;
  border: 1px solid rgba(155, 234, 75, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(155, 234, 75, 0.035), 0 0 0 160px rgba(155, 234, 75, 0.025);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 680px;
  padding: 64px 0 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 4.5vw, 64px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--ocean);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow, .section-dark .eyebrow, .cta-band .eyebrow, .download-hero .eyebrow { color: var(--signal); }
.signal-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--signal); border-radius: 50%; box-shadow: 0 0 16px var(--signal); }

.hero h1 { max-width: 760px; margin-bottom: 24px; }
.hero-lede { max-width: 680px; color: #c9dbe0; font-size: clamp(1.05rem, 2vw, 1.25rem); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.button-primary { color: var(--ink); background: var(--signal); box-shadow: 0 12px 30px rgba(112, 196, 38, 0.22); }
.button-primary:hover { background: #b3fa68; box-shadow: 0 16px 36px rgba(112, 196, 38, 0.3); }
.button-secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); }
.button-light { color: var(--ink); background: var(--white); }
.button-full { width: 100%; margin-top: 20px; }

.hero-visual {
  width: 112%;
  justify-self: end;
  align-self: start;
  display: grid;
  gap: 16px;
  transform: translateX(38px);
}
.quick-facts {
  display: flex;
  flex-wrap: wrap;
  justify-self: start;
  gap: 14px 22px;
  width: fit-content;
  max-width: min(100%, 560px);
  margin: 56px 0 0;
  padding: 16px 20px;
  color: #d8edf2;
  background: rgba(3, 18, 27, 0.58);
  border: 1px solid rgba(128, 202, 199, 0.22);
  border-radius: 14px;
  list-style: none;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.quick-facts li { padding: 0; white-space: nowrap; }
.quick-facts li::before { content: "✓"; margin-right: 8px; color: var(--signal); font-weight: 900; }

.hero-app-preview {
  width: 100%;
  margin: 0;
  padding: 10px;
  background: rgba(226, 240, 239, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}
.hero-app-preview img { width: 100%; height: auto; object-fit: contain; border-radius: 13px; }
.hero-app-preview figcaption { padding: 9px 4px 1px; color: #38525d; font-size: 0.8rem; text-align: center; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { min-height: 92px; padding: 19px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.trust-grid div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { font-size: 0.98rem; }
.trust-grid span { color: var(--muted); font-size: 0.85rem; }

.section { padding: 82px 0; }
.section-heading { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.left-heading { margin-left: 0; text-align: left; }

.process-section { padding: 76px 0 82px; }
.process-heading { max-width: none; margin-bottom: 30px; text-align: left; }
.process-heading .eyebrow { margin-bottom: 14px; }
.process-heading h2 { margin-bottom: 14px; font-size: clamp(2.25rem, 3.5vw, 3.35rem); white-space: nowrap; }
.process-heading > p:last-child { max-width: 760px; margin-bottom: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; padding: 26px 28px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.step-card::after { content: ""; position: absolute; right: -40px; bottom: -55px; width: 130px; height: 130px; border: 20px solid rgba(0, 166, 166, 0.06); border-radius: 50%; }
.step-number { display: inline-flex; width: 46px; height: 32px; margin-bottom: 22px; align-items: center; justify-content: center; color: var(--ocean); background: #e2f3ef; border-radius: 99px; font-family: Consolas, monospace; font-weight: 800; }
.step-card h3 { margin-bottom: 12px; }
.step-card p { margin-bottom: 0; color: var(--muted); }

.section-dark { color: var(--white); background: var(--ink); }
.showcase-heading { margin-bottom: 30px; }
.showcase-heading .eyebrow { margin-bottom: 14px; }
.showcase-heading h2 { margin-bottom: 0; white-space: nowrap; }
.showcase-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: clamp(40px, 5vw, 70px); }
.showcase-copy > p:not(.eyebrow) { color: #b7cbd1; }
.check-list { padding: 0; margin: 30px 0 0; list-style: none; }
.check-list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.check-list li::before { content: ""; position: absolute; top: 19px; left: 2px; width: 10px; height: 10px; background: var(--signal); border-radius: 50%; box-shadow: 0 0 10px rgba(155, 234, 75, 0.6); }
.satellite-window { width: 100%; max-width: 680px; justify-self: end; margin: 0; overflow: hidden; background: #071b29; border: 1px solid rgba(143, 208, 214, 0.28); border-radius: 18px; box-shadow: var(--shadow); }
.satellite-window img { width: 100%; height: auto; object-fit: contain; }
.satellite-window figcaption { padding: 11px 14px 12px; color: #bcd0d7; background: #092533; font-size: 0.8rem; text-align: center; }

.requirement-section { padding: 72px 0; }
.requirement-card { padding: 34px 38px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.requirement-heading { display: grid; grid-template-columns: 210px 1fr; gap: 28px; align-items: center; }
.requirement-heading .eyebrow { margin-bottom: 0; }
.requirement-heading h2 { margin-bottom: 0; font-size: clamp(2.1rem, 3.4vw, 3.25rem); }
.requirements { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0; border: 1px solid var(--line); border-radius: 14px; }
.requirements div { padding: 16px 18px; border-right: 1px solid var(--line); }
.requirements div:last-child { border-right: 0; }
.requirements span, .requirements strong { display: block; }
.requirements span { color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; }
.requirements strong { margin-top: 5px; font-size: 0.95rem; }
.notice { padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 16px; color: #5d4611; background: var(--warning); border-left: 4px solid #d29a13; border-radius: 9px; }

.cta-band { padding: 54px 0; color: var(--white); background: var(--ocean); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-inner h2 { max-width: 760px; margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }

.site-footer { padding: 34px 0; color: #9eb6be; background: #04131d; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-copy { display: grid; gap: 4px; }
.footer-inner p { margin: 0; text-align: center; font-size: 0.82rem; }
.footer-copy a { color: var(--white); text-underline-offset: 3px; }
.footer-copy a:hover { color: var(--signal); }
.footer-inner nav { display: flex; justify-content: flex-end; gap: 18px; }
.footer-inner nav a { font-size: 0.85rem; text-decoration: none; }
.footer-inner nav a:hover { color: var(--white); }

.download-hero { padding: 90px 0 130px; color: var(--white); text-align: center; background: radial-gradient(circle at 50% 120%, rgba(0, 166, 166, 0.5), transparent 42%), var(--ink); }
.download-hero h1 { margin-bottom: 18px; font-size: clamp(3rem, 7vw, 5.8rem); }
.download-hero p:last-child { color: #bfd2d8; font-size: 1.14rem; }
.download-section { margin-top: -72px; padding-top: 0; }
.download-layout { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: start; gap: 22px; }
.download-card, .install-panel { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.download-card-top { display: flex; gap: 22px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.download-card-top img { border-radius: 13px; box-shadow: 0 8px 24px rgba(7, 27, 41, 0.12); }
.download-card-top h2 { margin-bottom: 5px; font-size: 2rem; }
.download-card-top p { margin-bottom: 0; color: var(--muted); }
.version-label { color: var(--ocean) !important; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.download-docs { margin-top: 24px; padding: 20px; border: 1px solid rgba(0, 110, 125, 0.26); border-radius: 16px; background: linear-gradient(135deg, #f7fbf9, #eefaf4); }
.download-docs h3 { margin-bottom: 6px; font-size: 1.15rem; }
.download-docs p { margin-bottom: 12px; color: var(--muted); font-size: 0.92rem; }
.doc-download-link { display: block; margin-top: 9px; padding: 11px 13px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-weight: 800; text-decoration: none; }
.doc-download-link:hover { color: var(--ocean); border-color: rgba(0, 110, 125, 0.35); }
.review-state { margin-top: 24px; padding: 16px 18px; color: #405c23; background: #eefadc; border: 1px solid #cce8a9; border-radius: 10px; }
.review-state strong, .review-state span { display: block; }
.review-state span { margin-top: 3px; font-size: 0.88rem; }
.release-details { margin: 28px 0 0; }
.release-details div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.release-details dt { color: var(--muted); }
.release-details dd { margin: 0; font-weight: 700; text-align: right; }
.checksum { margin-top: 24px; }
.checksum summary { cursor: pointer; color: var(--ocean); font-weight: 800; }
.checksum p { margin: 14px 0 4px; color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.checksum code { display: block; padding: 12px; overflow-wrap: anywhere; color: #bde88a; background: var(--ink); border-radius: 8px; font-size: 0.76rem; }
.install-panel h2 { font-size: 1.8rem; }
.install-steps { padding: 0; margin: 28px 0; list-style: none; }
.install-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.install-steps li > span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--white); background: var(--ocean); border-radius: 50%; font-size: 0.78rem; font-weight: 800; }
.install-steps strong { display: block; }
.install-steps p { margin: 3px 0 0; color: var(--muted); font-size: 0.9rem; }
.text-link { color: var(--ocean); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.section-muted { background: #eaf1ef; border-top: 1px solid var(--line); }
.faq-shell { max-width: 1000px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-grid article { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq-grid h3 { margin-bottom: 10px; font-size: 1.15rem; }
.faq-grid p { margin-bottom: 0; color: var(--muted); }

.error-page { min-height: 100vh; padding: 30px; display: grid; place-items: center; color: var(--white); text-align: center; background: radial-gradient(circle at 50% 40%, #0b5360, transparent 42%), var(--ink); }
.error-card { max-width: 620px; }
.error-card img { margin: 0 auto 30px; border-radius: 12px; }
.error-card h1 { margin-bottom: 18px; font-size: clamp(2.8rem, 7vw, 5rem); }
.error-card > p:not(.eyebrow) { margin-bottom: 30px; color: #bfd2d8; }

@media (max-width: 920px) {
  .hero-grid, .showcase-grid, .download-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 66px 0 72px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: 100%; max-width: 680px; align-self: auto; justify-self: start; transform: none; }
  .quick-facts { margin-top: 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div:nth-child(odd) { border-left: 1px solid var(--line); }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .process-heading h2 { white-space: normal; }
  .showcase-heading h2 { white-space: normal; }
  .step-number { margin-bottom: 20px; }
  .showcase-copy { max-width: 700px; }
  .requirements { grid-template-columns: 1fr 1fr; }
  .requirements div:nth-child(2) { border-right: 0; }
  .requirements div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-inner nav { justify-content: center; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 1rem; }
  .brand img { width: 29px; height: 29px; }
  .site-nav a { padding: 8px 10px; font-size: 0.88rem; }
  .hero-grid { min-height: auto; padding: 58px 0 72px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 4.6rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .status-console { padding: 18px; }
  .console-topline { font-size: 0.61rem; }
  .time-readout strong { font-size: 3rem; }
  .telemetry-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:nth-child(odd) { min-height: 84px; border-left: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .step-card, .requirement-card, .download-card, .install-panel { padding: 24px; }
  .requirement-heading { display: block; }
  .requirement-heading .eyebrow { margin-bottom: 14px; }
  .requirements { grid-template-columns: 1fr; }
  .requirements div, .requirements div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .requirements div:last-child { border-bottom: 0; }
  .notice { grid-template-columns: 1fr; gap: 5px; }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .download-hero { padding: 68px 0 110px; }
  .download-card-top { align-items: flex-start; }
  .download-card-top img { width: 58px; height: 58px; }
  .release-details div { display: block; }
  .release-details dd { text-align: left; }
  .faq-grid { grid-template-columns: 1fr; }
}

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