:root {
  color-scheme: dark;
  --bg: #050606;
  --bg-2: #090c0d;
  --panel: rgba(255, 255, 255, 0.058);
  --panel-2: rgba(255, 255, 255, 0.095);
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.24);
  --text: #f5f8f6;
  --muted: #a7b0ad;
  --dim: #78807e;
  --green: #9dfc7d;
  --mint: #55f2cb;
  --blue: #62b7ff;
  --amber: #ffc15a;
  --rose: #ff6d8d;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, #050606 0%, #090c0d 46%, #050606 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::selection {
  background: rgba(157, 252, 125, 0.26);
}

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  transform: translateY(-160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101416;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.header {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 30;
  padding: 0 18px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100vw - 32px));
  min-height: 58px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(6, 8, 9, 0.76);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.34);
  padding: 9px 10px 9px 16px;
  backdrop-filter: blur(18px);
}

.header.is-scrolled .nav {
  background: rgba(6, 8, 9, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
}

.brand,
.nav-links,
.hero-actions,
.track-tabs,
.stack-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  color: #fff;
  font-weight: 760;
}

.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 7px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #151a20 0%, #07090d 62%, #10141a 100%);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08), 0 0 34px rgba(85, 242, 203, 0.14);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.brand-mark::before {
  inset: 7px 6px;
  background:
    linear-gradient(90deg, #6cf0e5, #ff8a3d) left / 4px 100% no-repeat,
    linear-gradient(90deg, #ff8a3d, #67b7ff) right / 4px 100% no-repeat;
}

.brand-mark::after {
  width: 4px;
  height: 24px;
  left: 11px;
  top: 1px;
  background: linear-gradient(180deg, #6cf0e5, #ff8a3d);
  box-shadow: 0 0 14px rgba(255, 138, 61, 0.4);
  transform: rotate(-33deg);
  transform-origin: center;
}

.nav-links {
  justify-content: center;
  gap: 5px;
}

.nav-links a,
.nav-cta {
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-cta {
  border: 1px solid rgba(157, 252, 125, 0.42);
  background: rgba(157, 252, 125, 0.12);
  color: #eaffdf;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: rgba(157, 252, 125, 0.78);
  background: rgba(157, 252, 125, 0.18);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 116px 20px 0;
  background: #050606;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.42;
  transform: scale(1.05);
  animation: mediaDrift 18s ease-in-out infinite alternate;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.97) 0%, rgba(5, 6, 6, 0.78) 50%, rgba(5, 6, 6, 0.54) 100%),
    linear-gradient(180deg, rgba(5, 6, 6, 0.12) 0%, #050606 96%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: 44px;
  width: min(var(--max), 100%);
  min-height: 610px;
  margin: 0 auto;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
}

h1 {
  max-width: 10ch;
  font-size: 5rem;
  font-weight: 790;
}

h2 {
  max-width: 12ch;
  font-size: 3.15rem;
  font-weight: 780;
}

h3 {
  font-size: 1.18rem;
  font-weight: 760;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d7ddd9;
  font-size: 1.15rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--text);
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(157, 252, 125, 0.62);
  background: linear-gradient(135deg, #f4ffe9 0%, #c8ff9d 100%);
  color: #10150f;
  box-shadow: 0 18px 38px rgba(157, 252, 125, 0.18);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 42px;
}

.hero-metrics div {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 13px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.48rem;
  line-height: 1.1;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.code-lab {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(12, 18, 19, 0.92), rgba(8, 11, 12, 0.94)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.code-top {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px;
}

.code-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rose);
}

.code-top span:nth-child(2) {
  background: var(--amber);
}

.code-top span:nth-child(3) {
  background: var(--green);
}

.code-top strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.84rem;
}

pre {
  margin: 0;
  padding: 30px 18px 24px;
  color: #eaffdf;
  font: 700 1.06rem / 1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
}

.terminal {
  margin: 0 18px 18px;
  border: 1px solid rgba(157, 252, 125, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.38);
  padding: 16px;
  color: #bfffb0;
  font: 700 0.92rem / 1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.terminal p {
  margin: 0;
}

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

.deploy-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 18px;
}

.deploy-status span {
  color: var(--muted);
}

.deploy-status strong {
  color: var(--green);
  font-size: 1.4rem;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

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

.section-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.track-shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.track-tabs {
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
}

.track-tabs button {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  text-align: left;
  padding: 0 16px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.track-tabs button:hover,
.track-tabs button:focus-visible,
.track-tabs button.is-active {
  border-color: rgba(157, 252, 125, 0.42);
  background: rgba(157, 252, 125, 0.11);
  color: #efffe9;
}

.track-card,
.timeline-item,
.project-card,
.price-card,
.apply-card,
.mentor-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
}

.track-card {
  display: grid;
  gap: 26px;
  padding: 24px;
}

.track-card h3 {
  font-size: 2.2rem;
}

.track-card p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

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

.track-card dl div {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 12px;
}

.track-card dt {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 780;
}

.track-card dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.stack-list {
  flex-wrap: wrap;
  gap: 8px;
}

.stack-list span {
  border: 1px solid rgba(85, 242, 203, 0.22);
  border-radius: var(--radius);
  background: rgba(85, 242, 203, 0.07);
  color: #d9fff7;
  padding: 8px 10px;
  font-size: 0.88rem;
}

.visual-band,
.mentor-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: 38px;
  width: min(1320px, calc(100% - 36px));
  margin: 22px auto 0;
  padding: 70px 0;
}

.visual-copy,
.mentor-panel {
  max-width: 560px;
}

.visual-copy p:not(.eyebrow),
.mentor-panel p {
  color: var(--muted);
}

.visual-photo,
.mentor-photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b1011;
}

