:root {
  --bg: #fff8f3;
  --soft: #fdeef2;
  --card: #ffffff;
  --ink: #2d1b22;
  --muted: #6b5560;
  --accent: #b8234f;
  --accent-dark: #951a3f;
  --leaf: #2f7d5b;
  --line: #f0dde3;
  --focus: #f5b5c6;
  --head: "Montserrat", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Nunito", system-ui, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 1.6rem; font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 800; text-align: center; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 700px; margin-left: auto; margin-right: auto; }
section { padding: 44px 0; }
.alt { background: var(--soft); }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); }
mark { background: var(--accent); color: #fff; padding: 0 .2em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }


.btn { display: block; width: 100%; max-width: 440px; margin: 0 auto; padding: 18px 22px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font: 800 1.05rem/1.25 var(--head); text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(184, 35, 79, .28); }
.btn:hover { background: var(--accent-dark); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: #fff; color: var(--accent); border: 2px solid var(--accent); box-shadow: none; }
.micro { text-align: center; font-size: .85rem; color: var(--muted); margin: 10px 0 0; }

.hero { padding: 28px 0 44px; text-align: center; }
.hero-grid { display: grid; grid-template-areas: "title" "img" "text"; gap: 4px; }
.hero h1 { grid-area: title; }
.hero-img { grid-area: img; display: block; width: min(320px, 88%); margin: 0 auto 12px; }
.hero-text { grid-area: text; }
.hero-text .ask { font-family: var(--head); font-weight: 700; font-size: 1.05rem; }
@media (min-width: 860px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.75rem; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "title title" "text img"; gap: 24px 48px; align-items: center; }
  .hero h1 { max-width: 820px; margin: 0 auto .6em; }
  .hero-img { width: 100%; max-width: 420px; }
}

.cards { display: grid; gap: 14px; margin: 28px 0 32px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-align: left; }
.card p { color: var(--muted); margin: 0; }
.card .n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }
.card .ico { font-size: 1.8rem; line-height: 1; display: block; margin-bottom: 8px; }

.pricebox { max-width: 440px; margin: 0 auto 20px; padding: 24px 16px; background: var(--card); border: 2px solid var(--line); border-radius: 20px; text-align: center; }
.pricebox .value { font: 800 2.6rem/1 var(--head); color: var(--accent); margin: 8px 0 10px; }
.pricebox p { margin: 0; color: var(--muted); }
.support { text-align: center; color: var(--leaf); font-size: .9rem; margin: 12px 0 0; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
summary { list-style: none; position: relative; padding: 16px 48px 16px 18px; font-weight: 700; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 32px 16px 110px; }
@media (min-width: 860px) { footer { padding-bottom: 48px; } }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 248, 243, .97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.sticky.show { transform: none; }
@media (min-width: 860px) { .sticky { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }

.panel { max-width: 560px; margin: 0 auto; padding: 24px 16px 48px; }
fieldset { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
fieldset legend { margin-top: 0; }
label, legend { display: block; font-weight: 700; margin: 22px 0 8px; padding: 0; }
input, textarea { width: 100%; min-height: 54px; font: inherit; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 3px solid var(--focus); border-color: var(--accent); }
textarea { min-height: 130px; resize: vertical; }
.hint { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.error { color: #b3261e; font-weight: 700; margin: 14px 0; min-height: 1.5em; }

.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chips.three { grid-template-columns: repeat(3, 1fr); }
.chips label { position: relative; margin: 0; font-weight: 600; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chips span { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px; text-align: center; line-height: 1.25; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.chips input:checked + span { border-color: var(--accent); background: var(--soft); color: var(--accent-dark); font-weight: 800; }
.chips input:focus-visible + span { outline: 3px solid var(--focus); }

.summary { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.summary img { width: 64px; flex-shrink: 0; }
.summary p { margin: 0; line-height: 1.35; }
.summary strong { color: var(--accent); }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--leaf); font-size: .85rem; margin: 14px 0 0; }

.pix-steps { text-align: left; max-width: 400px; margin: 18px auto; padding-left: 1.3em; color: var(--muted); }
.pix-steps li { margin-bottom: 6px; }
.amount { font: 800 2rem/1 var(--head); color: var(--accent); margin: 4px 0 16px; }
.qr { width: 220px; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; }
.code { display: block; width: 100%; min-height: 0; height: 4.6em; margin: 0 0 12px; font: .78rem/1.4 Consolas, monospace; word-break: break-all; resize: none; }
.or { color: var(--muted); font-size: .9rem; margin: 26px 0 10px; }
.lyrics-title { margin-top: 28px; }
.kicker { margin: 0 0 6px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.song-title { margin-bottom: .3em; font-family: "Fraunces", Georgia, serif; font-size: 1.75rem; font-weight: 700; text-align: center; }
.song-meta { margin: 0 0 18px; color: var(--muted); font-size: .82rem; text-align: center; }
.lyrics { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; font-family: "Fraunces", Georgia, serif; font-size: 1.02rem; line-height: 1.7; text-align: left; }
.stanza + .stanza { margin-top: 24px; }
.stanza-label { margin: 0 0 4px; color: var(--accent); font-family: "Nunito", system-ui, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.stanza-text { margin: 0; white-space: pre-line; }
.song { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.song h3 { margin: 0 0 6px; }
.song .btn { margin-top: 8px; padding: 12px 18px; }
.notice { background: var(--soft); border: 2px solid var(--accent); border-radius: 14px; padding: 14px 16px; text-align: center; }
audio { width: 100%; margin: 4px 0 6px; }
.spinner { width: 44px; height: 44px; margin: 0 auto 16px; border: 5px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 4s; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }
.approve { position: sticky; bottom: 0; margin-top: 16px; padding: 10px 0 calc(4px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.approve .micro { margin: 0 0 8px; }
.approve .error:empty { display: none; }
.link-btn { display: block; width: 100%; min-height: 44px; border: 0; background: transparent; color: var(--muted); font: 600 .9rem/1.2 "Nunito", system-ui, sans-serif; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.link-btn:focus-visible { outline: 3px solid var(--focus); border-radius: 8px; }
