:root {
  --navy: #061b3f;
  --navy-2: #0a2d62;
  --blue: #16467e;
  --gold: #d9a233;
  --gold-soft: #f4dc9b;
  --red: #d71920;
  --red-dark: #a80f18;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #12213d;
  --muted: #60708c;
  --line: #d9e0ec;
  --shadow: 0 24px 80px rgba(6, 27, 63, 0.18);
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Serif TC", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.96), rgba(255, 253, 248, 1) 42%),
    var(--cream);
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(6, 27, 63, 0.96);
  border-bottom: 1px solid rgba(244, 220, 155, 0.22);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 4px;
  font-size: 0.95rem;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links .nav-cta,
.primary-cta,
.submit-button {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 28px rgba(215, 25, 32, 0.3);
}

.nav-links .nav-cta {
  margin-left: 8px;
  padding-inline: 18px;
}

.nav-links .nav-cta:hover,
.primary-cta:hover,
.submit-button:hover:not(:disabled) {
  background: var(--red-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

.hero-section {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 8vw, 92px) clamp(20px, 6vw, 84px) clamp(44px, 7vw, 78px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(6, 27, 63, 0.98) 0%, rgba(7, 32, 72, 0.96) 48%, rgba(10, 45, 98, 0.9) 100%),
    radial-gradient(circle at 80% 20%, rgba(217, 162, 51, 0.28), transparent 38%),
    var(--navy);
}

.hero-content {
  max-width: 760px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-content h1,
.page-hero h1,
.verify-page h1,
.admin-placeholder h1 {
  margin: 14px 0 18px;
  max-width: 11em;
  color: inherit;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-content p,
.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 34px;
}

.primary-cta,
.secondary-link,
.submit-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.primary-cta:hover,
.secondary-link:hover,
.submit-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.secondary-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-art {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.hero-skyline {
  position: absolute;
  inset: auto 0 26px;
  height: 180px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  opacity: 0.55;
}

.hero-skyline span {
  width: clamp(34px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-skyline span:nth-child(1),
.hero-skyline span:nth-child(6) {
  height: 72px;
}

.hero-skyline span:nth-child(2),
.hero-skyline span:nth-child(5) {
  height: 112px;
}

.hero-skyline span:nth-child(3) {
  height: 156px;
}

.hero-skyline span:nth-child(4) {
  height: 132px;
}

.shield-wrap {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1.16;
  display: grid;
  place-items: center;
}

.taiwan-shield {
  width: 100%;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.3));
}

.shield-outer {
  fill: url("#none");
  fill: var(--gold);
}

.shield-inner {
  fill: rgba(6, 27, 63, 0.96);
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 4;
}

.taiwan {
  fill: var(--gold-soft);
  stroke: var(--gold);
  stroke-width: 5;
}

.taiwan-line {
  fill: none;
  stroke: rgba(6, 27, 63, 0.48);
  stroke-width: 5;
  stroke-linecap: round;
}

.orbit {
  position: absolute;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(244, 220, 155, 0.42);
  border-radius: 50%;
  backdrop-filter: blur(12px);
}

.orbit-one {
  left: 2%;
  top: 22%;
}

.orbit-two {
  right: 2%;
  top: 30%;
}

.orbit-three {
  left: 13%;
  bottom: 15%;
}

.orbit-four {
  right: 16%;
  bottom: 13%;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  color: var(--white);
  background: var(--line);
}

.stats-strip div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--navy-2);
}

.stats-strip strong {
  color: var(--gold-soft);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1;
}

.stats-strip span {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.content-band,
.cases-section,
.action-section,
.petition-panel,
.intro-band,
.policy-band,
.verify-page,
.admin-placeholder {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.content-band,
.cases-section {
  padding: clamp(58px, 8vw, 108px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section-heading h2,
.policy-band h2,
.petition-copy h2,
.action-section h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: clamp(1.78rem, 3.5vw, 3.2rem);
  line-height: 1.18;
}

.section-heading p,
.policy-band p,
.intro-band p,
.petition-copy p,
.feature-item p,
.case-item p,
.action-section p,
.verify-page p,
.admin-placeholder p,
.footer-identity p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-list.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-item {
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
}

.feature-item svg,
.case-item svg {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
  color: var(--gold);
}

.feature-item h3,
.case-item h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.35;
}

.feature-item.rule {
  border-left: 5px solid var(--gold);
}

.item-meta,
.case-item span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
}

.policy-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(34px, 5vw, 58px) 0;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding: clamp(64px, 10vw, 118px) clamp(20px, 6vw, 84px);
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(6, 27, 63, 0.98), rgba(10, 45, 98, 0.94)),
    var(--navy);
}

.page-hero.compact {
  padding-bottom: clamp(52px, 8vw, 82px);
}

.intro-band {
  padding: clamp(32px, 5vw, 54px) 0 0;
}

.intro-band p {
  max-width: 920px;
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-item {
  min-height: 330px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
}

.action-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  background: var(--line);
  border: 1px solid var(--line);
}

.action-section article {
  min-height: 280px;
  padding: clamp(28px, 5vw, 52px);
  background: var(--white);
}

.petition-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  margin-block: clamp(58px, 8vw, 108px);
  padding: clamp(32px, 5vw, 58px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 27, 63, 0.98), rgba(10, 45, 98, 0.96)),
    var(--navy);
  box-shadow: var(--shadow);
}

.petition-copy h2 {
  color: var(--white);
}

.petition-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.petition-form {
  display: grid;
  gap: 12px;
}

.petition-form label:not(.consent-row) {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.petition-form .bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.petition-form input,
.petition-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.petition-form input:focus,
.petition-form select:focus {
  outline: 3px solid rgba(217, 162, 51, 0.34);
  border-color: var(--gold);
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--red);
}

.submit-button {
  width: 100%;
  margin-top: 4px;
}

.submit-button:disabled {
  cursor: progress;
  opacity: 0.78;
}

.form-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 0;
  line-height: 1.6;
}

.form-message.is-success {
  color: #9fe7b1;
}

.form-message.is-error {
  color: #ffd1d3;
}

.spin {
  animation: spin 850ms linear infinite;
}

.verify-page,
.admin-placeholder {
  min-height: 62svh;
  display: grid;
  justify-items: center;
  align-content: center;
  padding-block: clamp(76px, 12vw, 140px);
  text-align: center;
}

