﻿  :root {
    --ink: #1a1a2e;
    --ink-soft: #3a3a5c;
    --paper: #f7f4ef;
    --paper-warm: #ede9e0;
    --red: #c0392b;
    --red-soft: #e74c3c;
    --gold: #b8860b;
    --gold-light: #d4a017;
    --teal: #1a6b6b;
    --teal-light: #2d9b9b;
    --border: #c8c0b0;
    --shadow: rgba(26,26,46,0.12);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Noto Sans TC', sans-serif;
    background: var(--paper);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* ── HERO ── */
  .hero {
    background: var(--ink);
    color: var(--paper);
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.02) 40px,
      rgba(255,255,255,0.02) 41px
    );
  }
  .hero-badge {
    display: inline-block;
    border: 1px solid rgba(184,134,11,0.6);
    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: 3px;
    padding: 6px 16px;
    margin-bottom: 28px;
    font-weight: 500;
    text-transform: uppercase;
    animation: fadeDown 0.6s ease both;
  }
  .hero h1 {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(28px, 7vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeDown 0.6s 0.1s ease both;
  }
  .hero h1 span { color: var(--gold-light); }
  .hero-sub {
    font-size: clamp(14px, 3vw, 18px);
    color: rgba(247,244,239,0.7);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeDown 0.6s 0.2s ease both;
  }
  .hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeDown 0.6s 0.3s ease both;
  }
  .btn-primary {
    background: var(--gold);
    color: var(--paper);
    border: none;
    padding: 14px 28px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
  .btn-outline {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(247,244,239,0.4);
    padding: 14px 28px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
  }
  .btn-outline:hover { border-color: var(--paper); background: rgba(247,244,239,0.08); }

  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--red);
    color: white;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
  }
  .stat-item {
    padding: 20px 32px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: 'Noto Serif TC', serif;
    font-size: 28px;
    font-weight: 900;
    display: block;
  }
  .stat-label {
    font-size: 12px;
    opacity: 0.85;
    letter-spacing: 1px;
    margin-top: 2px;
  }

  /* ── SECTION ── */
  .section {
    max-width: 860px;
    margin: 0 auto;
    padding: 64px 24px;
  }
  .section-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 12px;
  }
  .section-title {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.4;
  }
  .section-body {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 2;
    margin-bottom: 32px;
  }
  hr.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
  }

  /* ── QUIZ ── */
  .quiz-wrap {
    background: white;
    border: 1px solid var(--border);
    padding: 40px 32px;
    margin-top: 8px;
    box-shadow: 0 4px 24px var(--shadow);
  }
  .quiz-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
  }
  .quiz-desc {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 28px;
    line-height: 1.8;
  }
  .scenario-box {
    background: var(--paper-warm);
    border-left: 4px solid var(--teal);
    padding: 20px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 2;
    color: var(--ink);
  }
  .scenario-box strong { color: var(--teal); }
  .choices { display: flex; flex-direction: column; gap: 10px; }
  .choice-btn {
    background: white;
    border: 1.5px solid var(--border);
    padding: 14px 20px;
    text-align: left;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.6;
  }
  .choice-btn:hover { border-color: var(--teal); background: rgba(26,107,107,0.04); }
  .choice-btn.correct { border-color: var(--teal); background: rgba(26,107,107,0.08); color: var(--teal); }
  .choice-btn.wrong { border-color: var(--red); background: rgba(192,57,43,0.06); color: var(--red); }
  .choice-btn:disabled { cursor: default; }

  .result-box {
    margin-top: 20px;
    padding: 20px;
    border-left: 4px solid var(--teal);
    background: rgba(26,107,107,0.05);
    font-size: 14px;
    line-height: 1.9;
    display: none;
    color: var(--ink);
  }
  .result-box.show { display: block; animation: fadeDown 0.4s ease; }
  .result-box.wrong-result { border-left-color: var(--red); background: rgba(192,57,43,0.05); }
  .result-box h4 { font-family: 'Noto Serif TC', serif; margin-bottom: 8px; font-size: 15px; }
  .result-box .correct-tag { color: var(--teal); font-weight: 600; }
  .result-box .wrong-tag { color: var(--red); font-weight: 600; }

  .quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .quiz-progress {
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 1px;
  }
  .btn-next {
    background: var(--ink);
    color: var(--paper);
    border: none;
    padding: 12px 24px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: none;
    letter-spacing: 1px;
  }
  .btn-next.show { display: block; }
  .btn-next:hover { background: var(--teal); }

  /* score final */
  .score-final {
    text-align: center;
    padding: 20px 0;
    display: none;
  }
  .score-final.show { display: block; animation: fadeDown 0.5s ease; }
  .score-circle {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Noto Serif TC', serif;
  }
  .score-circle .num { font-size: 36px; font-weight: 900; line-height: 1; }
  .score-circle .denom { font-size: 13px; opacity: 0.8; }
  .score-msg { font-family: 'Noto Serif TC', serif; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
  .score-sub { font-size: 14px; color: var(--ink-soft); line-height: 1.9; max-width: 400px; margin: 0 auto 24px; }

  /* ── STEPS ── */
  .steps-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .step-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
  }
  .step-item.visible { opacity: 1; transform: translateX(0); }
  .step-item:last-child { border-bottom: none; }
  .step-num {
    font-family: 'Noto Serif TC', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--border);
    min-width: 50px;
    line-height: 1;
    padding-top: 4px;
  }
  .step-content h3 {
    font-family: 'Noto Serif TC', serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
  }
  .step-content p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 2;
  }

  /* ── ALERT CHECK ── */
  .check-wrap {
    background: white;
    border: 1px solid var(--border);
    padding: 40px 32px;
    box-shadow: 0 4px 24px var(--shadow);
    position: relative;
    z-index: 1;
  }
  .check-input {
    width: 100%;
    border: 1.5px solid var(--border);
    padding: 14px 16px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 12px;
  }
  .check-input:focus { border-color: var(--teal); }
  .checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.7;
  }
  .checkbox-row input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--teal);
    width: 16px; height: 16px;
    flex-shrink: 0;
  }
  .btn-check {
    background: var(--teal);
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 16px;
    letter-spacing: 1px;
  }
  .btn-check:hover { background: var(--teal-light); }
  .risk-result {
    margin-top: 20px;
    padding: 20px;
    display: none;
    animation: fadeDown 0.4s ease;
  }
  .risk-result.show { display: block; }
  .risk-high { background: rgba(192,57,43,0.07); border-left: 4px solid var(--red); }
  .risk-medium { background: rgba(184,134,11,0.07); border-left: 4px solid var(--gold); }
  .risk-low { background: rgba(26,107,107,0.07); border-left: 4px solid var(--teal); }
  .risk-level {
    font-family: 'Noto Serif TC', serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--ink);
  }
  .risk-high .risk-level { color: var(--red); }
  .risk-medium .risk-level { color: var(--gold); }
  .risk-low .risk-level { color: var(--teal); }
  .risk-list {
    list-style: none;
    padding: 0;
  }
  .risk-list li {
    font-size: 13px;
    color: var(--ink-soft);
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    line-height: 1.7;
  }
  .risk-list li:last-child { border-bottom: none; }
  .risk-list li::before { content: '→ '; font-weight: 600; }

  /* ── POLICY ── */
  .policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
  }
  .policy-card {
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    padding: 28px 24px;
  }
  .policy-num {
    font-family: 'Noto Serif TC', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--paper-warm);
    margin-bottom: 8px;
    line-height: 1;
    -webkit-text-stroke: 1.5px var(--gold);
  }
  .policy-card h4 {
    font-family: 'Noto Serif TC', serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
    line-height: 1.5;
  }
  .policy-card p {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.9;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--ink);
    color: rgba(247,244,239,0.6);
    text-align: center;
    padding: 40px 24px;
    font-size: 12px;
    line-height: 2;
  }
  footer a { color: var(--gold-light); text-decoration: none; }
  .footer-logo {
    font-family: 'Noto Serif TC', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 12px;
  }

  /* ── NAV ── */
  nav {
    position: sticky;
    top: 0;
    background: rgba(26,26,46,0.97);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 52px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-logo {
    font-family: 'Noto Serif TC', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--paper);
    letter-spacing: 1px;
  }
  .nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
  }
  .nav-links a {
    color: rgba(247,244,239,0.65);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold-light); }

  /* ── LIGHT SECTION (steps & policy) ── */
  .section-light {
    background: #ffffff;
  }
  .section-light .section-title { color: var(--ink); }

  /* ── STEPS light bg ── */
  .step-tag {
    display: inline-block;
    background: var(--teal);
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }

  /* ── POLICY light ── */
  .policy-statement {
    margin-top: 40px;
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-left: 5px solid var(--gold);
    padding: 32px;
    text-align: center;
  }
  .policy-statement-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--ink);
  }
  .policy-statement p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 2;
    max-width: 560px;
    margin: 0 auto;
  }
  .policy-statement strong { color: var(--teal); }

  /* bg section alt */
  .section-alt { background: var(--paper-warm); }
  .section-alt .section { padding: 64px 24px; }

  @media (max-width: 600px) {
    .stat-item { padding: 16px 20px; }
    .quiz-wrap, .check-wrap { padding: 28px 20px; }
    .nav-links { display: none; }
    .step-num { font-size: 28px; min-width: 38px; }
  }
  /* ── CTA SECTION ── */
  .cta-section {
    background: var(--ink);
    padding: 80px 24px;
    text-align: center;
  }
  .cta-inner { max-width: 860px; margin: 0 auto; }
  .cta-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold-light);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
  }
  .cta-title {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 900;
    color: var(--paper);
    margin-bottom: 16px;
    line-height: 1.3;
  }
  .cta-sub {
    font-size: 15px;
    color: rgba(247,244,239,0.65);
    max-width: 540px;
    margin: 0 auto 52px;
    line-height: 1.9;
  }
  .cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
    text-align: left;
  }
  .cta-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 28px 24px;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
  }
  .cta-card.card-sign::before { background: var(--gold); }
  .cta-card.card-share::before { background: var(--teal-light); }
  .cta-card.card-ai::before { background: #7c5cbf; }
  .cta-card.card-partner::before { background: var(--red-soft); }
  .cta-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); border-color: rgba(255,255,255,0.22); }
  .cta-card-icon { font-size: 28px; margin-bottom: 14px; }
  .cta-card h3 {
    font-family: 'Noto Serif TC', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 8px;
    line-height: 1.4;
  }
  .cta-card p {
    font-size: 13px;
    color: rgba(247,244,239,0.6);
    line-height: 1.8;
    margin-bottom: 16px;
  }
  .cta-card-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans TC', sans-serif;
    transition: all 0.2s;
  }
  .card-sign .cta-card-btn { background: var(--gold); color: var(--ink); }
  .card-share .cta-card-btn { background: var(--teal); color: white; }
  .card-ai .cta-card-btn { background: #7c5cbf; color: white; }
  .card-partner .cta-card-btn { background: var(--red); color: white; }
  .cta-card-btn:hover { opacity: 0.85; transform: translateY(-1px); }

  .cta-roadmap {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    margin-top: 8px;
  }
  .cta-roadmap-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 15px;
    font-weight: 700;
    color: rgba(247,244,239,0.5);
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-size: 11px;
  }
  .roadmap-track {
    display: flex;
    gap: 0;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
  }
  .roadmap-step {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    padding: 0 16px;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-align: center;
  }
  .roadmap-step:last-child { border-right: none; }
  .roadmap-phase {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  .roadmap-step h4 {
    font-family: 'Noto Serif TC', serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 6px;
    line-height: 1.4;
  }
  .roadmap-step p {
    font-size: 11px;
    color: rgba(247,244,239,0.45);
    line-height: 1.7;
  }
  .roadmap-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    margin: 0 auto 10px;
  }
  .dot-done { background: var(--gold); }
  .dot-now { background: var(--teal-light); box-shadow: 0 0 0 3px rgba(45,155,155,0.3); }
  .dot-future { background: rgba(255,255,255,0.2); }

  @media (max-width: 600px) {
    .cta-cards { grid-template-columns: 1fr; }
    .roadmap-track { flex-direction: column; align-items: center; gap: 16px; }
    .roadmap-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
  }

  /* ── 附議進度橫幅 ── */
  .petition-hero-wrap {
    background: linear-gradient(135deg, #1a0a0a 0%, #2d0d0d 50%, #1a1a2e 100%);
    border-top: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
    padding: 48px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .petition-hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      -45deg, transparent, transparent 30px,
      rgba(192,57,43,0.04) 30px, rgba(192,57,43,0.04) 31px
    );
    pointer-events: none;
  }
  .petition-hero-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
  }
  .petition-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--red-soft);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 16px;
  }
  .petition-count-big {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(72px, 18vw, 120px);
    font-weight: 900;
    color: var(--paper);
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 0 60px rgba(192,57,43,0.4);
  }
  .petition-count-unit {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(22px, 5vw, 32px);
    color: rgba(247,244,239,0.7);
    margin-bottom: 28px;
    letter-spacing: 4px;
  }
  .petition-progress-wrap {
    margin: 0 auto 12px;
    max-width: 500px;
  }
  .petition-track {
    background: rgba(255,255,255,0.1);
    height: 10px;
    border-radius: 5px;
    overflow: visible;
    position: relative;
    margin-bottom: 10px;
  }
  .petition-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--red-soft));
    border-radius: 5px;
    width: 0%;
    transition: width 1.2s ease;
    position: relative;
  }
  .petition-fill::after {
    content: '';
    position: absolute;
    right: -4px; top: 50%;
    transform: translateY(-50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 8px rgba(192,57,43,0.8);
  }
  .petition-milestone-marker {
    position: absolute;
    top: -4px;
    width: 2px;
    height: 18px;
    background: rgba(255,255,255,0.4);
    transform: translateX(-50%);
  }
  .petition-milestones {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(247,244,239,0.5);
    letter-spacing: 0.5px;
    margin-top: 8px;
  }
  .petition-milestones span b { color: rgba(247,244,239,0.8); }
  .petition-days-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
  }
  .petition-days-num {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(36px, 8vw, 52px);
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
  }
  .petition-days-label {
    font-size: 14px;
    color: rgba(247,244,239,0.6);
    letter-spacing: 2px;
  }
  .petition-cta-btn {
    display: inline-block;
    background: var(--red);
    color: white;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 18px 56px;
    text-decoration: none;
    transition: all 0.2s;
    min-height: 56px;
    line-height: 1.2;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(192,57,43,0.5);
    margin-bottom: 12px;
  }
  .petition-cta-btn:hover {
    background: var(--red-soft);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(192,57,43,0.6);
  }
  .petition-note {
    font-size: 12px;
    color: rgba(247,244,239,0.4);
    letter-spacing: 0.5px;
  }
  .petition-goal-pills {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0 28px;
  }
  .goal-pill {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 20px;
    font-size: 13px;
    color: rgba(247,244,239,0.75);
    line-height: 1.6;
    text-align: left;
  }
  .goal-pill strong { color: var(--gold-light); display: block; font-family: 'Noto Serif TC', serif; font-size: 15px; }

  /* ── 全站 RWD（375–390px） ── */
  @media (max-width: 480px) {
    /* 基礎字體：最小 16px */
    body { font-size: 16px; }
    .section-body { font-size: 16px; }
    .step-content p { font-size: 15px; }
    .policy-card p { font-size: 13px; }
    .quiz-desc { font-size: 15px; }

    /* Hero */
    .hero { padding: 48px 16px 40px; }
    .hero h1 { font-size: clamp(26px, 8vw, 36px); }
    .hero-sub { font-size: 15px; margin-bottom: 28px; }
    .hero-cta { gap: 8px; }
    .hero-cta a, .hero-cta button {
      width: 100%; max-width: 280px;
      min-height: 48px;
      font-size: 15px !important;
      padding: 14px 20px !important;
    }

    /* 附議進度 */
    .petition-hero-wrap { padding: 36px 16px; }
    .petition-cta-btn { width: 100%; max-width: 320px; font-size: 17px; padding: 16px 24px; }
    .goal-pill { width: 100%; }

    /* Stats bar */
    .stats-bar { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 16px 20px; }
    .stat-item:last-child { border-bottom: none; }
    .stat-num { font-size: 24px; }
    .stat-label { font-size: 13px; }

    /* Sections */
    .section { padding: 40px 16px; }
    .section-title { font-size: clamp(20px, 6vw, 28px); }

    /* Quiz */
    .quiz-wrap { padding: 24px 16px; }
    .choice-btn { padding: 14px 16px; font-size: 15px; min-height: 52px; }
    .btn-next { min-height: 48px; font-size: 15px; }
    .btn-primary { min-height: 48px; font-size: 15px; padding: 14px 24px; }

    /* Steps */
    .step-item { gap: 14px; }
    .step-num { font-size: 26px; min-width: 34px; }
    .step-content h3 { font-size: 16px; }

    /* Risk check */
    .check-wrap { padding: 24px 16px; }
    .check-input { font-size: 16px; min-height: 48px; }
    .btn-check { min-height: 52px; font-size: 16px; }
    .checkbox-row { font-size: 15px; }
    .checkbox-row input[type="checkbox"] { width: 20px; height: 20px; }

    /* Policy grid → 1 column */
    .policy-grid { grid-template-columns: 1fr; }
    .policy-card { padding: 20px 16px; }
    /* 國際比較 3 欄 → 1 欄 */
    div[style*="grid-template-columns:1fr 1fr 1fr"] {
      display: flex !important;
      flex-direction: column !important;
    }

    /* CTA section */
    .cta-section { padding: 48px 16px; }
    .cta-title { font-size: clamp(20px, 6vw, 28px); }
    .cta-sub { font-size: 15px; }
    .cta-card { padding: 20px 16px; }
    .cta-card-btn { min-height: 44px; font-size: 13px; padding: 10px 16px; }

    /* 連署計數器 flex → vertical */
    div[style*="display: flex"][style*="gap: 40px"] {
      flex-direction: column !important;
      gap: 20px !important;
    }
    div[style*="border-left:1px solid"][style*="padding-left:40px"] {
      border-left: none !important;
      padding-left: 0 !important;
      border-top: 1px solid rgba(255,255,255,0.15) !important;
      padding-top: 20px !important;
    }

    /* Overflow 防護 */
    img, video, iframe { max-width: 100%; height: auto; }
    table { display: block; overflow-x: auto; }
    pre, code { white-space: pre-wrap; word-break: break-all; }

    /* Nav */
    nav { padding: 0 16px; }

    /* Modal */
    .modal-box { padding: 28px 20px; }

    /* Footer */
    footer { padding: 32px 16px; font-size: 13px; }
  }
