:root {
  --bg: #05070d;
  --bg-soft: #0a1120;
  --ink: #eef5ff;
  --ink-muted: #a2b0c7;
  --line: rgba(162, 176, 199, 0.18);
  --brand: #22d3ee;
  --brand-deep: #0891b2;
  --accent: #ffb347;
  --panel: rgba(9, 17, 34, 0.78);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(circle at 15% 10%, rgba(34, 211, 238, 0.12), transparent 30%),
    radial-gradient(circle at 80% 5%, rgba(255, 179, 71, 0.12), transparent 25%),
    var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.5;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(to right, rgba(162, 176, 199, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(162, 176, 199, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -1;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  background: linear-gradient(135deg, var(--brand), #67e8f9);
  color: #001018;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  padding: 0.3rem 0.5rem;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid var(--brand);
  color: var(--ink) !important;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

.hero {
  padding: 4rem 0 2.6rem;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

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

.hero h1 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 6vw, 4.4rem);
  max-width: 16ch;
}

.hero-copy {
  margin-top: 1.2rem;
  max-width: 60ch;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  color: #021218;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-tags {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hero-tags span {
  border: 1px solid var(--line);
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.83rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 3.8rem;
}

.feature-grid article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--panel);
}

.feature-grid h2 {
  font-size: 1.1rem;
}

.feature-grid p {
  margin: 0.5rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.roadmap {
  padding: 0.5rem 0 3.4rem;
}

.section-head h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.timeline {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.phase {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem;
  background: var(--panel);
}

.phase-live {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2) inset;
}

.phase-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phase h3 {
  margin-top: 0.35rem;
  font-size: 1.2rem;
}

.phase p {
  margin-top: 0.45rem;
  color: var(--ink-muted);
}

.phase-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.phase-link:hover {
  text-decoration: underline;
}

.generator {
  margin-bottom: 3.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(34, 211, 238, 0.08), rgba(255, 179, 71, 0.08));
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.generator h2 {
  margin-top: 0.55rem;
  font-size: 1.8rem;
}

.generator p {
  margin-top: 0.55rem;
  color: var(--ink-muted);
}

.generator ul {
  margin: 0;
  padding-left: 1.1rem;
  align-self: center;
}

.generator li {
  margin: 0.45rem 0;
  color: var(--ink);
}

.final-cta {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
}

.final-cta h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  max-width: 22ch;
}

.final-cta p {
  color: var(--ink-muted);
  margin: 0.65rem 0 1.1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--ink-muted);
}

.site-footer div {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  color: var(--ink-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .generator {
    grid-template-columns: 1fr;
  }
}
