:root {
  color-scheme: light;
  --ink: #20262b;
  --muted: #606a70;
  --paper: #f6f1e8;
  --shell: #ece3d4;
  --line: #d4cab9;
  --leaf: #3e6f54;
  --sky: #536b7f;
  --sun: #b9873b;
  --berry: #8e5960;
  --sea: #477a80;
  --shadow: 0 22px 58px rgba(26, 31, 35, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui,
    sans-serif;
  line-height: 1.5;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(184, 135, 59, 0.78);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #24313a;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(9, 14, 16, 0.72), rgba(9, 14, 16, 0.22) 58%),
    linear-gradient(0deg, rgba(10, 15, 18, 0.68), rgba(10, 15, 18, 0) 48%);
}

.topbar {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: max(18px, 5vw);
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar a,
.icon-button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.topbar a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.08;
}

.topbar small,
.segment small {
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.72;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  cursor: pointer;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin: 0 auto;
  padding: 116px 0 clamp(76px, 14vh, 120px);
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(8, 18, 24, 0.34);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  width: fit-content;
  max-width: min(100%, 680px);
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 800;
  line-height: 1.28;
}

.eyebrow span {
  font-size: 0.78em;
  opacity: 0.76;
}

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

h1 {
  max-width: 9em;
  margin-bottom: 8px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__title-en {
  max-width: 560px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.28rem, 2.4vw, 1.72rem);
  font-weight: 800;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 10px;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 700;
}

.hero__lead-en {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.98rem, 1.6vw, 1.16rem);
  font-weight: 650;
}

main {
  padding-bottom: 56px;
}

.belief-strip {
  width: min(1120px, calc(100% - 28px));
  margin: -88px auto 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 3;
}

.belief-strip article {
  min-height: 328px;
  border: 1px solid rgba(70, 65, 50, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.belief-strip__photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.belief-strip__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 18px;
}

.belief-strip__icon {
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eef6ed;
}

.belief-strip__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.belief-strip__icon--safe {
  color: var(--leaf);
  background: #eef6ed;
}

.belief-strip__icon--wonder {
  color: var(--sun);
  background: #fff5dd;
}

.belief-strip__icon--alive {
  color: var(--sea);
  background: #eaf7f8;
}

.belief-strip h2 {
  margin-bottom: 2px;
  font-size: 1.35rem;
}

.belief-strip p {
  margin-bottom: 4px;
  color: var(--muted);
  font-weight: 650;
}

.belief-strip__en,
.belief-strip__line-en {
  color: color-mix(in srgb, var(--muted), white 16%);
}

.belief-strip__en {
  font-size: 0.85rem;
  font-weight: 850;
}

.belief-strip__line-en {
  font-size: 0.82rem;
  line-height: 1.35;
}

.controls {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.control-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented--language .segment {
  min-height: 36px;
  padding: 0 14px;
  background: color-mix(in srgb, var(--shell), white 56%);
}

.segment {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.segment.is-active {
  border-color: transparent;
  background: var(--ink);
  color: #ffffff;
}

.segment:active {
  transform: translateY(1px);
}

.is-chinese-only .topbar small,
.is-chinese-only .segment small,
.is-chinese-only .eyebrow span,
.is-chinese-only .hero__title-en,
.is-chinese-only .hero__lead-en,
.is-chinese-only .belief-strip__en,
.is-chinese-only .belief-strip__line-en,
.is-chinese-only .card-title-en,
.is-chinese-only .card-line-en,
.is-chinese-only .dialog-title-en,
.is-chinese-only .dialog-line-en {
  display: none;
}

.is-chinese-only .belief-card {
  min-height: 280px;
}

.is-chinese-only .belief-card h3,
.is-chinese-only .card-line {
  margin-bottom: 0;
}

.progress-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(330px, 42vw);
}

.progress-copy {
  flex: 1;
  min-width: 0;
}

.progress {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line), white 40%);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--leaf), var(--sun));
  transition: width 240ms ease;
}

