:root {
  --paper: #fbf6ea;
  --paper-strong: #fffdf6;
  --paper-muted: #f0e4ce;
  --ink: #222222;
  --muted: #5f5a50;
  --line: #2c2c2c;
  --blue: #2457a6;
  --blue-soft: #e7f0ff;
  --red: #b42318;
  --red-soft: #ffe7df;
  --green: #2f7a4d;
  --green-soft: #e7f5e8;
  --yellow: #f4d35e;
  --yellow-soft: #fff4bd;
  --shadow: 8px 8px 0 rgba(34, 34, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(34, 34, 34, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 34, 34, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.25) 0 2px, transparent 2px 9px),
    rgba(251, 246, 234, 0.78);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 18px 0 20px;
  font-size: 58px;
}

h2 {
  margin-bottom: 16px;
  font-size: 36px;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 38px;
  background: rgba(255, 253, 246, 0.95);
  border-bottom: 2px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  min-width: 64px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(34, 34, 34, 0.2);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 3px 3px 0 rgba(34, 34, 34, 0.14);
}

.lang-btn {
  min-height: 42px;
  padding: 8px 11px;
  border: 0;
  border-right: 2px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.lang-btn:last-child {
  border-right: 0;
}

.lang-btn.active {
  background: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 4px 4px 0 rgba(34, 34, 34, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(34, 34, 34, 0.2);
}

.btn.primary {
  background: var(--blue);
  color: #ffffff;
}

.btn.secondary {
  background: var(--yellow-soft);
}

.btn.text-link {
  border-color: transparent;
  background: transparent;
  color: var(--blue);
  box-shadow: none;
}

.btn.warning {
  background: var(--red-soft);
  color: #771d14;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 30px 46px;
}

.hero-copy {
  position: relative;
}

.note-label,
.section-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 22px;
  color: #3f3a33;
  font-size: 18px;
}

.truth-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
  margin: 24px 0;
}

