:root {
  --ink: #1e2a33;
  --ink-soft: #46545e;
  --ink-faint: #6d7a82;
  --paper: #ede7d8;
  --paper-panel: #e2d9c2;
  --paper-card: #f7f3e8;
  --stamp: #a13d2a;
  --stamp-soft: #f0ddd6;
  --sage: #55694a;
  --sage-soft: #dde5d3;
  --gold: #b98a2e;
  --gold-soft: #f2e7cf;
  --line: rgba(30,42,51,0.16);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Source Serif 4', serif; margin: 0; font-weight: 600; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237,231,216,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.brand .seal { width: 30px; height: 30px; }
.brand .rest { color: var(--stamp); }
nav.main { display: flex; gap: var(--space-4); }
nav.main a { font-size: 0.92rem; color: var(--ink-soft); text-decoration: none; }
nav.main a:hover { color: var(--ink); }
.nav-cta { font-size: 0.88rem; font-weight: 500; padding: 9px 18px; background: var(--ink); color: var(--paper); border-radius: 3px; text-decoration: none; }
@media (max-width: 760px) { nav.main { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: var(--space-6) 0 var(--space-5); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-5); align-items: center; }
.eyebrow-line { font-size: 0.88rem; color: var(--ink-faint); margin-bottom: var(--space-2); }
.hero h1 { font-size: clamp(2.1rem, 3.8vw, 2.9rem); line-height: 1.16; max-width: 16ch; }
.hero p.lede { margin-top: var(--space-3); font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; }
.cta-row { margin-top: var(--space-4); display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.btn {
  font-family: 'IBM Plex Sans', sans-serif; font-size: 0.96rem; font-weight: 500;
  padding: 13px 24px; border-radius: 3px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none; display: inline-block;
}
.btn.secondary { background: transparent; color: var(--ink); }
.btn:hover { opacity: 0.88; }
.trust-note { font-size: 0.82rem; color: var(--ink-faint); }

.hero-art { width: 100%; height: auto; }

/* ---------- Section shell ---------- */
section { padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: var(--space-4); }
.section-head .kicker { font-size: 0.85rem; color: var(--stamp); margin-bottom: var(--space-1); font-weight: 500; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.section-head p { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.step { position: relative; padding-left: 46px; }
.step .num {
  position: absolute; left: 0; top: 0; width: 32px; height: 32px;
  border: 1px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Source Serif 4', serif; font-size: 0.95rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Checklist grid with icons ---------- */
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.check-item { background: var(--paper); padding: var(--space-3); }
.check-item .icon { margin-bottom: 14px; }
.check-item .icon svg { width: 34px; height: 34px; }
.check-item h3 { font-size: 1rem; margin-bottom: 8px; }
.check-item p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Over / maker section ---------- */
.about-grid { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4); align-items: start; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Source Serif 4', serif; font-size: 2rem; font-weight: 600;
  border: 3px solid var(--paper-panel);
}
.about-text p { margin: 0 0 12px; color: var(--ink-soft); font-size: 1rem; max-width: 62ch; }
.about-text .name { font-weight: 600; color: var(--ink); }
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } .avatar { margin-bottom: var(--space-2); } }

/* ---------- Demo ---------- */
.demo-panel { margin-top: var(--space-3); display: grid; gap: var(--space-3); }
textarea {
  width: 100%; min-height: 190px; padding: 18px;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 0.94rem;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--paper-card); color: var(--ink); resize: vertical;
}
textarea:focus, input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.demo-actions { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.sample-link {
  background: none; border: none; color: var(--ink-soft); text-decoration: underline;
  cursor: pointer; font-size: 0.86rem; font-family: 'IBM Plex Sans', sans-serif; padding: 0;
}
.results { margin-top: var(--space-1); display: grid; gap: var(--space-2); }
.result-card { display: flex; gap: var(--space-2); padding: 17px 19px; border-radius: 4px; border: 1px solid var(--line); background: var(--paper-card); }
.result-card.warning { border-left: 4px solid var(--stamp); }
.result-card.info { border-left: 4px solid var(--gold); }
.result-card.ok { border-left: 4px solid var(--sage); }
.result-card .label { font-size: 0.68rem; padding: 3px 9px; border-radius: 3px; height: fit-content; white-space: nowrap; font-weight: 500; }
.result-card.warning .label { background: var(--stamp-soft); color: var(--stamp); }
.result-card.info .label { background: var(--gold-soft); color: var(--gold); }
.result-card.ok .label { background: var(--sage-soft); color: var(--sage); }
.result-card h4 { margin: 0 0 4px; font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; font-size: 0.95rem; }
.result-card p { margin: 0; font-size: 0.87rem; color: var(--ink-soft); }
.disclaimer { margin-top: var(--space-3); font-size: 0.82rem; color: var(--ink-faint); padding-top: var(--space-3); border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
details { background: var(--paper); padding: 18px 20px; }
details summary { cursor: pointer; font-weight: 500; font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-family: 'Source Serif 4', serif; font-size: 1.3rem; color: var(--ink-faint); flex-shrink: 0; }
details[open] summary::after { content: '\2212'; }
details p { margin: 12px 0 0; color: var(--ink-soft); font-size: 0.9rem; max-width: 62ch; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: var(--space-2); max-width: 520px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--paper-card); color: var(--ink); font-family: 'IBM Plex Sans', sans-serif; font-size: 0.94rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.contact-alt { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); }
.contact-alt a { color: var(--ink); text-decoration: underline; }
.form-success { display: none; padding: 16px 18px; background: var(--sage-soft); border-left: 4px solid var(--sage); border-radius: 4px; font-size: 0.92rem; }
.form-success.visible { display: block; }

/* ---------- Footer ---------- */
footer.site { padding: var(--space-4) 0 var(--space-5); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: 'Source Serif 4', serif; font-weight: 600; margin-bottom: 6px; }
.footer-brand svg { width: 20px; height: 20px; }
.footer-note { font-size: 0.84rem; color: var(--ink-faint); max-width: 44ch; }
.footer-links { display: flex; gap: var(--space-3); font-size: 0.86rem; }
.footer-links a { text-decoration: none; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
}