.reset-button {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffdf8;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.reset-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reset-button:disabled {
  cursor: default;
  opacity: 0.42;
}

.reset-button:not(:disabled):active {
  transform: rotate(-12deg) translateY(1px);
}

.card-grid {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.belief-card {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--card-color), white 64%);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf8, color-mix(in srgb, var(--card-color), white 91%));
  box-shadow: 0 12px 26px rgba(36, 49, 58, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.belief-card[hidden] {
  display: none;
}

.open-card-button {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.open-card-button:focus-visible {
  outline-offset: -4px;
}

.belief-card:hover {
  box-shadow: 0 18px 34px rgba(36, 49, 58, 0.12);
  transform: translateY(-2px);
}

.belief-card.is-done {
  border-color: color-mix(in srgb, var(--card-color), black 12%);
  box-shadow:
    inset 0 0 0 2px color-mix(in srgb, var(--card-color), white 58%),
    0 12px 26px rgba(36, 49, 58, 0.08);
}

.card-top {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: color-mix(in srgb, var(--card-color), black 34%);
  font-weight: 900;
}

.done-button {
  display: grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--card-color), white 35%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: color-mix(in srgb, var(--card-color), black 26%);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.belief-card.is-done .done-button {
  background: color-mix(in srgb, var(--card-color), black 8%);
  color: #ffffff;
}

.done-button:active {
  transform: scale(0.94);
}

.card-image {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--card-color), white 82%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 13px 25px rgba(31, 37, 42, 0.09);
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 220ms ease;
}

.belief-card:hover .card-image img {
  transform: scale(1.025);
}

.belief-card.is-done .card-image {
  border-color: color-mix(in srgb, var(--card-color), white 35%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 13px 25px rgba(31, 37, 42, 0.1);
}

.card-scene {
  position: relative;
  z-index: 2;
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, var(--scene-sky, #dce8e3) 0 58%, var(--scene-ground, #cad6c3) 58% 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    inset 0 -22px 36px rgba(255, 255, 255, 0.16),
    0 13px 25px rgba(31, 37, 42, 0.07);
}

.card-scene::before,
.card-scene::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.card-scene::before {
  left: -18%;
  right: -18%;
  bottom: -38px;
  height: 86px;
  border-radius: 50% 50% 0 0;
  background: var(--scene-ridge, rgba(90, 119, 92, 0.36));
  opacity: 0.88;
  z-index: -2;
}

.card-scene::after {
  z-index: -1;
}

.card-scene .card-visual {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 -10px 0 rgba(255, 255, 255, 0.32),
    0 12px 28px rgba(31, 37, 42, 0.08);
  transition: background 180ms ease;
  backdrop-filter: blur(8px);
}

.card-scene .card-visual svg {
  width: 38px;
  height: 38px;
}

.card-scene--shelter {
  --scene-sky: #dcebe4;
  --scene-ground: #b9cdbb;
  --scene-ridge: #789c82;
}

.card-scene--shelter::after {
  right: 16px;
  bottom: 19px;
  width: 78px;
  height: 34px;
  border-top: 4px solid rgba(255, 255, 255, 0.58);
  border-bottom: 4px solid rgba(54, 90, 66, 0.18);
  transform: skewX(-18deg);
}

.card-scene--boundary {
  --scene-sky: #dbe7ee;
  --scene-ground: #bfd0dc;
  --scene-ridge: #6d8ba1;
}

.card-scene--boundary::after {
  right: 32px;
  top: 16px;
  width: 54px;
  height: 60px;
  border-left: 4px solid rgba(46, 83, 114, 0.28);
  border-right: 4px solid rgba(255, 255, 255, 0.42);
  transform: rotate(14deg);
}

.card-scene--home {
  --scene-sky: #eadfd3;
  --scene-ground: #d2b89b;
  --scene-ridge: #977456;
}

.card-scene--home::after {
  right: 28px;
  bottom: 24px;
  width: 50px;
  height: 43px;
  background: rgba(100, 68, 47, 0.28);
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}

.card-scene--important {
  --scene-sky: #eadce1;
  --scene-ground: #d6b8c0;
  --scene-ridge: #b87886;
}

.card-scene--important::after {
  right: 31px;
  bottom: 27px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(125, 55, 70, 0.28);
  box-shadow:
    -36px 12px 0 -4px rgba(255, 255, 255, 0.42),
    35px 9px 0 -5px rgba(125, 55, 70, 0.18);
}

.card-scene--cause {
  --scene-sky: #d9eef0;
  --scene-ground: #b9d5d7;
  --scene-ridge: #70a6ac;
  background:
    linear-gradient(134deg, transparent 44%, rgba(35, 105, 115, 0.2) 44% 47%, transparent 47%),
    linear-gradient(180deg, var(--scene-sky) 0 58%, var(--scene-ground) 58% 100%);
}

.card-scene--cause::after {
  right: 28px;
  top: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(41, 119, 130, 0.28);
  box-shadow:
    -48px 34px 0 -2px rgba(255, 255, 255, 0.42),
    22px 40px 0 -3px rgba(41, 119, 130, 0.18);
}

.card-scene--clue {
  --scene-sky: #f0e3be;
  --scene-ground: #d7c28a;
  --scene-ridge: #b38b3b;
}

.card-scene--clue::after {
  right: 24px;
  bottom: 18px;
  width: 86px;
  height: 48px;
  border: 3px dashed rgba(112, 82, 26, 0.26);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 32px 0 0;
}

.card-scene--growth {
  --scene-sky: #dce9d8;
  --scene-ground: #b8cfaa;
  --scene-ridge: #74a064;
}

.card-scene--growth::after {
  right: 36px;
  bottom: 22px;
  width: 46px;
  height: 64px;
  background: rgba(55, 105, 48, 0.26);
  clip-path: polygon(47% 100%, 47% 45%, 10% 28%, 43% 30%, 47% 0, 55% 32%, 90% 18%, 61% 48%, 61% 100%);
}

.card-scene--question {
  --scene-sky: #dbe7ee;
  --scene-ground: #b9cbd8;
  --scene-ridge: #6d88a0;
}

.card-scene--question::after {
  right: 28px;
  bottom: 19px;
  width: 74px;
  height: 58px;
  border: 4px solid rgba(51, 84, 114, 0.22);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-10deg);
}

.card-scene--truth {
  --scene-sky: #e4e6e9;
  --scene-ground: #c6cbd1;
  --scene-ridge: #808995;
}

.card-scene--truth::after {
  right: 22px;
  top: 18px;
  width: 90px;
  height: 54px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(70, 77, 88, 0.28) 45% 50%, transparent 50%),
    linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.48) 48% 54%, transparent 54%);
  clip-path: polygon(50% 0, 84% 62%, 65% 62%, 50% 35%, 35% 62%, 16% 62%);
}

