/* 10 min max — shared styles */

:root {
  --bg: #faf6f0;
  --bg-warm: #f4ece1;
  --card: #fffdfa;
  --ink: #2b2622;
  --muted: #6f665d;
  --faint: #a99e91;
  --line: #e7dccc;
  --accent: #c0562f;
  --accent-soft: #f2d9cb;
  --amber: #d8952f;
  --amber-soft: #f6e6c8;
  --green: #4a7c59;
  --radius: 14px;
  --maxw: 860px;
  --shadow: 0 1px 2px rgba(43, 38, 34, 0.04), 0 8px 30px rgba(43, 38, 34, 0.06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- top bar ---- */
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: saturate(1.2) blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 62px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand .dot {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.nav {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: var(--bg-warm); }
.nav a.active { color: var(--accent); background: var(--accent-soft); }

/* ---- hero ---- */
.hero {
  padding: 78px 0 54px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 30px;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
p { margin: 0 0 16px; }
a { color: var(--accent); }

section { padding: 40px 0; }
section + section { border-top: 1px solid var(--line); }
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

/* ---- cards ---- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.grid {
  display: grid;
  gap: 16px;
}
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 680px) {
  .grid.two, .grid.three { grid-template-columns: 1fr; }
}

.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 100px;
  padding: 3px 11px;
  margin-bottom: 10px;
}
.pill.amber { color: #9a6712; background: var(--amber-soft); }
.pill.green { color: #2f5a3c; background: #dcecdf; }

ul.clean, ol.clean { margin: 0 0 16px; padding-left: 20px; }
ul.clean li, ol.clean li { margin-bottom: 7px; }

ul.two-col {
  columns: 2;
  column-gap: 36px;
  padding-left: 20px;
}
ul.two-col li { break-inside: avoid; }
@media (max-width: 620px) { ul.two-col { columns: 1; } }

/* rules list with big numbers */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 14px 0 14px 52px;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 12px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}
.steps li strong { display: block; margin-bottom: 2px; }
.steps li span { color: var(--muted); font-size: 0.95rem; }

/* big single rule callout */
.rule {
  text-align: center;
  background: var(--ink);
  color: #f7f0e8;
  border-radius: var(--radius);
  padding: 34px 28px;
}
.rule .big {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.rule .sub { color: #c9bdae; margin: 0; }
.rule .big em { color: var(--amber); font-style: normal; }

/* fear -> reframe */
.reframe { display: grid; gap: 12px; }
.reframe .row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
@media (max-width: 680px) {
  .reframe .row { grid-template-columns: 1fr; }
  .reframe .arrow { display: none; }
}
.reframe .fear {
  color: var(--muted);
  font-style: italic;
  text-align: right;
}
@media (max-width: 680px) { .reframe .fear { text-align: left; } }
.reframe .arrow { color: var(--accent); font-weight: 700; }
.reframe .truth { font-weight: 600; }

/* prompt chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}

/* callout box */
.note {
  background: var(--amber-soft);
  border: 1px solid #ecd6a8;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #6b4f18;
  font-size: 0.97rem;
}
.note strong { color: #4d380f; }

/* invite template */
.invite {
  background: var(--bg-warm);
  border: 1px dashed var(--faint);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 0.97rem;
  color: var(--ink);
  white-space: pre-wrap;
  line-height: 1.6;
}

/* buttons */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #a8461f; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-warm); }

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 60px;
  color: var(--faint);
  font-size: 14px;
  text-align: center;
}
footer a { color: var(--muted); }

.center { text-align: center; }
.muted { color: var(--muted); }
.tight { max-width: 640px; margin-left: auto; margin-right: auto; }

@media print {
  .topbar, .nav, footer, .btn-row { display: none; }
  body { background: #fff; font-size: 12pt; }
  .card, .rule, .invite, .note { box-shadow: none; }
  section { padding: 14px 0; }
  .rule { background: #fff; color: #000; border: 1.5px solid #000; }
  .rule .sub { color: #444; }
  .rule .big em { color: #000; text-decoration: underline; }
}
