:root {
  --ink: #172424;
  --muted: #5d6a65;
  --line: #d8e3dd;
  --paper: #fbfcf8;
  --mint: #d9f1e8;
  --leaf: #2f725a;
  --coral: #d8674c;
  --gold: #e1ad42;
  --sky: #e6f1f6;
  --white: #ffffff;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.topbar {
  align-items: center;
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 800;
  gap: 10px;
}

.brand img {
  height: 40px;
  width: 40px;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  font-size: 0.95rem;
  font-weight: 650;
}

nav a {
  color: var(--muted);
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  min-height: calc(100vh - 72px);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(40px, 6vw, 72px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.7rem, 9vw, 7.4rem);
  line-height: 0.92;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  line-height: 1.55;
  max-width: 660px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 750;
  min-height: 48px;
  padding: 0 18px;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--leaf);
}

.hero-media {
  display: grid;
  gap: 18px;
}

.hero-media > img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.hero-panel,
.status-card,
article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 36, 36, 0.08);
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.metric {
  background: var(--white);
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 18px;
}

.metric:nth-child(2) {
  background: var(--sky);
}

.metric-value {
  color: var(--coral);
  font-size: 1.32rem;
  font-weight: 850;
}

.metric-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.band {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

article {
  min-height: 168px;
  padding: 24px;
}

article p,
.launch p {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  background: var(--mint);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
}

.checklist {
  align-content: start;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checklist span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(47, 114, 90, 0.18);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  min-height: 52px;
  padding: 15px 16px;
}

.launch {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
}

.status-card {
  display: grid;
  gap: 8px;
  min-height: 168px;
  padding: 24px;
}

.status-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

#api-status {
  font-size: 2rem;
}

#api-detail {
  color: var(--muted);
  line-height: 1.45;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
  }

  .hero,
  .split,
  .launch {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 520px) {
  nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 3.25rem;
  }

  .button {
    justify-content: center;
    width: 100%;
  }
}
