:root {
  --bg: #FAFAF6;
  --bg-soft: #F4F1E8;
  --ink: #18181A;
  --ink-soft: #2C2C2E;
  --muted: #76746C;
  --rule: #E4E1D8;
  --accent: #8B2418;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* —— Site chrome ————————————————————————————————— */

.site {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}

.mark {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border: none;
}

.meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* —— Typography ————————————————————————————————— */

.serif { font-family: 'Newsreader', Georgia, 'Times New Roman', serif; }
.sans  { font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif; }

h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
}

h1 {
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.04;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  margin-top: 56px;
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-top: 28px;
  margin-bottom: 8px;
  font-weight: 500;
}

p {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 14px;
}

p.lede {
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 28px;
}

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

ul, ol {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 18px 1.1em;
}

li { margin-bottom: 6px; }

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color .15s ease;
}
a:hover { border-bottom-color: var(--ink); }

hr, .rule {
  height: 1px;
  border: 0;
  background: var(--rule);
  margin: 32px 0;
}

/* —— Page layouts ————————————————————————————————— */

.home main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 96px 0 64px;
}

.home .card { max-width: 32rem; }

.home .card h1 {
  font-size: clamp(40px, 6.4vw, 64px);
  margin-bottom: 20px;
}

.home .card p {
  font-size: 19px;
  line-height: 1.55;
  max-width: 28rem;
  margin-bottom: 0;
}

.home .card .rule { margin: 28px 0 0; }

.doc main {
  padding: 56px 0 96px;
  max-width: 38rem;
}

.doc .eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  font-family: 'Geist', sans-serif;
}

.doc h1 { margin-bottom: 8px; }

.doc .byline {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 36px;
}

.doc .byline span + span::before {
  content: " · ";
  margin: 0 6px;
}

/* —— Tables for pricing/specs ————————————————————— */

table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  margin: 18px 0 28px;
}

th, td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

td.num { font-variant-numeric: tabular-nums; text-align: right; }

/* —— Callout / aside ————————————————————————————— */

.aside {
  border-left: 2px solid var(--rule);
  padding: 4px 0 4px 18px;
  margin: 24px 0;
}

.aside p { margin: 0; font-size: 17px; color: var(--muted); font-style: italic; }

/* —— Responsive ————————————————————————————————— */

@media (max-width: 640px) {
  .site { padding: 20px; }
  .home main { padding: 56px 0 32px; }
  .home .card p { font-size: 17px; }
  .doc main { padding: 36px 0 64px; }
  p, ul, ol { font-size: 17px; }
  p.lede { font-size: 19px; }
  h2 { margin-top: 40px; }
}
