:root {
  --bg: #05070d;
  --surface: #101522;
  --surface-soft: #151b2c;
  --text: #f4f7fb;
  --muted: #9aa6b8;
  --cyan: #12e7f1;
  --purple: #7c4dff;
  --border: rgba(255,255,255,0.10);
  --cyan-soft: rgba(18,231,241,0.14);
  --purple-soft: rgba(124,77,255,0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(18, 231, 241, 0.14), transparent 32rem),
    radial-gradient(circle at 80% 0%, rgba(124, 77, 255, 0.2), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav,
.site-footer nav,
.button-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 24px rgba(18, 231, 241, 0.55);
}

.site-nav {
  gap: 1rem;
}

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

.site-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0.55rem 0.85rem;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero,
.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.page {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: 5rem;
}

.narrow {
  max-width: 860px;
}

.kicker,
.status,
.effective-date {
  color: var(--cyan);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  max-width: 68ch;
}

.hero-text {
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.button-row {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: 999px;
  padding: 0.7rem 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--cyan);
  color: #031014;
}

.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.disabled {
  width: fit-content;
  border: 1px solid var(--border);
  color: var(--muted);
}

.compact {
  margin-top: 0.75rem;
}

.feature-card,
.card,
.project-card,
.text-card,
.policy,
.note,
.screenshot-placeholder {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(21, 27, 44, 0.88), rgba(16, 21, 34, 0.78));
}

.feature-card,
.card,
.project-card,
.text-card,
.note,
.screenshot-placeholder {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.neon-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(18, 231, 241, 0.16), rgba(124, 77, 255, 0.12)),
    var(--surface);
  box-shadow: 0 0 40px rgba(18, 231, 241, 0.13);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.tight {
  padding-top: 2rem;
}

.section-heading {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 40ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.project-list {
  display: grid;
  gap: 1rem;
}

.project-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.card h2 {
  font-size: 1.25rem;
}

.page-hero {
  margin-bottom: 2rem;
}

.page-hero h1 {
  max-width: 14ch;
}

.screenshot-placeholder {
  min-height: 440px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(18, 231, 241, 0.16), transparent),
    linear-gradient(135deg, rgba(124, 77, 255, 0.22), rgba(16, 21, 34, 0.84));
}

.screenshot-placeholder span {
  display: block;
  color: var(--muted);
}

.note {
  margin-top: 1.5rem;
  color: var(--text);
}

.policy {
  padding: clamp(1.5rem, 5vw, 3rem);
}

.policy h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.policy h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.policy a {
  color: var(--cyan);
}

.link-list {
  display: grid;
  gap: 0.8rem;
}

.link-list a,
.link-list span {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: var(--surface);
}

.link-list a {
  color: var(--text);
  text-decoration: none;
}

.closing-line {
  margin-top: 1.5rem;
  color: var(--text);
}

.text-card ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
}

.site-footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

@media (hover: hover) {
  .card,
  .project-card,
  .feature-card,
  .button {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  }

  .card:hover,
  .project-card:hover,
  .feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 231, 241, 0.45);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .app-hero,
  .two,
  .three,
  .four {
    grid-template-columns: 1fr;
  }

  .hero,
  .app-hero {
    min-height: auto;
  }

  .section-heading,
  .project-card,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.65rem, 16vw, 4rem);
  }

  .button {
    width: 100%;
  }

  .screenshot-placeholder {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
