/* Encircled — Editorial Warm on Paper */

:root {
  --paper: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #18181B;
  --ink-soft: #3F3F46;
  --terracotta: #C2633F;
  --terracotta-soft: #F5DCCC;
  --terracotta-ink: #8A3F20;
  --n200: #E6E4DD;
  --n400: #A8A498;
  --n500: #7A766B;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

@media (min-width: 720px) {
  .wrap {
    padding: 64px 32px 96px;
  }
}

h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 2.4em;
  margin-bottom: 0.6em;
}

h1 {
  font-style: italic;
  font-size: clamp(40px, 9vw, 64px);
  line-height: 1;
  margin-top: 0;
  margin-bottom: 0.2em;
}

h2 {
  font-style: italic;
  font-size: 26px;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  margin-top: 1.8em;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

a:hover {
  border-bottom-color: var(--terracotta);
}

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

ul li {
  margin-bottom: 0.4em;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

hr {
  border: none;
  border-top: 1px solid var(--n200);
  margin: 48px 0;
}

/* ── Landing-only ─────────────────────────────── */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.brand img {
  width: 200px;
  height: 200px;
  display: block;
  margin-bottom: 16px;
}

.tagline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: var(--terracotta);
  font-size: 22px;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 32px;
}

.lede {
  text-align: center;
  font-size: 18px;
  margin: 0 0 40px;
  color: var(--ink-soft);
}

.pilot {
  background: var(--terracotta-soft);
  color: var(--terracotta-ink);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  margin: 0 0 48px;
  font-size: 15px;
}

.pilot strong {
  color: var(--terracotta-ink);
}

.features {
  display: grid;
  gap: 20px;
  margin: 0 0 48px;
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--n200);
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}

.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ── Sub-page header ─────────────────────────── */

.page-header {
  margin-bottom: 32px;
}

.back {
  display: inline-block;
  font-size: 14px;
  color: var(--n500);
  margin-bottom: 16px;
}

.back:hover {
  color: var(--terracotta);
}

.updated {
  color: var(--n500);
  font-size: 14px;
  margin-top: -0.4em;
  margin-bottom: 2em;
}

/* ── Footer ──────────────────────────────────── */

footer {
  border-top: 1px solid var(--n200);
  margin-top: 64px;
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--n500);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 12px;
}

footer .dot {
  color: var(--n400);
}

footer small {
  display: block;
  font-size: 13px;
  color: var(--n500);
}
