:root {
  --bg: #07101a;
  --bg-soft: rgba(14, 25, 38, 0.9);
  --bg-strong: rgba(10, 19, 30, 0.96);
  --border: rgba(128, 164, 236, 0.18);
  --border-strong: rgba(128, 164, 236, 0.34);
  --text: #edf3ff;
  --muted: #9eafc9;
  --accent: #8fb5ff;
  --accent-strong: #d7e4ff;
  --accent-soft: rgba(143, 181, 255, 0.12);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 181, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #040b13 0%, #07101a 50%, #09131e 100%);
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 20px;
}

.brand,
.header-link {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand:hover,
.header-link:hover {
  color: var(--text);
}

.hero,
.info-card,
.flow-track,
.terminal,
.cta-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero {
  padding: 56px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(143, 181, 255, 0.08), rgba(143, 181, 255, 0) 36%),
    linear-gradient(180deg, rgba(14, 25, 38, 0.98), rgba(8, 16, 26, 0.98));
}

.eyebrow,
.section-label,
.terminal-title {
  margin: 0;
  font-family: "Azeret Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero h1,
.section-header h2,
.cta-panel h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.hero-copy,
.section-header p,
.info-card p,
.cta-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 640px;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #9abfff 0%, #6f98e8 100%);
  color: #04111f;
}

.button-secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}

.section {
  margin-top: 34px;
}

.section-header {
  margin-bottom: 18px;
}

.section-header h2,
.cta-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.section-header p {
  margin: 10px 0 0;
  max-width: 620px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(143, 181, 255, 0.05), rgba(14, 25, 38, 0)),
    var(--bg-soft);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.info-card p {
  margin: 0;
}

.flow-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--bg-strong);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.flow-step strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.flow-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-family: "Azeret Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  color: var(--accent-strong);
}

.flow-step-wide {
  padding-right: 20px;
}

.flow-arrow {
  color: var(--muted);
  font-size: 1.1rem;
}

.terminal {
  overflow: hidden;
  background: #050c14;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(158, 175, 201, 0.34);
}

.terminal-title {
  margin-left: 6px;
  color: var(--muted);
}

.terminal pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-family: "Azeret Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.85;
  color: #dbe7ff;
}

.cta-panel {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(143, 181, 255, 0.04), rgba(14, 25, 38, 0)),
    var(--bg-soft);
}

.cta-panel h2 {
  margin-top: 12px;
}

.cta-panel .button {
  margin-top: 18px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(128, 164, 236, 0.12);
}

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

@media (max-width: 880px) {
  .hero {
    padding: 38px 28px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    padding-top: 20px;
  }

  .hero h1,
  .section-header h2,
  .cta-panel h2 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .flow-track,
  .terminal pre,
  .cta-panel,
  .info-card {
    padding: 18px;
  }

  .flow-step {
    width: 100%;
  }

  .site-footer {
    padding-top: 16px;
  }
}
