:root {
  --kraft: #e4d3a8;
  --seal: #b42318;
  --ink: #1c1612;
  --mute: #6e6458;
  --display: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
body { margin: 0; background: var(--kraft); color: var(--ink); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--seal); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
.kraft-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 6;
  opacity: 0.22;
  background-image: url("images/texture.webp");
  background-size: 380px auto;
  mix-blend-mode: multiply;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: var(--seal); color: #fff; padding: 8px; }
.spine {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: var(--ink);
  color: var(--kraft);
  border-bottom: 5px solid var(--seal);
}
.brand { font-family: var(--display); font-size: 26px; font-weight: 700; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: #d4b090; letter-spacing: 0.14em; font-weight: 400; }
.nav-toggle { display: none; background: var(--seal); color: #fff; border: 0; padding: 7px 12px; }
.deed-links { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; align-items: center; }
.deed-links a { color: #c9bba8; }
.deed-links a.is-active, .deed-links a:hover { color: var(--kraft); }
.deed-links .live { background: var(--seal); color: #fff; padding: 6px 12px; }
.deed-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 88vh;
  background: #f3e6c8;
}
.deed-hero .copy { padding: 40px 32px 48px 6vw; align-self: center; }
.deed-hero figure { margin: 0; }
.deed-hero figure img { width: 100%; height: 100%; object-fit: cover; min-height: 88vh; }
.copy.is-ok { box-shadow: inset 8px 0 0 var(--seal); }
.kicker { font-family: var(--mono); letter-spacing: 0.14em; font-size: 11px; color: var(--seal); margin: 0 0 10px; }
h1, h2 { font-family: var(--display); margin: 0 0 10px; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(30px, 4vw, 48px); }
.lead { color: var(--mute); max-width: 44ch; }
.n { font-family: var(--display); font-size: 64px; line-height: 0.9; margin: 8px 0; }
.n small { font-size: 14px; margin-left: 8px; font-family: var(--mono); color: var(--seal); }
.state { margin: 0 0 6px; font-weight: 700; color: var(--seal); }
.hint { font-size: 13px; color: var(--mute); margin: 0 0 12px; }
.seals { display: flex; gap: 8px; margin: 0 0 12px; }
.seals span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--seal);
  color: var(--seal);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 13px;
  opacity: 0.35;
}
.seals span.on { opacity: 1; background: var(--seal); color: #fff; }
.copy button { background: var(--ink); color: var(--kraft); border: 0; padding: 8px 14px; font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn { display: inline-flex; padding: 10px 14px; border: 1px solid var(--ink); position: static; }
.btn.fill { background: var(--seal); color: #fff; border-color: var(--seal); position: static; }
.w { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.need-grid li { background: #f8ecd0; padding: 16px; border-bottom: 4px solid var(--seal); }
.ink { background: var(--ink); color: var(--kraft); }
.ink .kicker, .ink .app-link { color: #e8a39d; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #3a322c;
  counter-increment: st;
}
.steps li::before {
  content: counter(st);
  font-family: var(--display);
  font-size: 26px;
  color: var(--seal);
}
.steps li p { margin: 4px 0 0; color: #c9bba8; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.pair figure { margin: 0; }
.pair img { width: 100%; height: 280px; object-fit: cover; }
.pair figcaption { font-size: 13px; color: #c9bba8; margin-top: 8px; }
footer { padding: 20px 24px 48px; background: var(--kraft); color: var(--mute); font-size: 13px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .spine { flex-wrap: wrap; }
  .deed-links { display: none; width: 100%; flex-direction: column; background: #2a221c; padding: 12px; }
  .deed-links.open { display: flex; }
  .deed-hero { grid-template-columns: 1fr; }
  .deed-hero figure img { min-height: 42vh; }
  .deed-hero .copy { padding: 28px 18px 36px; }
  .need-grid, .pair { grid-template-columns: 1fr; }
  .n { font-size: 48px; }
}
