:root {
  --forest: #111111;
  --green: #d71920;
  --mint: #ffe6e7;
  --cream: #fffafa;
  --ink: #171717;
  --muted: #666666;
  --orange: #d71920;
  --line: #ececec;
}

body { color: #171717; background: #fff; }
.topbar { max-width: 100%; padding-left: max(calc((100vw - 1080px)/2), 5vw); padding-right: max(calc((100vw - 1080px)/2), 5vw); }
.brand { display: inline-flex; }
.brand img { display: block; width: 145px; height: 64px; object-fit: contain; }
.topbar nav a, .account { color: #171717; }
.account { border-color: #e8e8e8; }
.user-icon { color: #d71920; }
.hero { max-width: 1080px; min-height: 425px; padding-top: 55px; padding-bottom: 55px; grid-template-columns: .88fr 1.12fr; }
.hero h1 { color: #d71920; font-size: 43px; }
.hero h1 em { color: #171717; }
.hero-copy > p, .hero-note span, .petition-desc, .petition-meta, .progress-label, .future-note p, .steps p { color: #5f5f5f; }
.eyebrow { color: #272727; }
.eyebrow i, .tag i { background: #d71920; }
.primary-btn { background: #d71920; }
.primary-btn:hover { background: #b70f17; }
.primary-btn span { color: #fff; }
.hero-art { height: auto; min-height: 280px; margin: 0; overflow: visible; background: transparent; border-radius: 0; display: flex; align-items: center; justify-content: center; }
.hero-art img { display: block; width: 100%; max-width: 570px; height: auto; object-fit: contain; }
.hero-art::after { content: none; display: none; }
.hero-note b, .stats b, .green-eyebrow, .progress-label b, .future-note > span, .future-note button span { color: #d71920; }
.stats { max-width: 1080px; }
.stats span, .campaign-no, .section-heading h2, .how h2, .petition-card h3, .future-note b, .steps b { color: #171717; }
.petition-section { max-width: 900px; }
.section-heading h2, .how h2 { font-size: 28px; }
.tag { color: #a40d14; background: #fff1f1; }
.petition-card { border-color: #e7e7e7; box-shadow: 0 12px 30px #00000008; }
.progress { background: #efefef; }
.progress span { background: #d71920; }
.avatar-stack i, .avatar-stack i:nth-child(2), .avatar-stack i:nth-child(3), .avatar-stack > span { background: #f2f2f2; color: #262626; }
.future-note { border-color: #e4c7c8; }
.how { background: #f7f7f7; }
.steps div > span { color: #d71920; }
footer { max-width: 1080px; border-top: 1px solid #ededed; }
footer .brand img { width: 145px; height: 64px; }
footer > span, footer > small { color: #4c4c4c; }
dialog h2 { color: #171717; }
dialog input:focus, dialog textarea:focus { border-color: #d71920; }
.check input { accent-color: #d71920; }
.admin-info { color: #171717; border-color: #e7e7e7; }
.admin-info span, .admin-hint { color: #606060 !important; }
.secondary-btn { border-color: #e0e0e0; color: #171717; }
.petition-list { display: grid; gap: 18px; }
.service-error { margin: 12px 0 20px; padding: 14px 16px; border: 1px solid #d71920; border-radius: 7px; color: #99121a; background: #fff8f8; font-size: 12px; line-height: 1.8; }
.loading-state { padding: 22px 0; color: #444; font-size: 11px; }
.empty-state { padding: 38px 24px; border: 1px dashed #d7d7d7; border-radius: 12px; text-align: center; color: #171717; }
.empty-state p { color: #606060; font-size: 12px; }
.signer-count { color: #444; font-size: 10px; }
.sign-btn:disabled { background: #242424; color: #fff; opacity: .7; cursor: default; transform: none; }
.form-message { min-height: 18px; margin: 10px 0 0; color: #252525; font-size: 10px; line-height: 1.7; }
.form-message.is-error { color: #b10f17; }
dialog input[readonly] { background: #f5f5f5; color: #444; }
.danger-btn { width: 100%; margin-top: 10px; padding: 12px 14px; border: 1px solid #d71920; border-radius: 7px; background: white; color: #b10f17; font-size: 11px; }
dialog .secondary-btn { width: 100%; }
.account { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account { display: inline-flex; align-items: center; text-decoration: none; }
dialog .close { z-index: 5; pointer-events: auto; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.success-content { padding: 35px; position: relative; }
.success-dialog h2 { margin: 12px 0; color: #171717; font-size: 23px; line-height: 1.65; }
.success-dialog p { color: #5f5f5f; font-size: 12px; line-height: 1.9; }
.success-dialog .success-logo { display: block; width: 220px; height: 190px; object-fit: contain; margin: 10px auto 0; }
.success-dialog .success-signature { color: #d71920; font-weight: 700; text-align: right; }
dialog select { width: 100%; border: 1px solid #dce4dc; border-radius: 6px; padding: 12px; font: inherit; font-size: 12px; color: #171717; background: #fff; }
dialog:not(.success-dialog) { max-height: 90vh; overflow-y: auto; }
input[type="tel"] { direction: ltr; text-align: left; }

@media (max-width: 900px) {
  .topbar { padding-left: 5vw; padding-right: 5vw; }
  .hero { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .brand img, footer .brand img { width: 124px; height: 54px; }
  .hero { display: flex; }
  .hero h1 { font-size: 34px; }
  .hero-art { width: 100%; min-height: 0; margin: 25px auto 0; }
  .hero-art img { width: min(100%, 430px); }
}
