:root {
  --ink: #1c2624;
  --paper: #f7f4ee;
  --card: #ffffff;
  --line: #e2dfd3;
  --accent: #0d6d63;
  --accent-dark: #0a534c;
  --accent-ink: #eafbf7;
  --coral: #e8623f;
  --coral-dark: #c94f2f;
  --coral-ink: #fff3ee;
  --muted: #5b6a67;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 30px -14px rgba(20, 40, 36, 0.28);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.22; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 2.2em; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
header.site { border-bottom: 1px solid var(--line); background: rgba(247, 244, 238, .9); backdrop-filter: saturate(140%) blur(6px); position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-weight: 800; font-size: 1.18rem; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.brand .ico { font-size: 1.25rem; }
.brand span { color: var(--accent); }
nav.site { display: flex; gap: 22px; align-items: center; }
nav.site a { text-decoration: none; color: var(--ink); font-size: .94rem; font-weight: 600; }
nav.site a.cta { background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 999px; }
nav.site a.cta:hover { background: var(--accent-dark); }

/* ---------- hero ---------- */
.hero { padding: 54px 0 20px; }
.hero-top { max-width: 720px; margin-bottom: 8px; }
.eyebrow { display: inline-block; background: var(--accent-ink); color: var(--accent-dark); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 18px 0 6px; font-size: .88rem; color: var(--muted); }
.trust-row span { display: flex; align-items: center; gap: 6px; }

/* ---------- generator ---------- */
.generator { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 34px; align-items: start; margin: 30px 0 10px; scroll-margin-top: 90px; }
.gen-form, .gen-preview-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.gen-form { padding: 26px 26px 22px; }
.gen-form h2 { margin-top: 0; font-size: 1.2rem; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 5px; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; margin-top: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; background: #fcfbf8; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }
.field textarea { resize: vertical; min-height: 54px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gen-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.privacy-note { display: flex; gap: 8px; align-items: flex-start; background: var(--accent-ink); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .82rem; color: var(--accent-dark); margin-top: 16px; }

.gen-preview-wrap { padding: 22px; position: sticky; top: 86px; }
.gen-preview-wrap > p.muted { margin: 0 0 12px; font-size: .82rem; }
.receipt {
  background: #fffdf8; border: 1px solid #e7e1d0; border-radius: 6px;
  padding: 26px 24px; font-size: .93rem; position: relative;
  background-image: repeating-linear-gradient(180deg, transparent, transparent 27px, rgba(28,38,36,.028) 28px);
}
.receipt::before {
  content: ""; position: absolute; top: -6px; left: 0; right: 0; height: 12px;
  background: linear-gradient(-45deg, #fffdf8 6px, transparent 0), linear-gradient(45deg, #fffdf8 6px, transparent 0);
  background-size: 12px 12px; background-position: left top;
}
.receipt-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px dashed var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.receipt-head .title { font-weight: 800; font-size: 1.1rem; }
.receipt-head .sub { color: var(--muted); font-size: .8rem; }
.receipt-head .num { text-align: right; font-size: .78rem; color: var(--muted); }
.receipt dl { display: grid; grid-template-columns: 40% 60%; row-gap: 8px; column-gap: 8px; margin: 0 0 14px; }
.receipt dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 700; }
.receipt dd { margin: 0; font-weight: 600; word-break: break-word; }
.receipt .amount-row { display: flex; justify-content: space-between; align-items: center; border-top: 2px dashed var(--line); padding-top: 14px; margin-top: 4px; }
.receipt .amount-row .label { font-weight: 700; }
.receipt .amount-row .amount { font-size: 1.5rem; font-weight: 800; color: var(--accent-dark); }
.receipt .sig-block { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.receipt .sig-line { display: flex; align-items: flex-end; gap: 8px; margin-top: 18px; }
.receipt .sig-line .line { flex: 1; border-bottom: 1px solid var(--ink); min-height: 1.3em; font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 1.05rem; padding-bottom: 2px; }
.receipt .sig-line .cap { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.receipt .ein-note { font-size: .72rem; color: var(--muted); margin-top: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; border: none; text-decoration: none; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer; }
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--accent-dark); border: 1.5px solid var(--accent); }
.btn.ghost:hover { background: var(--accent-ink); }
.btn.coral { background: var(--coral); }
.btn.coral:hover { background: var(--coral-dark); }
.btn.block { width: 100%; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 26px 0 10px; }
.steps .step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps .n { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-ink); color: var(--accent-dark); align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; margin-bottom: 10px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- faq ---------- */
.faq { margin: 10px 0 30px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 14px; color: var(--muted); margin: 0; }

/* ---------- pro pack ---------- */
.propack { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: #fff; border-radius: var(--radius); overflow: hidden; margin: 40px 0; box-shadow: var(--shadow); }
.propack .copy { padding: 34px 34px 30px; }
.propack .badge { display: inline-block; background: rgba(255,255,255,.16); padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 14px; }
.propack h2 { margin: 0 0 8px; color: #fff; }
.propack p.sub { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.propack ul { list-style: none; padding: 0; margin: 0 0 22px; }
.propack ul li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .93rem; }
.propack ul li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--coral); background: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: .68rem; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.propack .price-panel { background: rgba(255,255,255,.08); padding: 34px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-left: 1px solid rgba(255,255,255,.15); }
.propack .price { font-size: 2.4rem; font-weight: 800; margin-bottom: 4px; }
.propack .price-note { color: rgba(255,255,255,.75); font-size: .84rem; margin-bottom: 18px; }
.propack.compact { grid-template-columns: 1fr; margin: 34px 0; }
.propack.compact .copy { padding: 26px 28px; }
.propack.compact .price-panel { padding: 20px 28px 28px; border-left: none; border-top: 1px solid rgba(255,255,255,.15); }
.propack.compact .price { font-size: 1.8rem; }

/* ---------- topic pages ---------- */
.topic-intro { max-width: 760px; }
.callout { background: var(--accent-ink); border: 1px solid #cdeee8; border-radius: var(--radius-sm); padding: 16px 18px; margin: 22px 0; font-size: .92rem; }
.related { margin: 40px 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cards a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; text-decoration: none; color: var(--ink); }
.cards a strong { display: block; margin-bottom: 3px; }
.cards a span { color: var(--muted); font-size: .86rem; }

/* ---------- contact / simple pages ---------- */
form.contact { max-width: 520px; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
form.contact input, form.contact textarea { padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; }
form.contact input:focus, form.contact textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); margin-top: 60px; padding: 40px 0; }
footer.site .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 30px; }
footer.site .cols strong { display: block; color: var(--ink); margin-bottom: 8px; font-size: .92rem; }
footer.site .cols a { display: block; margin: 0 0 6px; text-decoration: none; color: var(--muted); font-size: .92rem; }
footer.site .colophon { margin: 22px 0 0; color: var(--muted); font-size: .84rem; }
footer.site .colophon a { color: var(--muted); }

@media (max-width: 860px) {
  .generator { grid-template-columns: 1fr; }
  .gen-preview-wrap { position: static; }
  .steps { grid-template-columns: 1fr; }
  .propack { grid-template-columns: 1fr; }
  .propack .price-panel { border-left: none; border-top: 1px solid rgba(255,255,255,.15); }
  .cards { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; gap: 20px; }
  .row2 { grid-template-columns: 1fr; }
}

/* ---------- print: receipt only ---------- */
@media print {
  body * { visibility: hidden; }
  .receipt, .receipt * { visibility: visible; }
  .receipt { position: absolute; top: 0; left: 0; width: 100%; box-shadow: none; border: none; background: #fff; }
  .receipt::before { display: none; }
  @page { margin: 0.5in; }
}