.verify-symbol {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}

.verify-symbol.success {
  background: #167746;
}

.verify-symbol.error {
  background: var(--red);
}

.verify-page h1,
.admin-placeholder h1 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

.verify-page p,
.admin-placeholder p {
  max-width: 620px;
  margin-bottom: 28px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
}

.footer-grid {
  width: min(1160px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 0.7fr;
  gap: clamp(28px, 5vw, 58px);
  margin: 0 auto;
  padding: 54px 0 36px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 1rem;
}

.footer-identity strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.3rem;
}

.footer-identity p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--red);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold-soft);
  border-radius: 50%;
}

.social-icon-image {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-bottom {
  width: min(1160px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.admin-app {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  color: var(--ink);
  background: #f6f8fb;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 18px;
  color: var(--white);
  background: var(--navy);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand {
  display: grid;
  gap: 4px;
  padding: 10px 8px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-brand span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
}

.admin-brand strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.admin-tabs {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.admin-tabs button,
.admin-button,
.admin-pagination button {
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.admin-tabs button {
  display: grid;
  align-content: center;
  gap: 2px;
  width: 100%;
  min-height: 46px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  background: transparent;
}

.admin-tabs button span {
  font-size: 0.95rem;
  line-height: 1.15;
}

.admin-tabs button small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

.admin-tabs button:hover,
.admin-tabs button.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.admin-tabs button:hover small,
.admin-tabs button.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.admin-main {
  min-width: 0;
  padding: 22px clamp(16px, 3vw, 34px) 36px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-topbar h1 {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.admin-title-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
  background: var(--white);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-stack {
  display: grid;
  gap: 14px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-panel {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(6, 27, 63, 0.06);
}

.metric-panel {
  display: grid;
  gap: 8px;
}

.metric-panel span,
.admin-panel-heading span,
.detail-list dt,
.admin-field span,
.signature-filters span,
.settings-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-panel strong {
  color: var(--navy);
  font-size: 1.75rem;
  line-height: 1;
}

.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-panel-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.admin-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-progress {
  height: 8px;
  overflow: hidden;
  background: #edf1f6;
  border-radius: 999px;
}

.admin-progress span,
.county-row div span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.county-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.county-row {
  display: grid;
  grid-template-columns: 92px minmax(120px, 1fr) 72px;
  gap: 10px;
  align-items: center;
  font-size: 0.92rem;
}

.county-row div {
  height: 8px;
  overflow: hidden;
  background: #edf1f6;
  border-radius: 999px;
}

.county-row strong {
  text-align: right;
}

.signature-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 14px;
  align-items: start;
}

.signature-filters,
.cms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.signature-filters label,
.admin-field {
  display: grid;
  gap: 5px;
}

.signature-filters input,
.signature-filters select,
.admin-field input,
.admin-field textarea,
.admin-panel-heading select {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.signature-filters input:disabled,
.signature-filters select:disabled,
.admin-field input:disabled,
.admin-field textarea:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: #f4f7fb;
}

.admin-field textarea {
  resize: vertical;
  line-height: 1.55;
}

.admin-password-rule {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}

.admin-field.wide {
  grid-column: 1 / -1;
}

.compact-field {
  max-width: 360px;
}

.code-textarea,
.audit-list pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-table tbody tr {
  cursor: pointer;
}

.admin-table tbody tr:hover,
.admin-table tbody tr.is-selected {
  background: #fff8ec;
}

.admin-table tbody tr:focus-visible {
  outline: 3px solid rgba(217, 162, 51, 0.48);
  outline-offset: -3px;
}

.status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: capitalize;
}

.status-pill.pending {
  color: #73510b;
  background: #fff1c9;
}

.status-pill.verified {
  color: #0d5d3a;
  background: #dff7e8;
}

.status-pill.invalid {
  color: var(--red-dark);
  background: #ffe0e2;
}

.signature-detail-panel {
  position: sticky;
  top: 16px;
}

.signature-detail-panel.empty {
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.detail-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
}

.detail-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--white);
  background: var(--blue);
}

.admin-button.secondary,
.admin-pagination button {
  color: var(--navy);
  background: #edf1f6;
}

.admin-button.danger {
  background: var(--red);
}

.admin-file-button {
  position: relative;
  overflow: hidden;
}

.admin-file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-file-button.is-disabled,
.admin-file-button.is-disabled input {
  cursor: not-allowed;
}

.admin-button:disabled,
.admin-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-pagination button {
  padding: 0 12px;
}

.admin-state,
.admin-alert,
.admin-success {
  padding: 12px;
  border-radius: 4px;
  line-height: 1.5;
}

.admin-state {
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
}

.admin-state.is-error,
.admin-alert {
  color: var(--red-dark);
  background: #fff1f2;
  border: 1px solid #ffc8cd;
}

.admin-success {
  color: #0d5d3a;
  background: #e7f8ed;
  border: 1px solid #bce8cc;
}

.cms-panel,
.settings-panel {
  max-width: 1080px;
}

.settings-list,
.audit-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.admin-maintenance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.admin-maintenance-row > div:first-child {
  display: grid;
  gap: 3px;
}

.admin-maintenance-row strong {
  color: var(--navy);
}

.admin-maintenance-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.settings-list div,
.audit-list article {
  display: grid;
  gap: 5px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.settings-list span,
.audit-list span,
.audit-list time {
  color: var(--muted);
}

.audit-list article > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.audit-list pre {
  max-height: 180px;
  margin: 0;
  overflow: auto;
  color: var(--ink);
  white-space: pre-wrap;
}

.admin-auth-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink);
  background: #f6f8fb;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

.admin-auth-panel {
  width: min(100%, 420px);
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 44px rgba(6, 27, 63, 0.08);
}

.admin-auth-panel h1 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.users-panel {
  max-width: 1120px;
}

.user-create-grid,
.users-list,
.users-list article {
  display: grid;
  gap: 12px;
}

.users-list article {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.user-row-heading,
.user-reset-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.user-row-heading div {
  display: grid;
  gap: 3px;
}

.user-row-heading span {
  color: var(--muted);
  font-size: 0.82rem;
}

.user-reset-row .admin-field {
  flex: 1;
  max-width: 360px;
}

.permission-grid {
  display: grid;
  grid-template-columns: minmax(120px, 160px) repeat(2, minmax(86px, 120px));
  gap: 8px 10px;
  align-items: center;
}

.permission-grid > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.permission-grid label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}

.permission-grid input {
  inline-size: 16px;
  block-size: 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .admin-app {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-tabs {
    display: flex;
    flex-wrap: wrap;
  }

  .admin-tabs button {
    width: auto;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signature-workspace {
    grid-template-columns: 1fr;
  }

  .signature-detail-panel {
    position: static;
  }

  .signature-filters,
  .cms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    height: 68px;
    padding-inline: 18px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 18px 18px;
    background: rgba(6, 27, 63, 0.98);
    border-bottom: 1px solid rgba(244, 220, 155, 0.2);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-links .nav-cta {
    margin: 8px 0 0;
    justify-content: center;
  }

  .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-art {
    min-height: 380px;
  }

  .shield-wrap {
    width: min(86vw, 360px);
  }

  .stats-strip,
  .feature-list.three,
  .feature-list.two,
  .cases-grid,
  .policy-band,
  .petition-panel,
  .action-section,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .petition-panel,
  .policy-band {
    gap: 28px;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .admin-main {
    padding-inline: 12px;
  }

  .admin-topbar,
  .admin-panel-heading,
  .admin-topbar-actions,
  .user-row-heading,
  .user-reset-row,
  .audit-list article > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-metrics,
  .signature-filters,
  .cms-grid,
  .detail-list div {
    grid-template-columns: 1fr;
  }

  .county-row {
    grid-template-columns: 76px minmax(80px, 1fr) 56px;
  }

  .admin-pagination {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .permission-grid {
    grid-template-columns: 1fr 86px 86px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-content h1,
  .page-hero h1 {
    max-width: 100%;
  }

  .hero-actions,
  .primary-cta,
  .secondary-link {
    width: 100%;
  }

  .stats-strip,
  .feature-list.three,
  .feature-list.two,
  .cases-grid,
  .policy-band,
  .petition-panel,
  .action-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    min-height: 106px;
  }

  .feature-item,
  .case-item,
  .action-section article {
    min-height: auto;
  }

  .petition-panel {
    width: min(100% - 28px, 1160px);
    padding: 26px 18px;
  }

  .page-hero {
    padding-inline: 20px;
  }

  .orbit {
    width: 46px;
    height: 46px;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Public-site visual alignment with the supplied design mockups. */
body {
  background:
    radial-gradient(circle at 82% 7%, rgba(217, 162, 51, 0.14), transparent 25rem),
    linear-gradient(180deg, #fffdf8 0%, #ffffff 34%, #fffaf4 100%);
}

.site-header {
  height: 86px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(8, 41, 103, 0.08);
  box-shadow: 0 10px 30px rgba(8, 41, 103, 0.06);
}

.brand-mark {
  width: 52px;
  height: 52px;
  background: transparent;
}

.brand strong {
  color: var(--navy);
  font-size: 1.36rem;
  font-weight: 900;
}

.brand small {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--navy);
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--navy);
  background: transparent;
}

.nav-links a.is-active {
  box-shadow: inset 0 -3px 0 var(--gold);
}

.nav-links .nav-cta {
  min-height: 50px;
  color: var(--white);
  background: linear-gradient(180deg, #ee1d27, var(--red));
  border-radius: 7px;
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.22);
}

.menu-toggle {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--line);
}

.site-share {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-share-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(8, 41, 103, 0.16);
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
  white-space: nowrap;
}

.site-share-button svg,
.site-share-copy-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

.site-share-button:hover,
.site-share-button:focus-visible,
.site-share-button[aria-expanded="true"] {
  color: var(--blue);
  border-color: rgba(8, 41, 103, 0.34);
  background: #fff8ec;
}

.site-share-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: min(250px, calc(100vw - 28px));
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(8, 41, 103, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(6, 27, 63, 0.16);
}

.site-share-panel[hidden] {
  display: none;
}

.site-share-panel a,
.site-share-copy-button {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid rgba(8, 41, 103, 0.12);
  border-radius: 7px;
  color: var(--blue);
  background: rgba(255, 248, 236, 0.62);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.site-share-copy-button {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.site-share-panel a:hover,
.site-share-panel a:focus-visible,
.site-share-copy-button:hover,
.site-share-copy-button:focus-visible {
  color: var(--navy);
  border-color: rgba(8, 41, 103, 0.3);
  background: #ffffff;
}

.hero-section,
.page-hero {
  width: min(1320px, calc(100% - 42px));
  min-height: auto;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 98px) 0 clamp(34px, 5vw, 58px);
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 76% 38%, rgba(217, 162, 51, 0.12), transparent 26rem);
  overflow: visible;
}

.page-hero {
  display: grid;
}

.page-hero.compact {
  padding-bottom: clamp(34px, 5vw, 58px);
}

.page-hero-copy,
.hero-content {
  max-width: 720px;
}

.hero-kicker,
.section-kicker {
  color: #c47c12;
  font-weight: 900;
}

.hero-content h1,
.page-hero h1 {
  max-width: 12em;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.2;
  font-weight: 950;
}

.hero-content p,
.page-hero p {
  max-width: 690px;
  color: var(--blue);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
  font-weight: 700;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 34px;
}

.primary-cta,
.submit-button {
  min-height: 56px;
  color: var(--white);
  background: linear-gradient(180deg, #ee1d27, #c90011);
  border-radius: 7px;
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.24);
}

.secondary-link {
  min-height: 56px;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.hero-art {
  min-height: 440px;
}

.hero-skyline {
  inset: auto 0 44px;
  opacity: 1;
}

.hero-skyline span {
  background: linear-gradient(180deg, rgba(22, 70, 126, 0.08), rgba(22, 70, 126, 0.02));
  border-color: rgba(22, 70, 126, 0.14);
}

.shield-wrap {
  width: min(100%, 420px);
}

.taiwan-shield {
  filter: drop-shadow(0 24px 28px rgba(217, 162, 51, 0.2));
}

.shield-outer {
  fill: #d99d37;
}

.shield-inner {
  fill: rgba(255, 253, 248, 0.94);
  stroke: rgba(217, 162, 51, 0.5);
}

.taiwan {
  fill: #e0a044;
  stroke: #c47c12;
}

.orbit {
  color: var(--navy);
  background: #ffffff;
  border-color: rgba(22, 70, 126, 0.18);
  box-shadow: 0 10px 24px rgba(8, 41, 103, 0.1);
}

.stats-strip {
  width: min(1240px, calc(100% - 42px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: clamp(10px, 2vw, 24px) auto clamp(42px, 6vw, 78px);
  color: var(--navy);
  background: #ffffff;
  border: 1px solid rgba(8, 41, 103, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(8, 41, 103, 0.11);
  overflow: hidden;
}

.stats-strip div {
  min-height: 122px;
  gap: 6px;
  padding: 24px 32px;
  background: #ffffff;
  border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip strong {
  color: var(--red);
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  font-family: "Noto Sans TC", system-ui, sans-serif;
}

.stats-strip span {
  color: var(--navy);
}

.stats-strip i {
  width: 100%;
  height: 10px;
  display: block;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--red) var(--progress), #e8edf5 var(--progress));
  border-radius: 99px;
}

.content-band,
.cases-section,
.intro-band,
.policy-band,
.action-section {
  width: min(1180px, calc(100% - 54px));
}

.content-band,
.cases-section {
  padding: clamp(34px, 5vw, 64px) 0;
}

.section-heading h2,
.policy-band h2,
.petition-copy h2,
.action-section h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
}

.section-heading p,
.policy-band p,
.intro-band p,
.feature-item p,
.case-item p,
.action-section p {
  color: var(--blue);
  font-weight: 650;
}

.feature-list,
.feature-list.three,
.feature-list.two,
.cases-grid,
.action-section {
  gap: clamp(20px, 3vw, 36px);
  background: transparent;
  border: 0;
}

.feature-item,
.case-item,
.action-section article {
  min-height: auto;
  padding: 0 0 28px;
  background: transparent;
  border-bottom: 1px solid rgba(217, 162, 51, 0.42);
}

.feature-item.rule {
  border-left: 0;
  border-bottom: 1px solid rgba(217, 162, 51, 0.42);
}

.feature-item svg,
.case-item svg {
  margin-bottom: 16px;
  color: #d18411;
}

.feature-item h3,
.case-item h3 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.case-item span,
.item-meta {
  color: #c47c12;
}

.policy-band {
  margin-top: 12px;
  padding: clamp(26px, 4vw, 44px) 0;
  border-top: 1px solid rgba(217, 162, 51, 0.62);
  border-bottom: 1px solid rgba(217, 162, 51, 0.34);
}

.petition-panel {
  width: min(1160px, calc(100% - 54px));
  grid-template-columns: 1fr;
  gap: 22px;
  margin-block: clamp(44px, 7vw, 82px);
  padding: clamp(26px, 4vw, 42px);
  color: var(--navy);
  background: linear-gradient(180deg, #fffaf2, #fff6e8);
  border: 1px solid rgba(217, 162, 51, 0.35);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(8, 41, 103, 0.08);
}

.petition-copy {
  text-align: center;
}

.petition-copy h2 {
  color: var(--navy);
  margin-bottom: 4px;
}

.petition-copy p {
  color: var(--blue);
  font-weight: 700;
}

.petition-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(8, 41, 103, 0.09);
  border-radius: 12px;
}

.petition-form label:not(.consent-row) {
  color: var(--navy);
}

.petition-form input,
.petition-form select {
  color: var(--navy);
  background: #ffffff;
  border-color: #cfd8e8;
}

.consent-row,
.submit-button,
.form-message {
  grid-column: 1 / -1;
}

.consent-row {
  color: var(--blue);
}

.submit-action-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(360px, 1.14fr);
  gap: 12px;
  align-items: stretch;
}

.email-verification-reminder {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px 14px;
  color: var(--navy);
  background: #fff6f4;
  border: 2px solid rgba(215, 25, 32, 0.36);
  border-radius: 7px;
}

.email-verification-reminder svg {
  margin-top: 2px;
  color: #d18411;
}

.email-verification-reminder strong,
.email-verification-reminder span {
  display: block;
}

.email-verification-reminder strong {
  margin-bottom: 4px;
  color: #c90011;
  font-size: 0.98rem;
  font-weight: 950;
}

.email-verification-reminder span {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.55;
}

.email-reminder-highlight {
  display: block;
  margin: 4px 0 2px;
  color: var(--red);
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  font-weight: 950;
  line-height: 1.45;
}

.submit-action-row .submit-button {
  grid-column: auto;
  width: 100%;
  min-height: 100%;
  margin-top: 0;
}

.form-message.is-success {
  color: #0c6b3f;
}

.form-message.is-error {
  color: var(--red);
}

.signature-success-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 20, 46, 0.58);
  backdrop-filter: blur(4px);
}

.signature-success-dialog {
  width: min(460px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 30px 28px 26px;
  color: var(--navy);
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(8, 41, 103, 0.12);
  border-radius: 8px;
  box-shadow: 0 26px 72px rgba(5, 16, 40, 0.26);
}

.signature-success-dialog svg {
  color: #0c6b3f;
}

.signature-success-dialog h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: 0;
}

.signature-success-dialog p {
  margin: 0;
  color: var(--blue);
  line-height: 1.75;
}

.signature-success-dialog .signature-success-timer {
  color: #5b6d86;
  font-size: 0.94rem;
}

.modal-confirm-button {
  width: min(220px, 100%);
  min-height: 48px;
  margin-top: 4px;
  color: #ffffff;
  background: var(--red);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(216, 0, 28, 0.22);
}

.modal-confirm-button:focus-visible {
  outline: 3px solid rgba(217, 162, 51, 0.5);
  outline-offset: 3px;
}

.site-footer {
  color: var(--navy);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  padding-top: 42px;
}

.footer-grid h2,
.footer-identity strong {
  color: var(--navy);
}

.footer-identity p,
.footer-links a,
.footer-bottom a,
.footer-bottom {
  color: var(--blue);
}

.social-links a {
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
}

.footer-bottom {
  border-top-color: var(--line);
}

.legal-hero,
.legal-page {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-hero {
  padding: clamp(58px, 8vw, 92px) 0 24px;
}

.legal-hero h1 {
  max-width: 10em;
  margin: 8px 0 16px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  font-weight: 720;
  line-height: 1.85;
}

.legal-hero .legal-updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 800;
}

.legal-page {
  display: grid;
  gap: 26px;
  padding: 12px 0 clamp(70px, 9vw, 110px);
}

.legal-intro,
.legal-section {
  padding-top: 22px;
  border-top: 1px solid rgba(217, 162, 51, 0.4);
}

.legal-intro h2,
.legal-section h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.34rem, 2.3vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.legal-intro p,
.legal-section p,
.legal-section li {
  color: var(--blue);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.85;
}

.legal-intro p,
.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.3em;
}

.legal-section li::marker {
  color: #d18411;
}

.legal-section a {
  color: #c90011;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    height: 74px;
  }

  .nav-links {
    top: 74px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 30px rgba(8, 41, 103, 0.12);
  }

  .hero-section,
  .page-hero {
    grid-template-columns: 1fr;
    width: min(100% - 34px, 1180px);
    padding-top: 42px;
  }

  .hero-art {
    min-height: 330px;
  }

  .stats-strip,
  .feature-list.three,
  .feature-list.two,
  .cases-grid,
  .policy-band,
  .action-section,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .petition-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-section,
  .page-hero,
  .stats-strip,
  .content-band,
  .cases-section,
  .intro-band,
  .policy-band,
  .action-section,
  .petition-panel,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  .stats-strip,
  .feature-list.three,
  .feature-list.two,
  .cases-grid,
  .policy-band,
  .action-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-strip div:last-child {
    border-bottom: 0;
  }

  .petition-form {
    padding: 14px;
  }
}

/* Home mockup pass: use extracted artwork and page rhythm from the supplied homepage design. */
.hero-section {
  width: min(1220px, calc(100% - 56px));
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 0.94fr);
  gap: clamp(14px, 2.8vw, 42px);
  padding: 54px 0 24px;
  background: transparent;
}

.hero-content {
  align-self: center;
  padding-top: 4px;
}

.hero-content h1 {
  max-width: 15em;
  margin: 0;
  font-size: clamp(1.68rem, 2.85vw, 2.42rem);
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: keep-all;
}

.home-title-rule,
.article-rule {
  display: block;
  width: 280px;
  height: 2px;
  margin: 22px 0 18px;
  background: linear-gradient(90deg, #d58d1c, rgba(213, 141, 28, 0));
}

.hero-content p {
  max-width: 520px;
  color: var(--blue);
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  font-weight: 800;
  line-height: 1.8;
}

.hero-content p + p {
  margin-top: 2px;
}

.home-hero-image {
  min-height: 410px;
  display: grid;
  align-items: center;
  justify-items: end;
}

.home-hero-image img {
  width: min(100%, 660px);
  height: auto;
  display: block;
}

.stats-strip {
  width: min(1180px, calc(100% - 58px));
  grid-template-columns: 1.08fr 1fr 1.02fr 1.1fr;
  margin: 20px auto 38px;
}

.stats-strip div {
  min-height: 106px;
  grid-template-columns: auto 1fr;
  align-content: center;
  align-items: center;
  column-gap: 18px;
  padding: 22px 34px;
}

.stats-strip div > svg {
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  color: var(--navy);
}

.stats-strip strong {
  color: var(--red);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 950;
}

.stats-strip strong em {
  font-size: 0.43em;
  font-style: normal;
}

.stats-strip span {
  font-size: 1.03rem;
  font-weight: 800;
}

.stats-strip div:nth-child(2) {
  grid-template-columns: auto auto 1fr;
}

.stats-strip div:nth-child(2) svg {
  grid-row: 1 / span 2;
}

.stats-strip div:nth-child(2) span:first-of-type {
  align-self: end;
}

.stats-strip div:nth-child(2) strong {
  grid-column: 2;
  color: var(--navy);
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
}

.stats-strip div:nth-child(2) span:last-child {
  grid-column: 3;
  align-self: center;
}

.stats-strip .progress-stat {
  display: grid;
  grid-template-columns: 1fr;
}

.progress-stat i {
  width: 100%;
  height: 10px;
  margin-top: 6px;
}

.progress-stat small {
  display: flex;
  justify-content: space-between;
  color: var(--navy);
  font-size: 0.9rem;
}

.progress-stat small b {
  font-weight: 500;
}

.home-article {
  width: min(1120px, calc(100% - 74px));
  margin: 0 auto;
  color: var(--navy);
}

.home-article h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.25;
  font-weight: 950;
}

.home-article h3 {
  margin: 24px 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 950;
}

.home-article p,
.home-article li {
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 720;
  line-height: 1.86;
}

.home-article p {
  max-width: 940px;
  margin: 8px 0;
}

.home-article .lead {
  color: var(--navy);
  font-weight: 900;
}

.home-article ul {
  max-width: 900px;
  margin: 8px 0 18px 1.1em;
  padding: 0;
}

.home-article li {
  padding-left: 4px;
}

.home-article .needs-list {
  display: grid;
  gap: 6px;
  margin-left: 0;
  list-style: none;
}

.needs-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-weight: 900;
}

.needs-list svg {
  flex: 0 0 auto;
  color: #d18411;
  fill: #d18411;
  stroke: #ffffff;
}

.petition-panel {
  width: min(1110px, calc(100% - 74px));
  margin-top: 26px;
  margin-bottom: 28px;
  padding: 20px 18px 18px;
}

.petition-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  letter-spacing: 0;
}

.petition-copy p {
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.45;
}

.petition-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
  padding: 14px 18px 12px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field > span:first-child {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 950;
}

.form-field b {
  color: var(--red);
}

.input-shell {
  min-height: 50px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: #8090aa;
  background: #ffffff;
  border: 1px solid #cbd5e6;
  border-radius: 5px;
}

.input-shell input,
.input-shell select {
  min-height: 48px;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.input-shell input:focus,
.input-shell select:focus {
  outline: 0;
}

.consent-row {
  margin: 0;
  font-size: 0.93rem;
}

.consent-row a {
  color: var(--blue);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.submit-button {
  min-height: 60px;
  margin-top: 0;
  justify-content: center;
  gap: 18px;
  font-size: clamp(1.25rem, 2.2vw, 1.82rem);
  letter-spacing: 0;
}

.submit-button svg:last-child {
  margin-left: auto;
}

.petition-trust-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 4px 8px 0;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
}

.petition-trust-row span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.petition-trust-row svg {
  flex: 0 0 auto;
  color: #d18411;
}

.learn-more {
  width: min(1110px, calc(100% - 74px));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 26px auto 0;
  padding: 16px 20px;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid rgba(217, 162, 51, 0.34);
  border-radius: 10px;
  font-size: 1.12rem;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(8, 41, 103, 0.06);
}

.learn-more a {
  color: #c90011;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .hero-section {
    width: min(100% - 34px, 1180px);
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .home-hero-image {
    min-height: auto;
    justify-items: center;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .petition-trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-section,
  .stats-strip,
  .home-article,
  .petition-panel {
    width: min(100% - 28px, 1180px);
  }

  .hero-content h1 {
    font-size: clamp(1.25rem, 5.6vw, 1.72rem);
  }

  .home-title-rule,
  .article-rule {
    width: 190px;
  }

  .stats-strip,
  .petition-form {
    grid-template-columns: 1fr;
  }

  .submit-action-row {
    grid-template-columns: 1fr;
  }

  .stats-strip div,
  .stats-strip div:nth-child(2) {
    grid-template-columns: auto 1fr;
  }

  .stats-strip div:nth-child(2) strong,
  .stats-strip div:nth-child(2) span:last-child {
    grid-column: 2;
  }

.home-article p,
.home-article li {
    font-size: 1.05rem;
  }
}

@media (min-width: 861px) and (max-width: 980px) {
  .site-header {
    height: 86px;
    padding-inline: 24px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-links a {
    width: auto;
    justify-content: center;
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .nav-links .nav-cta {
    margin: 0 0 0 6px;
    padding-inline: 14px;
  }

  .site-share-button {
    width: 42px;
    padding: 0;
  }

  .site-share-button span {
    display: none;
  }

  .hero-section {
    width: min(1220px, calc(100% - 56px));
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.76fr);
    gap: 18px;
    padding-top: 54px;
  }

  .hero-content h1 {
    font-size: clamp(1.58rem, 2.35vw, 2rem);
  }

  .home-hero-image {
    justify-items: end;
  }

  .home-hero-image img {
    width: min(100%, 490px);
  }

  .stats-strip {
    width: min(1180px, calc(100% - 58px));
    grid-template-columns: 1.08fr 1fr 1.02fr 1.1fr;
  }

  .stats-strip div {
    min-height: 106px;
    padding: 18px 20px;
  }

  .stats-strip div > svg {
    width: 44px;
    height: 44px;
  }

  .stats-strip strong {
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  }
}

@media (max-width: 860px) {
  .site-share {
    width: 100%;
    display: grid;
  }

  .site-share-button {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 14px;
    border-radius: 4px;
    background: #ffffff;
  }

  .site-share-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 14px 28px rgba(6, 27, 63, 0.12);
  }
}

/* Inner public pages aligned to supplied mockups. */
.design-page-hero {
  width: min(1220px, calc(100% - 56px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(22px, 4vw, 64px);
  margin: 0 auto;
  padding: 28px 0 18px;
  color: var(--navy);
}

.design-hero-copy {
  max-width: 640px;
}

.design-hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.16;
  font-weight: 950;
}

.cases-hero .design-hero-copy h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

.cases-hero .design-hero-copy h2 {
  max-width: 12em;
  margin: 8px 0 20px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.18;
  font-weight: 950;
}

.design-hero-copy .english-title {
  margin: 8px 0 0;
  color: #c47c12;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.design-hero-copy p {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 720;
  line-height: 1.95;
}

.design-page-hero img {
  width: min(100%, 660px);
  height: auto;
  display: block;
  justify-self: end;
}

.definition-section,
.numbered-section,
.bullet-section,
.case-mock-grid,
.source-note,
.about-layout {
  width: min(1120px, calc(100% - 74px));
  margin-inline: auto;
}

.definition-section {
  padding: 8px 0 14px;
}

.definition-section h2,
.numbered-section h2,
.bullet-section h2,
.about-layout h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.25;
  font-weight: 950;
}

.definition-section h2 svg,
.numbered-section h2 svg,
.about-layout h2 svg {
  color: #d18411;
  flex: 0 0 auto;
}

.definition-section p,
.numbered-section p,
.bullet-section li,
.case-mock-grid p,
.source-note,
.about-layout p,
.about-layout li {
  color: var(--blue);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.78;
}

.definition-section p {
  max-width: 1050px;
  margin: 6px 0;
}

.numbered-section {
  padding: 14px 0 18px;
  border-top: 1px solid rgba(217, 162, 51, 0.35);
  border-bottom: 1px solid rgba(217, 162, 51, 0.35);
}

.section-note {
  margin: 0 0 10px 48px;
}

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
}

.numbered-grid article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 11px 0 13px;
  border-bottom: 1px solid rgba(8, 41, 103, 0.18);
}

.numbered-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.numbered-grid article span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--navy);
  border-radius: 50%;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-weight: 950;
}

.numbered-grid h3,
.case-mock-grid h2 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: clamp(1.2rem, 1.9vw, 1.58rem);
  line-height: 1.35;
  font-weight: 950;
}

.numbered-grid p,
.case-mock-grid p {
  margin: 0;
}

.bullet-section {
  padding: 18px 0 0;
}

.bullet-section ul,
.case-mock-grid ul,
.check-list,
.action-list {
  margin: 0;
  padding: 0;
}

.bullet-section ul {
  padding-left: 1.3em;
}

.bullet-section li::marker,
.case-mock-grid li::marker {
  color: #d18411;
}

.case-mock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 42px;
  padding: 18px 0 4px;
}

