:root {
  --bg: #0b1f3a;
  --bg-deep: #061525;
  --surface: #123056;
  --surface-2: #102a4a;
  --border: #1e4976;
  --border-soft: #163a5f;
  --text: #bfdbfe;
  --text-bright: #dbeafe;
  --text-soft: #93c5fd;
  --placeholder: #60a5fa;
  --accent: #1d4ed8;
  --accent-border: #3b82f6;
  --accent-text: #eff6ff;
  --word-clip: #ffffff;
  --word-span: #3b9eff;
  --orbit: #eb8023;
  --orbit-hover: #f08c32;
  --orbit-text: #061525;
  --warn-bg: #78350f55;
  --warn-text: #fde68a;
  --danger: #7f1d1d;
  --danger-text: #fecaca;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% -15%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(700px 420px at 95% 5%, rgba(29, 78, 216, 0.16), transparent 50%),
    var(--bg);
  font-family: var(--font);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--text-soft);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--text-bright);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-bright);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.wordmark {
  font-weight: inherit;
  letter-spacing: inherit;
}

.word-clip {
  color: var(--word-clip);
}

.word-span {
  color: var(--word-span);
}

.header-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.95rem;
}

.header-nav a {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.55rem 0.95rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn:focus-visible,
.field:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--text-soft);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent-border);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: #2563eb;
  border-color: #60a5fa;
  color: #fff;
}

.btn-orbit {
  background: var(--orbit);
  border-color: #f0a04a;
  color: var(--orbit-text);
}

.btn-orbit:hover {
  background: var(--orbit-hover);
  border-color: #ffb341;
  color: var(--orbit-text);
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.55rem;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-bright);
}

h2 {
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-bright);
  margin-bottom: 0.65rem;
}

.section-intro {
  color: var(--text);
  font-size: 1.02rem;
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.lede {
  font-size: 1.05rem;
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 0.15rem;
  margin-bottom: 0.15rem;
  border: 1px solid transparent;
}

.pill-active {
  background: rgba(29, 78, 216, 0.28);
  border-color: rgba(59, 130, 246, 0.45);
  color: #bfdbfe;
}

.pill-testing {
  white-space: normal;
  text-align: center;
  line-height: 1.15;
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  background: rgba(125, 211, 252, 0.14);
  border-color: rgba(125, 211, 252, 0.4);
  color: #bae6fd;
}

.pill-soon {
  background: var(--warn-bg);
  border-color: rgba(253, 230, 138, 0.25);
  color: var(--warn-text);
}

.item-title {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  color: var(--text-bright);
  margin-bottom: 0.15rem;
}

.item-body {
  color: var(--text);
  font-size: 0.95rem;
}

.callout {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
}

.callout h3 {
  font-size: 1.05rem;
  color: var(--text-bright);
  margin-bottom: 0.65rem;
}

.callout ul {
  margin-left: 1.1rem;
  color: var(--text);
  display: grid;
  gap: 0.5rem;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

.field,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-bright);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 1rem;
}

.field::placeholder,
textarea::placeholder {
  color: var(--placeholder);
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status[data-state="ok"] {
  color: #86efac;
}

.form-status[data-state="err"] {
  color: var(--danger-text);
}

.site-footer {
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-soft);
  font-size: 0.92rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-weight: 600;
}

.footer-links a {
  text-decoration: none;
}

#how,
#platforms,
#privacy,
#access {
  padding-block: 2.5rem;
}

.hero {
  padding: 2.5rem 0 3.25rem;
  display: grid;
  gap: 1.75rem;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 56rem;
  animation: rise 700ms ease both;
}

.hero-logo {
  display: block;
  width: clamp(128px, 18vw, 188px);
  height: auto;
  margin: 0 auto 0.2rem;
  filter: drop-shadow(0 12px 32px rgba(59, 130, 246, 0.4));
}

.hero-copy {
  width: 100%;
  max-width: 38rem;
}