.card-scene--choice {
  --scene-sky: #eadfd7;
  --scene-ground: #d1b39d;
  --scene-ridge: #ad7658;
}

.card-scene--choice::after {
  right: 18px;
  bottom: 14px;
  width: 90px;
  height: 70px;
  background:
    linear-gradient(148deg, transparent 43%, rgba(255, 255, 255, 0.44) 43% 50%, transparent 50%),
    linear-gradient(32deg, transparent 48%, rgba(91, 57, 38, 0.2) 48% 55%, transparent 55%);
}

.card-scene--resource {
  --scene-sky: #dbe9df;
  --scene-ground: #c2d5bb;
  --scene-ridge: #7ca16f;
}

.card-scene--resource::after {
  right: 22px;
  bottom: 20px;
  width: 92px;
  height: 48px;
  background:
    linear-gradient(90deg, rgba(44, 95, 61, 0.2) 0 31%, transparent 31% 36%, rgba(255, 255, 255, 0.42) 36% 67%, transparent 67% 72%, rgba(44, 95, 61, 0.18) 72% 100%);
  border-radius: 4px;
}

.card-scene--money {
  --scene-sky: #f0e3bf;
  --scene-ground: #dbc890;
  --scene-ridge: #b9943c;
}

.card-scene--money::after {
  right: 30px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(129, 94, 28, 0.25);
  border-radius: 50%;
  box-shadow: -36px 17px 0 -8px rgba(255, 255, 255, 0.36);
}

.card-scene--feeling {
  --scene-sky: #eadce1;
  --scene-ground: #d8bbc3;
  --scene-ridge: #bb7b87;
}

.card-scene--feeling::after {
  right: 27px;
  bottom: 24px;
  width: 76px;
  height: 54px;
  border-left: 4px solid rgba(122, 56, 72, 0.2);
  border-right: 4px solid rgba(255, 255, 255, 0.42);
  border-radius: 34px;
}