.case-mock-grid article {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(217, 162, 51, 0.5);
}

.case-mock-grid article.is-wide {
  grid-column: 1 / -1;
}

.case-mock-grid h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(217, 162, 51, 0.52);
}

.case-mock-grid h2 svg {
  color: #d18411;
}

.case-mock-grid ul {
  display: grid;
  gap: 7px;
  padding-left: 1.1em;
}

.case-mock-grid strong {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 950;
}

.source-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  padding: 6px 0 0;
  font-size: 0.98rem;
}

.source-note::before {
  content: "ⓘ";
  color: var(--navy);
  font-weight: 900;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 4vw, 52px);
  padding: 12px 0 0;
}

.about-left,
.about-right {
  display: grid;
  gap: 22px;
  align-content: start;
}

.about-layout article {
  min-width: 0;
}

.check-list {
  display: grid;
  gap: 5px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 11px;
  height: 11px;
  background: #d18411;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.check-list.compact {
  gap: 4px;
}

.action-list {
  display: grid;
  gap: 5px;
  list-style: none;
  counter-reset: action;
}

.action-list li {
  position: relative;
  padding-left: 34px;
  counter-increment: action;
}

.action-list li::before {
  content: counter(action);
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #d18411;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 950;
}

.action-list strong {
  color: var(--navy);
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 6px;
}

