:root {
  --ink: #111318;
  --muted: #606775;
  --paper: #f6f7fb;
  --panel: #ffffff;
  --line: #dfe3ec;
  --coral: #d84635;
  --coral-dark: #aa2b20;
  --teal: #0f7a78;
  --yellow: #e8b923;
  --violet: #5b5bd6;
  --shadow: 0 18px 50px rgba(17, 19, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

select {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 30;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 40px;
  color: #fff;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header[data-elevated="true"] {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  font-size: 15px;
}

.nav a,
.header-cta {
  opacity: 0.86;
}

.nav a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  white-space: nowrap;
}

.language-control {
  display: inline-flex;
  align-items: center;
}

.language-control select {
  width: 116px;
  height: 36px;
  padding: 0 26px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 6px;
  outline: 0;
  background: rgba(17, 19, 24, 0.34);
  color: inherit;
  cursor: pointer;
}

.language-control option {
  background: #fff;
  color: var(--ink);
}

.language-control select:focus-visible {
  outline: 3px solid rgba(232, 185, 35, 0.78);
  outline-offset: 2px;
}

.site-header[data-elevated="true"] .language-control select {
  border-color: var(--line);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  background: #101216;
  color: #fff;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 124px 40px 260px;
}

#heroCanvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(10, 12, 16, 0.92), rgba(10, 12, 16, 0.64) 48%, rgba(10, 12, 16, 0.3));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1220px, 100%);
  max-width: 1220px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 24px;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.22;
  font-weight: 850;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  background: var(--coral);
  color: #fff;
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.signal-strip {
  position: absolute;
  left: 50%;
  width: min(1100px, calc(100% - 80px));
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.signal-strip div {
  min-height: 118px;
  padding: 18px;
  background: rgba(12, 14, 18, 0.72);
}

.signal-number {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.signal-strip strong {
  display: block;
  margin-bottom: 4px;
}

.signal-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: 92px 40px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column,
.index-layout,
.action-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.intro-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.intro-band .section-label,
.map-section .section-label,
.index-section .section-label {
  color: var(--teal);
}

.large-text {
  color: #343945;
  font-size: 20px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.pressure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pressure-card,
.story-card,
.index-panel,
.pledge-panel,
.path-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(17, 19, 24, 0.04);
}

.pressure-card {
  min-height: 276px;
  padding: 26px;
}

.card-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #20242c;
  color: #fff;
  font-weight: 900;
}

.pressure-card:nth-child(2) .card-index {
  background: var(--teal);
}

.pressure-card:nth-child(3) .card-index {
  background: var(--violet);
}

.pressure-card:nth-child(4) .card-index {
  background: var(--coral);
}

.cost-section {
  background: #fff4ee;
}

.cost-section .section-label {
  color: var(--coral-dark);
}

.cost-section .section-heading {
  max-width: 1180px;
  margin: 0 auto 34px;
  text-align: center;
}

.cost-lead {
  max-width: 930px;
  margin: 20px auto 0;
  padding: 18px 20px;
  border-left: 5px solid var(--coral);
  background: rgba(255, 255, 255, 0.72);
  color: #343945;
  font-size: 19px;
  line-height: 1.65;
}

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

.cost-card {
  min-height: 252px;
  padding: 24px;
  border: 1px solid #f0cfc2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.cost-card .card-index {
  width: auto;
  height: auto;
  justify-content: flex-start;
  margin-bottom: 22px;
  border-radius: 0;
  background: transparent;
  color: var(--coral);
  font-size: 14px;
}

.cost-card h3 {
  margin-bottom: 10px;
}

.cost-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.cost-card:nth-child(2) .card-index,
.cost-card:nth-child(5) .card-index {
  color: var(--teal);
}

.cost-card:nth-child(3) .card-index,
.cost-card:nth-child(6) .card-index {
  color: var(--violet);
}

.path-section {
  background: #eaf3f1;
}

.path-section .section-label {
  color: var(--teal);
}

.path-heading {
  max-width: 840px;
}

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

.path-card {
  min-height: 258px;
  padding: 26px;
  border-top: 5px solid var(--teal);
}

.path-card:nth-child(2) {
  border-top-color: var(--yellow);
}

.path-card:nth-child(3) {
  border-top-color: var(--coral);
}

.path-card .card-index {
  margin-bottom: 22px;
  background: var(--teal);
}

.path-card:nth-child(2) .card-index {
  background: #20242c;
}

.path-card:nth-child(3) .card-index {
  background: var(--coral);
}

.path-card p {
  color: var(--muted);
}

.join-section {
  padding: 92px 40px;
  background: #0f7a78;
  color: #fff;
}

.join-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.join-section .section-label {
  color: var(--yellow);
}

.join-section h2 {
  margin-bottom: 0;
}

.join-copy {
  max-width: 650px;
}

.join-copy p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.button.light {
  background: #fff;
  color: var(--ink);
}

.button.light:hover {
  background: #f5f7fb;
}

.pressure-card p,
.story-card p,
.index-copy p,
.pledge-panel li {
  color: var(--muted);
}

.stories-section {
  background: #17191f;
  color: #fff;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-card {
  min-height: 230px;
  padding: 28px;
  background: #20232b;
  border-color: #303540;
}

.story-card .quote {
  color: #f5f7fb;
  font-size: 20px;
  line-height: 1.55;
}

.person {
  margin-bottom: 0;
}

.index-section {
  background: #f6f7fb;
}

.index-panel {
  padding: 28px;
  box-shadow: var(--shadow);
}

.meter {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.meter-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

#scoreValue {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.meter-bar {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ebf2;
}

.meter-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 0.25s ease, background 0.25s ease;
}

.checklist {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.checklist label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  color: #2b303a;
}

.checklist input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--coral);
}

