:root {
  --ink: #14221f;
  --ink-soft: #3d4f49;
  --paper: #e8efe9;
  --paper-deep: #d5e0d7;
  --forest: #14352f;
  --forest-mid: #1f4d44;
  --accent: #c45c26;
  --accent-soft: #e8a078;
  --line: rgba(20, 53, 47, 0.14);
  --white: #f7faf7;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 92, 38, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(31, 77, 68, 0.16), transparent 50%),
    linear-gradient(180deg, #f3f7f3 0%, var(--paper) 40%, #e2ebe4 100%);
  background-attachment: fixed;
  line-height: 1.55;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 11px,
    #14352f 11px,
    #14352f 12px
  );
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

a { color: var(--forest-mid); }
a:hover { color: var(--accent); }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 250, 247, 0.82);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 20;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.55rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit;
}
.brand-mark {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  background: var(--forest); color: var(--white);
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.02em;
}
.brand-text { display: grid; gap: 0.05rem; }
.brand-text strong {
  font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1;
}
.brand-text span { font-size: 0.78rem; color: var(--ink-soft); }

.site-nav { display: flex; gap: 1.1rem; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.site-nav a:hover { color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 0.4rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 1.35rem; height: 2px; background: var(--ink); margin: 4px 0;
}

.hero {
  display: grid;
  align-items: center;
  padding: 2.25rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero-plane {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(20, 53, 47, 0.92) 0%, rgba(20, 53, 47, 0.72) 42%, rgba(20, 53, 47, 0.35) 70%, transparent 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='none' stroke='%23c45c26' stroke-opacity='0.18' stroke-width='1' d='M20 20h40v40H20zm80 0h40v40H100zM20 100h40v40H20zm80 0h40v40H100z'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #1f4d44, #0d2420 55%, #2a1a12);
  background-size: auto, 160px 160px, auto;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 38rem; color: #f4f7f4; }
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  animation: rise 0.9s ease both;
}
.hero-lede {
  font-size: 1.15rem; max-width: 32rem; margin: 0 0 1.5rem; color: rgba(244,247,244,0.88);
  animation: rise 0.9s ease 0.12s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  animation: rise 0.9s ease 0.22s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.35rem; padding: 0.7rem 1.15rem;
  font: inherit; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  border-radius: var(--radius); transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #a84a1c; color: #fff; }
.btn-ghost {
  background: transparent; color: #f4f7f4; border-color: rgba(244,247,244,0.45);
}
.btn-ghost:hover { background: rgba(244,247,244,0.08); color: #fff; }
.btn-outline {
  background: transparent; color: var(--forest); border-color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: #fff; }

.section { padding: 3.25rem 0; }
.section-tight { padding: 2.25rem 0; }
.section-head { max-width: 36rem; margin-bottom: 1.75rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem;
  font-weight: 700; color: var(--accent); margin: 0 0 0.4rem;
}
.section h1, .section h2, .page-title {
  font-family: var(--font-display); font-weight: 400;
  letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.55rem;
}
.page-title { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.lede { color: var(--ink-soft); margin: 0 0 1.25rem; max-width: 40rem; }

.split-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.book-panel, .tool-tile {
  padding: 1.35rem 1.4rem 1.5rem;
  border-top: 3px solid var(--forest);
  background: rgba(247, 250, 247, 0.72);
  transition: transform 0.2s ease, background 0.2s ease;
}
.book-panel:hover, .tool-tile:hover {
  transform: translateY(-3px);
  background: rgba(247, 250, 247, 0.95);
}
.book-panel h2, .tool-tile h3 {
  font-family: var(--font-display); font-weight: 400; margin: 0.2rem 0 0.5rem;
  font-size: 1.7rem;
}
.audience-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest-mid);
}
.tool-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.tool-tile a { text-decoration: none; color: inherit; display: block; }
.tool-tile p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}
.part-list { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.coming-soon-cta {
  margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px dashed var(--line);
}
.coming-soon-label {
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.75rem; color: var(--accent); margin: 0 0 0.35rem;
}
.coming-soon-copy { margin: 0 0 1rem; color: var(--ink-soft); }

.subscribe-block { max-width: 36rem; }
.subscribe-heading {
  font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 0.4rem;
}
.subscribe-lede { margin: 0 0 1rem; color: var(--ink-soft); }
.subscribe-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.subscribe-row input[type="email"] {
  flex: 1 1 14rem; padding: 0.7rem 0.85rem; border: 1px solid var(--line);
  background: var(--white); font: inherit; border-radius: var(--radius);
}
.footer-subscribe {
  border-top: 1px solid var(--line);
  background: rgba(20, 53, 47, 0.04);
}

.site-footer {
  background: var(--forest); color: rgba(244,247,244,0.88); padding: 2.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 1.5rem;
}
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 0.35rem; color: #fff; }
.footer-tag { margin: 0; color: rgba(244,247,244,0.7); }
.footer-label {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem;
  font-weight: 700; color: var(--accent-soft); margin: 0 0 0.55rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.3rem 0; }
.site-footer a { color: rgba(244,247,244,0.9); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-meta { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem; font-size: 0.88rem; }

.tool-shell { max-width: 40rem; }
.tool-prompt, .tool-panel {
  background: rgba(247,250,247,0.85); border: 1px solid var(--line);
  padding: 1.1rem 1.2rem; margin: 1rem 0;
}
.tool-prompt { font-size: 1.1rem; }
.choice-list { display: grid; gap: 0.55rem; margin: 1rem 0; }
.choice-list label {
  display: flex; gap: 0.6rem; align-items: flex-start;
  padding: 0.65rem 0.75rem; border: 1px solid var(--line); background: var(--white);
  cursor: pointer;
}
.choice-list label:hover { border-color: var(--forest-mid); }
.field { display: grid; gap: 0.35rem; margin: 0.85rem 0; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea, .field select {
  font: inherit; padding: 0.65rem 0.75rem; border: 1px solid var(--line);
  background: var(--white); border-radius: var(--radius); width: 100%;
}
.field textarea { min-height: 6rem; resize: vertical; }
.feedback { margin-top: 1rem; padding: 0.9rem 1rem; border-left: 3px solid var(--forest); background: rgba(31,77,68,0.08); }
.feedback.ok { border-color: #2f6b45; }
.feedback.bad { border-color: var(--accent); background: rgba(196,92,38,0.08); }
.flash-ok {
  background: #e7f6ee; border: 1px solid #b7e0c5; color: #1d5c38;
  padding: 0.75rem 0.9rem; margin: 1rem 0;
}
.flash-err {
  background: #fdecea; border: 1px solid #f2c2bd; color: #8a1f14;
  padding: 0.75rem 0.9rem; margin: 1rem 0;
}

.ref-sheet {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.ref-card {
  background: rgba(247,250,247,0.9);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  padding: 1.1rem 1.2rem 1.25rem;
  break-inside: avoid;
}
.ref-card h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.45rem; margin: 0 0 0.55rem;
}
.ref-big {
  font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.65rem;
}
.ref-two-col {
  columns: 2; gap: 1rem; margin: 0.4rem 0 0; padding-left: 1.1rem;
}
.ref-promise ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }

@media print {
  body { background: #fff !important; }
  body::before, .site-header, .site-footer, .footer-subscribe, .no-print, .skip-link { display: none !important; }
  main { padding: 0 !important; }
  .ref-sheet { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .ref-card { break-inside: avoid; box-shadow: none; background: #fff; }
  .page-hero { display: none !important; }
}

.program-bar {
  height: 8px; background: var(--paper-deep); margin: 0.75rem 0 1.5rem; overflow: hidden;
}
.program-bar-fill {
  height: 100%; width: 0; background: var(--accent); transition: width 0.25s ease;
}
.program-list { list-style: none; margin: 0; padding: 0; }
.program-list li { margin: 0.55rem 0; }
.program-list label {
  display: flex; gap: 0.65rem; align-items: flex-start; cursor: pointer;
}
.program-list input { margin-top: 0.3rem; }
.featured-tool { max-width: 40rem; }
.excerpt .pull {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--forest-mid);
  border-left: 3px solid var(--accent); padding-left: 0.85rem; margin: 0 0 1.25rem;
}

@media (max-width: 820px) {
  .split-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; right: 1.25rem; top: 100%;
    background: var(--white); border: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 0.75rem;
    min-width: 12rem; box-shadow: 0 10px 30px rgba(20,34,31,0.08);
  }
  .site-nav.open { display: flex; }
  .hero { padding: 1.75rem 0 2rem; }
}