.founder-grid span {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 5px 10px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #cfd8e8;
  border-radius: 6px;
  font-weight: 850;
  text-align: center;
}

.about-right small {
  display: block;
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

@media (min-width: 861px) and (max-width: 980px) {
  .design-page-hero {
    width: min(1220px, calc(100% - 56px));
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
    gap: 20px;
    padding-top: 24px;
  }

  .design-hero-copy h1,
  .cases-hero .design-hero-copy h1 {
    font-size: clamp(1.78rem, 3.4vw, 2.45rem);
  }

  .cases-hero .design-hero-copy h2 {
    font-size: clamp(1.45rem, 3vw, 2.05rem);
  }

  .design-page-hero img {
    width: min(100%, 430px);
  }
}

@media (max-width: 860px) {
  .design-page-hero,
  .numbered-grid,
  .case-mock-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .design-page-hero {
    width: min(100% - 34px, 1180px);
    padding-top: 36px;
  }

  .design-page-hero img {
    justify-self: center;
  }

  .numbered-grid article:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(8, 41, 103, 0.18);
  }

  .numbered-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .design-page-hero,
  .definition-section,
  .numbered-section,
  .bullet-section,
  .case-mock-grid,
  .source-note,
  .about-layout {
    width: min(100% - 28px, 1180px);
  }

  .design-hero-copy h1,
  .cases-hero .design-hero-copy h1 {
    font-size: clamp(1.65rem, 7.5vw, 2.18rem);
  }

  .cases-hero .design-hero-copy h2 {
    font-size: clamp(1.35rem, 7vw, 1.95rem);
  }

  .founder-grid {
    grid-template-columns: 1fr;
  }

  .section-note {
    margin-left: 0;
  }
}

