:root {
  --cream: #faf6f1;
  --paper: #fffdf8;
  --linen: #e9e0d4;
  --stone-100: #f2ece4;
  --stone-200: #ded4c7;
  --stone-300: #c9baa9;
  --stone-500: #76685e;
  --stone-600: #65574e;
  --stone-800: #382f2a;
  --earth: #5c4033;
  --earth-deep: #493127;
  --sage: #8b9d77;
  --sage-soft: #dfe6d8;
  --sage-deep: #3f6047;
  --forest: #1f604e;
  --tan: #d4a373;
  --terracotta: #d86d3b;
  --terracotta-soft: #f3d3c2;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", "Trebuchet MS", sans-serif;
  --hand: "FZKai-Z03", "KaiTi", "STKaiti", cursive;
  --max-width: 1180px;
  --focus: 0 0 0 3px rgba(92, 64, 51, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--stone-800);
  background-color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

::selection {
  color: var(--paper);
  background: var(--forest);
}

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

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

button {
  font: inherit;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.lang-en {
  display: none !important;
}

html[lang="en"] .lang-zh {
  display: none !important;
}

html[lang="en"] .lang-en {
  display: revert !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  border: 1px solid var(--stone-300);
  border-radius: 18px 28px 20px 25px;
  background: var(--paper);
  transform: translateY(-160%);
  transition: transform 0.3s ease-in-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(222, 212, 199, 0.78);
  background: rgba(250, 246, 241, 0.94);
  transition: background-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 6px 18px rgba(92, 64, 51, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(var(--max-width), calc(100% - 48px));
  min-height: 82px;
  margin-inline: auto;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  text-decoration: none;
  gap: 11px;
}

.brand img {
  width: 43px;
  height: 43px;
}

.brand-type {
  display: grid;
  color: var(--forest);
  line-height: 1;
  gap: 7px;
}

.brand-type strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-type small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 28px;
}

.primary-nav a,
.language-button {
  position: relative;
  min-height: 44px;
  color: var(--stone-600);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
}

.primary-nav a::after {
  position: absolute;
  right: 10%;
  bottom: 3px;
  left: 10%;
  height: 1px;
  content: "";
  background: var(--sage-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-in-out;
}

.primary-nav a:hover {
  color: var(--sage-deep);
  transform: translateY(2px);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

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

.language-button {
  min-width: 58px;
  padding: 0 12px;
  border: 1px solid var(--stone-200);
  border-radius: 22px 16px 21px 15px;
  background: transparent;
  cursor: pointer;
}

.language-button:hover {
  color: var(--sage-deep);
  background: var(--stone-100);
  transform: translateY(2px);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  gap: 10px;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button .button-icon-github {
  width: 18px;
  fill: currentColor;
  stroke: none;
}

.button:hover {
  transform: translateY(2px);
}

.button:active {
  transform: scale(0.96) translateY(2px);
}

.button-earth {
  color: var(--paper);
  background: var(--earth);
  box-shadow: 0 5px 0 rgba(73, 49, 39, 0.17);
}

.button-earth:hover {
  color: var(--paper);
  background: var(--earth-deep);
  box-shadow: 0 2px 0 rgba(73, 49, 39, 0.18);
}

.button-quiet {
  color: var(--earth);
  border-color: var(--stone-300);
  background: rgba(255, 253, 248, 0.55);
  box-shadow: 0 5px 0 rgba(73, 49, 39, 0.13);
}

.button-quiet:hover {
  color: var(--sage-deep);
  border-color: var(--sage);
  background: var(--stone-100);
  box-shadow: 0 2px 0 rgba(73, 49, 39, 0.15);
}

.button-compact {
  min-height: 44px;
  padding: 10px 19px;
  font-size: 13px;
}

.download-picker {
  position: relative;
  display: inline-block;
  z-index: 10;
}

.download-picker[open] {
  z-index: 60;
}

.download-picker > summary {
  list-style: none;
}

.download-picker > summary::-webkit-details-marker {
  display: none;
}

.download-picker > summary::marker {
  display: none;
  content: "";
}

.download-picker > summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.download-picker-caret {
  width: 16px !important;
  transition: transform 0.25s ease-in-out;
}

.download-picker[open] > summary .download-picker-caret {
  transform: rotate(180deg);
}

.download-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(310px, calc(100vw - 32px));
  z-index: 50;
  padding: 10px;
  border: 1px solid var(--stone-200);
  border-radius: 18px 21px 14px 22px;
  background: var(--paper);
  isolation: isolate;
  box-shadow: 0 18px 34px rgba(73, 49, 39, 0.16);
}

.download-picker-hero .download-menu {
  right: auto;
  left: 0;
}

.download-picker-final .download-menu {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.download-menu-label {
  margin: 3px 8px 8px;
  color: var(--stone-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  color: var(--earth);
  border: 1px solid transparent;
  border-radius: 12px 15px 10px 15px;
  text-decoration: none;
  gap: 16px;
  transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, border-color 0.25s ease-in-out, transform 0.25s ease-in-out;
}

.download-option:hover {
  color: var(--sage-deep);
  border-color: var(--sage-soft);
  background: var(--stone-100);
  transform: translateX(2px);
}

.download-option:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.download-option-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.download-option-title {
  font-size: 14px;
  line-height: 1.35;
}

.download-option-meta {
  color: var(--stone-500);
  font-size: 11px;
  line-height: 1.35;
}

.download-option > svg {
  flex: 0 0 auto;
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 82px);
  padding-top: 88px;
  padding-bottom: 54px;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 66px 70px;
  align-items: center;
}

.hero-copy,
.hero-product,
.hero-proof {
  position: relative;
  z-index: 2;
}

.hero-copy {
  z-index: 6;
}

.soft-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 6px 14px;
  color: var(--sage-deep);
  border: 1px solid var(--stone-200);
  border-radius: 15px 24px 17px 25px;
  background: var(--stone-100);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  gap: 8px;
}

.soft-label svg {
  width: 17px;
  fill: currentColor;
}

.hero h1 {
  max-width: 670px;
  margin: 31px 0 22px;
  color: var(--earth);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 5.5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.hero h1 em {
  display: block;
  color: var(--sage);
  font-style: normal;
}

.hero-motto {
  margin: -4px 0 16px;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1.5;
}

@media (min-width: 861px) {
  html[lang="en"] .hero h1 {
    font-size: clamp(3.4rem, 4.5vw, 5.4rem);
  }
}

.hero-lede {
  max-width: 610px;
  margin: 0;
  color: var(--stone-600);
  font-size: 18px;
  line-height: 1.9;
}

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

.alpha-note {
  display: flex;
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--stone-500);
  font-size: 12px;
  line-height: 1.6;
  gap: 8px;
}

.alpha-note > span:first-child {
  color: var(--terracotta);
}

.hero-product {
  min-width: 0;
  padding: 20px 0 42px 28px;
}

.product-paper {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border: 9px solid var(--paper);
  border-radius: 37px 65px 39px 75px;
  background: var(--paper);
  box-shadow: 0 20px 42px rgba(92, 64, 51, 0.14), 0 2px 0 rgba(92, 64, 51, 0.08);
  transform: rotate(1.4deg);
}

.product-paper img {
  width: 100%;
  height: clamp(360px, 38vw, 470px);
  object-fit: cover;
  object-position: center;
  border-radius: 28px 54px 31px 61px;
}

.product-note,
.privacy-seal {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  border: 1px solid var(--stone-200);
  color: var(--earth);
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(92, 64, 51, 0.1);
}

.product-note {
  top: 0;
  left: 0;
  padding: 10px 17px;
  border-radius: 19px 23px 18px 28px;
  font-family: var(--hand);
  font-size: 15px;
  transform: rotate(-4deg);
  gap: 8px;
}

.note-number {
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.privacy-seal {
  right: -12px;
  bottom: 7px;
  padding: 12px 17px;
  border-radius: 26px 18px 24px 16px;
  color: var(--sage-deep);
  background: var(--sage-soft);
  font-size: 13px;
  font-weight: 750;
  transform: rotate(2deg);
  gap: 8px;
}

.privacy-seal svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-blob {
  position: absolute;
  pointer-events: none;
}

.blob-one {
  z-index: 0;
  top: 72px;
  right: -180px;
  width: 500px;
  height: 420px;
  border-radius: 47% 53% 65% 35% / 44% 38% 62% 56%;
  background: #efddca;
  transform: rotate(8deg);
}

.blob-two {
  z-index: 0;
  bottom: 0;
  left: -220px;
  width: 370px;
  height: 260px;
  border-radius: 63% 37% 50% 50% / 42% 60% 40% 58%;
  background: #dfe1d3;
  transform: rotate(-9deg);
}

.hero-fern {
  position: absolute;
  z-index: 1;
  top: 38px;
  right: 6%;
  width: 80px;
  opacity: 0.43;
  transform: rotate(19deg);
}

.hero-fern path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 5;
  stroke-linecap: round;
}

.hero-proof {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}

.hero-proof > div {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 18px 36px;
  color: var(--stone-600);
  gap: 14px;
}

.hero-proof > div + div {
  border-left: 1px solid var(--stone-200);
}

.hero-proof strong {
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero-proof span {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.story-section,
.showcase-section {
  padding: 120px 0;
}

#why,
#workflow,
#traceability,
#showcase,
#privacy {
  scroll-margin-top: 0;
}

#why,
#workflow,
#traceability,
#showcase {
  scroll-margin-top: 0;
}

#privacy {
  scroll-margin-top: 0;
}

.story-section {
  border-top: 1px solid var(--stone-200);
  background-color: var(--paper);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.section-heading {
  display: block;
}

.section-heading > div {
  min-width: 0;
}

.section-heading-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 11px 17px;
  margin-bottom: 22px;
}

.chapter-mark {
  flex: 0 0 auto;
  margin: 0;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.65vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.section-kicker {
  margin: 0;
  color: var(--sage-deep);
  font-family: var(--hand);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.section-heading h2,
.showcase-heading h2,
.privacy-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--earth);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.3vw, 4.5rem);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -0.055em;
}

.story-grid > .section-heading {
  grid-column: 1 / 7;
}

.story-copy {
  grid-column: 8 / -1;
  padding-top: 48px;
}

.story-lede {
  max-width: 620px;
  margin: 0;
  color: var(--stone-600);
  font-size: 18px;
  line-height: 2;
}

.story-copy .story-lede + .story-lede {
  margin-top: 18px;
}

.hand-note {
  display: flex;
  align-items: center;
  margin-top: 28px;
  color: var(--earth);
  font-family: var(--hand);
  font-size: 15px;
  line-height: 1.65;
  gap: 12px;
}

.hand-note svg {
  flex: 0 0 74px;
  width: 74px;
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle-card {
  position: relative;
  min-height: 330px;
  margin-top: 56px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--stone-200);
  border-radius: 36px 55px 41px 62px;
  background: var(--cream);
  transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out, transform 0.6s ease-in-out, box-shadow 0.6s ease-in-out, border-radius 0.7s ease-in-out;
}

.principle-card:hover {
  color: var(--sage-deep);
  border-radius: 58px 34px 63px 41px;
  background: #f5f2e9;
  box-shadow: 0 12px 24px rgba(92, 64, 51, 0.09);
  transform: translateY(3px);
}

.card-source {
  grid-column: 1 / 5;
}

.card-teacher {
  grid-column: 5 / 9;
  border-radius: 52px 35px 64px 42px;
  background: #edf0e8;
}

.card-consent {
  grid-column: 9 / -1;
  border-radius: 39px 65px 35px 55px;
  background: #f6eadf;
}

.card-icon {
  display: grid;
  width: 55px;
  height: 51px;
  border-radius: 18px 25px 20px 29px;
  color: var(--forest);
  background: rgba(139, 157, 119, 0.22);
  place-items: center;
}

.card-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-index {
  position: absolute;
  top: 30px;
  right: 31px;
  color: rgba(92, 64, 51, 0.2);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 800;
}

.principle-card h3 {
  margin: 44px 0 12px;
  color: var(--earth);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.35;
}

.principle-card p {
  max-width: 35ch;
  margin: 0;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.9;
}

.workflow-section {
  padding: 120px 0 135px;
  overflow: hidden;
  color: var(--paper);
  background: var(--forest);
}

.workflow-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 80px;
  align-items: end;
}

.workflow-intro .chapter-mark {
  color: #f4b38d;
}

.workflow-intro .section-kicker {
  color: #d5dfca;
}

.workflow-intro h2 {
  color: var(--paper);
}

.workflow-intro > p {
  max-width: 47ch;
  margin: 0 0 8px;
  color: #dbe1d8;
  font-size: 16px;
}

.evidence-path {
  position: relative;
  display: grid;
  min-height: 340px;
  margin-top: 80px;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.path-line {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 290px;
  overflow: visible;
}

.path-line path {
  fill: none;
  stroke: rgba(212, 163, 115, 0.64);
  stroke-width: 2.2;
  stroke-dasharray: 6 10;
  stroke-linecap: round;
}

.path-step {
  position: relative;
  z-index: 1;
  align-self: start;
  min-height: 228px;
  padding: 25px 22px;
  border: 1px solid rgba(233, 224, 212, 0.28);
  border-radius: 31px 48px 34px 53px;
  background: rgba(250, 246, 241, 0.09);
  transition: background-color 0.5s ease-in-out, border-radius 0.7s ease-in-out, transform 0.6s ease-in-out;
}

.path-step:nth-of-type(2) {
  border-radius: 51px 28px 44px 38px;
}

.path-step:nth-of-type(4) {
  border-radius: 37px 57px 31px 49px;
}

.path-step:hover {
  border-radius: 50px 29px 55px 36px;
  background: rgba(250, 246, 241, 0.15);
  transform: translateY(3px);
}

.path-step.step-low {
  align-self: end;
}

.step-seed {
  display: inline-grid;
  width: 42px;
  height: 38px;
  border-radius: 45% 55% 63% 37% / 42% 38% 62% 58%;
  color: var(--earth);
  background: var(--tan);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 850;
  place-items: center;
  transform: rotate(-6deg);
}

.path-step h3 {
  margin: 30px 0 8px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
}

.path-step p {
  margin: 0;
  color: #d6ddd4;
  font-size: 13px;
  line-height: 1.75;
}

.showcase-section {
  background-color: var(--cream);
}

.showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 90px;
  align-items: end;
}

.showcase-heading > p {
  max-width: 48ch;
  margin: 0 0 10px;
  color: var(--stone-600);
}

.showcase-layout {
  display: grid;
  margin-top: 72px;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.showcase-tabs {
  display: grid;
  gap: 10px;
}

.showcase-tabs button {
  display: grid;
  width: 100%;
  min-height: 89px;
  padding: 15px 17px;
  border: 1px solid transparent;
  border-radius: 25px 35px 23px 31px;
  color: var(--stone-600);
  background: transparent;
  text-align: left;
  cursor: pointer;
  grid-template-columns: 33px 1fr;
  gap: 12px;
  transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out, border-color 0.5s ease-in-out, transform 0.5s ease-in-out, border-radius 0.7s ease-in-out;
}

.showcase-tabs button:hover {
  color: var(--sage-deep);
  background: var(--stone-100);
  transform: translateY(2px);
}

.showcase-tabs button[aria-selected="true"] {
  color: var(--earth);
  border-color: var(--stone-200);
  border-radius: 35px 22px 39px 26px;
  background: var(--paper);
}

.tab-number {
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 850;
}

.showcase-tabs strong,
.showcase-tabs small {
  display: block;
}

.showcase-tabs strong {
  color: inherit;
  font-family: var(--serif);
  font-size: 17px;
}

.showcase-tabs small {
  margin-top: 4px;
  color: var(--stone-500);
  font-size: 11px;
  line-height: 1.5;
}

.showcase-stage {
  position: relative;
  margin: 0;
  padding: 17px 17px 13px;
  border: 1px solid var(--stone-200);
  border-radius: 35px 59px 43px 68px;
  background: var(--paper);
  box-shadow: 0 18px 38px rgba(92, 64, 51, 0.12);
  transform: rotate(0.4deg);
}

.showcase-stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.52;
  object-fit: cover;
  object-position: top;
  border-radius: 26px 49px 31px 55px;
  background: var(--linen);
  transition: opacity 0.35s ease-in-out;
}

.showcase-stage img.is-changing {
  opacity: 0.18;
}

.showcase-stage figcaption {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 10px 12px 0;
  color: var(--stone-600);
  font-size: 12px;
  gap: 16px;
}

.stage-count {
  min-width: 54px;
  color: var(--terracotta);
  font-family: var(--serif);
  font-weight: 850;
}

.stage-tape {
  position: absolute;
  z-index: 2;
  top: -13px;
  width: 73px;
  height: 28px;
  border-radius: 5px 9px 6px 8px;
  background: rgba(212, 163, 115, 0.48);
}

.tape-left {
  left: 12%;
  transform: rotate(-5deg);
}

.tape-right {
  right: 11%;
  transform: rotate(7deg);
}

.privacy-section {
  position: relative;
  padding: 125px 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--sage-deep);
}

