:root {
  color-scheme: dark;
  --bg: #07110f;
  --surface: #0d1a17;
  --surface-2: #13231e;
  --line: rgba(213, 233, 222, 0.14);
  --text: #f4f7f3;
  --muted: #a8b6ae;
  --gold: #e5b94d;
  --gold-strong: #ffc95e;
  --cyan: #66d9c1;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

button, a { -webkit-tap-highlight-color: transparent; }

.hero {
  position: relative;
  min-height: min(760px, 88vh);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border-bottom: 1px solid var(--line);
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 12, 10, 0.94) 0%, rgba(4, 12, 10, 0.76) 42%, rgba(4, 12, 10, 0.2) 78%),
    linear-gradient(0deg, #07110f 0%, transparent 34%);
}

.nav, .hero-content, main, footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: relative;
  z-index: 1;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 201, 94, 0.58);
  background: rgba(7, 17, 15, 0.72);
  color: var(--gold-strong);
  font-family: Georgia, serif;
  font-size: 21px;
}

.server-copy {
  min-height: 38px;
  border: 1px solid var(--line);
  background: rgba(7, 17, 15, 0.72);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border-radius: var(--radius);
  cursor: pointer;
}

.server-copy svg { width: 16px; }

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 64px 0 110px;
}

.eyebrow {
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
}

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

h1 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 9vw, 112px);
  font-weight: 500;
  line-height: 0.9;
}

.lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #d8e1dc;
  font-size: clamp(18px, 2vw, 22px);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.download {
  min-height: 56px;
  display: inline-grid;
  grid-template-columns: 22px auto;
  align-items: center;
  column-gap: 11px;
  padding: 9px 18px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #171206;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.download svg { grid-row: 1 / 3; width: 22px; }
.download small { font-size: 11px; font-weight: 650; opacity: 0.7; }

.download:hover { background: var(--gold-strong); }

.facts {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--muted);
  font-size: 13px;
}

.facts strong { color: var(--text); margin-right: 5px; }

main { padding: 88px 0; }

.install, .details { padding: 0 0 88px; }

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

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.08;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps li {
  min-height: 190px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  align-content: center;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.steps li:last-child { border-right: 0; }

.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 185, 77, 0.48);
  color: var(--gold-strong);
  font-weight: 800;
}

.steps h3 { margin-bottom: 7px; font-size: 17px; }
.steps p, .details p { color: var(--muted); margin-bottom: 0; }
code { font-family: "Cascadia Code", Consolas, monospace; }

.details {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 80px;
  align-items: start;
}

.details > div > p:last-child { max-width: 650px; }

dl { margin: 0; border-top: 1px solid var(--line); }

dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 700; }

footer {
  min-height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer span:first-child { color: var(--text); font-weight: 800; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  transform: translate(-50%, 20px);
  padding: 9px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .hero { min-height: 720px; }
  .hero-image { object-position: 62% center; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 12, 10, 0.91), rgba(4, 12, 10, 0.45)),
      linear-gradient(0deg, #07110f 0%, transparent 45%);
  }
  .nav, .hero-content, main, footer { width: min(100% - 28px, 1180px); }
  .server-copy span { display: none; }
  .server-copy { width: 40px; padding: 0; justify-content: center; }
  .hero-content { padding: 60px 0 90px; }
  h1 { font-size: clamp(56px, 20vw, 78px); }
  .lead { font-size: 17px; }
  main { padding: 62px 0; }
  .install, .details { padding-bottom: 62px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 10px; }
  .steps li:last-child { border-bottom: 0; }
  .details { grid-template-columns: 1fr; gap: 36px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