.result-box {
  padding: 18px;
  border-radius: 8px;
  background: #111318;
  color: #fff;
}

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

.result-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.action-section {
  background: #fff;
}

.action-invitation {
  max-width: 600px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
}

.pledge-panel {
  padding: 30px;
  border-top: 6px solid var(--yellow);
}

.pledge-panel ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.pledge-panel li + li {
  margin-top: 10px;
}

.copy-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  padding: 28px 40px;
  background: #111318;
  color: #fff;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner strong {
  color: #fff;
}

body.is-rtl {
  font-family: Arial, Tahoma, sans-serif;
}

.is-rtl .hero-shade {
  background: linear-gradient(270deg, rgba(10, 12, 16, 0.92), rgba(10, 12, 16, 0.64) 48%, rgba(10, 12, 16, 0.3));
}

.is-rtl .hero-inner,
.is-rtl .section-heading,
.is-rtl .index-copy,
.is-rtl .pledge-panel,
.is-rtl .footer-inner {
  text-align: right;
}

.is-rtl .checklist label {
  grid-template-columns: 1fr 20px;
}

.is-rtl .checklist input {
  grid-column: 2;
}

.is-rtl .checklist label span {
  grid-column: 1;
  grid-row: 1;
}

.is-rtl .pledge-panel ol {
  padding-left: 0;
  padding-right: 22px;
}

.is-rtl .cost-lead {
  border-right: 5px solid var(--coral);
  border-left: 0;
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 22px;
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    max-width: 160px;
    line-height: 1.25;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 108px 22px 34px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy,
  .large-text {
    font-size: 18px;
  }

  .signal-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 26px;
    transform: none;
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: auto;
    padding: 12px 14px;
  }

  .signal-strip p {
    font-size: 13px;
    line-height: 1.35;
  }

  .section {
    padding: 68px 22px;
  }

  .two-column,
  .index-layout,
  .action-layout,
  .join-layout,
  .pressure-grid,
  .story-list,
  .path-grid,
  .cost-grid {
    grid-template-columns: 1fr;
  }

  .pressure-card,
  .story-card,
  .path-card,
  .cost-card {
    min-height: auto;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner span {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 64px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand span:last-child {
    max-width: 130px;
    font-size: 14px;
  }

  .header-cta {
    padding: 7px 10px;
    font-size: 13px;
  }

  .language-control select {
    width: 90px;
    padding-left: 7px;
    padding-right: 18px;
    font-size: 13px;
  }

  .hero {
    padding-top: 86px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-copy {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .meter {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin-top: 20px;
  }
}