/* PDF-style online guide page. */
.pdf-guide-page {
  --guide-blue: #064b9b;
  --guide-deep: #061b3f;
  --guide-red: #d71920;
  --guide-yellow: #ffd24b;
  --guide-orange: #e48a16;
  --guide-green: #008f5a;
  --guide-magenta: #d52686;
  --guide-paper: #fffaf0;
  color: var(--guide-deep);
  background:
    linear-gradient(180deg, #fff7e7 0%, #ffffff 34%, #f5fbff 100%),
    repeating-linear-gradient(0deg, rgba(6, 75, 155, 0.04) 0 1px, transparent 1px 28px);
  overflow-x: hidden;
}

.pdf-guide-hero,
.pdf-guide-jump-list,
.pdf-guide-stack,
.pdf-guide-final-cta {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.pdf-guide-hero {
  min-height: calc(100svh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(42px, 7vw, 82px) 0 clamp(34px, 5vw, 62px);
  border-bottom: 4px solid var(--guide-yellow);
}

.pdf-guide-hero-copy {
  max-width: 760px;
  min-width: 0;
}

.pdf-guide-kicker,
.pdf-guide-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--guide-orange);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 950;
  letter-spacing: 0;
}

.pdf-guide-hero h1 {
  max-width: 10em;
  margin: 14px 0 18px;
  color: var(--guide-deep);
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pdf-guide-title-line {
  display: block;
}

.pdf-guide-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--guide-blue);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  font-weight: 760;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.pdf-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pdf-guide-outline-button,
.pdf-guide-download-link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  color: var(--guide-deep);
  background: #ffffff;
  border: 2px solid var(--guide-deep);
  border-radius: 6px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.pdf-guide-outline-button:hover,
.pdf-guide-download-link:hover {
  color: #ffffff;
  background: var(--guide-deep);
  transform: translateY(-1px);
}

.pdf-guide-share-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  color: var(--guide-deep);
  background: var(--guide-yellow);
  border: 3px solid var(--guide-deep);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(6, 27, 63, 0.12);
  text-align: center;
}