.privacy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
  align-items: center;
}

.soft-label-light {
  color: #eff3eb;
  border-color: rgba(239, 243, 235, 0.25);
  background: rgba(250, 246, 241, 0.1);
}

.privacy-heading h2 {
  margin-top: 28px;
  color: var(--paper);
}

.privacy-heading > p {
  max-width: 52ch;
  margin: 25px 0 0;
  color: #e0e6dc;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 25px;
  color: var(--paper);
  font-weight: 750;
  text-decoration-color: rgba(255, 253, 248, 0.38);
  text-underline-offset: 5px;
  gap: 8px;
  transition: color 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.text-link-icon {
  width: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-board {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 50px;
  margin-top: 44px;
  padding-top: 10px;
}

.problem-board-art {
  position: relative;
  min-height: 360px;
  padding: 31px 34px 27px;
  overflow: hidden;
  border: 1px solid var(--stone-200);
  border-radius: 68px 35px 72px 43px;
  background: #edf0e8;
  box-shadow: 0 12px 26px rgba(92, 64, 51, 0.06);
}

.problem-board-art::before {
  position: absolute;
  right: -96px;
  bottom: -135px;
  width: 360px;
  height: 300px;
  border-radius: 63% 37% 52% 48% / 44% 58% 42% 56%;
  content: "";
  background: rgba(212, 163, 115, 0.25);
  transform: rotate(-12deg);
}

.problem-board-art::after {
  position: absolute;
  top: -95px;
  left: -75px;
  width: 240px;
  height: 190px;
  border: 1px solid rgba(63, 96, 71, 0.2);
  border-radius: 44% 56% 35% 65% / 52% 39% 61% 48%;
  content: "";
  transform: rotate(24deg);
}

.problem-board-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(63, 96, 71, 0.18);
  border-radius: 19px 27px 22px 16px;
  color: var(--sage-deep);
  background: rgba(255, 253, 248, 0.78);
  font-family: var(--hand);
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
}

.problem-board-leaf {
  width: 11px;
  height: 8px;
  border-radius: 70% 30% 65% 35%;
  background: var(--sage);
  transform: rotate(-28deg);
}

.problem-waveform {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin-top: 28px;
}

.problem-wave-grid,
.problem-wave-shadow,
.problem-wave-line,
.problem-wave-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-wave-grid {
  stroke: rgba(63, 96, 71, 0.18);
  stroke-dasharray: 2 14;
  stroke-width: 1.5;
}

.problem-wave-shadow {
  stroke: rgba(212, 163, 115, 0.5);
  stroke-width: 16;
}

.problem-wave-line {
  stroke: var(--forest);
  stroke-width: 4;
}

.problem-wave-pulse {
  stroke: var(--terracotta);
  stroke-dasharray: 34 480;
  stroke-width: 4;
  animation: problem-wave-drift 6.2s ease-in-out infinite;
}

.problem-wave-node {
  fill: var(--terracotta);
  stroke: var(--paper);
  stroke-width: 4;
  transform-box: fill-box;
  transform-origin: center;
  animation: problem-wave-node 3.5s ease-in-out infinite;
}

.problem-board-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(63, 96, 71, 0.18);
  color: var(--stone-600);
  font-size: 13px;
  gap: 18px;
}

