
:root {
  color-scheme: dark;
  --bg: #080b10;
  --surface: #10161f;
  --surface-2: #151d28;
  --border: #253141;
  --text: #f5f7fa;
  --muted: #9aa9b9;
  --accent: #ff8a2a;
  --accent-soft: rgba(255, 138, 42, 0.13);
  --success: #5bd59a;
  --success-soft: rgba(91, 213, 154, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 138, 42, 0.12), transparent 34rem),
    linear-gradient(180deg, #0a0e14 0%, var(--bg) 45%);
  color: var(--text);
}

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

.shell {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 1.1rem 0 2.5rem;
}

.topbar {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.brand-mark {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 138, 42, .45);
  border-radius: .8rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-copy { display: grid; gap: .05rem; }
.brand-copy strong { font-size: .98rem; letter-spacing: -.01em; }
.brand-copy small { color: var(--muted); font-size: .72rem; }

.environment {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .58rem;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.hero {
  padding: 4.5rem 0 2.4rem;
  max-width: 52rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--success);
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 1rem;
}

.pulse {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 .3rem var(--success-soft);
}

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

h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.5rem, 10vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.055em;
  max-width: 12ch;
}

.hero-copy {
  margin-bottom: 0;
  max-width: 43rem;
  color: #bac5d1;
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  line-height: 1.65;
}

.status-card,
.principle-card,
.next-card {
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(21, 29, 40, .92), rgba(13, 18, 26, .92));
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, .22);
}

.status-card { padding: 1.25rem; }

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
}

.kicker {
  margin-bottom: .35rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: .5rem;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  letter-spacing: -.025em;
}

.status-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: .4rem .68rem;
  font-size: .72rem;
  font-weight: 800;
}

.status-ok {
  background: var(--success-soft);
  color: var(--success);
}

.status-grid {
  display: grid;
  gap: .75rem;
}

.status-item {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: .75rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(37, 49, 65, .78);
  border-radius: 1rem;
  background: rgba(7, 10, 15, .36);
}

.status-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: .7rem;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 800;
}

.status-icon-ok {
  background: var(--success-soft);
  color: var(--success);
}

.status-item h3 {
  margin-bottom: .25rem;
  font-size: .95rem;
}

.status-item p,
.principle-card p,
.next-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: .9rem;
}

.principle-card {
  margin-top: 1rem;
  padding: 1.35rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.principle-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: .85rem;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 1.25rem;
  font-weight: 800;
}

.next-card {
  margin-top: 1rem;
  padding: 1.35rem;
}

.next-note {
  margin-top: 1rem;
  padding: .8rem .9rem;
  border-radius: .85rem;
  border: 1px dashed #354459;
  color: #b5c0cc;
  font-size: .82rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.35rem .15rem 0;
  color: #657384;
  font-size: .7rem;
}

@media (min-width: 48rem) {
  .shell { padding-top: 1.6rem; }
  .hero { padding: 7rem 0 3.4rem; }
  .status-card { padding: 1.6rem; }
  .status-grid { grid-template-columns: repeat(3, 1fr); }
  .status-item { grid-template-columns: 1fr; min-height: 10.5rem; }
  .principle-card, .next-card { padding: 1.7rem; }
}

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