/* Receipt2Resolution v0: calm, factual, friendly */
:root {
  --cream: #faf6ee;
  --ink: #23272f;
  --muted: #5b6270;
  --amber: #f2a413;
  --amber-deep: #c77f0a;
  --green: #1e7e4d;
  --green-bg: #e7f4ec;
  --card: #ffffff;
  --line: #e8e0d0;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}
a { color: var(--amber-deep); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
.nav img { width: 44px; height: 44px; border-radius: 50%; }
.nav .brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav .brand small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--muted); }
.nav nav { margin-left: auto; display: flex; gap: 18px; }
.nav nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }

/* Hero */
.hero { text-align: center; padding: 48px 0 32px; }
.hero img.mascot { width: 148px; height: 148px; border-radius: 50%; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.hero h1 { font-size: 2.4rem; line-height: 1.15; margin: 20px 0 8px; letter-spacing: -0.02em; }
.hero p.tag { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; margin: 6px; }
.btn.amber { background: var(--amber); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }

/* Win strip */
.win-strip { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 30px 0; }
.win { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 22px; text-align: center; min-width: 150px; }
.win .n { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.win .l { font-size: 0.85rem; color: var(--muted); }

/* Sections */
section.block { padding: 28px 0; }
h2 { font-size: 1.6rem; letter-spacing: -0.01em; margin: 0 0 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 16px 0; }
.card h3 { margin: 0 0 8px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step .num { display: inline-block; background: var(--amber); color: var(--ink); font-weight: 800;
  width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; margin-bottom: 10px; }
.pill { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: var(--green-bg); color: var(--green); margin-bottom: 10px; }
.pill.reviewed { background: #e8effc; color: #2b5cb8; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 12px 0; }
.timeline li { padding: 10px 0 10px 22px; border-left: 3px solid var(--amber); margin-left: 6px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 16px; width: 12px; height: 12px;
  background: var(--amber); border-radius: 50%; }
.timeline .t { font-weight: 700; font-size: 0.9rem; }

/* Script template */
.script { background: #1f2430; color: #f2f2f2; border-radius: var(--radius); padding: 24px;
  font-family: Georgia, "Times New Roman", serif; white-space: pre-wrap; font-size: 0.98rem; }
.script .field { background: rgba(242,164,19,.22); color: #ffd98a; padding: 1px 6px; border-radius: 6px; }
.copy-btn { margin-top: 14px; }

/* Forms */
form.capture { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
form.capture input[type=email] { flex: 1; min-width: 220px; padding: 13px 16px; border-radius: 999px;
  border: 2px solid var(--line); font-size: 1rem; }
form.capture button { background: var(--amber); border: none; padding: 13px 26px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; cursor: pointer; color: var(--ink); }
.form-note { font-size: 0.85rem; color: var(--muted); }
#capture-msg { font-weight: 700; color: var(--green); margin-top: 10px; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.trust .card { margin: 0; }
.trust h3 { font-size: 1.05rem; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 40px;
  color: var(--muted); font-size: 0.85rem; text-align: center; }
footer .disc { max-width: 640px; margin: 0 auto; }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.9rem; }
  .nav nav { display: none; }
}