.card-scene--rules {
  --scene-sky: #dbe7ee;
  --scene-ground: #becfdb;
  --scene-ridge: #6d89a3;
  background:
    linear-gradient(90deg, transparent 23%, rgba(255, 255, 255, 0.34) 23% 25%, transparent 25% 48%, rgba(50, 83, 113, 0.16) 48% 50%, transparent 50% 73%, rgba(255, 255, 255, 0.34) 73% 75%, transparent 75%),
    linear-gradient(180deg, var(--scene-sky) 0 58%, var(--scene-ground) 58% 100%);
}

.card-scene--rules::after {
  right: 26px;
  bottom: 22px;
  width: 72px;
  height: 46px;
  border: 4px solid rgba(48, 78, 107, 0.22);
  border-radius: 6px;
}

.card-scene--signal {
  --scene-sky: #d9eef0;
  --scene-ground: #b8d4d7;
  --scene-ridge: #6fa6ad;
}

.card-scene--signal::after {
  right: 18px;
  top: 28px;
  width: 94px;
  height: 42px;
  background: linear-gradient(135deg, transparent 0 21%, rgba(40, 112, 124, 0.28) 21% 26%, transparent 26% 44%, rgba(255, 255, 255, 0.46) 44% 50%, transparent 50% 68%, rgba(40, 112, 124, 0.22) 68% 74%, transparent 74%);
}

.card-scene--focus {
  --scene-sky: #e3e6e8;
  --scene-ground: #c4c9ce;
  --scene-ridge: #7e8792;
  background:
    linear-gradient(108deg, transparent 0 45%, rgba(255, 255, 255, 0.48) 45% 56%, transparent 56%),
    linear-gradient(180deg, var(--scene-sky) 0 58%, var(--scene-ground) 58% 100%);
}

.card-scene--focus::after {
  right: 40px;
  top: 27px;
  width: 38px;
  height: 38px;
  border: 5px solid rgba(70, 77, 88, 0.2);
  border-radius: 50%;
}

.card-scene--horizon {
  --scene-sky: #d8ecef;
  --scene-ground: #b5d3d8;
  --scene-ridge: #6aa1aa;
}

.card-scene--horizon::after {
  right: 20px;
  bottom: 28px;
  width: 96px;
  height: 28px;
  border-top: 4px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

.card-scene--together {
  --scene-sky: #dce9d8;
  --scene-ground: #bad0ad;
  --scene-ridge: #78a066;
}

.card-scene--together::after {
  right: 18px;
  bottom: 14px;
  width: 98px;
  height: 70px;
  background:
    linear-gradient(145deg, transparent 42%, rgba(255, 255, 255, 0.43) 42% 50%, transparent 50%),
    linear-gradient(35deg, transparent 44%, rgba(63, 105, 54, 0.22) 44% 51%, transparent 51%),
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.35) 48% 54%, transparent 54%);
}

.card-scene--curiosity {
  --scene-sky: #f1e3bd;
  --scene-ground: #dcc58c;
  --scene-ridge: #b58f36;
}

.card-scene--curiosity::after {
  right: 28px;
  bottom: 22px;
  width: 70px;
  height: 70px;
  border: 4px solid rgba(124, 89, 24, 0.22);
  border-radius: 50%;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.card-scene--change {
  --scene-sky: #dcebe2;
  --scene-ground: #bdd2bb;
  --scene-ridge: #79a06f;
}

.card-scene--change::after {
  right: 24px;
  bottom: 18px;
  width: 82px;
  height: 62px;
  background:
    linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, 0.45) 46% 52%, transparent 52%),
    linear-gradient(90deg, transparent 44%, rgba(56, 105, 61, 0.24) 44% 50%, transparent 50%);
  border: 4px solid rgba(56, 105, 61, 0.18);
  border-radius: 50%;
}

.card-visual svg,
.dialog-visual svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: color-mix(in srgb, var(--card-color, var(--dialog-color)), black 22%);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.belief-card h3 {
  position: relative;
  z-index: 2;
  margin-bottom: -8px;
  font-size: 1.2rem;
  line-height: 1.22;
}

