/* Bootstack interim frontpage — one stylesheet, no external assets, no JS.
   Light and dark are both first-class: every colour is a token, and the dark
   block redefines only the tokens. */

:root {
  color-scheme: light dark;

  --page: #fbfaf8;
  --surface: #ffffff;
  --surface-sunken: #f4f1ec;
  --line: #e4dfd7;
  --line-strong: #d3ccc1;
  --ink: #1b1917;
  --ink-muted: #6a635a;
  --accent: #0f766e;
  --accent-ink: #ffffff;
  --accent-quiet: #e6f2f0;
  --shadow: 0 1px 2px rgb(28 25 23 / 6%), 0 8px 24px -16px rgb(28 25 23 / 24%);

  --measure: 44rem;
  --radius: 10px;

  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #131519;
    --surface: #1a1d22;
    --surface-sunken: #171a1f;
    --line: #2a2f37;
    --line-strong: #3a414b;
    --ink: #e9ecef;
    --ink-muted: #98a0ac;
    --accent: #5eead4;
    --accent-ink: #08201d;
    --accent-quiet: #16302d;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px -16px rgb(0 0 0 / 70%);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
}

/* ---------------------------------------------------------------- chrome -- */

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

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.15rem;
  font-weight: 640;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}

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

.pill {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-muted);
  white-space: nowrap;
}

.masthead-end {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

main {
  flex: 1 0 auto;
  padding-block: 3.5rem 4rem;
}

/* ------------------------------------------------------------------ type -- */

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem);
  font-weight: 640;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h2 {
  margin: 3rem 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.lede {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

.quiet {
  color: var(--ink-muted);
}

a {
  color: var(--accent);
}

a:focus-visible,
.tile:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- action -- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin: 2rem 0 0;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  filter: brightness(1.08);
}

/* ------------------------------------------------------------------ list -- */

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.facts li {
  padding-inline-start: 1.4rem;
  position: relative;
  color: var(--ink-muted);
}

.facts li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--accent);
}

.facts strong {
  color: var(--ink);
  font-weight: 600;
}

/* ------------------------------------------------------------------ note -- */

.note {
  margin: 3rem 0 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-sunken);
  font-size: 0.94rem;
  color: var(--ink-muted);
}

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

.note strong {
  color: var(--ink);
}

/* ----------------------------------------------------------------- tiles -- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: block;
  height: 100%;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}

a.tile:hover {
  border-color: var(--accent);
}

.tile-name {
  display: block;
  font-weight: 640;
  letter-spacing: -0.01em;
}

.tile-host {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--accent);
  word-break: break-all;
}

.tile-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.tile-soon {
  background: var(--surface-sunken);
  box-shadow: none;
  border-style: dashed;
  color: var(--ink-muted);
}

.tile-soon .tile-name {
  color: var(--ink-muted);
}

.badge {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-quiet);
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------- footer -- */

footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  padding-block: 1.5rem 2.5rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.6rem;
}

@media (prefers-reduced-motion: no-preference) {
  a,
  .tile {
    transition:
      border-color 120ms ease,
      filter 120ms ease;
  }
}
