:root {
  color-scheme: dark;
  --bg: #06070b;
  --bg-2: #0b0d14;
  --panel: rgba(15, 18, 29, 0.78);
  --panel-solid: #10131f;
  --panel-2: rgba(255, 255, 255, 0.055);
  --text: #f7f8ff;
  --soft: #c9d1e8;
  --muted: #838ca8;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #8f7cff;
  --accent-2: #23d5ab;
  --accent-3: #6de0ff;
  --warn: #fbbf24;
  --danger: #ff6b7a;
  --radius: 24px;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 50% -20%, rgba(143, 124, 255, 0.22), transparent 42rem), var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

#starfield {
  position: fixed;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  opacity: 0.68;
}

.orb {
  position: fixed;
  z-index: -3;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.24;
  pointer-events: none;
}
.orb-a { top: 10%; left: -120px; background: #8f7cff; }
.orb-b { right: -140px; top: 38%; background: #23d5ab; }
.grid-glow {
  position: fixed;
  inset: auto 0 0;
  height: 38vh;
  z-index: -2;
  background: linear-gradient(to top, rgba(35, 213, 171, 0.08), transparent);
  pointer-events: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(22px, calc((100vw - 1180px) / 2));
  background: rgba(6, 7, 11, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
}
.brand, .nav nav { display: flex; align-items: center; gap: 14px; }
.brand { font-weight: 800; letter-spacing: -0.03em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #181c2f 55%, var(--accent-2));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 36px rgba(143,124,255,.35);
  font-family: "JetBrains Mono", monospace;
}
.nav nav a {
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.nav nav a:hover { color: white; }
.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(143,124,255,.42);
  border-radius: 999px;
  background: rgba(143,124,255,.13);
}

main, footer, .hero, .section, .intake-section {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  padding: 92px 0 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(143,124,255,.27);
  border-radius: 999px;
  background: rgba(143,124,255,.1);
  color: #c7bdff;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(35,213,171,.9);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7.7vw, 92px);
  line-height: .91;
  letter-spacing: -0.075em;
  font-weight: 800;
  text-wrap: balance;
}
h2 {
  margin-bottom: 15px;
  font-size: clamp(32px, 4.7vw, 58px);
  line-height: .98;
  letter-spacing: -0.06em;
  font-weight: 800;
  text-wrap: balance;
}
h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
p { color: var(--muted); line-height: 1.65; }
.lead {
  max-width: 690px;
  color: var(--soft);
  font-size: 19px;
}
.hero-actions, .form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-1px); }
.primary {
  color: #06100d;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 18px 50px rgba(35,213,171,.17);
}
.secondary {
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: var(--line-strong);
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.quick-prompts button, .path-chip {
  min-height: 42px;
  padding: 0 13px;
  color: var(--soft);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}
.quick-prompts button:hover, .path-chip:hover {
  color: white;
  border-color: rgba(35,213,171,.45);
  background: rgba(35,213,171,.08);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}
.ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  animation: rotate 18s linear infinite;
}
.ring-one { width: 440px; height: 440px; border-top-color: var(--accent-2); }
.ring-two { width: 320px; height: 320px; animation-duration: 13s; animation-direction: reverse; border-right-color: var(--accent); }
.core-card {
  position: relative;
  z-index: 2;
  width: min(330px, 86vw);
  padding: 26px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(24px);
}
.terminal-label, .card-top span {
  color: var(--accent-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}
.core-card strong { display: block; margin: 16px 0 10px; font-size: 34px; line-height: 1; letter-spacing: -0.06em; }
.signal-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 5px;
  min-width: 176px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(9, 12, 20, .74);
  box-shadow: 0 18px 60px rgba(0,0,0,.3);
  backdrop-filter: blur(20px);
}
.signal-card span { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 12px; }
.signal-card strong { font-size: 14px; }
.signal-one { top: 72px; left: 0; }
.signal-two { right: 0; top: 210px; }
.signal-three { bottom: 70px; left: 36px; }

.intake-section, .section { padding: 92px 0; border-top: 1px solid rgba(255,255,255,.07); }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.section-heading.centered { max-width: 820px; margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { margin-inline: auto; }

.console-shell, .job-card, .process-list, .closing-panel {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.082), rgba(255,255,255,.034));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12);
  overflow: hidden;
}
.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}
.traffic { display: flex; gap: 7px; }
.traffic span { width: 11px; height: 11px; border-radius: 999px; background: rgba(255,255,255,.2); }
.traffic span:nth-child(1) { background: #ff6b7a; }
.traffic span:nth-child(2) { background: #fbbf24; }
.traffic span:nth-child(3) { background: #23d5ab; }
#clearForm {
  color: var(--soft);
  background: transparent;
  border: 0;
  font-family: "JetBrains Mono", monospace;
}
.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
}
.idea-form, .request-preview {
  background: rgba(8,10,17,.82);
  padding: clamp(18px, 3vw, 28px);
}
.idea-form { display: grid; gap: 15px; }
label { display: grid; gap: 8px; color: var(--soft); font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  color: var(--text);
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  padding: 13px 14px;
}
textarea { resize: vertical; min-height: 190px; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(35,213,171,.65);
  box-shadow: 0 0 0 4px rgba(35,213,171,.1);
}
::placeholder { color: #616a85; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-status { min-height: 20px; margin: 0; font-size: 13px; }
.form-status.good { color: var(--accent-2); }
.form-status.warn { color: var(--warn); }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.preview-head span { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12px; }
.preview-head strong { color: var(--accent-2); font-size: 13px; }
pre {
  min-height: 404px;
  margin: 0;
  white-space: pre-wrap;
  color: #dce7ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
}

.job-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 16px; align-items: stretch; }
.job-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  min-height: 100%;
  box-shadow: none;
}
.job-card.featured { background: linear-gradient(180deg, rgba(35,213,171,.12), rgba(255,255,255,.04)); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.card-top strong { color: var(--soft); font-size: 13px; }
.job-card p { margin-bottom: 0; }
.job-card ul { margin: 0; padding-left: 18px; color: var(--soft); line-height: 1.65; }
.job-card button {
  margin-top: auto;
  width: fit-content;
  min-height: 40px;
  padding: 0 13px;
  color: #06100d;
  background: var(--accent-2);
  border: 0;
  border-radius: 11px;
  font-weight: 800;
}

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); gap: 40px; align-items: center; }
.process-list { display: grid; gap: 1px; background: rgba(255,255,255,.08); }
.process-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 16px;
  padding: 18px;
  background: rgba(8,10,17,.82);
}
.process-list span { grid-row: span 2; color: var(--accent); font-family: "JetBrains Mono", monospace; font-weight: 700; }
.process-list strong { font-size: 16px; }
.process-list em { color: var(--muted); font-style: normal; }
.closing-panel { padding: clamp(26px, 5vw, 46px); text-align: center; }
.closing-panel .eyebrow { margin-inline: auto; }
.closing-panel p { max-width: 720px; margin-inline: auto; }
.closing-panel .button { margin-top: 12px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 38px 0 58px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.07);
}

@keyframes rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
@media (max-width: 980px) {
  .hero, .console-grid, .job-grid, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 68px; }
  .hero-visual { min-height: 430px; }
  .signal-one { left: 10px; }
  .signal-two { right: 10px; }
  .signal-three { left: 28px; bottom: 28px; }
}
@media (max-width: 680px) {
  main, footer, .hero, .section, .intake-section { width: min(100% - 28px, 1180px); }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav nav { flex-wrap: wrap; }
  .nav nav a { font-size: 13px; }
  h1 { font-size: clamp(42px, 15vw, 72px); }
  .form-grid { grid-template-columns: 1fr; }
  .ring-one { width: 330px; height: 330px; }
  .ring-two { width: 250px; height: 250px; }
  .signal-card { position: relative; inset: auto; margin-top: 10px; width: 100%; }
  .hero-visual { display: flex; flex-direction: column; min-height: auto; gap: 10px; }
  .ring { display: none; }
  footer { flex-direction: column; }
}