.truth-row span {
  min-height: 48px;
  padding: 10px;
  border: 2px solid var(--green);
  border-radius: 6px;
  background: var(--green-soft);
  color: #1f5f3a;
  font-size: 14px;
  font-weight: 900;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.photo-frame {
  position: relative;
  margin: 0;
  padding: 10px 10px 12px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.photo-frame::before {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 96px;
  height: 28px;
  content: "";
  background: rgba(244, 211, 94, 0.72);
  border: 1px solid rgba(34, 34, 34, 0.18);
  transform: translateX(-50%) rotate(-2deg);
}

.photo-frame:nth-child(2)::before {
  transform: translateX(-50%) rotate(3deg);
}

.photo-frame:nth-child(3)::before {
  transform: translateX(-50%) rotate(-4deg);
}

.photo-frame figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.pledge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 18px 30px;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: #fffdf6;
}

.pledge-strip span {
  padding: 7px 10px;
  border: 1px dashed var(--line);
  background: #f8eed6;
  color: #352f28;
  font-weight: 900;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 30px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

.section-heading p,
.copy-block p,
.disclaimer p {
  color: var(--muted);
  font-size: 17px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.copy-block h2,
.section-heading h2 {
  margin-top: 14px;
}

.reason-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #f2dfb8;
  box-shadow: var(--shadow);
}

.reason-board article,
.progress-cards article {
  min-height: 120px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fffdf6;
}

.reason-board strong,
.reason-board span,
.progress-cards strong,
.progress-cards span {
  display: block;
}

.reason-board strong,
.progress-cards strong {
  margin-bottom: 8px;
  font-size: 24px;
}

.reason-board span,
.progress-cards span {
  color: var(--muted);
}

.image-section {
  max-width: none;
  background: rgba(255, 253, 246, 0.72);
  border-top: 2px solid rgba(34, 34, 34, 0.12);
  border-bottom: 2px solid rgba(34, 34, 34, 0.12);
}

.image-section .section-heading,
.solidarity-gallery {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.solidarity-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.board-section {
  max-width: none;
}

.board-section > .section-heading,
.board-section > .type-grid,
.board-section > .guidance-panel {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.type-card {
  position: relative;
  min-height: 188px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff7cc;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: 4px 4px 0 rgba(34, 34, 34, 0.14);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.type-card:nth-child(2n) {
  background: #e7f0ff;
}

.type-card:nth-child(3n) {
  background: #e7f5e8;
}

.type-card:hover,
.type-card.active {
  transform: rotate(-1deg) translate(-1px, -1px);
  box-shadow: 7px 7px 0 rgba(34, 34, 34, 0.18);
}

.type-card.active {
  outline: 3px solid var(--blue);
}

.type-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 900;
}

.type-card strong,
.type-card small {
  display: block;
}

.type-card strong {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.4;
}

.type-card small {
  color: #504b43;
  font-size: 13px;
  line-height: 1.5;
}

.guidance-panel {
  margin-top: 18px;
  padding: 18px 20px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  background: #e7f0ff;
  box-shadow: 5px 5px 0 rgba(36, 87, 166, 0.14);
}

.guidance-panel strong {
  display: block;
  margin-bottom: 6px;
  color: #173d7a;
}

.guidance-panel p {
  margin: 0;
  color: #234d8f;
}

.ledger-section {
  max-width: none;
  background: #f4ead7;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.ledger-section .section-heading,
.materials-layout {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.materials-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.paper-list {
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fffdf6;
  box-shadow: 5px 5px 0 rgba(34, 34, 34, 0.14);
}

.paper-list h3 {
  padding-bottom: 10px;
  border-bottom: 2px dashed rgba(34, 34, 34, 0.3);
}

.paper-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.paper-list li {
  position: relative;
  padding-left: 24px;
}

.paper-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 13px;
  height: 13px;
  content: "";
  border: 2px solid var(--line);
  background: var(--yellow-soft);
}

.danger-list {
  background: var(--red-soft);
}

.danger-list h3 {
  color: #7d1c14;
}

.form-section {
  max-width: none;
}

.form-section .section-heading,
.evidence-form,
.result-box {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.evidence-form {
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.form-note {
  margin-bottom: 22px;
  padding: 12px 14px;
  border: 2px dashed var(--line);
  border-radius: 6px;
  background: var(--yellow-soft);
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label.full {
  display: block;
  margin-top: 18px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: #3d3831;
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 48px;
  padding: 0 12px;
}

textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 87, 166, 0.18);
}

small {
  color: var(--muted);
}

.check-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #f4ead7;
}

.check-panel h3 {
  margin-bottom: 4px;
}

.check-panel p {
  margin: 0;
  color: var(--muted);
}

.progress-wrap {
  min-width: 190px;
}

.progress-wrap span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 900;
  text-align: right;
}

.progress-bar {
  height: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
}

.progress-bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--blue);
  transition: width 0.2s ease;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.checkbox-grid label,
.confirm-box label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 54px;
  padding: 11px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #3d3831;
  font-weight: 800;
}

.checkbox-grid input,
.confirm-box input {
  width: auto;
  min-height: auto;
  margin-top: 5px;
}

.file-list {
  margin-top: 10px;
  padding: 14px;
  border: 2px dashed var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--muted);
}

.confirm-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.form-actions {
  margin-top: 22px;
}

.result-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 22px;
  border: 2px solid var(--green);
  border-radius: 8px;
  background: var(--green-soft);
  box-shadow: 5px 5px 0 rgba(47, 122, 77, 0.14);
}

.result-box h3 {
  margin: 8px 0;
}

.process-section {
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fffdf6;
}

.timeline span {
  display: grid;
  width: 36px;
  height: 36px;
  grid-row: span 2;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-top: 3px;
}

