:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0d1a2b;
  --panel-soft: rgba(255, 255, 255, 0.05);
  --border: rgba(226, 232, 240, 0.16);
  --border-strong: rgba(226, 232, 240, 0.28);
  --text: #f8fafc;
  --muted: #a8b3c4;
  --gold: #f4b735;
  --gold-strong: #ffcc55;
  --green: #45c0b0;
  --red: #e56b5f;
  --blue: #6aa9ff;
  --container: min(1120px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(69, 192, 176, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(244, 183, 53, 0.1), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); }

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 { margin-bottom: 12px; font-size: 1.15rem; line-height: 1.25; }

.site-header, .site-footer, .hero, .section, .visual-section {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 0;
  background: rgba(7, 17, 31, 0.92);
  backdrop-filter: blur(16px);
}

.brand, .nav-links, .footer-links, .button { display: inline-flex; align-items: center; }
.brand { gap: 10px; color: var(--text); font-weight: 800; }

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #111827;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links, .footer-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.button {
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.button-primary {
  background: var(--gold);
  color: #111827;
  box-shadow: 0 14px 32px rgba(244, 183, 53, 0.18);
}

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

.button-secondary {
  border-color: var(--border-strong);
  background: var(--panel-soft);
  color: var(--text);
}

.button-secondary:hover { border-color: rgba(244, 183, 53, 0.48); }
.hero, .split { display: grid; align-items: center; }

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 56px;
  min-height: calc(100vh - 72px);
  padding: 72px 0 96px;
}

.hero-copy { max-width: 760px; }

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.supporting-note { max-width: 560px; margin-bottom: 0; font-size: 0.92rem; }

.hero-media, .terminal-panel, .visual-section {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.hero-media { margin: 0; }
.hero-media img { width: 100%; min-height: 420px; object-fit: cover; }
.section { padding: 96px 0; }

.section-muted {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  border-block: 1px solid var(--border);
  background: rgba(13, 26, 43, 0.72);
}

.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading p, .visual-copy p:last-child, .cta p { font-size: 1.08rem; }

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

.card, .feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-soft);
}

.card:nth-child(1) { border-top-color: var(--red); }
.card:nth-child(2) { border-top-color: var(--gold); }
.card:nth-child(3) { border-top-color: var(--blue); }
.card p, .feature p, .visual-copy p:last-child { margin-bottom: 0; }

.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 64px;
}

.steps {
  display: grid;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 48px;
  padding-left: 64px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(244, 183, 53, 0.36);
  border-radius: 50%;
  background: rgba(244, 183, 53, 0.12);
  color: var(--gold);
  font-weight: 900;
}

.steps strong, .steps span { display: block; }
.steps strong { margin-bottom: 4px; color: var(--text); font-size: 1.05rem; }
.steps span { color: var(--muted); }
.terminal-panel { background: rgba(2, 6, 23, 0.72); }

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

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

.terminal-bar span:nth-child(2) { background: var(--gold); }
.terminal-bar span:nth-child(3) { background: var(--green); }
.conversation { display: grid; gap: 22px; padding: 28px; }
.question, .answer { margin: 0; padding: 18px; border-radius: 8px; }
.question { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.answer { border: 1px solid rgba(69, 192, 176, 0.28); background: rgba(69, 192, 176, 0.08); }
.answer p { margin-bottom: 14px; color: var(--text); }
.answer ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--muted); }

.visual-section {
  position: relative;
  display: grid;
  min-height: 520px;
  margin-top: 96px;
  margin-bottom: 96px;
}

.visual-section img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.48;
}

.visual-copy {
  position: absolute;
  inset: auto 0 0;
  max-width: 760px;
  padding: 48px;
  background: linear-gradient(0deg, rgba(7, 17, 31, 0.94), transparent);
}

.cta { max-width: 760px; text-align: center; }
.cta p { margin-bottom: 28px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
}

.site-footer p { margin: 0; font-size: 0.92rem; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; }
  .hero, .split, .three-column, .feature-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-media img { min-height: 320px; }
  .visual-section, .visual-section img { min-height: 460px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  :root { --container: min(100vw - 28px, 1120px); }
  .site-header .button, .button, .hero-actions { width: 100%; }
  .nav-links, .footer-links { flex-wrap: wrap; gap: 16px; }
  .section, .section-muted { padding-top: 68px; padding-bottom: 68px; }
  .card, .feature, .conversation { padding: 20px; }
  .steps li { padding-left: 54px; }
  .steps li::before { width: 36px; height: 36px; }
  .visual-section { margin-top: 68px; margin-bottom: 68px; }
  .visual-copy { padding: 28px; }
}
