@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("/fonts/AlegreyaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("/fonts/AlegreyaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0c0d10;
  --panel: #15171c;
  --line: #2a2d35;
  --text: #e9e4d8;
  --muted: #a39d90;
  --ember: #f2a93b;
  --ember-dark: #c97c1c;
  --teal: #37b3a3;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Alegreya Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
h1, h2, h3, .button-main, .kicker {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
a { color: var(--ember); }
code { font-size: 0.8em; word-break: break-all; color: var(--muted); }
.small { font-size: 0.9rem; color: var(--muted); }

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 16, 0.92) 0%, rgba(12, 13, 16, 0.6) 40%, rgba(12, 13, 16, 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 13, 16, 0) 35%);
}
.hero-text {
  position: relative;
  max-width: 620px;
  padding: 0 16px 56px 6vw;
}
.kicker {
  margin: 0;
  color: var(--teal);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.14em;
}
h1 {
  margin: 0.15em 0 0.25em;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.lead { margin: 0 0 1.6em; font-size: 1.15rem; color: #d8d1c2; }

.button {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ember), var(--ember-dark));
  color: #1b1206;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(242, 169, 59, 0.28);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(242, 169, 59, 0.4); }
.button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.button-main { font-size: 1.5rem; line-height: 1.1; }
.button-meta { font-size: 0.85rem; opacity: 0.85; }
.download .small { margin: 0.7em 0 0; }

main { max-width: 1100px; margin: 0 auto; padding: 0 16px 48px; }
section { margin-top: 56px; }
h2 { font-size: 2rem; margin: 0 0 0.6em; }

.steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 64px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #04110f;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.features article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.features img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.features h3 { margin: 14px 18px 4px; font-size: 1.45rem; }
.features p { margin: 0 18px 18px; color: #cfc8b9; }

.notes ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.notes li::marker { color: var(--ember); }

.specs dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  margin: 0;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

footer {
  border-top: 1px solid var(--line);
  padding: 24px 16px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { min-height: 92vh; }
  .hero-art { object-position: 70% center; }
  .hero-shade {
    background: linear-gradient(0deg, var(--bg) 0%, rgba(12, 13, 16, 0.85) 45%, rgba(12, 13, 16, 0.2) 100%);
  }
  .hero-text { padding: 0 16px 40px; }
  .button { width: 100%; }
  .specs dl { grid-template-columns: 1fr; }
  .specs dt { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
