:root {
  --background: #f9f8f5;
  --foreground: #252422;
  --muted: #5c5854;
  --border: #e4e0d9;
  --accent: #5a7458;
  --accent-soft: rgba(90, 116, 88, 0.12);
  --accent-border: rgba(90, 116, 88, 0.22);
  --body-muted: #4a4744;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-wide {
  max-width: 52rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.site-header {
  border-bottom: 1px solid rgba(228, 224, 217, 0.7);
}

.site-header .container {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1rem;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.wordmark:hover {
  opacity: 0.75;
}

.pilot-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.site-nav a {
  font-size: 0.8125rem;
  color: var(--muted);
  transition: color 0.15s ease;
}

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

main {
  flex: 1;
}

.kicker {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(37, 36, 34, 0.45);
}

.status-line {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.hero {
  padding: 3rem 0 3.5rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 4.5rem 0 5rem;
  }
}

.headline {
  margin: 1rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-body {
  margin-top: 1.75rem;
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body-muted);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fafaf8;
}

.btn-primary:hover {
  background: #4d634b;
}

.btn-secondary {
  border: 1px solid rgba(37, 36, 34, 0.14);
  color: var(--foreground);
  background: transparent;
}

.btn-secondary:hover {
  border-color: rgba(37, 36, 34, 0.22);
  background: rgba(37, 36, 34, 0.03);
}

.features {
  padding: 1rem 0 4rem;
  border-top: 1px solid rgba(228, 224, 217, 0.65);
}

@media (min-width: 768px) {
  .features {
    padding-bottom: 5rem;
  }
}

.features-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
}

.feature-body {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.poetic {
  padding: 2.5rem 0 4.5rem;
  border-top: 1px solid rgba(228, 224, 217, 0.65);
}

@media (min-width: 768px) {
  .poetic {
    padding: 3.5rem 0 6rem;
  }
}

.poetic-inner {
  max-width: 34rem;
}

.poetic-line,
.poetic-emphasis,
.poetic-list,
.poetic-closing {
  margin: 0;
  font-family: var(--font-serif);
  line-height: 1.65;
}

.poetic-line {
  font-size: 1.125rem;
  color: rgba(37, 36, 34, 0.75);
}

.poetic-emphasis {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.poetic-list {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(37, 36, 34, 0.7);
}

.poetic-closing {
  margin-top: 1.75rem;
  font-size: 1.0625rem;
}

.page {
  padding: 2.75rem 0 4.5rem;
}

@media (min-width: 768px) {
  .page {
    padding: 3.5rem 0 6rem;
  }
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  margin: 0.875rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body-muted);
}

.prose {
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body-muted);
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--body-muted);
}

.prose ul li + li {
  margin-top: 0.35rem;
}

.prose ul strong {
  color: var(--foreground);
  font-weight: 500;
}

.prose-wide {
  max-width: 40rem;
}

.section {
  padding-top: 2rem;
}

.section:first-child {
  padding-top: 0;
}

.section-title {
  margin: 0 0 0.875rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link:hover {
  opacity: 0.85;
}

.link-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(228, 224, 217, 0.65);
}

.contact-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-email {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent);
}

.contact-email:hover {
  opacity: 0.8;
}

.contact-actions {
  margin-top: 1.5rem;
}

.explore-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(228, 224, 217, 0.65);
}

.explore-links h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(228, 224, 217, 0.7);
}

.site-footer .container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer .container {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-tagline {
  margin: 0.5rem 0 0;
  max-width: 18rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-copy {
  margin: 2rem 0 0;
  font-size: 0.75rem;
  color: rgba(92, 88, 84, 0.7);
}

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

@media (max-width: 520px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }
}
