/*
 * The interim front page (ADR 0034). Look: "somewhat similar to block" (D192): black on white, no
 * colour accent, Inter, small uppercase navigation, a centred one-sentence hero with room around it.
 * Colours and sizes still come from tokens.css (docs/DESIGN.md section 3); this page overrides only
 * --font-sans, and never uses --accent. tests/site/test_interim_page.py holds both rules.
 * Replaced by apps/site (track 2).
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Inter-Medium.woff2") format("woff2");
}

:root {
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-md);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}

p {
  margin: 0 0 var(--s-5);
}

a {
  color: var(--ink);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(var(--s-5), 4vw, var(--s-7));
}

/* Small uppercase labels: navigation, buttons, footer links (D192) */
.caps {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--t-sm);
}

/* Skip link: off screen until focused (DESIGN 9) */
.skip {
  position: absolute;
  left: var(--s-5);
  top: calc(-1 * var(--s-9));
  z-index: 10;
  padding: var(--s-3) var(--s-4);
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--r-sm);
}

.skip:focus {
  top: var(--s-3);
}

/* Navigation: the name at the left, plain uppercase links at the right, no bar */
.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4) var(--s-6);
  padding-block: var(--s-6);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3) var(--s-7);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

@media (max-width: 40rem) {
  .bar-inner {
    flex-direction: column;
  }

  .nav-links {
    gap: var(--s-3) var(--s-6);
  }
}

/* Hero: the name, one sentence, centred, with the screen around it */
.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--s-9);
}

.wordmark {
  font-weight: 500;
  font-size: var(--t-lg);
  letter-spacing: 0.02em;
  text-decoration: none;
}

h1 {
  font-size: clamp(var(--t-xl), 1.1rem + 2vw, 2.6rem);
  line-height: 1.25;
  max-width: 24ch;
  margin-bottom: var(--s-6);
}

.lead {
  color: var(--ink-2);
  max-width: 46ch;
}

.status {
  color: var(--ink-2);
  max-width: 52ch;
  margin-top: var(--s-3);
}

.status-label {
  color: var(--ink);
  font-weight: 500;
}

/* Sections: flat, hairline between, generous space */
.band {
  border-top: 1px solid var(--line);
  padding-block: var(--s-9);
}

.cols-2 {
  display: grid;
  gap: var(--s-8);
}

@media (min-width: 56rem) {
  .cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

h2 {
  font-size: var(--t-xl);
  line-height: 1.3;
  margin-bottom: var(--s-5);
}

.intro {
  color: var(--ink-2);
  max-width: 52ch;
}

.points {
  margin: 0 0 var(--s-7);
  padding-left: var(--s-5);
  max-width: 56ch;
}

.points li {
  margin-bottom: var(--s-3);
  padding-left: var(--s-2);
}

.points li::marker {
  color: var(--ink-3);
}

/* Buttons: outlined, uppercase, black; filled on hover */
.button {
  display: inline-block;
  padding: var(--s-3) var(--s-5);
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
}

.button:hover {
  background: var(--ink);
  color: var(--surface);
}

.contact {
  margin: 0;
}

.contact dt {
  color: var(--ink-2);
  font-size: var(--t-sm);
}

.contact dd {
  margin: 0 0 var(--s-5);
  font-size: var(--t-lg);
}

/* Footer: one centred row of uppercase links, then the plain line */
.foot {
  border-top: 1px solid var(--line);
  padding-block: var(--s-7);
  text-align: center;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3) var(--s-7);
  margin: 0 0 var(--s-5);
  padding: 0;
  list-style: none;
}

.foot-links a {
  text-decoration: none;
}

.foot-links a:hover {
  text-decoration: underline;
}

.foot-note {
  color: var(--ink-2);
  font-size: var(--t-xs);
  margin: 0;
}

.foot-note time {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}

@media print {
  .bar,
  .skip,
  .button {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .band {
    padding-block: var(--s-6);
  }
}
