:root {
  --bg: #080c0d;
  --bg-2: #0c1214;
  --surface: #12191b;
  --surface-2: #172123;
  --line: #233236;
  --line-2: #31474d;
  --text: #eef7f6;
  --muted: #a7b7ba;
  --faint: #71868b;
  --green: #43f7a2;
  --green-2: #21c97d;
  --cyan: #62d8ff;
  --amber: #ffc15e;
  --red: #ff7b7b;
  --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);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 86% -8%, rgba(67, 247, 162, 0.13), transparent 60%),
    radial-gradient(700px 420px at 2% 18%, rgba(98, 216, 255, 0.08), transparent 62%),
    linear-gradient(180deg, var(--bg), #091012 62%, var(--bg));
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 12, 13, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(16px) saturate(150%);
}

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

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

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

.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(67,247,162,0.22), rgba(98,216,255,0.08));
  border: 1px solid rgba(67,247,162,0.26);
  box-shadow: 0 16px 34px -22px rgba(67,247,162,0.8);
}

.mark svg { width: 20px; height: 20px; color: var(--green); }

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

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

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

.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: 750;
  letter-spacing: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.035);
}

.btn:hover { text-decoration: none; border-color: var(--line-2); }

.btn-primary {
  background: linear-gradient(180deg, #56ffb4, var(--green));
  color: #00160b;
  border-color: transparent;
  box-shadow: 0 18px 42px -24px rgba(67,247,162,0.88);
}

.btn-secondary {
  border-color: rgba(67,247,162,0.34);
  color: var(--green);
}

.hero {
  padding: 90px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 64px;
  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.04;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 6.5vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 { font-size: 20px; }

.lead {
  max-width: 700px;
  margin: 0 0 28px;
  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);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255,255,255,0.035);
}

.drill-console {
  border: 1px solid rgba(67,247,162,0.25);
  border-radius: 22px;
  padding: 22px;
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(67,247,162,0.15), transparent 72%),
    linear-gradient(180deg, rgba(18,25,27,0.95), rgba(8,12,13,0.95));
  box-shadow: 0 36px 90px -58px rgba(67,247,162,0.9);
}

.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.28);
}

.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: #030606;
  border: 1px solid #1a292d;
  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);
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
}

section {
  padding: 80px 0;
}

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

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(18, 25, 27, 0.72);
}

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

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

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

.product-card.git { border-color: rgba(67,247,162,0.3); }
.product-card.bash { border-color: rgba(98,216,255,0.3); }
.product-card.docker { border-color: rgba(255,193,94,0.32); }

.terminal-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 28px;
  align-items: center;
}

.terminal-shot {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: rgba(0,0,0,0.25);
}

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

.route-hero {
  padding: 76px 0 34px;
}

.route-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.form-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(18, 25, 27, 0.82);
}

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

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: 96px;
  resize: vertical;
}

.field { margin-bottom: 14px; }

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

.success.show { display: block; }

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

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

.drill-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  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;
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  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: 920px) {
  .nav-links { display: none; }
  .hero-grid,
  .route-grid,
  .terminal-proof,
  .daily-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 58px;
  }
}

@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-inner { height: 62px; }
  .brand span:last-child { font-size: 15px; }
  h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  section { padding: 58px 0; }
  .btn { width: 100%; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}
