:root {
  --ink: #1b2430;
  --muted: #5b6573;
  --bg: #fbfaf7;
  --alt: #f2efe8;
  --card: #ffffff;
  --line: #e4dfd4;
  --accent: #b5532b;
  --accent-dark: #93411f;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.header-link { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.header-link:hover { color: var(--ink); }

.hero { padding: 88px 0 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 18ch; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin: 0 0 32px; }

h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.015em; margin: 0 0 28px; line-height: 1.2; }
h3 { font-size: 1.1rem; margin: 0 0 8px; }

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.button:hover { background: var(--accent-dark); }

.section { padding: 72px 0; }
.section.alt { background: var(--alt); }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}

.pilot { text-align: center; }
.pilot p { color: var(--muted); margin: 0 auto 28px; max-width: 60ch; }

.about { display: flex; gap: 24px; align-items: flex-start; }
.about h2 { margin-bottom: 14px; }
.about p { color: var(--muted); margin: 0 0 10px; }
.avatar {
  flex: 0 0 auto;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.4rem;
}

.prose h1 { font-size: 2.2rem; }
.prose h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.prose p { margin: 0 0 12px; }
.muted { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .cards.three { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }
  .header-link { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .about { flex-direction: column; }
  .steps li { flex-direction: column; }
}