.timeline p {
  grid-column: 2;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.package-section {
  max-width: none;
  background: rgba(255, 253, 246, 0.76);
}

.package-section .section-heading,
.package-list {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.package-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.package-list span {
  padding: 9px 11px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 3px 3px 0 rgba(34, 34, 34, 0.1);
  font-weight: 900;
}

.progress-section {
  max-width: none;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: #e7f0ff;
}

.progress-section .section-heading,
.progress-cards {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.progress-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #3d3831;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  content: "";
  border: 2px solid var(--green);
  background: var(--green-soft);
  transform: rotate(-4deg);
}

.scam-section {
  max-width: none;
  background: var(--red-soft);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.scam-section .section-heading,
.scam-grid,
.scam-section .btn {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.scam-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.scam-grid article {
  padding: 16px;
  border: 2px solid #7d1c14;
  border-radius: 6px;
  background: #ffffff;
  color: #7d1c14;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fffdf6;
}

summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.disclaimer {
  max-width: none;
  padding-right: max(30px, calc((100vw - 1180px) / 2 + 30px));
  padding-left: max(30px, calc((100vw - 1180px) / 2 + 30px));
  background: #222222;
  color: #ffffff;
}

.disclaimer .section-label {
  background: var(--yellow);
  color: var(--ink);
}

.disclaimer p {
  max-width: 980px;
  color: #f2eadb;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 38px;
  border-top: 2px solid var(--line);
  background: #111111;
  color: #ffffff;
}

.site-footer p {
  margin: 4px 0 0;
  color: #d5cbb8;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .hero,
  .two-column,
  .materials-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    max-width: 860px;
  }

  .hero-visual {
    max-width: 540px;
  }

  .type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solidarity-gallery {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
    background-size: 22px 22px;
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand {
    min-width: auto;
  }

  .brand-mark {
    min-width: 54px;
    height: 38px;
    font-size: 13px;
  }

  .header-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

  .hero,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 19px;
  }

  .hero-lead,
  .section-heading p,
  .copy-block p,
  .disclaimer p {
    font-size: 16px;
  }

  .type-grid,
  .form-grid,
  .progress-cards,
  .scam-grid,
  .confirm-box,
  .checkbox-grid,
  .reason-board {
    grid-template-columns: 1fr;
  }

  .truth-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .truth-row span {
    min-height: 42px;
    padding: 8px;
    font-size: 13px;
  }

  .pledge-strip {
    justify-content: flex-start;
    padding-right: 18px;
    padding-left: 18px;
  }

  .check-panel,
  .result-box,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .progress-wrap {
    width: 100%;
  }

  .progress-wrap span {
    text-align: left;
  }

  .evidence-form {
    padding: 18px;
  }

  .btn {
    width: 100%;
  }

  .btn.text-link {
    justify-content: flex-start;
    width: auto;
  }
}

/* Mobile-only build: keep the phone layout even on desktop browsers. */
body {
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
  border-right: 2px solid rgba(34, 34, 34, 0.16);
  border-left: 2px solid rgba(34, 34, 34, 0.16);
}

.site-header {
  padding: 10px 16px;
}

.brand {
  min-width: auto;
}

.brand-mark {
  min-width: 54px;
  height: 38px;
  font-size: 13px;
}

.header-actions {
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.hero,
.section {
  max-width: 430px;
  padding-right: 18px;
  padding-left: 18px;
}

.hero {
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.hero-visual {
  max-width: 100%;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 19px;
}

.hero-lead,
.section-heading p,
.copy-block p,
.disclaimer p {
  font-size: 16px;
}

.truth-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.truth-row span {
  min-height: 42px;
  padding: 8px;
  font-size: 13px;
}

.two-column,
.reason-board,
.solidarity-gallery,
.type-grid,
.materials-layout,
.form-grid,
.progress-cards,
.scam-grid,
.confirm-box,
.checkbox-grid {
  grid-template-columns: 1fr;
}

.image-section .section-heading,
.solidarity-gallery,
.board-section > .section-heading,
.board-section > .type-grid,
.board-section > .guidance-panel,
.ledger-section .section-heading,
.materials-layout,
.form-section .section-heading,
.evidence-form,
.result-box,
.package-section .section-heading,
.package-list,
.progress-section .section-heading,
.progress-cards,
.scam-section .section-heading,
.scam-grid,
.scam-section .btn {
  max-width: 394px;
}

.pledge-strip {
  justify-content: flex-start;
  padding-right: 18px;
  padding-left: 18px;
}

.check-panel,
.result-box,
.site-footer {
  align-items: flex-start;
  flex-direction: column;
}

.progress-wrap {
  width: 100%;
}

.progress-wrap span {
  text-align: left;
}

.evidence-form {
  padding: 18px;
}

.btn {
  width: 100%;
}

.btn.text-link {
  justify-content: flex-start;
  width: auto;
}

.disclaimer {
  padding-right: 18px;
  padding-left: 18px;
}

.site-footer {
  padding-right: 18px;
  padding-left: 18px;
}
