:root {
  --bg: #071011;
  --bg-2: #0b1518;
  --band: #101c20;
  --surface: #121d21;
  --surface-2: #18272c;
  --line: #263d44;
  --line-soft: rgba(154, 204, 214, 0.16);
  --text: #f3f8f7;
  --muted: #b4c3c6;
  --faint: #7f969b;
  --green: #42f3a0;
  --green-2: #19c77a;
  --cyan: #6fd8ff;
  --amber: #ffc66d;
  --violet: #b79cff;
  --max: 1120px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(111, 216, 255, 0.08), transparent 34%),
    linear-gradient(250deg, rgba(66, 243, 160, 0.13), transparent 38%),
    linear-gradient(180deg, #071011 0%, #081315 42%, #071011 100%);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover { text-decoration: underline; text-underline-offset: 3px; }

img { display: block; max-width: 100%; }

.container {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 16, 17, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(18px) saturate(150%);
}

.nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 820;
  letter-spacing: 0;
}

.brand:hover { text-decoration: none; }

.mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(66,243,160,0.22), rgba(111,216,255,0.12)),
    #0d1a1d;
  border: 1px solid rgba(66,243,160,0.34);
  box-shadow: 0 20px 44px -28px rgba(66,243,160,0.9);
}

.mark::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--green);
  border-left-color: rgba(111,216,255,0.72);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: var(--green);
  border-radius: 99px;
  transform: translate(4px, -1px) rotate(-22deg);
}

.mark svg { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 780;
  letter-spacing: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
}

.btn:hover { text-decoration: none; border-color: rgba(180, 215, 222, 0.38); }

.btn-primary {
  background: linear-gradient(180deg, #5dffb7, var(--green));
  color: #03170d;
  border-color: transparent;
  box-shadow: 0 20px 46px -26px rgba(66,243,160,0.9);
}

.btn-secondary {
  border-color: rgba(66,243,160,0.36);
  color: var(--green);
}

.btn-dark {
  background: rgba(0,0,0,0.18);
}

section { padding: 82px 0; }

.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 72px 0 52px;
}

.hero-grid,
.route-grid,
.terminal-proof,
.daily-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 58px;
  align-items: center;
}

.hero-grid > *,
.route-grid > *,
.terminal-proof > *,
.daily-layout > *,
.grid > * {
  min-width: 0;
}

h1, h2, h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 820px;
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 830;
}

h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
}

h3 {
  font-size: 21px;
  font-weight: 780;
}

.lead {
  max-width: 710px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
}

.hero-actions,
.route-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.proof-row span {
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255,255,255,0.035);
}

.proof-row strong {
  color: var(--text);
  font-weight: 740;
}

.atlas-system {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(66,243,160,0.24);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(18,29,33,0.94), rgba(7,16,17,0.96)),
    var(--surface);
  box-shadow: 0 44px 110px -70px rgba(66,243,160,0.96);
}

.system-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.system-tile {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(0,0,0,0.16);
}

.system-tile span {
  display: block;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.system-tile strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
}

.system-tile.git { border-color: rgba(66,243,160,0.38); }
.system-tile.bash { border-color: rgba(111,216,255,0.34); }
.system-tile.docker { border-color: rgba(255,198,109,0.34); }

.drill-console {
  border: 1px solid rgba(66,243,160,0.25);
  border-radius: 22px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(16, 31, 35, 0.96), rgba(7,16,17,0.96));
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 18px;
}

.prompt-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(0,0,0,0.25);
}

.prompt-card p {
  margin: 0 0 18px;
  font-size: 17px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #030707;
  border: 1px solid #1b3035;
  font-family: var(--mono);
}

.terminal-line span { color: var(--green); }

.terminal-line input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.feedback {
  margin-top: 14px;
  min-height: 28px;
  color: var(--muted);
  font-size: 14px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  border: 1px solid var(--line-soft);
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head p,
.route-copy p,
.card p,
.feature-copy p {
  color: var(--muted);
}

.band {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.055);
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card,
.form-box {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 24px;
  background: rgba(18, 29, 33, 0.74);
}

.card strong { color: var(--text); }

.card .meta {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 10px;
}

.product-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card.git { border-color: rgba(66,243,160,0.33); }
.product-card.bash { border-color: rgba(111,216,255,0.3); }
.product-card.docker { border-color: rgba(255,198,109,0.32); }
.product-card.future { border-color: rgba(183,156,255,0.3); }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  background: var(--line-soft);
}

.metric {
  padding: 22px;
  background: rgba(18,29,33,0.82);
}

.metric strong {
  display: block;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  color: var(--green);
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.terminal-proof {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.78fr);
}

.terminal-shot {
  width: min(360px, 100%);
  justify-self: center;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  padding: 12px;
  background: rgba(0,0,0,0.24);
  box-shadow: 0 36px 90px -58px rgba(66,243,160,0.82);
}

.terminal-shot img {
  width: 100%;
  border-radius: 20px;
}

.engine-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.flow-step {
  position: relative;
  padding: 20px;
  min-height: 170px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(0,0,0,0.16);
}

.flow-step span {
  display: block;
  margin-bottom: 28px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
}

.route-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 76px 0 48px;
}

.route-grid {
  align-items: start;
}

.form-box {
  background:
    linear-gradient(180deg, rgba(18,29,33,0.88), rgba(12,21,24,0.82));
}

label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0,0,0,0.24);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.field { margin-bottom: 14px; }

.success {
  display: none;
  margin-top: 12px;
  color: var(--green);
  font-size: 14px;
}

.success.show { display: block; }

.daily-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
}

.drill-list {
  display: grid;
  gap: 12px;
}

.drill-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.025);
}

.drill-row span:last-child {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.split-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.split-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.split-item strong { color: var(--text); }
.split-item span { color: var(--muted); }

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-inner { flex-wrap: wrap; }
  .nav .btn-primary { margin-left: auto; }
  .nav-links {
    display: none;
    flex: 0 0 100%;
    order: 4;
    padding: 0 0 16px;
    gap: 10px;
  }
  .nav.is-open .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-links a {
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(255,255,255,0.035);
  }
  .hero-grid,
  .route-grid,
  .terminal-proof,
  .daily-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-4,
  .grid-3,
  .grid-2,
  .engine-flow,
  .metric-strip {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 58px;
  }
}

@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-inner { min-height: 62px; gap: 10px; }
  .brand span:last-child { font-size: 15px; }
  .nav .btn-primary {
    width: auto;
    min-height: 42px;
    padding: 0 14px;
  }
  h1 { font-size: 39px; }
  h2 { font-size: 31px; }
  .lead { font-size: 17px; }
  section { padding: 58px 0; }
  .hero-actions .btn,
  .route-actions .btn,
  .form-box .btn,
  .prompt-card .btn {
    width: 100%;
  }
  .system-rail {
    grid-template-columns: 1fr;
  }
  .split-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