.pdf-guide-share-card span,
.pdf-guide-page-share span {
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 950;
}

.pdf-guide-share-card a,
.pdf-guide-page-share a {
  max-width: 100%;
  color: inherit;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdf-guide-share-card .pdf-guide-download-link {
  width: 100%;
  min-height: 48px;
  color: #ffffff;
  background: var(--guide-red);
  border: 0;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(215, 25, 32, 0.2);
}

.pdf-guide-share-card .pdf-guide-download-link:hover {
  background: #b80f19;
}

.pdf-guide-qr {
  width: 172px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #ffffff;
  border: 2px solid var(--guide-deep);
  border-radius: 6px;
}

.pdf-guide-qr.small {
  width: 118px;
}

.pdf-guide-qr svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pdf-guide-jump-list {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  padding: 24px 0 16px;
}

.pdf-guide-jump-list a {
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 10px 8px;
  color: var(--guide-deep);
  background: #ffffff;
  border: 1px solid rgba(6, 27, 63, 0.16);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.pdf-guide-jump-list a:hover {
  border-color: var(--guide-orange);
  box-shadow: 0 10px 22px rgba(6, 27, 63, 0.09);
  transform: translateY(-2px);
}

.pdf-guide-jump-list span {
  color: var(--guide-red);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 950;
}

.pdf-guide-stack {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  padding: 16px 0 clamp(44px, 7vw, 86px);
}

.pdf-guide-sheet {
  min-height: 760px;
  scroll-margin-top: 110px;
  padding: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(90deg, var(--guide-yellow) 0 14px, transparent 14px),
    linear-gradient(180deg, #ffffff 0%, var(--guide-paper) 100%);
  border: 2px solid rgba(6, 27, 63, 0.18);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(6, 27, 63, 0.11);
}

.pdf-guide-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-left: 12px;
  color: var(--guide-deep);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0;
}

.pdf-guide-sheet-header span:last-child {
  min-width: 82px;
  padding: 5px 10px;
  color: #ffffff;
  background: var(--guide-deep);
  border-radius: 999px;
  text-align: center;
}

.pdf-guide-sheet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 210px);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  padding-top: clamp(22px, 3vw, 34px);
}

