:root {
  color-scheme: light;
  --ink: #172022;
  --muted: #5f696d;
  --line: #d9e0df;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --mint: #42b883;
  --blue: #276ef1;
  --amber: #f1a533;
  --rose: #d95757;
  --shadow: 0 18px 50px rgba(23, 32, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 32, 34, 0.08);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(23, 32, 34, 0.07);
}

.button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 20px rgba(23, 32, 34, 0.18);
}

.button.secondary {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
  box-shadow: none;
}

.button.disabled {
  border-color: var(--line);
  background: #eef1ee;
  color: #7c8588;
  cursor: not-allowed;
  box-shadow: none;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.25rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.18rem;
}

.actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  min-height: 520px;
  display: grid;
  align-items: center;
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 34, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.window-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rose);
}

.traffic span:nth-child(2) {
  background: var(--amber);
}

.traffic span:nth-child(3) {
  background: var(--mint);
}

.window-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 438px;
}

.sidebar {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #f0f4f1;
}

.side-item {
  margin-bottom: 8px;
  border-radius: 8px;
  padding: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.side-item.active {
  background: var(--ink);
  color: white;
}

.workspace {
  padding: 22px;
}

.workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.status-pill {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(66, 184, 131, 0.16);
  color: #1e7c57;
  font-size: 0.78rem;
  font-weight: 800;
}

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

.file-tile {
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfb;
}

.file-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--blue);
}

.file-tile:nth-child(2) .file-icon {
  background: var(--mint);
}

.file-tile:nth-child(3) .file-icon {
  background: var(--amber);
}

.file-tile:nth-child(4) .file-icon {
  background: var(--rose);
}

.file-name {
  font-weight: 800;
}

.file-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  border-top: 1px solid rgba(23, 32, 34, 0.1);
  padding: 74px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.cards,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.card-marker {
  width: 38px;
  height: 8px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--blue);
}

.card:nth-child(2) .card-marker,
.download-card:nth-child(2) .platform-icon {
  background: var(--mint);
}

.card:nth-child(3) .card-marker,
.download-card:nth-child(3) .platform-icon {
  background: var(--amber);
}

.card p,
.download-card p,
.section-heading p {
  color: var(--muted);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.logo-panel {
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
}

.logo-panel img {
  width: min(210px, 54vw);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.24));
}

.download-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 50px;
}

.download-hero h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.release-note {
  margin-top: 28px;
  border-left: 5px solid var(--blue);
  padding: 18px 20px;
  background: var(--panel);
  color: var(--muted);
}

.platform-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--blue);
}

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

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.spec {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.spec strong {
  display: block;
  margin-bottom: 4px;
}

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

.site-footer {
  border-top: 1px solid rgba(23, 32, 34, 0.1);
  padding: 30px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 820px) {
  .nav {
    height: auto;
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .split-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 0;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .cards,
  .download-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .file-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}
