:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #111113;
  --panel-2: #191a1d;
  --text: #f4f4f5;
  --muted: #a8a8ad;
  --line: #2a2b30;
  --soft: rgba(255, 255, 255, 0.08);
  --accent: #d9e2e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.62) 42%, rgba(5, 5, 5, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - 1120px) / 2));
  padding: 96px 0 84px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 10vw, 112px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 520px;
  color: rgba(244, 244, 245, 0.82);
  font-size: 20px;
}

.hero-actions,
.download,
.support,
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 700;
  white-space: nowrap;
}

.button.primary {
  background: var(--text);
  color: #050505;
  border-color: var(--text);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.intro p,
.download p,
.support p {
  max-width: 650px;
  color: var(--muted);
}

.shortcut {
  display: flex;
  gap: 8px;
}

kbd {
  display: grid;
  place-items: center;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 28px;
}

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

.feature-grid article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid p,
.qa-list p,
.timeline span {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  font-size: 20px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 36px;
}

details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 10px 0 0;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 130px 110px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

footer {
  width: min(1120px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 720px;
    align-items: flex-end;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.92) 58%, #050505);
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-actions,
  .download,
  .support,
  .intro,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