.pdf-guide-sheet-main {
  min-width: 0;
  padding-left: 12px;
}

.pdf-guide-label {
  margin: 0 0 10px;
}

.pdf-guide-label svg {
  color: var(--guide-red);
  flex: 0 0 auto;
}

.pdf-guide-sheet h2 {
  max-width: 12em;
  margin: 0 0 16px;
  color: var(--guide-deep);
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pdf-guide-sheet p {
  max-width: 820px;
  margin: 0;
  color: var(--guide-blue);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  font-weight: 720;
  line-height: 1.82;
}

.pdf-guide-sheet .pdf-guide-lead {
  max-width: 880px;
  margin-bottom: 12px;
  color: var(--guide-blue);
  font-size: clamp(1.16rem, 1.9vw, 1.54rem);
  font-weight: 950;
  line-height: 1.64;
}

.pdf-guide-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.pdf-guide-stat-grid div {
  min-height: 138px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px;
  color: #ffffff;
  background: var(--guide-green);
  border-radius: 8px;
}

.pdf-guide-stat-grid strong {
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 950;
  line-height: 0.95;
}

.pdf-guide-stat-grid span,
.pdf-guide-stat-grid small {
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-weight: 900;
}

.pdf-guide-stat-grid small {
  opacity: 0.82;
}

.pdf-guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.pdf-guide-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pdf-guide-card {
  position: relative;
  min-width: 0;
  padding: 18px 18px 20px;
  background: #ffffff;
  border: 2px solid rgba(6, 27, 63, 0.13);
  border-radius: 8px;
}

.pdf-guide-card:nth-child(3n + 1) {
  border-top: 8px solid var(--guide-red);
}

.pdf-guide-card:nth-child(3n + 2) {
  border-top: 8px solid var(--guide-orange);
}

.pdf-guide-card:nth-child(3n) {
  border-top: 8px solid var(--guide-blue);
}

.pdf-guide-card-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #ffffff;
  background: var(--guide-magenta);
  border-radius: 50%;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 1.14rem;
  font-weight: 950;
}

