:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #17191c;
  --muted: #5d6672;
  --line: #d9e0e7;
  --mint: #008f6a;
  --mint-dark: #006b50;
  --blue: #2f6fed;
  --coral: #e85d5b;
  --yellow: #f2c94c;
  --charcoal: #252a31;
  --shadow: 0 18px 50px rgba(23, 25, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

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

h1 {
  margin-bottom: 1.25rem;
  max-width: 100%;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  text-decoration: none;
  transition: transform 160ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
  padding: 0.9rem 4rem;
  border-bottom: 1px solid rgba(217, 224, 231, 0.85);
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint), var(--blue));
  color: #fff;
}

.brand-mark svg,
.button svg,
.feature-card > svg,
.card-icon svg,
.nav-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2.2;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 0.85rem;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.section {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.section.tight {
  padding-top: 1.5rem;
  padding-bottom: 3.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
}

.hero-copy {
  max-width: 680px;
}

.lead {
  max-width: 760px;
  color: #3f4752;
  font-size: 1.22rem;
  line-height: 1.65;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--mint-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 143, 106, 0.24);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--mint-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: #fff;
  color: var(--charcoal);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  border: 1px solid rgba(217, 224, 231, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.1rem;
}

.stat-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.stat strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.3rem;
  line-height: 1.25;
}

.stat .package-name {
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

.content-flow > * + * {
  margin-top: 1rem;
}

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

.feature-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.25rem;
}

.feature-card > svg {
  width: 1.55rem;
  height: 1.55rem;
  margin-bottom: 1rem;
  color: var(--coral);
}

.feature-card h2,
.feature-card h3 {
  font-size: 1.12rem;
}

.feature-card p {
  margin-bottom: 0;
}

.install-band,
.source-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
  padding: 2rem;
}

.install-band p,
.source-band p,
.install-band .eyebrow,
.source-band .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.install-band h2,
.source-band h2 {
  margin-bottom: 0.6rem;
}

.page-hero {
  padding-bottom: 2.5rem;
}

.page-hero h1 {
  max-width: 900px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.download-card {
  display: grid;
  gap: 1.35rem;
  align-content: space-between;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.4rem;
}

.primary-download {
  border-color: rgba(0, 143, 106, 0.35);
  box-shadow: 0 16px 35px rgba(0, 143, 106, 0.12);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 8px;
  background: #edf8f4;
  color: var(--mint);
}

.meta-list {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}

.meta-list dt {
  color: var(--muted);
  font-weight: 700;
}

.meta-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.timeline {
  counter-reset: changelog;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.35rem 1.35rem 1.35rem 4rem;
}

.timeline li::before {
  counter-increment: changelog;
  content: counter(changelog);
  position: absolute;
  left: 1.25rem;
  top: 1.35rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}

.timeline time {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.timeline ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.policy-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.policy-summary {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.25rem;
}

.policy-summary h2 {
  font-size: 1.15rem;
}

.policy-summary ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.policy-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.5rem;
}

.policy-content h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content a {
  color: var(--blue);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  align-items: start;
}

.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.72rem 0.85rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47, 111, 237, 0.18);
  border-color: var(--blue);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 3rem 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) 0.7fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-grid nav,
.footer-grid div:last-child {
  display: grid;
  gap: 0.55rem;
}

.footer-grid a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus {
  color: var(--ink);
}

.footer-title {
  font-weight: 900;
}

.fine-print {
  margin: 2rem 0 0;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0.9rem 1rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero,
  .split,
  .policy-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

  .policy-summary {
    position: static;
  }

  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .nav-toggle {
    display: grid;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    min-width: 0;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 0.5rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 0.8rem;
  }

  .section {
    width: min(100% - 1rem, 1160px);
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-actions,
  .contact-actions,
  .install-band,
  .source-band {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    white-space: normal;
  }

  .stats-grid,
  .feature-grid,
  .faq-grid,
  .download-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .meta-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .timeline li {
    padding: 1.2rem;
  }

  .timeline li::before {
    position: static;
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 0.92rem;
  }

  h1 {
    font-size: 2.05rem;
  }

  .contact-panel,
  .contact-form,
  .policy-content,
  .download-card,
  .feature-card,
  .stat {
    padding: 1rem;
  }
}
