@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3eddc;
  --paper-2: #e8dfc6;
  --paper-3: #faf6ea;
  --ink: #1a3320;
  --ink-soft: #3a5340;
  --muted: #667a68;
  --mint: #4e7a4d;
  --stroke: rgba(26, 51, 32, 0.11);
  --stroke-strong: rgba(26, 51, 32, 0.2);
  --shadow: 0 24px 60px -28px rgba(26, 51, 32, 0.42);
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(78, 122, 77, 0.14), transparent 58%),
    radial-gradient(700px 380px at 8% 18%, rgba(196, 138, 42, 0.08), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  font-feature-settings: 'ss01' on, 'cv11' on;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 10px;
}

.wide-only {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--stroke);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(16px, 4.6vw, 22px);
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  white-space: nowrap;
  letter-spacing: -0.03em;
  flex: 0 1 auto;
  min-width: 0;
}

.wordmark .a {
  color: var(--mint);
}

.nav-wide {
  display: none;
  gap: 28px;
}

.nav-wide a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink-soft);
}

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

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -14px rgba(26, 51, 32, 0.7);
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--stroke-strong);
}

.link-quiet {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.link-quiet:hover {
  color: var(--ink);
}

.hero {
  padding: 48px 0 28px;
}

.hero-copy {
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(2.05rem, 6.2vw, 3.55rem);
  margin: 0 0 16px;
  max-width: 13em;
  text-wrap: pretty;
}

.lede {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 1.125rem;
  max-width: 28em;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 12px;
}

.micro {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.faq {
  padding: 36px 0 16px;
  scroll-margin-top: 76px;
}

.faq h2,
.end h2 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  margin: 0 0 10px;
  text-wrap: pretty;
}

.faq details {
  border-top: 1px solid var(--stroke);
  padding: 4px 0;
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--stroke);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 160ms ease;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq details p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  max-width: 60ch;
}

.end {
  padding: 40px 0 64px;
  text-align: center;
}

.end h2 {
  margin-inline: auto;
  margin-bottom: 18px;
}

.footer {
  border-top: 1px solid var(--stroke);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer .wordmark {
  margin-bottom: 10px;
  font-size: 22px;
}

.footer p {
  margin: 10px 0 0;
  max-width: 28em;
}

.footer ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  text-decoration: none;
}

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

.page-hero {
  padding: 36px 0 80px;
}

.prose {
  max-width: 40rem;
}

.prose h1 {
  font-size: clamp(2rem, 5.4vw, 3.15rem);
  margin: 0 0 16px;
  text-wrap: pretty;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 36px 0 10px;
}

.prose p {
  color: var(--ink-soft);
}

.shot {
  margin: 24px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  background: var(--paper-2);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.nav,
.menu-btn {
  display: none;
}

.lang {
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .faq summary::after {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media (min-width: 480px) {
  .wrap {
    width: min(var(--max), calc(100% - 40px));
  }
}

@media (min-width: 900px) {
  .wide-only,
  .nav-wide {
    display: flex;
  }

  .hero {
    padding: 88px 0 56px;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .faq {
    padding-top: 24px;
  }

  .footer-grid {
    grid-template-columns: 1.7fr 1fr 1fr;
    align-items: start;
  }
}
