/*
  Copyright (c) 2025-2026 Lightyear Minds LLC. All rights reserved.
*/

:root {
  color-scheme: light dark;
  --ink: #111111;
  --ink-soft: #6b6b6b;
  --bg: #f6f5f2;
  --foam: #ffffff;
  --accent: #111111;
  --accent-fg: #ffffff;
  --line: #e8e8e8;
  --chip: #eeeeee;
  --font: "Inter", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f5;
    --ink-soft: #a3a3a3;
    --bg: #000000;
    --foam: #1e1e1e;
    --accent: #f5f5f5;
    --accent-fg: #111111;
    --line: #2a2a2a;
    --chip: #2a2a2a;
  }
}

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

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
}

.wrap {
  width: min(42rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 0 0 1.75rem;
  text-decoration: none;
  font-weight: 600;
}

.brand img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.25;
}

h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
}

p,
li {
  line-height: 1.6;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

.lede {
  font-size: 1.05rem;
}

.example,
.note {
  margin: 0 0 1.25rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--foam);
}

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

.example h2 {
  margin-top: 0;
}

.figures {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.figures th,
.figures td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.figures th:last-child,
.figures td:last-child {
  text-align: right;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: 1.5rem 0 1.25rem;
}

.cta a.button {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 500;
  text-decoration: none;
}

.more {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.more a {
  color: var(--ink-soft);
}

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

.foot {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}
