:root {
  color-scheme: dark;
  --bg-deep: #11111b;
  --bg: #1e1e2e;
  --surface: #313244;
  --surface-soft: #242437;
  --text: #cdd6f4;
  --text-secondary: #bac2de;
  --text-tertiary: #a6adc8;
  --muted: #6c7086;
  --stareto: #2185d0;
  --accent: #f38ba8;
  --ring: rgba(33, 133, 208, 0.36);
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-deep);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(33, 133, 208, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  width: min(100%, 68rem);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand {
  gap: 0.625rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: lowercase;
}

.brand img {
  width: 1.75rem;
  height: 1.75rem;
}

.nav,
.site-footer nav {
  gap: 1.25rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  text-transform: lowercase;
}

.nav a,
.site-footer a {
  transition: color 160ms ease;
}

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

main {
  flex: 1;
}

.hero {
  width: min(100%, 68rem);
  margin: 0 auto;
  padding: 4rem 1.5rem 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 2.25rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--surface);
  border-radius: 999px;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.status span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--stareto);
  box-shadow: 0 0 0 0 var(--ring);
  animation: pulse 1.8s ease-out infinite;
}

.hero-logo {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.5rem;
}

h1 {
  max-width: 42rem;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}

.subtitle {
  max-width: 28rem;
  margin: 1rem 0 3.5rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.feature-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-pills svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: var(--stareto);
}

.alpha-note {
  margin: 0 0 0.75rem;
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

.hero-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 42rem;
}

.hero-summary span {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(166, 173, 200, 0.16);
  border-radius: 999px;
  background: rgba(17, 17, 27, 0.28);
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.section-intro,
.features,
.details {
  width: min(100%, 68rem);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.section-intro {
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--surface);
}

.section-intro .eyebrow {
  margin: 0 0 0.75rem;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-intro h2 {
  max-width: 42rem;
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-intro > p:not(.eyebrow) {
  max-width: 44rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.features,
.details {
  display: grid;
  gap: 1rem;
}

.features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 3rem;
}

.details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 5rem;
}

.features article,
.details article {
  min-height: 9.5rem;
  padding: 1.25rem;
  border: 1px solid var(--surface);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--surface-soft) 78%, transparent);
}

.features h2,
.details h2 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-transform: lowercase;
}

.features p,
.details p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--surface);
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

.site-footer p {
  margin: 0;
}

.legal-main {
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.legal-main article {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-main h1,
.legal-main h2,
.legal-main h3 {
  color: var(--text);
  letter-spacing: 0;
}

.legal-main h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
}

.legal-main h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.25rem;
}

.legal-main h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
}

.legal-main p,
.legal-main ul {
  margin: 0 0 1rem;
}

.legal-main ul {
  padding-left: 1.25rem;
}

.legal-main li + li {
  margin-top: 0.35rem;
}

.legal-main a {
  color: #8bd5ff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-updated {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--ring);
  }
  70% {
    box-shadow: 0 0 0 0.5rem rgba(33, 133, 208, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(33, 133, 208, 0);
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .status {
    margin-bottom: 2rem;
  }

  .features,
  .details {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .features,
  .details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