.visual-photo img,
.mentor-photo img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: translateY(var(--parallax, 0px)) scale(1.04);
  transition: transform 120ms linear;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.timeline-item,
.project-card,
.price-card {
  min-height: 250px;
  padding: 18px;
}

.timeline-item span,
.project-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(98, 183, 255, 0.36);
  border-radius: var(--radius);
  color: var(--blue);
  font-weight: 780;
}

.timeline-item h3,
.project-card h3 {
  margin-top: 28px;
}

.timeline-item p,
.project-card p,
.price-card span {
  color: var(--muted);
}

.project-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.project-card,
.price-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  will-change: transform;
}

.project-card:hover,
.price-card:hover {
  border-color: var(--line-2);
  background: var(--panel-2);
}

.mentor-band {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
}

.mentor-panel {
  padding: 26px;
}

.review-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.review-list p {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px;
}

.review-list strong {
  color: #fff;
}

.price-card p {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  margin: 18px 0 12px;
  color: #fff;
  font-size: 2rem;
}

.price-card.featured {
  border-color: rgba(157, 252, 125, 0.46);
  background:
    linear-gradient(180deg, rgba(157, 252, 125, 0.12), rgba(255, 255, 255, 0.06)),
    var(--panel);
}

.apply-section {
  padding-top: 64px;
}

.apply-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  gap: 28px;
  align-items: end;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(85, 242, 203, 0.1), rgba(255, 193, 90, 0.08)),
    var(--panel);
}

.apply-card p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form span {
  color: #dbe6df;
  font-size: 0.9rem;
  font-weight: 700;
}

.lead-form input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.26);
  color: #fff;
  padding: 0 13px;
}

.lead-form input:focus {
  outline: 2px solid rgba(157, 252, 125, 0.62);
  outline-offset: 2px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 0.9rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0 34px;
  color: var(--dim);
  font-size: 0.86rem;
}

.footer p {
  margin: 0;
}

.footer a {
  min-width: max-content;
  color: var(--muted);
}

.visual-band,
.program-section,
.projects-section,
.mentor-band,
.pricing-section,
.apply-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 680ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 150ms;
}

.delay-3 {
  transition-delay: 220ms;
}

@keyframes mediaDrift {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(18px, -12px, 0);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .track-shell,
  .visual-band,
  .mentor-band,
  .apply-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .code-lab {
    max-width: 540px;
    margin: 0 auto;
  }

  h1 {
    font-size: 3.85rem;
  }

  h2 {
    font-size: 2.5rem;
  }

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

@media (max-width: 680px) {
  .header {
    inset: 10px 0 auto;
    padding: 0 10px;
  }

  .nav {
    width: min(370px, calc(100vw - 20px));
    min-height: 52px;
    margin: 0;
    padding: 8px 8px 8px 12px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .hero {
    padding: 92px 16px 0;
  }

  .hero-grid {
    width: min(360px, 100%);
    margin: 0;
    gap: 26px;
  }

  h1 {
    font-size: 2.86rem;
  }

  h2 {
    max-width: none;
    font-size: 2.04rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-metrics {
    display: none;
  }

  .code-lab {
    width: min(360px, 100%);
    margin: 0;
  }

  pre {
    padding: 22px 14px 18px;
    font-size: 0.9rem;
  }

  .terminal {
    display: none;
  }

  .deploy-status {
    padding: 12px 14px;
  }

  .deploy-status strong {
    font-size: 1.18rem;
  }

  .section {
    width: min(360px, calc(100% - 28px));
    margin-left: 14px;
    margin-right: auto;
    padding: 76px 0;
  }

  .tracks-section {
    padding-top: 28px;
  }

  .track-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .track-tabs button {
    min-height: 48px;
    padding: 0 12px;
  }

  .track-card {
    padding: 18px;
  }

  .track-card h3 {
    font-size: 1.72rem;
  }

  .track-card dl,
  .project-grid,
  .pricing-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .visual-band,
  .mentor-band {
    width: min(360px, calc(100% - 28px));
    margin-left: 14px;
    margin-right: auto;
    padding: 42px 0;
  }

  .visual-photo img,
  .mentor-photo img {
    min-height: 250px;
  }

  .apply-card {
    padding: 20px;
  }

  .footer {
    display: grid;
    width: min(100% - 28px, var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}
