:root {
  --bg: #ffffff;
  --warm-bg: #fff6e0;
  --surface: #ffffff;
  --surface-warm: #fff3d6;
  --fg: #3b240e;
  --fg-2: #5b3a1e;
  --muted: #6f6f6f;
  --meta: #757575;
  --border: #eadfc8;
  --border-soft: #f4e9cf;
  --accent: #ffc83d;
  --accent-hover: #f4b91f;
  --green: #6cc96c;
  --blue: #4da6ff;
  --red: #ff6b6b;
  --soft-green: #dff7e3;
  --soft-blue: #e8f1ff;
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-accent: 0 4px 12px rgba(255, 193, 7, 0.3);
  --font-rounded: "Open Huninn", "Open 粉圆", "jf-openhuninn-2.1", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--font-rounded);
  margin: 0;
}

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

button {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(234, 223, 200, 0.7);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  color: var(--fg);
  display: inline-flex;
  font-size: 24px;
  font-weight: 800;
  gap: 10px;
}

.brand-logo {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: block;
  height: 48px;
  width: 48px;
}

.desktop-nav {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 18px;
  font-weight: 800;
  gap: 32px;
}

.desktop-nav a:hover {
  color: var(--fg);
}

.nav-item {
  position: relative;
}

.nav-top-link {
  align-items: center;
  display: inline-flex;
  min-height: 52px;
  white-space: nowrap;
}

.nav-dropdown {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(91, 58, 30, 0.12);
  display: grid;
  gap: 4px;
  left: 50%;
  min-width: 210px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 30;
}

