:root {
  --paper: #FAF7F2;
  --paper-2: #F2EDE4;
  --card: #FFFFFF;
  --ink: #1E2A2B;
  --ink-soft: #4A5657;
  --line: #E2DBCF;
  --sage: #3E6A5C;
  --sage-tint: #E4EDE8;
  --clay: #9E5434;
  --clay-hover: #86462A;
  --focus: #1F5F99;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Atkinson Hyperlegible", system-ui, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
[id] { scroll-margin-top: 88px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 14px; z-index: 10; }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 68ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); margin-bottom: .75rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); }
.center { text-align: center; }
.center .narrow { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: 999px;
  background: var(--clay); color: #fff; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; font: inherit; font-weight: 700;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--clay-hover); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }
.btn svg { width: 20px; height: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--sage); box-shadow: inset -7px -7px 0 var(--sage-tint); flex: none; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; padding: 10px 0; }
.nav-menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 80px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero .lead { max-width: 34ch; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding: 0; list-style: none; color: var(--ink-soft); font-size: .95rem; }
.trust-line li { display: inline-flex; align-items: center; gap: 8px; }
.trust-line svg { width: 18px; height: 18px; color: var(--sage); }

/* Kit preview (pure CSS stack of pages) */
.kit-preview { position: relative; aspect-ratio: 4 / 5; max-width: 420px; margin-inline: auto; width: 100%; }
.page { position: absolute; inset: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px; box-shadow: 0 1px 2px rgba(30,42,43,.06); }
.page-3 { transform: translate(28px, 24px) rotate(4deg); background: var(--sage-tint); }
.page-2 { transform: translate(14px, 12px) rotate(2deg); }
.page-1 { display: flex; flex-direction: column; }
.page-1 .p-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); font-weight: 700; }
.page-1 .p-title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; margin: 10px 0 18px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; }
.steps .n { width: 28px; height: 28px; border-radius: 50%; background: var(--sage-tint); color: var(--sage); font-weight: 700; display: grid; place-items: center; font-size: .85rem; flex: none; }
.page-1 .p-foot { margin-top: auto; font-size: .8rem; color: var(--ink-soft); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--sage-tint); color: var(--sage); display: grid; place-items: center; margin-bottom: 16px; }
.icon-badge svg { width: 22px; height: 22px; }

/* Kit contents list */
.contents { display: grid; gap: 16px; counter-reset: part; }
.part { display: grid; grid-template-columns: 56px 1fr; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.part-n { font-family: var(--serif); font-size: 1.6rem; color: var(--sage); line-height: 1; }
.part h3 { margin-bottom: .3em; }
.part p { margin: 0; color: var(--ink-soft); }

/* Principles */
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.principles li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.principles svg { width: 24px; height: 24px; color: var(--sage); margin-top: 3px; }
.principles strong { display: block; }

/* Note from founder */
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: var(--radius); padding: 36px; }
.note p { font-size: 1.1rem; }
.note .sign { font-family: var(--serif); font-size: 1.1rem; color: var(--sage); margin: 0; }

/* Buy box */
.buy { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.price { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--sage); flex: none; margin-top: 4px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--sage); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Legal / prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.page-head { padding: 72px 0 24px; }

/* Forms */
.form { display: grid; gap: 20px; max-width: 560px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--card);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field .help { font-size: .9rem; color: var(--ink-soft); margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 16px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--sage-tint); }
.alert-error { background: #FBEAE4; border-color: #E8C3B4; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid nav a, .footer-grid > div > a:not(.brand) { display: block; color: var(--ink); text-decoration: none; padding: 5px 0; }
.footer-grid nav a:hover { text-decoration: underline; }
.footer-h { font-family: var(--sans); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; }

@media (max-width: 900px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kit-preview { max-width: 340px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .container { width: min(1120px, 100% - 32px); }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 16px; }
  .buy { grid-template-columns: 1fr; }
  .part { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .note { padding: 24px; }
  .hero { overflow-x: clip; }
  .kit-preview { max-width: calc(100% - 28px); margin-inline: 0 auto; }
  .page { padding: 22px; }
  .page-3 { transform: translate(16px, 14px) rotate(3deg); }
  .page-2 { transform: translate(8px, 7px) rotate(1.5deg); }
  .page-1 .p-title { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
