:root {
  color-scheme: dark;
  --background: #000;
  --surface: #111;
  --surface-alt: #0d0d0d;
  --border: #242424;
  --text: #fff;
  --muted: #aaa;
  --dim: #777;
  --accent: #8b5cf6;
  --accent-bright: #a855f7;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 20%, rgba(139, 92, 246, 0.16), transparent 28rem),
    var(--background);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 74vh;
  padding: 28px 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 44px;
}

.hero.compact {
  min-height: 72vh;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.mark {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #050505;
}

.mark-core,
.mark-ring {
  position: absolute;
  border-radius: 50%;
  inset: 50%;
  transform: translate(-50%, -50%);
}

.mark-core {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.75);
}

.mark-ring {
  border: 1px solid rgba(139, 92, 246, 0.7);
}

.mark-ring-one {
  width: 24px;
  height: 24px;
}

.mark-ring-two {
  width: 36px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.18);
}

.wordmark {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.wordmark span {
  color: var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: end;
}

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

.eyebrow {
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 0;
}

.lede {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 0;
}

.system-panel,
.reset-panel {
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.panel-header,
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.panel-header {
  padding-top: 0;
}

.panel-header strong,
.status-row strong {
  color: var(--text);
}

.codes-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.codes-strip span {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--text);
  font-weight: 800;
}

.codes-strip span:nth-child(2) {
  color: var(--accent);
}

.band {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  border-top: 1px solid var(--border);
  padding: 32px 0 56px;
  color: var(--muted);
  line-height: 1.6;
}

.reset-panel {
  width: min(560px, 100%);
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  margin-top: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.article-card,
.info-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.82);
  color: var(--muted);
  text-decoration: none;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.text-link,
.read-more {
  color: var(--text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  margin-top: 14px;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus,
.read-more:hover,
.read-more:focus {
  color: var(--accent-bright);
}

.article-card:hover,
.article-card:focus {
  border-color: rgba(139, 92, 246, 0.68);
  color: var(--text);
}

.article-card strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.article-kicker {
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article {
  padding: 28px 0 72px;
}

.article-header {
  max-width: 820px;
  padding: 96px 0 40px;
}

.article-header h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.article-body {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.article-body h2 {
  color: var(--text);
  font-size: 28px;
  margin: 44px 0 14px;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body strong {
  color: var(--text);
}

.post-list {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.8;
  padding: 28px 0 64px;
  text-align: center;
  text-transform: uppercase;
}

.site-footer span {
  color: rgba(139, 92, 246, 0.72);
  margin: 0 8px;
}

.fine-print {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 18px 0 0;
}

.signup-band p {
  margin-bottom: 18px;
}

.signup-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 560px;
}

.signup-form input[type="email"] {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 0 14px;
}

.signup-form input[type="email"]::placeholder {
  color: var(--dim);
}

.signup-form .button {
  margin-top: 0;
  white-space: nowrap;
}

.honeypot {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: auto;
    padding: 28px 0 48px;
    gap: 40px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 16px;
  }

  .hero-grid,
  .band {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  h1 {
    font-size: 46px;
  }

  .lede {
    font-size: 17px;
  }

  .article-header {
    padding: 56px 0 28px;
  }

  .article-body {
    font-size: 17px;
  }

  .signup-form {
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 92px;
  }
}