.nav-dropdown a {
  border-radius: 12px;
  color: var(--muted);
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  padding: 10px 12px;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: #fff9e9;
  color: var(--fg);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-cta,
.button {
  align-items: center;
  border-radius: 28px;
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.button-primary {
  background: var(--accent);
  box-shadow: var(--shadow-accent);
  color: var(--fg);
}

.button-secondary {
  background: var(--surface);
  border: 2px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  color: var(--fg-2);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.section-band {
  margin: 0 auto;
  max-width: 1180px;
  padding: 96px 20px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
  min-height: calc(100vh - 76px);
}

.eyebrow {
  color: var(--meta);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
}

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

h1 {
  color: var(--fg);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.12;
}

h2 {
  color: var(--fg);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.12;
}

h3 {
  color: var(--fg);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-lede {
  color: var(--fg-2);
  font-size: 20px;
  line-height: 1.5;
  margin-top: 22px;
  max-width: 520px;
}

.hero-note {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  margin-top: 14px;
}

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

.hero-actions-stacked {
  align-items: stretch;
  flex-direction: column;
  max-width: 280px;
}

.hero-actions-stacked .button {
  width: 100%;
}

.hero-visual {
  display: grid;
  justify-items: center;
  position: relative;
}

.hero-copy {
  align-content: center;
  display: grid;
}

.phone-shell {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 34px;
  box-shadow: 0 20px 44px rgba(91, 58, 30, 0.09);
  overflow: hidden;
  padding: 18px;
  position: relative;
  width: min(430px, 100%);
}

.phone-topbar {
  display: flex;
  justify-content: space-between;
  padding: 4px 10px 12px;
}

.phone-topbar span {
  background: var(--border);
  border-radius: 999px;
  height: 8px;
  width: 48px;
}

.phone-scene {
  background: linear-gradient(180deg, #fffaf0 0%, var(--surface-warm) 100%);
  border-radius: 24px;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.float-object {
  animation: drift 5.5s ease-in-out infinite;
  opacity: 0.72;
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.float-star {
  right: 16%;
  top: 13%;
  width: 38px;
}

.float-sparkle {
  left: 17%;
  top: 20%;
  width: 34px;
}

.scene-island {
  display: block;
  opacity: 0.96;
  position: relative;
  width: min(92%, 620px);
  z-index: 1;
}

.roro {
  display: block;
  height: auto;
  max-width: 100%;
}

.roro-hero {
  animation: floaty 4s ease-in-out infinite;
  position: relative;
  width: 210px;
  z-index: 2;
}

.lesson-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
}

.lesson-card p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.status-dot {
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 8px var(--soft-green);
  height: 14px;
  width: 14px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin: 0 auto 28px;
  max-width: 790px;
  text-align: center;
}

.duo-row {
  align-items: center;
  display: grid;
  gap: 88px;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
}

.duo-row-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.duo-row-reverse .duo-copy {
  order: 2;
}

.duo-copy {
  display: grid;
  gap: 16px;
}

.duo-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 500px;
}

.duo-visual {
  min-width: 0;
}

.method-visual {
  align-content: center;
  display: grid;
  min-height: 420px;
  overflow: visible;
  padding: 0;
}

.value-visual {
  display: block;
}

.text-link {
  color: var(--fg);
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
  width: fit-content;
}

.text-link:hover {
  color: var(--accent-hover);
}

.split-section {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.split-section-reverse {
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.split-section-reverse > .split-copy {
  order: 2;
}

.split-copy {
  display: grid;
  gap: 16px;
}

.split-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.visual-card {
  background: linear-gradient(180deg, #fffaf0 0%, var(--surface-warm) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.intro-visual {
  display: grid;
  min-height: 460px;
  overflow: visible;
  place-items: center;
  position: relative;
}

.intro-roro {
  animation: floaty 4s ease-in-out infinite;
  width: min(360px, 68%);
}

.intro-progress-art {
  min-height: 440px;
}

.intro-chip {
  animation: chipFloat 4.8s ease-in-out infinite;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  color: var(--fg);
  display: grid;
  gap: 2px;
  font-weight: 800;
  min-width: 150px;
  padding: 12px 18px;
  position: absolute;
  text-align: center;
}

.intro-chip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.chip-a {
  left: 2%;
  top: 10%;
}

.chip-b {
  right: 0;
  top: 21%;
  animation-delay: -1.1s;
}

.chip-c {
  bottom: 12%;
  left: 12%;
  animation-delay: -2s;
}

.chip-d {
  right: 8%;
  bottom: 14%;
  animation-delay: -3.1s;
}

.chip-e {
  left: 0;
  top: 48%;
  animation-delay: -1.7s;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.matrix {
  display: grid;
  gap: 76px;
}

.method-system {
  display: grid;
  gap: 76px;
}

.matrix-heading {
  margin-bottom: 0;
  max-width: 860px;
}

.course-row {
  align-items: center;
  display: grid;
  gap: 92px;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
}

.course-row-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.course-row-reverse .course-art {
  order: 2;
}

.course-art {
  min-height: 360px;
  position: relative;
}

.course-art-island {
  align-items: center;
  display: grid;
  justify-items: center;
}

.course-art-island img {
  animation: floaty 4.8s ease-in-out infinite;
  display: block;
  max-width: min(460px, 100%);
}

.course-copy {
  display: grid;
  gap: 16px;
}

.course-copy h3 {
  color: var(--green);
  font-size: 44px;
  line-height: 1.12;
}

.course-copy p {
  color: var(--muted);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.65;
  max-width: 560px;
}

.life-art {
  min-height: 420px;
}

.life-roro {
  animation: floaty 4.4s ease-in-out infinite;
  display: block;
  margin: 20px auto 0;
  max-width: min(330px, 72%);
}

.life-roro-reading {
  max-width: min(336px, 67%);
}

.life-object {
  animation: drift 5s ease-in-out infinite;
  position: absolute;
}

.life-book {
  bottom: 20px;
  left: 20%;
  width: 120px;
}

.life-star {
  right: 16%;
  top: 10%;
  width: 68px;
}

.life-sparkle {
  left: 12%;
  top: 24%;
  width: 42px;
}

.progress-art {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 420px;
}

.progress-roro {
  animation: floaty 4.4s ease-in-out infinite;
  display: block;
  max-width: min(320px, 70%);
}

.progress-pill {
  animation: chipFloat 4.8s ease-in-out infinite;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  color: var(--fg);
  display: grid;
  gap: 3px;
  font-size: 18px;
  font-weight: 800;
  min-width: 150px;
  padding: 12px 20px;
  position: absolute;
  text-align: center;
}

.progress-pill small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pill-one {
  left: 4%;
  top: 12%;
}

.pill-two {
  right: 0;
  top: 22%;
  animation-delay: -1.2s;
}

.pill-three {
  bottom: 12%;
  right: 10%;
  animation-delay: -2.1s;
}

.pill-four {
  bottom: 10%;
  left: 10%;
  animation-delay: -2.8s;
}

.pill-five {
  left: 0;
  top: 48%;
  animation-delay: -1.7s;
}

.cpa-art {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  min-height: 360px;
  overflow: visible;
}

.cpa-step {
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(91, 58, 30, 0.08);
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 252px;
  padding: 18px 12px;
  position: relative;
}

.cpa-step::after {
  color: var(--accent-hover);
  content: "→";
  font-size: 26px;
  font-weight: 800;
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
}

.cpa-abstract::after {
  display: none;
}

.cpa-step span {
  color: var(--accent-hover);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.cpa-step > strong {
  color: var(--fg);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
}

.cpa-step small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.cpa-concrete {
  transform: translateY(-28px);
}

.cpa-pictorial {
  transform: translateY(18px);
}

.cpa-abstract {
  transform: translateY(-6px);
}

.cpa-object-board {
  background: #fff8e7;
  border-radius: 16px;
  display: grid;
  gap: 8px;
  padding: 10px;
  width: min(100%, 122px);
}

.cpa-object-row {
  align-items: center;
  display: flex;
  gap: 5px;
  justify-content: center;
  min-height: 36px;
}

.cpa-object-row img {
  filter: drop-shadow(0 6px 8px rgba(91, 58, 30, 0.12));
  height: 28px;
  object-fit: contain;
  width: 28px;
}

.cpa-object-row-small img {
  height: 26px;
  opacity: 0.88;
  width: 26px;
}

.picture-board {
  background: #f5fff3;
  border-radius: 16px;
  display: grid;
  gap: 10px;
  padding: 14px 10px;
  width: min(100%, 122px);
}

.dot-row {
  background: var(--surface);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 7px 8px;
}

.dot-row-short {
  justify-self: center;
  width: 78%;
}

.dot-row i {
  background: var(--green);
  border-radius: 999px;
  box-shadow: inset 0 -4px 0 rgba(91, 58, 30, 0.08);
  display: block;
  height: 18px;
  width: 18px;
}

.cpa-equation {
  align-items: center;
  background: #fff8e7;
  border-radius: 16px;
  color: var(--fg);
  display: flex;
  font-size: 34px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0;
  min-height: 98px;
  white-space: nowrap;
  width: min(100%, 122px);
}

.situated-art {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 400px;
}

.situated-roro {
  animation: floaty 4.2s ease-in-out infinite;
  max-width: min(330px, 70%);
}

.scene-chip {
  animation: chipFloat 4.8s ease-in-out infinite;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  color: var(--fg);
  font-size: 18px;
  font-weight: 800;
  padding: 14px 20px;
  position: absolute;
}

.scene-chip-a {
  left: 8%;
  top: 18%;
}

.scene-chip-b {
  right: 8%;
  top: 28%;
  animation-delay: -1.2s;
}

.scene-chip-c {
  bottom: 14%;
  left: 20%;
  animation-delay: -2.2s;
}

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

.feature-card,
.trust-grid article,
.example-card,
.method-preview {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.feature-card {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.feature-card p,
.trust-grid p,
.example-copy p,
.preview-card p,
.download p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 16px;
}

.feature-icon {
  align-items: center;
  border-radius: 18px;
  color: var(--fg);
  display: inline-flex;
  font-size: 24px;
  font-weight: 800;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.yellow {
  background: #ffe9a8;
}

.blue {
  background: var(--soft-blue);
}

.green {
  background: var(--soft-green);
}

.progress-path {
  display: grid;
  gap: 16px;
  padding-left: 18px;
  position: relative;
}

.progress-path::before {
  background: linear-gradient(180deg, var(--accent) 0%, var(--blue) 52%, var(--green) 100%);
  border-radius: 999px;
  bottom: 58px;
  content: "";
  left: 48px;
  opacity: 0.5;
  position: absolute;
  top: 58px;
  width: 4px;
}

.progress-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 18px;
  grid-template-columns: 62px minmax(0, 1fr) 96px;
  min-height: 150px;
  padding: 22px 24px;
  position: relative;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.progress-card:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 34px rgba(255, 193, 7, 0.18);
  transform: translateX(8px);
}

.progress-two {
  margin-left: 36px;
}

.progress-three {
  margin-left: 72px;
}

.progress-number {
  align-items: center;
  border-radius: 18px;
  color: var(--fg);
  display: inline-flex;
  font-size: 24px;
  font-weight: 800;
  height: 62px;
  justify-content: center;
  position: relative;
  width: 62px;
  z-index: 1;
}

.progress-card h3 {
  font-size: 23px;
  margin-bottom: 8px;
}

.progress-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.progress-card img {
  animation: floaty 4s ease-in-out infinite;
  height: 96px;
  object-fit: contain;
  width: 96px;
}

.progress-two img {
  animation-delay: -1.2s;
}

.progress-three img {
  animation-delay: -2.2s;
}

.ppl-diagram {
  aspect-ratio: 1.08;
  display: grid;
  min-height: 420px;
  position: relative;
}

.ppl-diagram::before {
  border: 2px dashed rgba(255, 200, 61, 0.65);
  border-radius: 999px;
  content: "";
  inset: 48px;
  position: absolute;
}

.ppl-center {
  align-content: center;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 999px;
  box-shadow: var(--shadow-accent);
  display: grid;
  height: 148px;
  left: 50%;
  padding: 18px;
  place-items: center;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 148px;
  z-index: 2;
}

.ppl-center span {
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 800;
}

.ppl-center strong {
  color: var(--fg);
  font-size: 24px;
  line-height: 1.15;
}

.ppl-node {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 6px;
  max-width: 210px;
  padding: 18px;
  position: absolute;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  z-index: 1;
}

.ppl-node:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 34px rgba(255, 193, 7, 0.2);
}

.ppl-node span {
  color: var(--accent-hover);
  font-size: 20px;
  font-weight: 800;
}

.ppl-node strong {
  color: var(--fg);
  font-size: 22px;
}

.ppl-node p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.ppl-play {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.ppl-practice {
  bottom: 24px;
  right: 0;
}

.ppl-loop {
  bottom: 24px;
  left: 0;
}

.ppl-arrow {
  animation: arrowPulse 2.8s ease-in-out infinite;
  color: var(--accent-hover);
  font-size: 30px;
  font-weight: 800;
  position: absolute;
  z-index: 2;
}

.arrow-one {
  right: 86px;
  top: 132px;
  transform: rotate(48deg);
}

.arrow-two {
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
}

.arrow-three {
  left: 86px;
  top: 132px;
  transform: rotate(-132deg);
}

.method-layout,
.example-layout {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1fr);
}

.method-hero {
  margin-bottom: 30px;
}

.example-layout {
  grid-template-columns: 1fr;
  min-height: 430px;
}

.method-steps,
.example-tabs {
  display: grid;
  gap: 12px;
}

.method-loop {
  padding-top: 40px;
}

.method-loop-heading {
  margin-bottom: 46px;
}

.method-loop-heading h2 {
  color: var(--green);
}

.example-tabs {
  display: flex;
  gap: 14px;
  min-height: 176px;
}

.method-step,
.example-tab {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: none;
  color: var(--fg-2);
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 16px;
  text-align: left;
  transition: flex 220ms ease, transform 220ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.method-step:hover {
  transform: translateY(-1px);
}

.method-step span {
  color: var(--meta);
  font-size: 13px;
  font-weight: 800;
}

.method-step strong {
  color: var(--fg);
  font-size: 19px;
}

.method-step small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.method-step.is-active,
.example-tab.is-active {
  background: #fffdf6;
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(255, 193, 7, 0.16);
}

.method-preview {
  border-color: transparent;
  box-shadow: none;
  min-height: 520px;
  padding: 22px;
}

.preview-screen {
  align-content: center;
  background: transparent;
  border-radius: 0;
  display: grid;
  gap: 24px;
  height: 100%;
  justify-items: center;
  padding: 24px;
}

.preview-screen img {
  max-height: 260px;
  object-fit: contain;
}

.preview-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(91, 58, 30, 0.08);
  display: grid;
  gap: 8px;
  max-width: 420px;
  padding: 22px;
  text-align: center;
}

.preview-card > p:first-child,
.example-copy > p:first-child {
  color: var(--meta);
  font-size: 14px;
  font-weight: 800;
}

.example-tabs {
  align-content: start;
}

.example-tab {
  align-content: end;
  flex: 1 1 0;
  font-size: 18px;
  font-weight: 800;
  min-width: 0;
  min-height: 140px;
  padding: 20px;
}

.example-tab:hover,
.example-tab.is-active {
  flex: 1.7 1 0;
  transform: translateY(-8px) scale(1.02);
}

.example-tab span {
  color: var(--fg);
  font-size: 22px;
}

.example-tab small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.example-card {
  border-color: transparent;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  padding: 22px;
}

.example-stage {
  align-items: center;
  background: var(--surface-warm);
  border-radius: 24px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 290px;
  padding: 24px;
  place-items: center;
}

.object {
  width: min(96px, 100%);
}

.object-b {
  transform: translateY(18px);
}

.object-c {
  width: 116px;
}

.hanzi-chip {
  align-items: center;
  background: var(--surface);
  border: 3px solid var(--accent);
  border-radius: 22px;
  color: var(--fg);
  display: inline-flex;
  font-size: 70px;
  font-weight: 800;
  height: 116px;
  justify-content: center;
  width: 116px;
}

.example-stage[data-mode="count"] .hanzi-chip {
  display: none;
}

.example-stage[data-mode="position"] .object-c,
.example-stage[data-mode="position"] .hanzi-chip {
  display: none;
}

.example-stage[data-mode="position"] .object-a {
  transform: translateY(-34px);
}

.example-stage[data-mode="position"] .object-b {
  transform: translateY(44px);
}

.example-stage[data-mode="hanzi"] .object-a,
.example-stage[data-mode="hanzi"] .object-b,
.example-stage[data-mode="hanzi"] .object-c {
  display: none;
}

.example-stage[data-mode="match"] .object-b,
.example-stage[data-mode="match"] .object-c {
  display: none;
}

.example-copy {
  align-content: center;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.principle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.principle-panel {
  align-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  min-height: 360px;
  padding: 38px;
}

.principle-panel span {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  color: var(--fg-2);
  font-weight: 800;
  padding: 14px 20px;
}

.principle-row span {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  color: var(--fg-2);
  font-weight: 800;
  padding: 12px 18px;
}

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

.trust-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.download {
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: 24px;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  padding: 32px;
}

.roro-download {
  width: 140px;
}

.site-footer {
  background: #fffdf7;
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 58px 20px 38px;
}

.footer-inner {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(120px, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-logo {
  align-items: center;
  color: var(--fg);
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  gap: 10px;
}

.footer-logo img {
  border-radius: 12px;
  height: 38px;
  width: 38px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 260px;
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-column h2 {
  color: var(--fg);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  justify-items: start;
}

.footer-links a,
.footer-links span {
  line-height: 1.45;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--fg);
}

.footer-links span {
  color: var(--meta);
}

.footer-social {
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: 18px;
  grid-column: 1 / -1;
  padding-top: 28px;
}

.footer-social-heading {
  display: grid;
  gap: 8px;
}

.footer-social-heading h2 {
  color: var(--fg);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
}

.social-qr-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.social-qr-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(91, 58, 30, 0.06);
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px;
  text-align: center;
}

.social-qr-card img {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  display: block;
  height: 120px;
  object-fit: cover;
  width: 120px;
}

.social-qr-card strong {
  color: var(--fg);
  font-size: 15px;
  font-weight: 900;
}

.footer-legal {
  align-items: center;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 20px;
  font-size: 14px;
}

.footer-records {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.police-record {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.police-record img {
  display: block;
  height: 18px;
  object-fit: contain;
  width: 18px;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(6px, -12px, 0) rotate(4deg);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .footer-inner {
    grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 920px) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .desktop-nav {
    display: none;
  }

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

  .brand {
    font-size: 20px;
  }

  .brand-logo {
    border-radius: 12px;
    height: 40px;
    width: 40px;
  }

  .header-cta {
    font-size: 15px;
    min-height: 40px;
    padding: 0 16px;
  }

  .section-band {
    padding: 48px 18px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .eyebrow {
    font-size: 15px;
  }

  .hero,
  .course-row,
  .course-row-reverse,
  .method-layout,
  .example-layout,
  .split-section,
  .split-section-reverse,
  .duo-row,
  .duo-row-reverse,
  .download {
    grid-template-columns: 1fr;
  }

  .split-section-reverse > .split-copy,
  .duo-row-reverse .duo-copy,
  .course-row-reverse .course-art {
    order: 0;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding-top: 28px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lede {
    font-size: 17px;
    margin-top: 16px;
  }

  .phone-shell {
    border-radius: 28px;
    padding: 12px;
    width: min(320px, 100%);
  }

  .phone-scene {
    border-radius: 22px;
    min-height: 300px;
  }

  .lesson-card {
    margin-top: 12px;
    padding: 14px;
    text-align: left;
  }

  .course-copy {
    justify-items: center;
    text-align: center;
  }

  .course-copy h3 {
    font-size: 34px;
  }

  .course-art {
    min-height: 300px;
  }

  .course-row,
  .course-row-reverse {
    gap: 24px;
  }

  .matrix {
    gap: 42px;
  }

  .method-system {
    gap: 42px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .course-copy p {
    color: #626262;
  }

  .course-art-island img {
    max-width: min(330px, 92%);
  }

  .cpa-art {
    gap: 18px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cpa-step {
    min-height: 220px;
  }

  .cpa-concrete,
  .cpa-pictorial,
  .cpa-abstract {
    transform: none;
  }

  .cpa-step::after {
    bottom: -34px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%) rotate(90deg);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions-stacked {
    margin-left: auto;
    margin-right: auto;
  }

  .value-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .progress-two,
  .progress-three {
    margin-left: 0;
  }

  .progress-card {
    grid-template-columns: 56px minmax(0, 1fr) 82px;
  }

  .progress-card img {
    height: 82px;
    width: 82px;
  }

  .ppl-diagram {
    aspect-ratio: auto;
    display: grid;
    gap: 12px;
    min-height: auto;
  }

  .ppl-diagram::before,
  .ppl-arrow {
    display: none;
  }

  .ppl-center,
  .ppl-node {
    position: static;
    transform: none;
  }

  .ppl-center {
    border-radius: 20px;
    height: auto;
    padding: 18px;
    width: 100%;
  }

  .ppl-node {
    max-width: none;
    padding: 18px;
    text-align: left;
  }

  .visual-card {
    min-height: 300px;
  }

  .example-tabs {
    display: grid;
  }

  .example-tab,
  .example-tab:hover,
  .example-tab.is-active {
    flex: auto;
    min-height: 120px;
    transform: none;
  }

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

  .method-preview {
    min-height: 320px;
    padding: 12px;
  }

  .preview-screen {
    gap: 16px;
    padding: 16px;
  }

  .preview-screen img {
    max-height: 180px;
  }

  .preview-card {
    padding: 18px;
  }

  .download {
    justify-items: center;
    text-align: center;
  }

  .footer-inner {
    gap: 28px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .footer-brand {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }

  .footer-column,
  .footer-links {
    justify-items: start;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }

  .footer-column {
    gap: 10px;
  }

  .footer-column h2 {
    font-size: 15px;
  }

  .footer-links {
    gap: 8px;
    font-size: 14px;
  }

  .footer-social {
    gap: 16px;
    grid-column: 1 / -1;
    justify-items: center;
    padding-top: 22px;
    text-align: center;
  }

  .social-qr-list {
    justify-content: center;
    width: 100%;
  }

  .social-qr-card {
    min-width: 132px;
    padding: 12px;
  }

  .social-qr-card img {
    height: 108px;
    width: 108px;
  }

  .footer-legal {
    align-items: center;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    text-align: center;
  }

  .footer-records {
    align-items: center;
    display: flex;
    gap: 6px 14px;
    justify-content: center;
  }

  .footer-legal,
  .footer-records {
    font-size: 12px;
    line-height: 1.5;
  }

  .police-record img {
    height: 15px;
    width: 15px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-logo {
    height: 34px;
    width: 34px;
  }

  .header-cta {
    font-size: 14px;
    min-height: 36px;
    padding: 0 14px;
  }

  .button {
    width: 100%;
  }

  .phone-scene {
    min-height: 260px;
  }

  .phone-topbar span {
    height: 6px;
    width: 42px;
  }

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

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

  .intro-visual {
    min-height: 360px;
  }

  .intro-chip {
    font-size: 13px;
    min-width: 126px;
    padding: 10px 12px;
  }

  .intro-chip span {
    font-size: 11px;
  }

  .course-copy h3 {
    font-size: 28px;
  }

  .course-copy p {
    font-size: 16px;
    line-height: 1.58;
  }

  .course-art {
    min-height: 220px;
  }

  .life-art {
    min-height: 260px;
  }

  .life-roro {
    max-width: min(220px, 72%);
  }

  .life-book {
    bottom: 10px;
    width: 90px;
  }

  .progress-path {
    padding-left: 0;
  }

  .progress-path::before {
    left: 31px;
  }

  .progress-card {
    gap: 12px;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px;
  }

  .progress-card img {
    grid-column: 2;
    height: 76px;
    justify-self: end;
    margin-top: -18px;
    width: 76px;
  }

  .progress-number {
    border-radius: 16px;
    font-size: 22px;
    height: 52px;
    width: 52px;
  }

  .ppl-diagram {
    aspect-ratio: auto;
    min-height: auto;
  }

  .ppl-diagram::before {
    display: none;
  }

  .ppl-node {
    padding: 14px;
  }

  .ppl-play {
    top: auto;
  }

  .ppl-practice {
    bottom: auto;
    right: 0;
  }

  .ppl-loop {
    bottom: auto;
    left: 0;
  }

  .ppl-center {
    height: auto;
    width: 100%;
  }

  .ppl-center strong {
    font-size: 21px;
  }

  .arrow-one {
    display: none;
  }

  .arrow-two {
    display: none;
  }

  .arrow-three {
    display: none;
  }

  .method-step {
    padding: 14px;
  }

  .method-preview {
    min-height: 280px;
  }

  .site-footer {
    padding: 36px 18px 32px;
  }

  .footer-inner {
    gap: 24px 18px;
  }
}
