:root {
  --bg: #09090b;
  --panel: rgba(24, 24, 27, 0.82);
  --panel-strong: #18181b;
  --panel-soft: rgba(24, 24, 27, 0.55);
  --border: #3f3f46;
  --border-soft: #27272a;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-strong: #d4d4d8;
  --accent: #22d3ee;
  --accent-strong: #06b6d4;
  --danger: #ef4444;
  --success: #22c55e;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-accent: 0 0 15px rgba(6, 182, 212, 0.3);
  --radius: 0;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #09090b;
  color: var(--text);
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #71717a;
  box-shadow: 0 0 0 3px rgba(113, 113, 122, 0.18);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.35rem, 2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}

.brand-button:hover {
  opacity: 0.85;
}

.brand-logo {
  width: clamp(3.5rem, 7vw, 6rem);
  height: clamp(3.5rem, 7vw, 6rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.nav-links button,
.mobile-menu button {
  color: var(--muted-strong);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links button:hover,
.mobile-menu button:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.menu-toggle span {
  width: 1.35rem;
  height: 2px;
  background: var(--accent);
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: grid;
  gap: 0.5rem;
  padding: 0 0 1rem;
  border-top: 1px solid var(--border-soft);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu button {
  text-align: left;
  padding: 0.85rem 1rem;
  background: rgba(24, 24, 27, 0.5);
  border: 1px solid transparent;
}

.mobile-menu button:hover {
  border-color: var(--border);
  background: rgba(24, 24, 27, 0.85);
}

.main-content {
  padding: 4rem 0 5rem;
}

.panel {
  background: var(--panel-soft);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  margin-bottom: 5rem;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.35), rgba(9, 9, 11, 0.88));
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 440px);
  align-items: center;
  gap: 2rem;
  min-height: 540px;
  padding: 3rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 7vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-subtitle,
.lead-copy,
.body-copy {
  color: var(--muted);
}

.hero-subtitle {
  max-width: 40rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 0;
}

.glow {
  animation: glow 3s ease-in-out infinite alternate;
  -webkit-text-stroke-color: #868686;
  -webkit-text-stroke-width: 1px;
  font-weight: 700;
  display: inline-block;
  padding: 0.25em 0;
  background: rgba(37, 40, 84, 0.5);
  color: #fff;
}

.onboarding-card {
  background: rgba(24, 24, 27, 0.9);
  border: 1px solid var(--border);
  padding: 2rem;
}

.onboarding-card h2 {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
}

.onboarding-form {
  display: grid;
  gap: 1rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.95rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-loading {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: scale(0.98);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button-primary {
  background: var(--accent-strong);
  color: white;
}

.button-secondary {
  color: var(--accent);
}

.button-secondary:hover {
  background: var(--accent-strong);
  color: white;
}

.content-section {
  padding: 4rem 0;
}

.section-title {
  margin: 0 0 2.5rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.section-title-left {
  text-align: left;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.95rem;
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.feature-story {
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.section-image {
  border: 1px solid var(--border-soft);
  width: 100%;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.five-up {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-card,
.timeline-card,
.faq-card,
.skill-chip {
  border: 1px solid var(--border);
  background: rgba(24, 24, 27, 0.8);
}

.info-card {
  padding: 2rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.info-card:hover,
.faq-card:hover,
.timeline-card:hover,
.skill-chip:hover {
  border-color: var(--accent-strong);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.info-card h3,
.timeline-card h3,
.faq-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.info-card p,
.timeline-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
}

.info-card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.icon-badge svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.dashboard-section {
  gap: 2rem;
}

.timeline-card {
  padding: 1.5rem;
}

.timeline-card h3 {
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.95rem;
}

.muted-panel {
  padding: 2rem;
}

.table-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
}

.comparison-table th {
  color: var(--muted-strong);
  font-weight: 600;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.comparison-table td:nth-child(2) {
  color: #71717a;
}

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-card {
  padding: 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-card h3 {
  color: var(--accent);
}

.skills-panel {
  padding: 3rem;
  text-align: center;
}

.body-copy-centered {
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: left;
  max-width: 980px;
  margin: 0 auto;
}

.skill-chip {
  padding: 1rem;
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #2cdf59, 0 0 40px #2cdf59, 0 0 50px #2cdf59, 0 0 60px #2cdf59, 0 0 70px #2cdf59;
  }

  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #2cdf59, 0 0 40px #2cdf59, 0 0 50px #2cdf59, 0 0 60px #2cdf59, 0 0 70px #2cdf59;
  }

  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
  }
}

@media (max-width: 1100px) {
  .hero-content,
  .split-layout,
  .five-up,
  .three-up,
  .two-up,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 2rem;
  }

  .timeline-grid {
    gap: 1rem;
  }

  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .button-secondary {
    display: none;
  }

  .main-content {
    padding-top: 2rem;
  }

  .content-section {
    padding: 3rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .navbar {
    gap: 0.75rem;
  }

  .hero-content,
  .onboarding-card,
  .muted-panel,
  .skills-panel,
  .info-card,
  .timeline-card,
  .faq-card {
    padding: 1.25rem;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }
}

