:root {
  --ink: #20201c;
  --muted: #666960;
  --soft: #f7f4eb;
  --surface: #fffdf8;
  --line: rgba(32, 32, 28, 0.12);
  --accent: #d94f32;
  --accent-deep: #a83c26;
  --green: #258159;
  --mint: #cfe9cf;
  --sky: #dbeef3;
  --gold: #e3a937;
  --shadow: 0 24px 70px rgba(87, 67, 45, 0.14);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 10%, rgba(217, 79, 50, 0.12), transparent 25rem),
    radial-gradient(circle at 82% 18%, rgba(37, 129, 89, 0.14), transparent 28rem),
    linear-gradient(180deg, #fff9eb 0%, #eef7ee 42%, #fff8ed 100%);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(32, 32, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 28, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
}

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

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1220px, calc(100% - 32px));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(87, 67, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fffdf8;
  background: var(--ink);
  font-size: 18px;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.08;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a,
.mobile-menu a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover {
  color: var(--ink);
  background: rgba(32, 32, 28, 0.07);
}

.header-cta,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease, background 220ms ease;
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  color: #fffdf8;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--surface);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  width: min(1220px, calc(100% - 32px));
  min-height: calc(100dvh - 70px);
  margin: -6px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: 54px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(50px, 7vw, 98px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.22;
}

.hero-text,
.section-heading p,
.campus-copy p,
.join-hero p,
.value-card p,
.campus-photo span,
.join-card p,
.partner-detail p,
.contact-copy p,
.route-card p {
  color: var(--muted);
  line-height: 1.74;
}

.hero-text {
  max-width: 650px;
  font-size: clamp(17px, 1.7vw, 21px);
}

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

.primary-btn,
.ghost-btn {
  min-height: 54px;
  gap: 10px;
  padding: 0 22px;
}

.primary-btn {
  color: #fffdf8;
  background: var(--accent);
  box-shadow: 0 16px 38px rgba(217, 79, 50, 0.26);
}

.primary-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
}

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

.primary-btn:active,
.ghost-btn:active,
.header-cta:active,
.timeline-step:active,
.partner-tab:active {
  transform: translateY(1px) scale(0.99);
}

.hero-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-proof div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-proof strong {
  display: block;
  font-size: clamp(22px, 2.3vw, 34px);
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.hero-stage {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: center;
}

.hero-stage > img {
  width: 100%;
  border-radius: 36px;
  filter: drop-shadow(0 28px 58px rgba(87, 67, 45, 0.18));
}

.hero-card {
  position: absolute;
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-card span,
.hero-card small {
  color: var(--muted);
  font-size: 13px;
}

.hero-card strong {
  font-size: 18px;
}

.order-card {
  left: 8px;
  bottom: 58px;
}

.join-card {
  right: -4px;
  top: 68px;
  max-width: 250px;
}

.brand-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.56);
}

.brand-strip-track {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 18px 0;
  color: var(--muted);
  font-weight: 900;
  animation: marquee 26s linear infinite;
}

.brand-strip-track span {
  white-space: nowrap;
}

.platform-section,
.about-section,
.campus-section,
.delivery-section,
.join-section,
.contact-section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
}

.about-copy {
  max-width: 740px;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.74;
}

.about-board {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(32, 32, 28, 0.1);
  border-radius: 32px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
}

.about-board div {
  display: grid;
  gap: 8px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
}

.about-board div:last-child {
  border-bottom: 0;
}

.about-board span {
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 900;
}

.about-board strong {
  font-size: 22px;
  line-height: 1.32;
}

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

.value-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
}

.value-card,
.campus-photo,
.route-card,
.join-hero,
.join-card,
.partner-model,
.contact-panel {
  border: 1px solid rgba(32, 32, 28, 0.1);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
}

.value-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px;
  border-radius: 30px;
}

.value-primary {
  grid-row: span 2;
  display: flex;
  min-height: 476px;
  flex-direction: column;
  justify-content: flex-end;
}

.value-primary img {
  position: absolute;
  inset: 26px 18px auto 18px;
  width: calc(100% - 36px);
  height: 270px;
  object-fit: contain;
  z-index: 0;
}

.value-primary h3,
.value-primary p,
.value-primary .card-index {
  position: relative;
  z-index: 1;
}

.card-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fffdf8;
  background: var(--green);
  font-weight: 900;
}

.campus-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.campus-copy {
  max-width: 500px;
}

.campus-gallery {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 16px;
}

.campus-photo {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  margin: 0;
  border-radius: 32px;
}

.campus-photo.wide {
  min-height: 560px;
}

.campus-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.campus-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.84);
  backdrop-filter: blur(14px);
}

.campus-photo strong {
  font-size: 21px;
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 18px;
}

.timeline {
  display: grid;
  gap: 10px;
  align-self: start;
}

.timeline-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: left;
  background: rgba(255, 253, 248, 0.66);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.timeline-step span {
  grid-row: span 2;
  color: var(--accent-deep);
  font-weight: 900;
}

.timeline-step strong {
  font-size: 18px;
}

.timeline-step small {
  color: var(--muted);
  line-height: 1.5;
}

.timeline-step.active {
  border-color: rgba(217, 79, 50, 0.3);
  background: #fffdf8;
  box-shadow: 0 16px 40px rgba(82, 58, 36, 0.11);
}