.pdf-guide-card-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--guide-orange);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 950;
}

.pdf-guide-card h3 {
  margin: 0 0 8px;
  color: var(--guide-deep);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  font-weight: 950;
  line-height: 1.35;
}

.pdf-guide-card p {
  color: var(--guide-blue);
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.72;
}

.pdf-guide-highlight {
  margin-top: 28px !important;
  padding: 16px 18px;
  color: #ffffff !important;
  background: var(--guide-magenta);
  border-radius: 8px;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-weight: 950 !important;
  box-shadow: inset 8px 0 0 var(--guide-yellow);
}

.pdf-guide-source {
  margin-top: 14px !important;
  color: #5d6f8b !important;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
}

.pdf-guide-page-share {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px;
  color: var(--guide-deep);
  background: #ffffff;
  border: 2px solid var(--guide-yellow);
  border-radius: 8px;
  text-align: center;
}

.pdf-guide-page-share a:last-child {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--guide-red);
  border-radius: 5px;
  text-decoration: none;
}

.pdf-guide-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  margin-bottom: clamp(34px, 6vw, 70px);
  padding: clamp(26px, 5vw, 48px);
  color: #ffffff;
  background: var(--guide-deep);
  border-radius: 8px;
}

.pdf-guide-final-cta h2 {
  max-width: 11em;
  margin: 10px 0 12px;
  color: #ffffff;
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 950;
  line-height: 1.08;
}

.pdf-guide-final-cta p {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
  font-weight: 760;
  line-height: 1.8;
}

.pdf-guide-final-cta .pdf-guide-share-card {
  box-shadow: none;
}

.pdf-guide-page .learn-more {
  margin-top: 0;
}

@media (max-width: 980px) {
  .pdf-guide-hero,
  .pdf-guide-final-cta,
  .pdf-guide-sheet-layout {
    grid-template-columns: 1fr;
  }

  .pdf-guide-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .pdf-guide-hero h1,
  .pdf-guide-sheet h2,
  .pdf-guide-final-cta h2 {
    max-width: 100%;
  }

  .pdf-guide-share-card {
    justify-self: start;
    width: min(100%, 360px);
  }

  .pdf-guide-jump-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pdf-guide-sheet {
    min-height: auto;
  }

  .pdf-guide-page-share {
    position: static;
    width: min(100%, 360px);
    justify-items: center;
  }
}

@media (max-width: 680px) {
  .pdf-guide-hero,
  .pdf-guide-jump-list,
  .pdf-guide-stack,
  .pdf-guide-final-cta {
    width: min(100% - 28px, 1180px);
  }

  .pdf-guide-hero h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    word-break: break-all;
  }

  .pdf-guide-hero-copy,
  .pdf-guide-hero p,
  .pdf-guide-title-line {
    width: 100%;
    max-width: 100%;
  }

  .pdf-guide-hero p,
  .pdf-guide-title-line {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .pdf-guide-actions,
  .pdf-guide-actions .primary-cta,
  .pdf-guide-outline-button {
    width: 100%;
  }

  .pdf-guide-jump-list,
  .pdf-guide-stat-grid,
  .pdf-guide-card-grid,
  .pdf-guide-card-grid.three {
    grid-template-columns: 1fr;
  }

  .pdf-guide-sheet {
    padding: 20px 16px 22px;
    background:
      linear-gradient(90deg, var(--guide-yellow) 0 8px, transparent 8px),
      linear-gradient(180deg, #ffffff 0%, var(--guide-paper) 100%);
  }

  .pdf-guide-sheet-main,
  .pdf-guide-sheet-header {
    padding-left: 2px;
  }

  .pdf-guide-sheet-header {
    align-items: flex-start;
  }

  .pdf-guide-sheet h2 {
    font-size: clamp(1.74rem, 10vw, 2.78rem);
  }

  .pdf-guide-card {
    padding: 16px;
  }

  .pdf-guide-share-card,
  .pdf-guide-page-share {
    width: 100%;
  }
}
