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

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/newsreader-italic.woff2") format("woff2");
}

:root {
  --bg: #0b0b0a;
  --bg-soft: #141412;
  --ink: #f0ece3;
  --muted: #9a958b;
  --faint: #8a857b;
  --line: #26251f;
  --ghost-line: #6b665c;
  --accent: #8aa58c;
  --live: #9cba9e;
  --rebuild: #8aa58c;
  --early: #8a8580;
  --btn-bg: #f0ece3;
  --btn-ink: #0b0b0a;
  --focus: #c5d4c6;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 68rem;
  --text: 38rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header: 4rem;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f3efe6;
  --bg-soft: #e8e2d4;
  --ink: #1a1916;
  --muted: #5c5850;
  --faint: #5c5850;
  --line: #d8d0c0;
  --ghost-line: #7a756b;
  --accent: #3f6a48;
  --live: #2f6b45;
  --rebuild: #3f6a48;
  --early: #6e6a63;
  --btn-bg: #1a1916;
  --btn-ink: #f3efe6;
  --focus: #3f6a48;
  color-scheme: light;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(ellipse at top, rgb(138 165 140 / 0.07), transparent 42%);
  z-index: 0;
}

html[data-theme="light"] body::before {
  background-image: radial-gradient(ellipse at top, rgb(63 106 72 / 0.06), transparent 42%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.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;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  background: var(--btn-bg);
  color: var(--btn-ink);
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(11 11 10 / 0.84);
  backdrop-filter: blur(16px);
}

html[data-theme="light"] .site-header {
  background: rgb(243 239 230 / 0.88);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.55rem;
  min-height: var(--header);
}

.wordmark {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}

.wordmark img {
  display: block;
  height: 2.75rem;
  width: auto;
}

html[data-theme="light"] .wordmark img {
  /* Exact cream lockup, remapped so it holds on the light field. */
  filter: invert(1) hue-rotate(180deg);
}

.wordmark:hover {
  opacity: 0.88;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.15rem;
  order: 3;
  flex-basis: 100%;
  padding-bottom: 0.65rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.theme-toggle {
  order: 2;
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

.hero {
  padding-block: clamp(3.5rem, 12vw, 7.5rem) clamp(2.5rem, 8vw, 5rem);
}

.eyebrow,
.kicker,
.status,
.page-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-head h1 {
  margin: 0.7rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 5.1rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1:first-child {
  margin-top: 0;
}

.deck,
.intro,
.prose {
  max-width: var(--text);
}

.deck,
.intro {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 2rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 0.9375rem;
  text-decoration: none;
}

.btn:hover {
  color: var(--btn-ink);
  opacity: 0.88;
}

.btn-ghost {
  background: transparent;
  border-color: var(--ghost-line);
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
  opacity: 1;
}

.section {
  padding-block: 1rem 4.5rem;
}

.section-label {
  margin: 0 0 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.belief-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: belief;
  max-width: var(--text);
}

.belief-list li {
  counter-increment: belief;
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.85rem;
  margin: 0;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.belief-list li:first-child {
  border-top: 1px solid var(--line);
}

.belief-list li::before {
  content: counter(belief);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding-top: 0.35rem;
}

.product-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product {
  border-bottom: 1px solid var(--line);
}

.product:first-child {
  border-top: 1px solid var(--line);
}

.product-inner {
  display: block;
  padding-block: 1.5rem;
  text-decoration: none;
}

a.product-inner:hover {
  color: inherit;
}

a.product-inner:hover .product-name {
  color: var(--accent);
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.55rem;
}

.product-name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.product-copy {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  color: var(--muted);
}

.status-live { color: var(--live); }
.status-rebuild { color: var(--rebuild); }
.status-early { color: var(--early); }
.status-alpha { color: var(--live); }

.closing {
  margin: 0;
  padding: 0 0 5rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-style: italic;
  line-height: 1.4;
}

.page-head {
  padding-block: clamp(3rem, 8vw, 5.5rem) 2rem;
}

.page-head .status {
  margin-top: 0.85rem;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.65;
}

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

.updated {
  margin: 0 0 5rem;
  color: var(--faint);
  font-size: 0.875rem;
}

.page-cta {
  margin: 2rem 0 5rem;
}

.page-cta.actions {
  margin-top: 2rem;
}

.page-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.crumb {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.crumb:hover {
  color: var(--ink);
}

.inbox {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.inbox a {
  text-decoration: none;
}

.unconfirmed {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.12rem 0.45rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.inbox-note {
  margin: 0 0 5rem;
  max-width: 28rem;
  color: var(--faint);
  font-size: 0.9375rem;
}

.location {
  margin: 2rem 0 5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.8125rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer p {
  margin: 0;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--faint);
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--muted);
}

@media (min-width: 720px) {
  .nav {
    order: 2;
    flex-basis: auto;
    justify-content: flex-end;
    padding-bottom: 0;
  }

  .theme-toggle {
    order: 3;
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }

  .product-inner {
    display: grid;
    grid-template-columns: 8.5rem 1fr auto;
    column-gap: 1.75rem;
    align-items: start;
    padding-block: 1.85rem;
  }

  .product-top {
    display: contents;
  }

  .kicker {
    grid-column: 1;
    padding-top: 0.7rem;
  }

  .status {
    grid-column: 3;
    grid-row: 1;
    padding-top: 0.7rem;
    text-align: right;
  }

  .product-name,
  .product-copy {
    grid-column: 2;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  a,
  .btn,
  .theme-toggle,
  .product-name {
    transition: color 160ms ease, border-color 160ms ease, opacity 160ms ease;
  }
}