.card-title-en {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--card-color), black 18%);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.28;
}

.card-line {
  position: relative;
  z-index: 2;
  margin-bottom: -6px;
  color: #394750;
  font-size: 1rem;
  font-weight: 700;
}

.card-line-en {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  color: color-mix(in srgb, #394750, white 20%);
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.35;
}

.done-button {
  position: relative;
  z-index: 5;
}

.card-dialog {
  width: min(540px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 32px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, color-mix(in srgb, var(--dialog-color, var(--leaf)), white 70%), transparent 28%),
    #fffdf6;
  box-shadow: 0 30px 80px rgba(23, 31, 39, 0.32);
}

.card-dialog::backdrop {
  background: rgba(24, 32, 38, 0.48);
  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.dialog-visual {
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  margin-bottom: 18px;
  border-radius: 32px;
  background: color-mix(in srgb, var(--dialog-color, var(--leaf)), white 78%);
}

.dialog-visual.dialog-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--dialog-color, var(--leaf)), white 78%);
  box-shadow: 0 16px 36px rgba(31, 37, 42, 0.12);
}

.dialog-visual.dialog-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.dialog-visual svg {
  width: 68px;
  height: 68px;
  stroke: color-mix(in srgb, var(--dialog-color, var(--leaf)), black 24%);
}

.dialog-visual.card-scene {
  width: 100%;
  min-height: 164px;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--scene-sky, #dce8e3) 0 58%, var(--scene-ground, #cad6c3) 58% 100%);
}

.dialog-visual.card-scene::before {
  bottom: -50px;
  height: 112px;
}

.dialog-visual.card-scene .card-visual {
  width: 82px;
  border-radius: 24px;
}

.dialog-visual.card-scene .card-visual svg {
  width: 54px;
  height: 54px;
  stroke: color-mix(in srgb, var(--card-color), black 24%);
}

.dialog-kicker {
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--dialog-color, var(--leaf)), black 22%);
  font-weight: 900;
}

.card-dialog h2 {
  margin-bottom: 4px;
  font-size: clamp(1.7rem, 6vw, 2.35rem);
  line-height: 1.08;
}

.card-dialog p {
  font-size: 1.1rem;
  font-weight: 700;
}

.dialog-title-en {
  margin-bottom: 16px;
  color: color-mix(in srgb, var(--dialog-color, var(--leaf)), black 16%);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.32;
}

.dialog-line-en {
  margin-top: -6px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--muted), white 8%);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.42;
}

.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--dialog-color, var(--leaf)), white 70%);
}

.dialog-step,
.dialog-done {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--dialog-color, var(--leaf)), white 55%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: color-mix(in srgb, var(--dialog-color, var(--leaf)), black 20%);
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.dialog-done {
  width: 54px;
  background: color-mix(in srgb, var(--dialog-color, var(--leaf)), white 76%);
}

.dialog-done.is-done {
  background: color-mix(in srgb, var(--dialog-color, var(--leaf)), black 8%);
  color: #ffffff;
}

.dialog-step svg,
.dialog-done svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dialog-step:active,
.dialog-done:active {
  transform: scale(0.94);
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 640px;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(9, 14, 16, 0.52), rgba(9, 14, 16, 0.18) 35%),
      linear-gradient(0deg, rgba(10, 15, 18, 0.78), rgba(10, 15, 18, 0.05) 62%);
  }

  .hero__content {
    padding-bottom: 96px;
  }

  .belief-strip {
    grid-template-columns: 1fr;
    margin-top: -66px;
  }

  .belief-strip article {
    min-height: auto;
  }

  .controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .progress-panel {
    width: 100%;
  }

  .progress {
    white-space: normal;
  }

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

@media (max-width: 520px) {
  .topbar {
    left: 14px;
    right: 14px;
    justify-content: flex-end;
  }

  .topbar a {
    padding: 0 12px;
  }

  .hero__content {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: 3.3rem;
  }

  .belief-strip,
  .controls,
  .card-grid {
    width: calc(100% - 20px);
  }

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

  .belief-card {
    min-height: 330px;
  }

  .is-chinese-only .belief-card {
    min-height: 260px;
  }

  .card-dialog {
    padding: 28px 22px;
  }
}
