:root {
  --bg: #111315;
  --panel: #1b2024;
  --panel-soft: #242a2f;
  --text: #f5f1e8;
  --muted: #b5b0a5;
  --accent: #d6a23f;
  --accent-strong: #f2bf54;
  --green: #6e9f64;
  --blue: #5b7f9f;
  --line: rgba(255,255,255,.12);
  --shadow: 0 20px 60px rgba(0,0,0,.36);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(17,19,21,.88);
  backdrop-filter: blur(16px);
}

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

.brand-mark,
.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  border: 1px solid rgba(214,162,63,.55);
  color: var(--accent-strong);
  background: rgba(214,162,63,.1);
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 15px;
}

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

.hero {
  position: relative;
  width: min(1296px, 100%);
  margin: 0 auto;
  min-height: min(760px, calc(100vh - 42px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17,19,21,.98), rgba(17,19,21,.82) 20%, rgba(17,19,21,.18) 52%, rgba(17,19,21,.72) 82%, rgba(17,19,21,.96)),
    linear-gradient(0deg, rgba(17,19,21,.86), transparent 34%);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 86px);
  padding: 92px 0 120px;
}

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

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .95;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 19px;
}

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #15120c;
  background: var(--accent-strong);
  box-shadow: 0 16px 36px rgba(214,162,63,.28);
}

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

.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}

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

.build-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.build-meta span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: var(--text);
  font-size: 14px;
}

.section {
  width: min(1296px, 100%);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.section-head {
  max-width: 900px;
  margin-bottom: 34px;
}

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

.steps li,
.feature-grid article,
.build-card,
.requirements,
figure,
.admin-form {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.steps li {
  display: flex;
  gap: 18px;
  padding: 24px;
  min-height: 164px;
}

.step-index {
  color: var(--accent-strong);
  font-size: 24px;
  font-weight: 900;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 28px;
  background: #171b1f;
}

.text-column {
  max-width: 760px;
}

.requirements {
  padding: 28px;
  align-self: start;
}

dl {
  margin: 22px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--accent-strong);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
}

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

.feature-grid article {
  padding: 24px;
}

.feature-icon {
  width: fit-content;
  margin-bottom: 18px;
  border-color: rgba(110,159,100,.55);
  color: #b8e09d;
  background: rgba(110,159,100,.12);
}

.catalog {
  margin-top: 54px;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.catalog-head p {
  max-width: 420px;
  margin: 0;
}

.catalog-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.catalog-tools label {
  display: grid;
  gap: 8px;
  min-width: 220px;
  color: var(--muted);
  font-weight: 800;
}

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

.build-card {
  overflow: hidden;
}

.build-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0d0f11;
}

.build-card-body {
  padding: 20px;
}

.build-card-body p {
  margin: 8px 0 14px;
}

.build-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.build-card-category {
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 8px;
  border: 1px solid rgba(242,191,84,.35);
  color: var(--accent-strong);
  background: rgba(242,191,84,.08);
  font-size: 12px;
  font-weight: 800;
}

.build-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.build-card-actions .button {
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 28px;
  align-items: center;
  background: #20252a;
}

.split-band.alt {
  background: #15191c;
}

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

.compact-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

figure {
  margin: 0;
  overflow: hidden;
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption {
  padding: 14px 16px;
  color: var(--muted);
}

.admin {
  background: #1a1f23;
}

.admin-page {
  min-height: calc(100vh - 129px);
}

.admin-page .section-head {
  max-width: 760px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.admin-form .wide,
.admin-actions {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--text);
  background: #101315;
  font: inherit;
}

select {
  appearance: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(242,191,84,.45);
  border-color: var(--accent-strong);
}

.form-status {
  min-height: 24px;
  margin: 4px 0 0;
  font-weight: 800;
}

.form-status[data-type="success"] {
  color: #b8e09d;
}

.form-status[data-type="error"] {
  color: #ff8f7b;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.footer {
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #0d0f11;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .steps,
  .feature-grid,
  .build-list,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(17,19,21,.98), rgba(17,19,21,.7) 56%, rgba(17,19,21,.18)),
      linear-gradient(90deg, rgba(17,19,21,.88), transparent);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    align-self: end;
  }

  .steps,
  .feature-grid,
  .build-list,
  .screenshot-grid,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .catalog-head {
    display: block;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
