:root {
  color-scheme: dark;
  --bg: #101114;
  --panel: #181b20;
  --panel-strong: #20242b;
  --text: #f5f6f8;
  --muted: #aeb6c2;
  --line: #303640;
  --accent: #14d6b0;
  --accent-dark: #0fa98b;
  --warm: #ffcf66;
}

* {
  box-sizing: border-box;
}

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

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand,
nav,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #231a35;
  font-weight: 900;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 56px;
  max-width: 1160px;
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 52px 24px 72px;
}

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

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

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

h2 {
  margin-bottom: 12px;
  font-size: 2.1rem;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

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

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
}

.primary {
  background: var(--accent);
  color: #061210;
}

.primary:hover {
  background: #2ee8c4;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.app-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #242832;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--warm);
}

.window-bar span:nth-child(2) {
  background: var(--accent);
}

.window-bar span:nth-child(3) {
  background: #f06b6b;
}

.window-bar strong {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.preview-body {
  padding: 20px;
}

.field,
.mode,
.log {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-strong);
}

.field {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
}

.field span,
.mode small,
.log span {
  color: var(--muted);
}

.mode {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 14px;
}

.mode.selected {
  border-color: var(--accent);
}

.log {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
}

.band,
.download {
  max-width: 1160px;
  margin: 0 auto;
  padding: 74px 24px;
}

.muted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

article {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

article p,
article li,
.download p,
.section-head p {
  color: var(--muted);
}

ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.unlock {
  border-top: 1px solid var(--line);
}

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

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(20, 214, 176, 0.45);
  border-radius: 999px;
  background: #102a27;
  color: var(--accent);
  font-weight: 900;
}

.step img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f3f4f6;
}

.step h3 {
  margin-bottom: 0;
}

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

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download p {
  max-width: 720px;
}

footer {
  display: flex;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .topbar,
  .download,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .app-preview {
    min-width: 0;
  }

  .two,
  .three,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .step img {
    height: auto;
    max-height: 420px;
  }
}
