/* 16ane.net. Brand tokens from assets/README.md; every text pair is AA-checked in both modes. */
:root {
  color-scheme: light dark;
  --ground: #f7f7fb;   /* indigo-tinted off-white */
  --raised: #ffffff;
  --rule: #e3e3ef;
  --ink: #1b194f;      /* brand indigo: 15.1:1 on ground */
  --muted: #5a5a80;    /* 6.1:1 */
  --link: #1b194f;
  --teal-ink: #0a6e67; /* teal dark enough for text: 5.7:1 */
  --teal: #13b9ad;     /* brand teal: marks and dots only, never text on light */
  --btn-bg: #1b194f;
  --btn-ink: #ffffff;  /* 16.2:1 */
  --btn-hover: #2c2a72;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #13123f; /* the banner's indigo */
    --raised: #1c1b55;
    --rule: #2e2c6a;
    --ink: #eeeefa;    /* 15.4:1 */
    --muted: #a5a8d8;  /* 7.8:1 on ground, 6.9:1 on raised */
    --link: #c7c9f5;   /* brand lilac: 11.1:1 */
    --teal-ink: #13b9ad; /* 7.2:1 */
    --btn-bg: #13b9ad;
    --btn-ink: #13123f; /* 7.2:1 */
    --btn-hover: #2fd0c3;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--teal); color: #13123f; }

a { color: var(--link); text-underline-offset: .2em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

code { font-family: var(--mono); font-size: .92em; font-variant-numeric: tabular-nums; }

.bar, main, .foot {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Header */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
}
.quiet { color: var(--muted); font-size: 16px; padding: 12px 0; }

/* Hero */
.hero { padding: 48px 0 64px; }
.eyebrow {
  margin: 0 0 16px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: 1px;
}
h1 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 9vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 750;
}
.lede {
  margin: 0 0 32px;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.button {
  display: inline-block;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--btn-hover); }

/* Network card */
.card {
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--raised);
}
dl { margin: 0; }
dl > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}
dl > div:first-child { border-top: 0; padding-top: 0; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.pending {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

/* Points */
.points {
  display: grid;
  gap: 32px;
  padding: 64px 0;
}
.points h2 { margin: 0 0 8px; font-size: 1.1rem; letter-spacing: -.01em; }
.points p { margin: 0; color: var(--muted); }

@media (min-width: 640px) {
  .points { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
  dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Footer */
.foot {
  padding-top: 32px;
  padding-bottom: 48px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--muted);
}
.foot p { margin: 0 0 8px; }
.foot a { color: var(--muted); }
