:root {
  --bg0: #10141c;
  --bg1: #171c26;
  --ink: #f2efe8;
  --muted: #9a958c;
  --line: #2c3340;
  --accent: #f0a202;
  --accent-ink: #1a1200;
  --signal: #e4572e;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg0);
  line-height: 1.55;
  font-size: 1.02rem;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(240, 162, 2, 0.07) 0%, transparent 42%),
    linear-gradient(180deg, #151b26 0%, var(--bg0) 38%, #0b0e14 100%);
}
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 46px,
      rgba(242, 239, 232, 0.015) 46px,
      rgba(242, 239, 232, 0.015) 47px
    );
  pointer-events: none;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 5vw;
  border-bottom: 1px solid var(--line);
  background: var(--bg0);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.45rem;
  text-transform: uppercase;
  line-height: 1;
}
nav {
  display: flex;
  gap: 1.5rem;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  border-radius: 2px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--accent);
}
.btn:hover { background: #ffb41a; border-color: #ffb41a; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.85rem; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover {
  border-color: var(--ink);
}

.hero {
  position: relative;
  padding: 10vh 5vw 7vh;
  max-width: none;
  min-height: min(72vh, 640px);
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(280px, 1fr);
  gap: 1rem 2rem;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}
.brand-mark {
  margin: 0 0 0.9rem;
  color: var(--signal);
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 13vw, 7.2rem);
  line-height: 0.82;
  letter-spacing: -0.01em;
  font-weight: 800;
  text-transform: uppercase;
  max-width: 10ch;
}
.lead {
  margin: 1.4rem 0 1.6rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}
.plane-stage {
  position: relative;
  justify-self: end;
  width: min(100%, 620px);
  height: clamp(280px, 48vh, 480px);
  margin-right: 0;
  pointer-events: none;
}
.plane-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.plane-label {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: right;
  line-height: 1.15;
}
.plane-label .plane-sub {
  display: block;
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0.15rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.meta {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 40rem;
}

.section {
  padding: 4.2rem 5vw;
  max-width: 1100px;
}
.section.alt {
  background: var(--bg1);
  border-block: 1px solid var(--line);
  max-width: none;
}
.section.alt > * {
  max-width: 1100px;
}
.section h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 0.95;
}
.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 36rem;
}

.steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.steps li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.steps .n {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.steps p { margin: 0; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.grid article {
  padding: 1.2rem 1.1rem 1.2rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-right: 1.2rem;
  padding-left: 1.1rem;
}
.grid article:first-child { padding-left: 0; }
.grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 800;
}
.grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }

details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
  margin: 0;
  background: transparent;
}
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1;
}
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 0.7rem 0 0.2rem; }
code {
  font-family: "IBM Plex Sans", ui-monospace, monospace;
  font-size: 0.92em;
  color: var(--accent);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5vw 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer strong {
  display: block;
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.15rem;
  font-weight: 800;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .plane-stage {
    justify-self: stretch;
    width: 100%;
    height: 240px;
    order: -1;
  }
  .plane-label {
    right: auto;
    left: 0;
    text-align: left;
  }
  .grid article:first-child { padding-left: 1.1rem; }
}
@media (max-width: 720px) {
  nav { display: none; }
  .hero { padding-top: 7vh; }
}