.problem-board-caption strong {
  color: var(--earth);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
}

.problem-board-caption span {
  max-width: 24ch;
  text-align: right;
}

.problem-board-caption .lang-zh {
  max-width: none;
  font-size: 12px;
  white-space: nowrap;
}

.problem-board-notes {
  display: grid;
  align-content: center;
  padding: 7px 0;
}

.problem-board-notes-label {
  margin: 0 0 9px;
  color: var(--sage-deep);
  font-family: var(--hand);
  font-size: 17px;
  font-weight: 700;
}

.problem-note {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid var(--stone-200);
  transition: color 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.problem-note:first-of-type {
  border-top: 1px solid var(--stone-200);
}

.problem-note:hover {
  color: var(--sage-deep);
  transform: translateX(4px);
}

.problem-note-index {
  align-self: start;
  padding-top: 3px;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.problem-note h3 {
  margin: 0 0 7px;
  color: var(--earth);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.35;
}

.problem-note p {
  max-width: 33ch;
  margin: 0;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.8;
}

@keyframes problem-wave-drift {
  0%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0.55;
  }

  50% {
    stroke-dashoffset: -210;
    opacity: 1;
  }
}

@keyframes problem-wave-node {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.text-link:hover {
  color: #f5c6aa;
  transform: translateY(2px);
}

.privacy-promises {
  display: grid;
}

.promise {
  display: grid;
  padding: 27px 0;
  border-bottom: 1px solid rgba(239, 243, 235, 0.22);
  grid-template-columns: 48px 1fr;
  gap: 18px;
}

.promise:first-child {
  border-top: 1px solid rgba(239, 243, 235, 0.22);
}

.promise > span {
  color: #f2ae86;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 850;
}

.promise h3 {
  margin: 0 0 7px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 22px;
}

.promise p {
  max-width: 56ch;
  margin: 0;
  color: #dbe3d7;
  font-size: 13px;
}

.privacy-leaf {
  position: absolute;
  z-index: 0;
  width: 340px;
  height: 190px;
  border: 1px solid rgba(250, 246, 241, 0.11);
  border-radius: 100% 0 100% 0;
}

.leaf-a {
  top: -50px;
  right: -70px;
  transform: rotate(-15deg);
}

.leaf-b {
  bottom: -90px;
  left: -110px;
  transform: rotate(24deg) scale(1.3);
}

.final-cta {
  position: relative;
  padding: 140px 0 150px;
  z-index: 5;
  overflow: visible;
  text-align: center;
  background: var(--cream);
}

.cta-decor {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.cta-sprout {
  width: 58px;
  margin-bottom: 26px;
}

.cta-sprout path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.final-cta h2 {
  max-width: 900px;
  font-size: clamp(2.8rem, 5.4vw, 5.6rem);
}

.final-cta > .section-shell > p:not(.section-kicker) {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--stone-600);
  font-size: 17px;
}

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

.cta-blob {
  position: absolute;
  background: var(--linen);
}

.cta-blob-left {
  bottom: -135px;
  left: -160px;
  width: 420px;
  height: 360px;
  border-radius: 54% 46% 34% 66% / 51% 61% 39% 49%;
  transform: rotate(13deg);
}

.cta-blob-right {
  top: 45px;
  right: -145px;
  width: 350px;
  height: 280px;
  border-radius: 33% 67% 56% 44% / 49% 40% 60% 51%;
  background: #e6dfd1;
  transform: rotate(-16deg);
}

.site-footer {
  padding: 28px 0 12px;
  border-top: 1px solid var(--stone-200);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}

.footer-brand > p {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--stone-600);
  font-size: 13px;
}

.footer-nav {
  display: grid;
  align-content: start;
  justify-self: end;
  width: max-content;
  max-width: 100%;
  gap: 7px;
  padding-top: 0;
}

.footer-links {
  display: flex;
  align-content: flex-start;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 16px;
}

.footer-links h3 {
  margin: 0 8px 0 0;
  color: var(--earth);
  font-family: var(--serif);
  font-size: 17px;
}

.footer-links a {
  min-height: 0;
  color: var(--stone-600);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.footer-links a:hover {
  color: var(--sage-deep);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--stone-200);
  color: var(--stone-500);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s ease-in-out, transform 0.85s ease-in-out;
}

.reveal[data-delay="1"] {
  transition-delay: 0.11s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.21s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.31s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.41s;
}

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

@media (max-width: 1080px) {
  .nav-shell {
    gap: 20px;
  }

  .primary-nav {
    gap: 18px;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
    gap: 50px 38px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 5.8vw, 5rem);
  }

  .principle-card {
    padding: 28px;
  }

  .workflow-intro,
  .showcase-heading {
    gap: 50px;
  }

  .evidence-path {
    gap: 10px;
  }

  .path-step {
    padding: 22px 16px;
  }

  .path-step h3 {
    font-size: 17px;
  }

  .privacy-grid {
    gap: 64px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-behavior: auto;
    scroll-padding-top: 86px;
  }

  #privacy {
    scroll-margin-top: 0;
  }

  #why,
  #workflow,
  #traceability,
  #showcase {
    scroll-margin-top: 0;
  }

  .nav-shell {
    position: relative;
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid var(--stone-200);
    border-radius: 21px 15px 22px 16px;
    color: var(--earth);
    background: transparent;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    gap: 8px;
  }

  .menu-lines,
  .menu-lines::before,
  .menu-lines::after {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
  }

  .menu-lines {
    position: relative;
  }

  .menu-lines::before,
  .menu-lines::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-lines::before {
    top: -5px;
  }

  .menu-lines::after {
    top: 5px;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% - 2px);
    right: 0;
    left: 0;
    display: none;
    padding: 15px 24px 20px;
    border: 1px solid var(--stone-200);
    border-radius: 11px 14px 31px 43px;
    background: var(--paper);
    box-shadow: 0 12px 24px rgba(92, 64, 51, 0.09);
    gap: 0;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    min-height: 44px;
    font-size: 14px;
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-actions .button {
    display: none;
  }

  .language-button {
    min-width: 54px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 60px;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 11vw, 6rem);
  }

  .hero-product {
    width: min(680px, 100%);
    justify-self: end;
  }

  .blob-one {
    top: 32%;
    right: -250px;
  }

  .hero-fern {
    top: 44%;
  }

  .story-grid > .section-heading,
  .story-copy {
    grid-column: 1 / -1;
  }

  .story-copy {
    padding-top: 0;
  }

  .problem-board {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .principle-card {
    min-height: 290px;
  }

  .card-source {
    grid-column: 1 / 7;
  }

  .card-teacher {
    grid-column: 7 / -1;
  }

  .card-consent {
    grid-column: 3 / 11;
    margin-top: 0;
  }

  .workflow-intro,
  .showcase-heading,
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .evidence-path {
    min-height: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .path-line {
    display: none;
  }

  .path-step,
  .path-step.step-low {
    align-self: stretch;
    min-height: 205px;
  }

  .path-step:last-child {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }

  .showcase-layout {
    grid-template-columns: 1fr;
  }

  .showcase-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-heading > p {
    max-width: 65ch;
  }

  .footer-grid {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 32px;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 32px, var(--max-width));
  }

  .site-header .brand-type small {
    display: none;
  }

  .site-header .brand-type strong {
    font-size: 20px;
  }

  .site-header .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-shell {
    gap: 10px;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .language-button {
    min-width: 48px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .hero {
    padding-top: 52px;
    gap: 34px;
  }

  .soft-label {
    font-size: 9px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(3.15rem, 16vw, 4.5rem);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

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

  .hero-actions .download-picker {
    width: 100%;
  }

  .download-picker .download-menu {
    right: auto;
    left: 50%;
    width: min(100%, calc(100vw - 32px));
    transform: translateX(-50%);
  }

  .hero-product {
    padding-left: 0;
  }

  .product-paper {
    border-width: 6px;
    border-radius: 26px 42px 30px 49px;
  }

  .product-paper img {
    height: 350px;
    border-radius: 21px 34px 25px 42px;
  }

  .product-note {
    left: -6px;
    font-size: 12px;
  }

  .privacy-seal {
    right: -5px;
    font-size: 11px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof > div {
    min-height: 62px;
    padding: 13px 16px;
  }

  .hero-proof > div + div {
    border-top: 1px solid var(--stone-200);
    border-left: 0;
  }

  .story-section,
  .showcase-section {
    padding: 78px 0;
  }

  .workflow-section,
  .privacy-section {
    padding: 80px 0;
  }

  .section-heading {
    gap: 12px;
  }

  .section-heading h2,
  .showcase-heading h2,
  .privacy-heading h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  #why .section-heading h2 {
    font-size: clamp(2.2rem, 11.2vw, 3.6rem);
  }

  .story-lede {
    font-size: 15px;
  }

  .hand-note {
    align-items: flex-start;
  }

  .hand-note svg {
    flex-basis: 55px;
  }

  .problem-board {
    margin-top: 6px;
    gap: 28px;
  }

  .problem-board-art {
    min-height: 290px;
    padding: 24px 22px 22px;
    border-radius: 48px 29px 52px 34px;
  }

  .problem-board-caption {
    display: grid;
    align-items: start;
    gap: 7px;
  }

  .problem-board-caption span {
    max-width: 32ch;
    text-align: left;
  }

  .problem-board-notes {
    padding: 0;
  }

  .problem-note {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .card-source,
  .card-teacher,
  .card-consent {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .principle-card:first-of-type {
    margin-top: 24px;
  }

  .principle-card {
    min-height: auto;
    padding: 28px;
  }

  .principle-card h3 {
    margin-top: 30px;
  }

  .workflow-intro {
    gap: 24px;
  }

  .evidence-path {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .path-step,
  .path-step.step-low,
  .path-step:last-child {
    width: 100%;
    min-height: 170px;
    grid-column: auto;
  }

  .path-step h3 {
    margin-top: 20px;
  }

  .showcase-layout {
    margin-top: 48px;
    gap: 25px;
  }

  .showcase-tabs {
    display: flex;
    margin-inline: -16px;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .showcase-tabs button {
    flex: 0 0 76%;
    scroll-snap-align: center;
  }

  .showcase-stage {
    padding: 9px 9px 6px;
    border-radius: 24px 38px 29px 43px;
  }

  .showcase-stage img {
    aspect-ratio: 1.03;
    border-radius: 18px 30px 22px 34px;
  }

  .showcase-stage figcaption {
    align-items: flex-start;
    min-height: 75px;
    padding-top: 12px;
    line-height: 1.55;
  }

  .stage-tape {
    width: 52px;
    height: 20px;
  }

  .privacy-grid {
    gap: 50px;
  }

  .promise {
    grid-template-columns: 38px 1fr;
  }

  .final-cta {
    padding: 95px 0 105px;
  }

  .final-cta h2 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-nav {
    justify-self: stretch;
    width: auto;
    max-width: none;
    gap: 10px;
  }

  .footer-bottom {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .problem-wave-pulse,
  .problem-wave-node {
    animation: none;
  }
}

/* Brand refresh: let the Hero show the real product, then make traceability the visual proof. */
.site-header,
.site-header.is-scrolled {
  background: var(--paper);
}

.brand-type strong {
  white-space: nowrap;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 720px;
}

.hero-motto {
  letter-spacing: 0.055em;
}

.hero-product {
  padding-top: 28px;
  padding-left: 16px;
}

#why > .section-heading {
  position: relative;
  top: 30px;
  left: 26px;
}

#why .problem-board {
  margin-top: 18px;
}

.traceability-map {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 12px;
  transform: none;
}

.traceability-map .trace-map-heading {
  max-width: 18ch;
}

.trace-principles {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 4px;
}

.trace-principles .principle-card,
.trace-principles .card-source,
.trace-principles .card-teacher,
.trace-principles .card-consent {
  grid-column: auto;
  min-height: 214px;
  margin-top: 0;
  padding: 26px 28px;
}

.trace-principles .principle-card h3 {
  margin: 26px 0 10px;
  font-size: 22px;
}

.trace-principles .principle-card p {
  max-width: none;
  line-height: 1.75;
}

.trace-principles .card-icon {
  width: 48px;
  height: 45px;
}

.trace-map {
  min-height: 514px;
  padding: 30px 30px 22px;
  overflow: visible;
  border: 1px solid rgba(92, 64, 51, 0.16);
  border-width: 1px 1px 1px 7px;
  border-color: var(--paper) var(--paper) var(--paper) var(--terracotta);
  border-radius: 28px 54px 36px 64px;
  background:
    radial-gradient(circle at 92% 8%, rgba(239, 221, 202, 0.76) 0 19%, transparent 20%),
    linear-gradient(135deg, #fffdf8 0%, #f7efe6 100%);
  box-shadow: 0 22px 46px rgba(92, 64, 51, 0.15), 0 3px 0 rgba(92, 64, 51, 0.08);
  transform: none;
}

.trace-map::before {
  position: absolute;
  top: 22px;
  right: 30px;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(216, 109, 59, 0.28);
  border-radius: 50%;
  content: "";
}

.trace-map-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.trace-map-status {
  display: inline-flex;
  align-items: center;
  color: var(--sage-deep);
  font-size: 11px;
  letter-spacing: 0.02em;
  gap: 6px;
}

.trace-map-status i,
.disclosure-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.trace-map-heading {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 38px 0 26px;
  color: var(--earth);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.065em;
}

.trace-map-heading em {
  color: var(--sage-deep);
  font-style: normal;
}

.trace-map-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "source connector transcript"
    ". connector-low ."
    "return connector-return point";
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 9px 8px;
}

.trace-node {
  position: relative;
  display: grid;
  min-height: 126px;
  padding: 18px 14px 14px;
  border: 1px solid rgba(92, 64, 51, 0.14);
  border-radius: 20px 28px 18px 25px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 5px 0 rgba(92, 64, 51, 0.06);
  align-content: start;
  gap: 6px;
}

.trace-node-source {
  grid-area: source;
  background: #fff8f0;
}

.trace-node-transcript {
  grid-area: transcript;
  background: #f1f4ed;
}

.trace-node-point {
  grid-area: point;
  background: #fff4e9;
}

.trace-node-return {
  grid-area: return;
  background: #eaf1e8;
}

.trace-node-index {
  position: absolute;
  top: 12px;
  right: 13px;
  color: rgba(92, 64, 51, 0.36);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.trace-node-icon {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  border-radius: 11px 15px 10px 14px;
  color: var(--forest);
  background: rgba(139, 157, 119, 0.2);
  place-items: center;
}

.trace-node-icon svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trace-node strong {
  color: var(--earth);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.3;
}

.trace-node small {
  color: var(--stone-500);
  font-size: 10px;
  line-height: 1.45;
}

.trace-connector {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 28px;
  color: var(--terracotta);
  font-size: 0;
  place-items: center;
}

.trace-connector::before {
  position: absolute;
  top: 50%;
  right: 4px;
  left: 4px;
  border-top: 1px solid rgba(216, 109, 59, 0.5);
  content: "";
  transform: translateY(-50%);
}

.trace-connector::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--terracotta);
  transform: translateY(-50%);
}

.trace-connector:not(.trace-connector-low):not(.trace-connector-return) {
  grid-area: connector;
}

.trace-connector-low {
  grid-area: connector-low;
}

.trace-connector-low::before {
  top: 2px;
  right: auto;
  bottom: 2px;
  left: 50%;
  border-top: 0;
  border-left: 1px solid rgba(216, 109, 59, 0.5);
  transform: translateX(-50%);
}

.trace-connector-low::after {
  top: auto;
  right: auto;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
}

.trace-connector-return {
  grid-area: connector-return;
}

.trace-connector-return::before {
  right: 4px;
  left: 4px;
}

.trace-connector-return::after {
  right: auto;
  left: 1px;
}

.trace-map figcaption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(92, 64, 51, 0.13);
  color: var(--stone-500);
  font-size: 11px;
  line-height: 1.5;
}

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

.hero-proof > div {
  min-height: 92px;
  padding: 18px 24px;
}

.hero-proof span {
  font-size: 14px;
  line-height: 1.45;
}

.showcase-disclosure a {
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 800;
  text-decoration-color: rgba(63, 96, 71, 0.35);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.showcase-disclosure {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 26px 0 0;
  color: var(--stone-500);
  font-size: 12px;
  line-height: 1.7;
  gap: 9px;
}

.showcase-disclosure a {
  margin-left: 4px;
}

@media (max-width: 1080px) {
  .hero-proof > div {
    padding-inline: 16px;
  }

  .trace-map {
    padding-inline: 24px;
  }
}

@media (max-width: 860px) {
  #why > .section-heading {
    top: auto;
    left: auto;
  }

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

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

}

@media (max-width: 620px) {
  #why .problem-board {
    margin-top: 6px;
  }

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

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.3rem);
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .trace-map {
    min-height: auto;
    padding: 24px 18px 17px;
    border-width: 1px 1px 1px 5px;
    border-radius: 24px 39px 27px 44px;
  }

  .traceability-map {
    margin-top: 0;
  }

  .trace-principles {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
  }

  .trace-principles .principle-card,
  .trace-principles .card-source,
  .trace-principles .card-teacher,
  .trace-principles .card-consent,
  .trace-principles .principle-card:first-of-type {
    min-height: auto;
    margin-top: 0;
  }

  .trace-map::before {
    top: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
  }

  .trace-map-heading {
    margin: 32px 0 20px;
    font-size: clamp(1.75rem, 9vw, 2.6rem);
  }

  .trace-map-flow {
    display: grid;
    grid-template: none;
    grid-template-areas: none;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trace-node,
  .trace-node-source,
  .trace-node-transcript,
  .trace-node-point,
  .trace-node-return,
  .trace-connector,
  .trace-connector-low,
  .trace-connector-return {
    grid-area: auto;
  }

  .trace-node {
    min-height: 92px;
    padding: 14px 13px 12px 56px;
  }

  .trace-map-flow .trace-connector:not(.trace-connector-low):not(.trace-connector-return) {
    grid-area: auto;
  }

  .trace-node-icon {
    position: absolute;
    top: 17px;
    left: 13px;
    margin: 0;
  }

  .trace-connector,
  .trace-connector-low,
  .trace-connector-return {
    min-height: 20px;
    font-size: 0;
  }

  .trace-connector::before,
  .trace-connector-low::before,
  .trace-connector-return::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 50%;
    width: 0;
    border-top: 0;
    border-left: 1px solid rgba(216, 109, 59, 0.5);
    transform: translateX(-50%);
  }

  .trace-connector::after,
  .trace-connector-low::after,
  .trace-connector-return::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
  }

  .trace-map figcaption {
    margin-top: 13px;
  }

  .showcase-disclosure {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

.traceability-section .traceability-map {
  min-width: 0;
  margin: 12px 0 0;
  transform: none;
}

@media (max-width: 620px) {
  .traceability-section .traceability-map {
    margin-top: 0;
  }
}