.route-card {
  display: grid;
  grid-template-rows: minmax(390px, 1fr) auto;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 36px;
}

.route-visual {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(32, 32, 28, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(32, 32, 28, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, var(--sky), #f3ead8 56%, var(--mint));
  background-size: 34px 34px, 34px 34px, auto;
}

.route-visual::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 48%;
  border-top: 4px dashed rgba(32, 32, 28, 0.28);
  transform: rotate(-7deg);
}

.route-node {
  position: absolute;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
  color: #fffdf8;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(82, 58, 36, 0.18);
}

.node-a {
  left: 9%;
  top: 19%;
  background: var(--green);
}

.node-b {
  left: 45%;
  top: 48%;
  background: var(--gold);
  color: var(--ink);
}

.node-c {
  right: 8%;
  bottom: 17%;
  background: var(--accent);
}

.moving-dot {
  position: absolute;
  left: 18%;
  top: 44%;
  width: 18px;
  height: 18px;
  border: 4px solid #fffdf8;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(217, 79, 50, 0.18);
  animation: routeMove 4.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.join-section {
  display: grid;
  gap: 16px;
}

.join-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.64fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 6vw, 68px);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(217, 79, 50, 0.1), transparent 42%),
    rgba(255, 253, 248, 0.8);
}

.join-hero img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

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

.join-card {
  min-height: 180px;
  padding: 28px;
  border-radius: 30px;
}

.partner-model {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 32px;
}

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

.partner-tab {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.72);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  padding: 0 18px;
}

.partner-tab.active {
  color: #fffdf8;
  background: var(--ink);
}

.partner-detail {
  display: grid;
  align-content: center;
  min-height: 220px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37, 129, 89, 0.1), rgba(227, 169, 55, 0.12));
}

.partner-detail span {
  color: var(--accent-deep);
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 6vw, 86px);
  align-items: center;
  padding: clamp(28px, 6vw, 72px);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(37, 129, 89, 0.11), transparent 48%),
    rgba(255, 253, 248, 0.84);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-methods a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  font-weight: 800;
}

.qr-placeholder {
  display: grid;
  gap: 12px;
  place-items: center;
  padding: 22px;
  border: 1px dashed rgba(32, 32, 28, 0.38);
  border-radius: 28px;
  background: #fffdf8;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 176px;
  aspect-ratio: 1;
  padding: 15px;
  border: 10px solid var(--ink);
  background: var(--surface);
}

.qr-grid span {
  border-radius: 4px;
  background: var(--ink);
}

.qr-grid span:nth-child(2),
.qr-grid span:nth-child(5),
.qr-grid span:nth-child(7),
.qr-grid span:nth-child(10),
.qr-grid span:nth-child(13),
.qr-grid span:nth-child(16) {
  opacity: 0.18;
}

.qr-placeholder strong {
  font-size: 21px;
}

.qr-placeholder small {
  color: var(--muted);
}

.site-footer {
  display: grid;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  justify-items: center;
  gap: 14px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

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

.site-footer strong {
  color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-legal {
  display: grid;
  gap: 6px;
  max-width: 980px;
  font-size: 13px;
  line-height: 1.65;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes routeMove {
  0% {
    transform: translate3d(0, 0, 0);
  }

  45% {
    transform: translate3d(180px, 76px, 0);
  }

  100% {
    transform: translate3d(360px, 112px, 0);
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    grid-column: 1 / -1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow);
  }

  .mobile-menu.open {
    display: grid;
  }

  .hero,
  .about-section,
  .campus-section,
  .delivery-layout,
  .join-hero,
  .partner-model,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .hero-stage {
    min-height: auto;
  }

  .value-grid,
  .join-grid,
  .campus-gallery {
    grid-template-columns: 1fr;
  }

  .value-primary {
    grid-row: auto;
  }

  .campus-photo,
  .campus-photo.wide {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .about-section,
  .platform-section,
  .campus-section,
  .delivery-section,
  .join-section,
  .contact-section,
  .site-footer {
    width: min(100% - 24px, 1220px);
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  h2 {
    font-size: clamp(32px, 10.5vw, 44px);
  }

  .hero-actions,
  .contact-methods {
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn,
  .contact-methods a {
    width: 100%;
  }

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

  .hero {
    gap: 22px;
    padding-top: 36px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.68;
  }

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

  .hero-proof {
    gap: 8px;
  }

  .hero-proof div {
    padding-top: 12px;
  }

  .hero-card {
    position: static;
    margin-top: 12px;
  }

  .hero-stage {
    gap: 0;
  }

  .value-card,
  .join-card {
    padding: 24px;
  }

  .value-primary img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 230px;
    margin-bottom: 12px;
  }

  .campus-photo,
  .campus-photo.wide {
    min-height: 350px;
  }

  .campus-photo img {
    object-fit: contain;
    background: #f3ead8;
  }

  .route-card {
    grid-template-rows: auto auto;
  }

  .route-visual {
    min-height: 310px;
  }

  .route-node {
    width: 74px;
    height: 74px;
    font-size: 13px;
  }

  @keyframes routeMove {
    0% {
      transform: translate3d(0, 0, 0);
    }

    45% {
      transform: translate3d(105px, 62px, 0);
    }

    100% {
      transform: translate3d(205px, 94px, 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