.hero h1 {
  font-size: clamp(3.1rem, 8vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.hero .tagline {
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--text-soft);
  margin-bottom: 0.85rem;
  text-align: center;
}

.hero .lede {
  color: var(--text);
  max-width: 34rem;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.hero-actions .btn {
  font-size: 0.88rem;
  padding: 0.48rem 0.8rem;
  white-space: nowrap;
}

.hero-note {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
  text-align: center;
}

.hero-overview {
  width: 100%;
  max-width: 56rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-overview .section-intro {
  margin-bottom: 1.25rem;
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
}

.use-case-list li {
  padding-left: 1rem;
  border-left: 2px solid var(--accent-border);
}

.use-case-list h3 {
  color: var(--text-bright);
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.use-case-list p {
  color: var(--text);
  font-size: 0.94rem;
}

.hero-media {
  animation: rise 900ms 120ms ease both;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  width: 100%;
  max-width: 56rem;
}

.hero-media picture {
  display: block;
}

.hero-media img,
.hero-media video {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .use-case-list {
    grid-template-columns: 1fr;
  }
}

.status-list,
.works-list,
.privacy-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.status-list li,
.works-list li,
.privacy-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 0.95rem 0.15rem;
  border-top: 1px solid var(--border-soft);
}

.works-list li {
  grid-template-columns: 6rem 1fr;
  column-gap: 1.15rem;
}

.works-list .pill {
  justify-self: start;
  text-align: center;
  min-width: 100%;
}

.status-list li:last-child,
.works-list li:last-child,
.privacy-list li:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.access {
  background: linear-gradient(160deg, #102a4a 0%, #0b1f3a 55%, #061525 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(1.35rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow);
}

.access-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .access-grid {
    grid-template-columns: 0.9fr 1.15fr;
    align-items: center;
    gap: 2rem;
  }
}

.access-wordmark {
  display: block;
  width: min(16.5rem, 100%);
  height: auto;
  margin-bottom: 1.15rem;
  filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.45));
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-soft) 50%),
    linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select option {
  color: #0b1f3a;
  background: #eff6ff;
}

.checks {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text);
}

.check input {
  margin-top: 0.3rem;
  accent-color: var(--accent-border);
}

.form-note {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.policy {
  width: min(720px, 100%);
  padding: 2rem 0 3rem;
  line-height: 1.6;
}

.policy h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.policy h2 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  margin: 1.75rem 0 0.55rem;
}

.policy p,
.policy li {
  margin-bottom: 0.75rem;
}

.policy ul {
  margin: 0 0 1rem 1.2rem;
}

.policy li {
  margin-bottom: 0.4rem;
}

.meta {
  color: var(--text-soft);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.muted {
  color: var(--text-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.15rem;
  font-size: 0.92rem;
}

th,
td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border-soft);
  vertical-align: top;
}

th {
  background: var(--surface-2);
  color: var(--text-bright);
  font-weight: 600;
}

td {
  background: var(--surface);
}

.page {
  padding: 2rem 0 3.25rem;
}

.page h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.65rem;
}

.page h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.banner {
  background: var(--warn-bg);
  border: 1px solid rgba(253, 230, 138, 0.25);
  color: var(--warn-text);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  max-width: 46rem;
}

.page .callout {
  margin-bottom: 1.75rem;
  max-width: 46rem;
}

.gate,
.catalog {
  display: none;
  max-width: 46rem;
}

.catalog {
  margin-top: 2rem;
}

.gate {
  background: linear-gradient(160deg, #102a4a 0%, #0b1f3a 55%, #061525 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(1.35rem, 3.5vw, 2rem);
  box-shadow: var(--shadow);
}

.gate .lede {
  margin-bottom: 1rem;
}

.empty {
  display: none;
}

.empty.visible,
.gate.visible,
.catalog.visible {
  display: block;
}

.release-meta {
  margin-bottom: 1.25rem;
}

.release-meta p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

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

@media (min-width: 720px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.card .pill {
  justify-self: start;
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(29, 78, 216, 0.28);
  color: #bfdbfe;
}

.card .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.notes {
  margin-top: 1.5rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  white-space: pre-wrap;
}

.cmd {
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-bright);
  font-size: 0.86rem;
  line-height: 1.45;
}

.callout .cmd:last-child,
.page .cmd:last-child {
  margin-bottom: 0;
}

.page code,
.callout code {
  font-size: 0.92em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-intro,
  .hero-media {
    animation: none !important;
  }
}
