* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  background: #f4f1ea;
  color: #1b1b1b;
  line-height: 1.5;
}
main { max-width: 640px; margin: 0 auto; padding: 48px 20px; }
h1 { font-size: 56px; line-height: 1; margin: 0 0 12px; letter-spacing: -2px; }
.dot { color: #e5432d; }
.sub { font-size: 18px; margin: 0 0 32px; color: #555; }
.card {
  background: #fff;
  border: 2px solid #1b1b1b;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 6px 6px 0 #1b1b1b;
  margin-bottom: 28px;
}
label { font-weight: 700; display: block; margin-bottom: 10px; font-size: 18px; }
textarea {
  width: 100%;
  font: inherit;
  padding: 12px;
  border: 2px solid #1b1b1b;
  border-radius: 10px;
  resize: vertical;
}
textarea:focus { outline: 3px solid #e5432d55; }
.hint { color: #777; font-size: 14px; margin: 8px 0; }
button {
  font: inherit;
  font-weight: 700;
  background: #e5432d;
  color: #fff;
  border: 2px solid #1b1b1b;
  border-radius: 10px;
  padding: 12px 22px;
  margin-top: 12px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #1b1b1b;
}
button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #1b1b1b; }
button.ghost { background: #fff; color: #1b1b1b; }
.big { font-size: 22px; font-weight: 700; margin: 0; }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.hidden { display: none !important; }
.verdict { font-size: 30px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.5px; }
.list { list-style: none; padding: 0; margin: 16px 0; }
.list li { border-top: 1px solid #eee; padding: 10px 0; }
.list a { color: #1b1b1b; font-weight: 700; }
.meta { color: #777; font-size: 13px; }
.checks label { font-weight: 400; font-size: 16px; display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.checks input { margin-top: 5px; }
footer { text-align: center; color: #555; }
.modal {
  position: fixed; inset: 0;
  background: #1b1b1bcc;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-box {
  background: #fff;
  border: 2px solid #1b1b1b;
  border-radius: 14px;
  padding: 32px;
  max-width: 440px;
  text-align: center;
  box-shadow: 8px 8px 0 #e5432d;
}
.modal-box h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; }
.emoji { font-size: 48px; margin: 0; }

.pricing { padding-left: 18px; margin: 16px 0; }
.pricing li { margin: 6px 0; }
#chicken { margin-left: 8px; }
.legal-links a { color: #555; }
.fill { background: #ffe9a8; padding: 0 4px; border-radius: 4px; }

/* Verdict report */
#step-result h3 { font-size: 18px; margin: 28px 0 8px; padding-top: 16px; border-top: 2px solid #1b1b1b; }
.pitch { margin: 8px 0 0; padding: 12px 16px; background: #f4f1ea; border-left: 4px solid #e5432d; font-style: italic; }
.meter { height: 14px; border: 2px solid #1b1b1b; border-radius: 8px; overflow: hidden; background: #fff; }
.meter-fill { height: 100%; background: #e5432d; }
.stamp {
  display: inline-block; margin: 4px 0 8px; padding: 6px 14px;
  font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
  border: 4px solid currentColor; border-radius: 8px; transform: rotate(-3deg);
}
.stamp.no { color: #e5432d; }
.stamp.warn { color: #c98a00; }
.stamp.yes { color: #1f8a4c; }
.report-actions { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.report-actions button { margin-top: 0; }

@media print {
  body { background: #fff; }
  header .sub, footer, .saved, .news, .links-grid, #step-explain, #step-pay, #step-search, button, .checks { display: none !important; }
  .card { box-shadow: none; border: none; padding: 0; }
  a { color: #1b1b1b; }
}

.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions button { margin-top: 12px; }
#mic.recording { background: #e5432d; color: #fff; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 3px 3px 0 #1b1b1b, 0 0 0 6px #e5432d33; } }

#lang { font: inherit; font-weight: 700; margin-top: 12px; padding: 10px 8px; border: 2px solid #1b1b1b; border-radius: 10px; background: #fff; cursor: pointer; }

.locked .blur { font-family: ui-monospace, monospace; letter-spacing: -1px; color: #1b1b1b; filter: blur(3px); user-select: none; margin-right: 8px; }
#teaser .stamp { margin-top: 0; }
.why { padding-left: 20px; }
.why li { margin: 4px 0; }
#unit { field-sizing: content; font: inherit; font-weight: 700; padding: 4px 6px; border: 2px solid #1b1b1b; border-radius: 8px; background: #fff; cursor: pointer; max-width: 100%; }
.saved-line { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
#unit-note { margin-top: 0; }
.gh summary { cursor: pointer; margin: 12px 0 4px; }
.gh[open] summary { margin-bottom: 0; }
.news label { margin-bottom: 4px; }
label.optin { font-weight: 400; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; }
label.optin input { margin-top: 4px; }
label.optin + .hint { margin-top: 4px; }
.news-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.news-row input { flex: 1 1 220px; min-width: 0; font: inherit; padding: 12px; border: 2px solid #1b1b1b; border-radius: 10px; }
.news-row input:focus { outline: 3px solid #e5432d55; }
.news-row button { margin-top: 0; }
#news-status:empty { display: none; }
.building { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 28px; border: 2px solid #1b1b1b; border-radius: 14px; background: #fff; color: #1b1b1b; text-decoration: none; transition: transform .1s, box-shadow .1s; }
.building:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #1b1b1b; }
.building > span:first-child { flex: 1; min-width: 0; }
.building .meta { display: block; margin: 0; }
.building-title { display: block; font-size: 22px; letter-spacing: -.5px; margin: 2px 0; }
.building-text { display: block; font-size: 14px; color: #555; }
.building-arrow { font-size: 26px; font-weight: 700; color: #e5432d; transition: transform .1s; }
.building:hover .building-arrow { transform: translateX(4px); }
.card.news { box-shadow: none; padding: 18px 20px; background: transparent; border-style: dashed; }
.news label { font-size: 16px; }
#news-status { font-weight: 700; margin: 10px 0 0; }
/* Quieter footer */
footer { font-size: 13px; color: #888; margin-top: 8px; }
footer p { margin: 4px 0; }
footer .hint { font-size: 12px; color: #999; }
.saved { text-align: center; font-size: 13px; color: #888; margin: -12px 0 28px; }
.saved p { margin: 2px 0; }
.saved strong { color: #555; }
.saved .hint { font-size: 12px; color: #999; }
.saved-line { gap: 4px; }
#unit { font-size: 13px; font-weight: 600; padding: 1px 4px; border: 1px solid #ccc; border-radius: 6px; background: transparent; color: #555; }
.legal-links { margin-top: 14px !important; }
.legal-links a { color: #999; text-decoration: none; }
.legal-links a:hover { color: #1b1b1b; text-decoration: underline; }
.links-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.links-grid .building { margin-bottom: 0; }
.building.small { padding: 10px 16px; border-width: 1px; border-color: #bbb; background: transparent; font-size: 14px; }
.building.small:hover { border-color: #1b1b1b; box-shadow: 3px 3px 0 #1b1b1b; }
.building.small .meta, .building.small .building-text { display: inline; font-size: 13px; }
.building.small .building-arrow { font-size: 18px; }

/* Launch code: small, folded away under the pay button */
.codebox { margin: 14px 0 4px; }
.codebox summary { cursor: pointer; color: #555; font-size: 15px; text-decoration: underline; }
.codebox form { margin-top: 8px; }
.codebox .news-row input[name="code"] { flex: 0 1 140px; text-transform: uppercase; }

/* "Things you can do instead" */
.instead { margin: 16px 0; text-align: left; font-size: 16px; }
.instead p { margin: 0 0 6px; }
.instead ul { margin: 0 0 8px; padding-left: 20px; }
.instead li { margin: 4px 0; }
button.small { font-size: 14px; padding: 8px 12px; margin-top: 4px; }

/* Pay step: one real button, the rest quiet */
button.pay-main { display: block; width: 100%; font-size: 18px; padding: 14px 22px; }
button.linklike { display: block; text-align: left; background: none; border: 0; box-shadow: none; padding: 4px 0; margin-top: 10px;
  color: #777; font-weight: 400; font-size: 15px; text-decoration: underline; cursor: pointer; }
button.linklike:active { transform: none; }
#chicken-out:empty { display: none; }

/* Example report on the pay step */
.sample { margin: 8px 0 18px; }
.sample summary, .codebox summary { cursor: pointer; font-size: 15px; text-decoration: underline; }
.sample summary { color: #1b1b1b; font-weight: 700; }
.sample-report { position: relative; margin-top: 10px; padding: 16px 18px; border: 2px dashed #1b1b1b; border-radius: 12px; background: #fbfaf6; font-size: 15px; }
.sample-report h3 { font-size: 17px; margin: 18px 0 6px; }
.sample-report .list { margin: 8px 0; }
.sample-report .stamp { font-size: 20px; }
.sample-tag { position: absolute; top: -12px; right: 14px; margin: 0; padding: 2px 10px; background: #e5432d; color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 6px; }

/* Back from Stripe without the idea */
.paid-note { margin: 0 0 16px; padding: 12px 14px; background: #e7f6ec; border: 2px solid #1f8a4c; border-radius: 10px; font-size: 15px; }
