/* Inter 4.1 variable, Latin subset. SIL OFL, see fonts/LICENSE-Inter.txt */
@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #fcfcfb;
  --fg: #171717;
  --muted: #8b8b88;
  --rule: #e9e9e6;
  --accent: #171717;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101010;
    --fg: #e6e6e3;
    --muted: #7f7f7c;
    --rule: #262626;
    --accent: #e6e6e3;
  }
}

* { box-sizing: border-box; }

html {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss03";   /* single-storey a, rounder punctuation */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
}

/* Layout: a narrow label column on the left, content on the right.
   Everything hangs from the top-left; nothing is centered. */
main {
  max-width: 44rem;
  padding: 4.5rem 1.5rem 4rem 2.5rem;
}

.row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  column-gap: 1.5rem;
  margin: 0 0 3rem;
}
header.row { margin-bottom: 2.5rem; }
header .label { padding-top: 0; }
footer.row { margin-top: 4.5rem; margin-bottom: 0; }

.label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.6rem;   /* sits on the first row's text line */
}

.dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.45rem;
}

h1 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}
header p { margin: 0; }

p { margin: 0 0 1em; max-width: 32rem; }
.intro p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* Rows: item on the left, quiet metadata on the right. Hairline between rows. */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 32rem;
}
.list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--rule);
}
.list li:last-child { border-bottom: 1px solid var(--rule); }
.meta {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 0.875rem;
  padding-top: 0.1em;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 120ms ease;
}
a:hover { text-decoration-color: var(--fg); }
.meta a { color: inherit; }

/* Phone: labels stack above their content, but everything stays left. */
@media (max-width: 560px) {
  main { padding: 2.5rem 1.25rem 3rem; }
  .row { grid-template-columns: 1fr; row-gap: 0.5rem; margin-bottom: 2.25rem; }
  header.row { grid-template-columns: 1.25rem 1fr; column-gap: 0.5rem; }
  .list li { gap: 1rem; }
}
