@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
  color-scheme: light;
  --paper: #f5f0e8;
  --paper-deep: #eae2d6;
  --ink: #192624;
  --muted: #687571;
  --line: rgba(25, 38, 36, 0.16);
  --green: #164f47;
  --green-light: #277166;
  --coral: #ee7657;
  --white: #fffdf8;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 6%, rgba(238, 118, 87, 0.12), transparent 22rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

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

.site-header {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 5px;
  background: var(--green);
  border-radius: 50%;
}

.brand-mark span {
  display: block;
  height: 7px;
  background: var(--paper);
  border-radius: 10px;
  transform: rotate(-35deg);
}

.brand-mark span:nth-child(2) {
  height: 13px;
}

.brand-mark span:nth-child(3) {
  height: 19px;
  background: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.nav-links > a:not(.nav-cta) {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--white);
}

main {
  overflow: hidden;
}

.hero {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.75fr);
  align-items: center;
  gap: 78px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 27px;
  font-family: var(--serif);
  font-size: clamp(58px, 6.4vw, 91px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h1 em {
  color: var(--green-light);
  font-weight: 400;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 17px;
}

.hero-description-zh {
  font-size: 14px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-light);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.38);
}

.path-card {
  position: relative;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 18px 22px 0 rgba(22, 79, 71, 0.09);
}

.path-card::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  top: -36px;
  right: -31px;
  border: 1px solid rgba(238, 118, 87, 0.38);
  border-radius: 50%;
  box-shadow: inset 0 0 0 22px var(--paper), inset 0 0 0 23px rgba(238, 118, 87, 0.38);
}

.path-card-header {
  padding-bottom: 17px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-pill i {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(238, 118, 87, 0.14);
}

.path-list {
  margin: 0;
  padding: 22px 0 10px;
  list-style: none;
}

.path-list li {
  position: relative;
  min-height: 66px;
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 14px;
}

.path-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: -2px;
  left: 13px;
  width: 1px;
  background: var(--line);
}

.path-number {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.path-number-accent {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}

.path-list strong {
  display: block;
  margin: 2px 0 1px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
}

.path-list small {
  color: var(--muted);
  font-size: 10px;
}

.jurisdiction {
  padding: 14px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jurisdiction strong {
  color: var(--ink);
  font-size: 11px;
}

.jurisdiction strong span {
  margin-left: 6px;
  color: var(--coral);
}

.stats {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  min-height: 124px;
  padding: 26px 22px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat small {
  color: var(--green-light);
  font-size: 9px;
}

.method {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 120px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 52px;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  max-width: 590px;
  color: var(--muted);
  font-size: 15px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.method-card {
  position: relative;
  min-height: 340px;
  padding: 30px;
  background: rgba(255, 253, 248, 0.42);
}

.method-card + .method-card {
  border-left: 1px solid var(--line);
}

.card-index {
  position: absolute;
  top: 28px;
  right: 28px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.card-icon {
  width: 49px;
  height: 49px;
  margin-bottom: 65px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--serif);
  font-size: 24px;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.method-card p {
  color: var(--muted);
  font-size: 13px;
}

.card-label {
  position: absolute;
  left: 30px;
  bottom: 28px;
  color: var(--green-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.principles-panel {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 390px;
  padding: 84px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
  color: var(--white);
}

.eyebrow-light {
  color: #9ed0c7;
}

.principles h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 65px);
}

.principle-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.principle-list p:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.19);
}

.principle-list span {
  margin-right: 18px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 700;
}

.final-cta {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 31px;
}

footer {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.footer-brand {
  color: var(--ink);
  font-size: 15px;
}

.footer-brand .brand-mark {
  width: 24px;
  height: 24px;
  padding: 4px;
}

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

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

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

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

@media (max-width: 900px) {
  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 68px 0;
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .path-card {
    max-width: 570px;
  }

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

  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .method-card:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .principles-panel {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  footer {
    padding: 32px 0;
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .stats,
  .method,
  .principles-panel,
  footer {
    width: min(100% - 28px, 1200px);
  }

  .site-header {
    min-height: 72px;
  }

  .nav-cta {
    padding: 8px 11px;
    font-size: 11px;
  }

  h1 {
    font-size: 49px;
  }

  .hero-description {
    font-size: 14px;
  }

  .path-card {
    padding: 17px;
  }

  .path-card::before {
    display: none;
  }

  .stats,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .stat + .stat,
  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .method {
    padding: 90px 0;
  }

  .method-card + .method-card,
  .method-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .method-card:nth-child(3) {
    grid-column: auto;
  }

  .principles-panel {
    padding: 70px 0;
  }

  .final-cta {
    padding: 90px 0;
  }
}
