:root {
  --bg: #080c10;
  --bg-2: #10151b;
  --panel: #151b22;
  --panel-2: #0f1419;
  --text: #f4f2ea;
  --muted: #b3bac3;
  --subtle: #78828c;
  --rule: rgba(255, 255, 255, 0.12);
  --rule-soft: rgba(255, 255, 255, 0.07);
  --green: #4ade80;
  --gold: #f5c518;
  --red: #e44b55;
  --blue: #6ea8fe;
  --shadow: rgba(0, 0, 0, 0.35);
  --max: 1120px;
  color-scheme: dark;
}

* {
  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;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(74, 222, 128, 0.08), transparent 26%, transparent 72%, rgba(245, 197, 24, 0.08)),
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 45%);
  z-index: -2;
}

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

a:hover {
  color: var(--green);
}

.site-header,
.site-footer,
main > .section,
.feature-grid,
.signal-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--rule-soft);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}

.brand-mark {
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand-text {
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta,
.button-primary {
  background: var(--green);
  color: #071009;
  border-color: var(--green);
}

.header-cta:hover,
.button-primary:hover {
  color: #071009;
  filter: brightness(1.06);
}

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

.hero {
  width: min(1440px, 100%);
  min-height: calc(100svh - 150px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 76px max(28px, calc((100vw - var(--max)) / 2)) 86px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.97) 0%, rgba(8, 12, 16, 0.9) 42%, rgba(8, 12, 16, 0.48) 100%),
    linear-gradient(180deg, rgba(8, 12, 16, 0) 74%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(120deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 52px),
    linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.09) 68%, rgba(245, 197, 24, 0.08) 100%);
  opacity: 0.58;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--gold) 33% 46%, var(--green) 46% 68%, var(--red) 68% 74%, var(--green) 74% 100%);
}

.hero-placeholder {
  position: absolute;
  top: 66px;
  right: max(26px, calc((100vw - var(--max)) / 2));
  width: min(760px, 55vw);
  z-index: 0;
}

.placeholder-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px dashed rgba(255,255,255,0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)),
    rgba(15, 20, 25, 0.86);
  box-shadow: 0 36px 90px var(--shadow);
}

.placeholder-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  pointer-events: none;
}

.placeholder-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  border-bottom: 1px solid var(--rule-soft);
}

.placeholder-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
}

.placeholder-bar span:nth-child(2) {
  background: var(--gold);
}

.placeholder-bar span:nth-child(3) {
  background: var(--red);
}

.placeholder-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.45fr 0.95fr;
  gap: 20px;
  height: calc(100% - 48px);
  padding: 20px;
}

.placeholder-nav,
.placeholder-main,
.placeholder-stack {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(8, 12, 16, 0.46);
}

.placeholder-nav {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 18px;
}

.placeholder-nav span,
.placeholder-stack span,
.placeholder-row,
.placeholder-title {
  display: block;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
}

.placeholder-nav span {
  height: 34px;
}

.placeholder-main {
  padding: 26px;
}

.placeholder-title {
  width: 58%;
  height: 30px;
  margin-bottom: 30px;
  background: rgba(255,255,255,0.2);
}

.placeholder-row {
  height: 38px;
  margin-bottom: 13px;
}

.placeholder-row.is-leader {
  background: linear-gradient(90deg, rgba(245, 197, 24, 0.72), rgba(255,255,255,0.13));
}

.placeholder-row.is-short {
  width: 72%;
}

.placeholder-stack {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
}

.placeholder-stack span {
  height: 62px;
  border-left: 5px solid var(--green);
}

.placeholder-stack span:nth-child(2) {
  border-left-color: var(--gold);
}

.placeholder-stack span:nth-child(3) {
  border-left-color: var(--blue);
}

.placeholder-label {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(8, 12, 16, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content {
  max-width: 690px;
  position: relative;
  z-index: 2;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: 112px;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 56px;
  line-height: 0.98;
  letter-spacing: 0;
}

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

p {
  color: var(--muted);
}

.hero-copy {
  max-width: 660px;
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 16px;
}

.hero-note {
  max-width: 620px;
  color: var(--subtle);
  font-size: 13px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}

.signal-strip > div {
  background: var(--panel-2);
  padding: 18px;
}

.signal-label {
  display: block;
  margin-bottom: 4px;
  color: var(--subtle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.signal-strip strong {
  font-size: 16px;
}

.section {
  padding: 82px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 72px;
}

.intro > p,
.split-band p {
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 8px;
  margin-bottom: 16px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}

.feature-grid article {
  min-height: 270px;
  padding: 24px;
  background: var(--panel);
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--gold);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
}

.feature-grid p {
  color: var(--muted);
  font-size: 14px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 72px;
}

.text-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--green);
  font-weight: 800;
}

.checklist ul,
.content-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.checklist li,
.content-list li {
  padding: 16px 0;
  border-top: 1px solid var(--rule-soft);
  color: var(--muted);
}

.content-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.content-page h1 {
  font-size: 78px;
}

.content-page h2 {
  margin-top: 52px;
  font-size: 42px;
}

.content-page p,
.content-page li {
  max-width: 780px;
}

.notice {
  margin: 34px 0;
  padding: 22px;
  border: 1px solid rgba(245, 197, 24, 0.38);
  border-left: 4px solid var(--gold);
  background: rgba(245, 197, 24, 0.08);
}

.notice p {
  margin: 0;
}

.steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-soft);
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  color: var(--green);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
}

.site-footer {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule-soft);
  color: var(--subtle);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 16px;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
    display: block;
    padding-top: 56px;
  }

  .hero-placeholder {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-bottom: 30px;
  }

  .hero-content {
    padding-top: 0;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .content-page h1 {
    font-size: 58px;
  }

  .content-page h2 {
    font-size: 36px;
  }

  .signal-strip,
  .intro,
  .split-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .feature-kicker {
    margin-bottom: 22px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  main > .section,
  .feature-grid,
  .signal-strip,
  .content-page {
    width: min(100% - 28px, var(--max));
  }

  .header-cta {
    padding: 0 12px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .placeholder-layout {
    grid-template-columns: 0.78fr 1.4fr;
    gap: 12px;
    padding: 14px;
  }

  .placeholder-stack {
    display: none;
  }

  .placeholder-main {
    padding: 18px;
  }

  .placeholder-label {
    left: 12px;
    right: auto;
    bottom: 12px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .content-page h1 {
    font-size: 44px;
  }

  .content-page h2 {
    font-size: 30px;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
  }
}
