:root {
  --ink: #1f2933;
  --paper: #f7fafc;
  --card: #ffffff;
  --line: #dce3ea;
  --accent: #1d5b8c;
  --accent-ink: #ffffff;
  --muted: #5b6b7a;
  --radius: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); background: var(--card); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent); }
nav.site a { margin-left: 18px; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
nav.site a:hover { color: var(--accent); }
main { padding: 40px 0 60px; }
.hero { padding: 30px 0 10px; }
.hero h1 { font-size: 2.1rem; margin: 0 0 12px; line-height: 1.25; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.badge {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  margin-bottom: 14px; letter-spacing: .02em;
}
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.letter {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin: 22px 0; overflow-x: auto;
}
.letter h2 { margin-top: 0; font-size: 1.25rem; }
.letter pre {
  white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem; line-height: 1.55; margin: 0; color: #2c2c2c;
}
.letter .copy-hint { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.pricing {
  background: var(--card); border: 2px solid var(--accent); border-radius: var(--radius);
  padding: 26px; text-align: center; margin: 34px 0;
}
.pricing .price { font-size: 2.2rem; font-weight: 800; margin: 6px 0; }
.pricing ul { text-align: left; max-width: 380px; margin: 14px auto; padding-left: 20px; color: var(--muted); }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink) !important;
  padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem;
}
.btn:hover { opacity: 0.92; }
.faq { margin: 30px 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.related { margin: 30px 0; }
.related a { display: inline-block; margin-right: 16px; }
footer.site { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 0.88rem; }
footer.site a { color: var(--muted); margin-right: 14px; }
form.contact input, form.contact textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; font-size: 1rem;
  font-family: inherit;
}
form.contact button { border: none; cursor: pointer; }
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
}

/* --- hero, cards and section styling (2026-07-29 rebuild) --- */
body { background:
  radial-gradient(900px 420px at 82% -8%, rgba(29,91,140,.10), transparent 60%),
  var(--paper); }
.hero { padding: 34px 0 6px; }
.hero.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; }
.hero h1 { font-size: 2.35rem; letter-spacing: -.02em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn.ghost { background: transparent; color: var(--accent) !important;
  border: 1.5px solid var(--accent); }
.btn.ghost:hover { background: rgba(29,91,140,.06); }

.hero-art { position: relative; height: 260px; }
.hero-art .sheet { position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; box-shadow: 0 10px 30px rgba(31,41,51,.10); }
.hero-art .s1 { inset: 10px 0 0 26px; padding: 22px 20px; z-index: 3; }
.hero-art .s2 { inset: 2px 14px 14px 12px; transform: rotate(-3deg); z-index: 2; }
.hero-art .s3 { inset: 0 26px 22px 0; transform: rotate(4deg); z-index: 1; }
.hero-art .l { display: block; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, #dce3ea, #eef3f8); margin-bottom: 11px; }
.hero-art .l.w60 { width: 60%; height: 12px; background: var(--accent); opacity: .85; }
.hero-art .l.w40 { width: 40%; }
.hero-art .l.w70 { width: 70%; }
.hero-art .l.w80 { width: 80%; }
.hero-art .stamp { position: absolute; right: 16px; bottom: 20px; transform: rotate(-12deg);
  border: 2.5px solid #1d5b8c; color: #1d5b8c; font-weight: 800; font-size: .8rem;
  letter-spacing: .12em; padding: 5px 10px; border-radius: 4px; opacity: .8; }

.intro-note { color: var(--muted); max-width: 720px; }
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 6px; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 6px; }

.letter-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.letter-head h2 { margin: 0 0 4px; }
.copy-btn { flex: none; cursor: pointer; background: transparent; color: var(--accent);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 13px; font-size: .82rem;
  font-weight: 600; font-family: inherit; }
.copy-btn:hover { border-color: var(--accent); }

.download { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; background: var(--card); border: 1px dashed var(--accent);
  border-radius: var(--radius); padding: 18px 22px; margin: 26px 0; }
.download p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

.whens, .mistakes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 30px; }
.when, .mistake { background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; }
.when strong, .mistake strong { display: block; margin-bottom: 6px; font-size: .97rem; }
.when p, .mistake p { margin: 0; color: var(--muted); font-size: .91rem; }
.mistake { border-left: 3px solid #1d5b8c; }

ul.checks { list-style: none; padding: 0; margin: 18px 0 30px; }
ul.checks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: .96rem; }
ul.checks li:before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

.pricing .badge { margin-bottom: 8px; }
.pricing-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

.related h2 { margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cards a { display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); }
.cards a:hover { border-color: var(--accent); }
.cards strong { display: block; color: var(--accent); margin-bottom: 5px; font-size: .98rem; }
.cards span { color: var(--muted); font-size: .89rem; }

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; }
footer.site .colophon { margin: 22px 0 0; }

@media (max-width: 780px) {
  .hero.split { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .whens, .mistakes, .cards { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; gap: 20px; }
  .letter-head { flex-direction: column; }
}
