
:root {
  --navy: #173d5b;
  --navy-deep: #102f48;
  --teal: #178a79;
  --teal-dark: #0e6d63;
  --mint: #dff2ef;
  --orange: #ef7f26;
  --orange-soft: #fff0e5;
  --ink: #17324a;
  --muted: #587187;
  --line: #d4e1e5;
  --surface: #ffffff;
  --background: #edf4f5;
  --shadow: 0 18px 50px rgba(16, 47, 72, 0.12);
  --radius: 18px;
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 90% 2%, rgba(23, 138, 121, 0.10), transparent 30rem),
    var(--background);
  font-size: 16px;
  line-height: 1.58;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--navy-deep);
}

img {
  max-width: 100%;
}

code {
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: white;
  background: var(--navy-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  color: white;
  background: rgba(16, 47, 72, 0.97);
  box-shadow: 0 6px 24px rgba(16, 47, 72, 0.18);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  color: white;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 12px;
  background: #0f3150;
}

.brand span {
  display: grid;
  min-width: 0;
}

.brand strong {
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.15;
}

.brand small {
  margin-top: 0.15rem;
  color: #c7e6e4;
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.local-badge {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #d5e8eb;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
  transition: grid-template-columns 180ms ease;
}

body.nav-collapsed .site-shell {
  grid-template-columns: 70px minmax(0, 1fr);
}

.side-navigation {
  align-self: start;
  position: sticky;
  top: 76px;
  display: grid;
  gap: 0.5rem;
  min-height: calc(100vh - 76px);
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.nav-toggle,
.side-navigation a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav-toggle {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.side-navigation a:hover,
.nav-toggle:hover {
  color: var(--navy-deep);
  background: #e5f0f1;
}

.side-navigation a.active {
  color: white;
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(23, 61, 91, 0.18);
}

.nav-icon {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 800;
  line-height: 1;
}

.active .nav-icon {
  color: var(--navy-deep);
  background: #8ce0d1;
}

body.nav-collapsed .side-navigation .nav-label {
  display: none;
}

body.nav-collapsed .nav-toggle,
body.nav-collapsed .side-navigation a {
  justify-content: center;
  padding-inline: 0.4rem;
}

main {
  min-width: 0;
  width: min(1320px, 100%);
  padding: clamp(1.5rem, 4vw, 4rem);
  outline: none;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-deep);
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.35rem, 5.2vw, 4.8rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.16rem;
}

p {
  max-width: 72ch;
}

.lead {
  color: #425f75;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: min(690px, calc(100vh - 150px));
  padding: clamp(1rem, 3vw, 2.5rem) 0 4rem;
}

.hero-copy {
  position: relative;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(23, 138, 121, 0.23);
}

.button-primary:hover {
  color: white;
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--navy-deep);
  border-color: #afc9d0;
  background: white;
}

.button-secondary:hover {
  background: #f7fbfb;
}

.button-small {
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  color: var(--navy-deep);
  background: #8ce0d1;
  font-size: 0.86rem;
}

.microcopy {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.product-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 61, 91, 0.18);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.product-preview::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(23, 138, 121, 0.08);
  content: "";
}

.preview-titlebar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  color: white;
  background: var(--navy-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.preview-titlebar span {
  margin-right: auto;
}

.preview-titlebar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8fb1bd;
}

.preview-tabs {
  display: flex;
  gap: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f7fafb;
}

.preview-tabs span,
.preview-tabs b {
  padding: 0.75rem 0.9rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.preview-tabs b {
  color: var(--navy-deep);
  border-bottom: 3px solid var(--teal);
  background: white;
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.preview-kpis div {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  padding: clamp(0.8rem, 2vw, 1.2rem);
  background: white;
}

.preview-kpis small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.67rem;
}

.preview-kpis strong {
  color: var(--navy-deep);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
}

.preview-panel {
  padding: clamp(1.1rem, 3vw, 1.8rem);
}

.preview-heading,
.coverage-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.preview-heading {
  margin-bottom: 0.8rem;
  color: var(--navy-deep);
  font-weight: 750;
}

.coverage-bar,
.mini-timeline {
  display: flex;
  overflow: hidden;
  height: 22px;
  border: 1px solid #8faab4;
  border-radius: 5px;
  background: #f9fbfb;
}

.coverage-bar span,
.mini-timeline .run {
  background: var(--teal);
}

.coverage-bar i,
.mini-timeline .gap {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(239, 127, 38, 0.9) 0 2px,
      #fff8f3 2px 6px
    );
}

.coverage-labels {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.mini-timeline {
  height: 54px;
  margin-top: 2rem;
  border-radius: 3px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 10px 35px rgba(16, 47, 72, 0.06);
}

.trust-strip div {
  display: grid;
  gap: 0.2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.92);
}

.trust-strip strong {
  color: var(--navy-deep);
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.download-grid,
.hash-grid,
.fact-grid,
.parameter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.download-card,
.parameter-card,
.legal-card,
.hash-card,
.fact-grid article {
  position: relative;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(16, 47, 72, 0.05);
}

.feature-card.featured {
  border-top: 4px solid var(--teal);
}

.feature-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 9px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-card p,
.download-card p,
.parameter-card p {
  color: var(--muted);
}

.download-section {
  margin-top: clamp(3rem, 8vw, 7rem);
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: 28px;
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}

.download-section h2,
.download-section > .section-heading p,
.download-section > .section-heading .eyebrow {
  color: white;
}

.download-section > .section-heading p:last-child {
  color: #c0d5de;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f9fcfc;
}

.download-card.recommended {
  border-color: #78d5c7;
  box-shadow: 0 14px 34px rgba(4, 18, 29, 0.25);
}

.recommendation {
  position: absolute;
  top: -12px;
  right: 14px;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  color: var(--navy-deep);
  background: #8ce0d1;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.download-card dl,
.parameter-card dl {
  width: 100%;
  margin: auto 0 1rem;
}

.download-card dl div,
.parameter-card dl div {
  display: grid;
  grid-template-columns: minmax(80px, 0.38fr) minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.download-card .button {
  width: 100%;
  margin-top: auto;
}

details {
  width: 100%;
  margin-top: 1rem;
}

summary {
  color: var(--teal-dark);
  font-weight: 700;
  cursor: pointer;
}

details code {
  display: block;
  margin-top: 0.7rem;
  padding: 0.7rem;
  border-radius: 8px;
  background: #e9f1f2;
  font-size: 0.72rem;
}

.download-note {
  margin: 1.2rem 0 0;
  color: #c0d5de;
}

.download-note a {
  color: #8ce0d1;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.callout,
.notice {
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  background: var(--orange-soft);
}

.callout strong {
  color: var(--navy-deep);
  font-size: 1.1rem;
}

.page-intro {
  padding: clamp(1rem, 3vw, 2.2rem) 0 2rem;
}

.page-intro h1 {
  max-width: 21ch;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.steps {
  display: grid;
  gap: 0;
  max-width: 980px;
}

.step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.step > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--teal);
  font-weight: 800;
}

.step h2 {
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.support-panel,
.release-highlights {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.parameter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.parameter-card h2 code {
  color: var(--teal-dark);
  font-size: 1.12rem;
}

.code-example {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 10px;
  color: #d8eff0;
  background: var(--navy-deep);
}

.code-example span {
  color: #8ce0d1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 980px;
}

.faq-item {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.faq-item summary {
  padding: 1rem 1.2rem;
  color: var(--navy-deep);
  font-size: 1.02rem;
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

.hash-grid {
  grid-template-columns: 1fr;
  max-width: 1000px;
}

.hash-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 90px minmax(360px, 1.3fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: 10px;
}

.hash-card span {
  color: var(--muted);
}

.hash-card code {
  font-size: 0.76rem;
}

.version-list {
  display: grid;
  gap: 0.8rem;
  max-width: 980px;
}

.version-entry {
  display: grid;
  grid-template-columns: 140px 210px minmax(0, 1fr);
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
  background: white;
}

.version-entry span {
  color: var(--muted);
  font-size: 0.88rem;
}

.fact-grid {
  margin-top: 1rem;
}

.fact-grid article {
  display: grid;
  gap: 0.25rem;
}

.fact-grid span,
.fact-grid small {
  color: var(--muted);
}

.fact-grid strong {
  color: var(--navy-deep);
  font-size: 1.25rem;
}

.legal-page {
  padding-bottom: 0.5rem;
}

.legal-card {
  max-width: 950px;
  margin-top: 1rem;
}

.legal-card h2 {
  font-size: 1.25rem;
}

.legal-card p,
.legal-card li {
  color: #425f75;
}

address {
  font-style: normal;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem clamp(1rem, 3vw, 2.5rem);
  color: #c7dce4;
  background: var(--navy-deep);
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
}

.site-footer a {
  color: #8ce0d1;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero h1 {
    max-width: 20ch;
  }

  .product-preview {
    min-width: 0;
    width: 100%;
    max-width: 760px;
    transform: none;
  }

  .feature-grid,
  .download-grid,
  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hash-card {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 68px;
  }

  .brand small,
  .local-badge {
    display: none;
  }

  .site-shell,
  body.nav-collapsed .site-shell {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .side-navigation {
    top: 68px;
    min-height: calc(100vh - 68px);
    padding-inline: 0.5rem;
  }

  .side-navigation .nav-label {
    display: none;
  }

  .nav-toggle,
  .side-navigation a {
    justify-content: center;
    padding-inline: 0.3rem;
  }

  main {
    overflow-x: clip;
    padding: 1.5rem 1rem 3rem;
  }

  h1,
  h2,
  h3 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .trust-strip,
  .feature-grid,
  .download-grid,
  .parameter-grid,
  .fact-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .download-section {
    margin-inline: -0.5rem;
    padding: 2rem 1rem;
    border-radius: 20px;
  }

  .support-panel,
  .release-highlights {
    align-items: flex-start;
    flex-direction: column;
  }

  .version-entry {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .site-footer p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .header-actions .button {
    display: none;
  }

  .preview-tabs span:last-child {
    display: none;
  }

  .preview-kpis {
    grid-template-columns: 1fr;
  }

  .preview-kpis div {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .preview-kpis small {
    font-size: 0.72rem;
  }

  .button-row .button {
    width: 100%;
  }
}

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

@media print {
  .site-header,
  .side-navigation,
  .site-footer,
  .button {
    display: none !important;
  }

  .site-shell {
    display: block;
  }

  main {
    width: 100%;
    padding: 0;
  }

  body {
    background: white;
  }
}
