:root {
  --night: #071310;
  --night-soft: #10231e;
  --pine: #0b3a31;
  --pine-bright: #176a59;
  --paper: #f2efe6;
  --paper-warm: #e9e1d2;
  --ink: #15221e;
  --ink-soft: #53615c;
  --gold: #e2a33e;
  --gold-light: #f4d58c;
  --copper: #a7652c;
  --mist: #b8c9c1;
  --line-light: rgba(245, 239, 224, 0.15);
  --line-dark: rgba(21, 34, 30, 0.13);
  --shadow: 0 28px 80px rgba(5, 18, 14, 0.18);
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

a {
  color: inherit;
}

.partner-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 40px), 1240px);
  min-height: 64px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  color: #f7f1e5;
  background: rgba(7, 19, 16, 0.84);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px) saturate(1.2);
  transform: translateX(-50%);
}

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

.partner-brand strong,
.partner-brand small {
  display: block;
}

.partner-brand strong {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.04em;
}

.partner-brand small {
  margin-top: 3px;
  color: rgba(247, 241, 229, 0.58);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.brand-sun {
  position: relative;
  display: block;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(244, 213, 140, 0.45);
  border-radius: 50%;
}

.brand-sun::before,
.brand-sun::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand-sun::before {
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(226, 163, 62, 0.6);
}

.brand-sun::after {
  bottom: 6px;
  width: 25px;
  height: 10px;
  clip-path: polygon(0 100%, 24% 38%, 42% 72%, 63% 5%, 100% 100%);
  background: #f0eadb;
}

.partner-nav nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.partner-nav nav a {
  padding: 9px 11px;
  color: rgba(247, 241, 229, 0.68);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.partner-nav nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta {
  padding: 13px 16px;
  border-radius: 2px;
  color: #2b1b08;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.45);
}

.partner-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  align-items: end;
  gap: clamp(36px, 6vw, 90px);
  min-height: 860px;
  padding: 148px max(28px, calc((100vw - 1180px) / 2)) 92px;
  overflow: hidden;
  color: #f4efe3;
  background:
    linear-gradient(90deg, rgba(5, 17, 14, 0.99) 0%, rgba(5, 17, 14, 0.91) 48%, rgba(5, 17, 14, 0.32) 100%),
    url("/assets/meili-night-dawn-desktop.jpg") 72% center / cover no-repeat,
    var(--night);
}

.partner-hero::before {
  content: "";
  position: absolute;
  top: -270px;
  right: -150px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(244, 213, 140, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(244, 213, 140, 0.025), 0 0 0 180px rgba(244, 213, 140, 0.018);
}

.partner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

.hero-atmosphere {
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  background: linear-gradient(transparent, rgba(5, 17, 14, 0.62));
}

.hero-copy,
.forecast-dossier {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.section-heading > p,
.content-thesis > p,
.meeting-copy > p {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-kicker span {
  color: rgba(244, 239, 227, 0.6);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 5.8vw, 86px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero-copy h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(244, 239, 227, 0.73);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  border-radius: 2px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 228px;
  padding: 0 18px;
  border: 0;
  color: #2c1d0b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 38px rgba(180, 112, 26, 0.22), inset 0 1px rgba(255, 255, 255, 0.4);
}

.primary-action span {
  font-size: 20px;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(244, 239, 227, 0.26);
  color: #f4efe3;
  font-size: 13px;
  text-decoration: none;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 700px;
  margin-top: 58px;
  border-top: 1px solid var(--line-light);
}

.hero-proof article {
  padding: 22px 20px 0 0;
}

.hero-proof article + article {
  padding-left: 20px;
  border-left: 1px solid var(--line-light);
}

.hero-proof strong,
.hero-proof span,
.hero-proof small {
  display: block;
}

.hero-proof strong {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 26px;
}

.hero-proof span {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 750;
}

.hero-proof small {
  margin-top: 5px;
  color: rgba(244, 239, 227, 0.48);
  font-size: 10px;
}

.forecast-dossier {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(247, 241, 229, 0.2);
  background: rgba(8, 24, 20, 0.76);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.15);
}

.dossier-head,
.dossier-head > div,
.route-head,
.board-head,
.meeting-card .form-head,
.traveler-brief .form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dossier-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
  color: rgba(244, 239, 227, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #6fd6ac;
  box-shadow: 0 0 0 5px rgba(111, 214, 172, 0.1), 0 0 14px rgba(111, 214, 172, 0.65);
}

.dossier-main {
  padding: 30px 0 25px;
}

.dossier-main > p:first-child {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
}

.dossier-main h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.18;
}

.dossier-main > p:last-child {
  margin: 14px 0 0;
  color: rgba(244, 239, 227, 0.6);
  font-size: 12px;
  line-height: 1.7;
}

.forecast-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.forecast-strip article {
  min-width: 0;
  padding: 16px 8px;
  text-align: center;
}

.forecast-strip article + article {
  border-left: 1px solid var(--line-light);
}

.forecast-strip span,
.forecast-strip strong,
.forecast-strip small {
  display: block;
}

.forecast-strip span {
  color: rgba(244, 239, 227, 0.55);
  font-size: 10px;
}

.forecast-strip strong {
  margin-top: 7px;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 17px;
}

.forecast-strip small {
  margin-top: 4px;
  overflow: hidden;
  color: rgba(244, 239, 227, 0.46);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forecast-loading span,
.forecast-loading strong,
.forecast-loading small {
  width: 70%;
  height: 7px;
  margin-right: auto;
  margin-left: auto;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  animation: pulse 1.4s ease-in-out infinite alternate;
}

.forecast-loading strong {
  width: 48%;
  height: 18px;
}

.dossier-question {
  padding: 24px 0;
}

.dossier-question > span {
  color: rgba(244, 239, 227, 0.5);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.question-rotator {
  min-height: 54px;
  margin-top: 9px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.question-rotator.switching {
  opacity: 0;
  transform: translateY(5px);
}

.dossier-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.thesis-band {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 42px;
  padding: 42px max(28px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: var(--copper);
}

.thesis-band > span {
  padding-top: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.thesis-band p {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.5;
}

.thesis-band strong {
  color: #ffe1a7;
}

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

.loop-section,
.partner-types,
.plans-section,
.meeting-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 42px;
  max-width: 1000px;
}

.section-heading > p {
  grid-row: span 2;
  color: var(--copper);
}

.section-heading h2,
.content-thesis h2,
.meeting-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.section-heading > span,
.content-thesis > span {
  max-width: 760px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.loop-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 70px;
  padding: 46px 0 34px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.loop-map::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--pine-bright), var(--gold));
}

.loop-node {
  position: relative;
  min-height: 230px;
  padding: 24px 20px;
  border-left: 1px solid var(--line-dark);
}

.loop-node::before {
  content: "";
  position: absolute;
  top: -27px;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--pine-bright);
  box-shadow: 0 0 0 1px var(--pine-bright);
}

.loop-origin::before,
.loop-node:last-child::before {
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.loop-hub {
  color: #f4efe3;
  background: var(--pine);
  box-shadow: var(--shadow);
  transform: translateY(-16px);
}

.loop-node span,
.loop-node strong {
  display: block;
}

.loop-node span {
  color: var(--copper);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.loop-hub span {
  color: var(--gold-light);
}

.loop-node strong {
  margin-top: 24px;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.25;
}

.loop-node p {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.loop-hub p {
  color: rgba(244, 239, 227, 0.64);
}

.network-ledger {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 50px;
  margin-top: 70px;
  padding: 40px;
  color: #f4efe3;
  background: var(--night-soft);
}

.ledger-title span,
.ledger-title strong {
  display: block;
}

.ledger-title span {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ledger-title strong {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.2;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ledger-grid article {
  padding: 4px 18px;
  border-left: 1px solid var(--line-light);
}

.ledger-grid strong,
.ledger-grid span,
.ledger-grid small {
  display: block;
}

.ledger-grid strong {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 30px;
}

.ledger-grid span {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
}

.ledger-grid small {
  margin-top: 7px;
  color: rgba(244, 239, 227, 0.48);
  font-size: 10px;
  line-height: 1.5;
}

.router-section,
.content-section,
.rules-section {
  color: #f4efe3;
  background: var(--night);
}

.router-shell,
.content-shell,
.rules-shell {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-heading.light > p,
.content-thesis > p {
  color: var(--gold-light);
}

.section-heading.light > span,
.content-thesis > span {
  color: rgba(244, 239, 227, 0.58);
}

.router-workbench {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
  min-height: 600px;
  margin-top: 66px;
  border: 1px solid var(--line-light);
  background: #0a1b17;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.24);
}

.traveler-brief {
  padding: 34px;
  border-right: 1px solid var(--line-light);
  background: #112a24;
}

.traveler-brief .form-head,
.meeting-card .form-head {
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}

.traveler-brief .form-head span,
.meeting-card .form-head span {
  font-family: var(--display);
  font-size: 22px;
}

.traveler-brief .form-head small,
.meeting-card .form-head small {
  color: rgba(244, 239, 227, 0.45);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.traveler-brief > label,
.meeting-card > label {
  display: block;
  margin-top: 18px;
}

.traveler-brief > label > span,
.traveler-brief legend,
.meeting-card > label > span {
  display: block;
  margin-bottom: 9px;
  color: rgba(244, 239, 227, 0.6);
  font-size: 11px;
  font-weight: 750;
}

.traveler-brief input,
.traveler-brief select,
.meeting-card input,
.meeting-card select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(244, 239, 227, 0.17);
  border-radius: 0;
  outline: none;
  color: #f4efe3;
  background: rgba(4, 16, 13, 0.48);
}

.traveler-brief input:focus,
.traveler-brief select:focus,
.meeting-card input:focus,
.meeting-card select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(226, 163, 62, 0.09);
}

.traveler-brief fieldset {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.need-grid label {
  position: relative;
}

.need-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.need-grid span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(244, 239, 227, 0.14);
  color: rgba(244, 239, 227, 0.64);
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s ease;
}

.need-grid input:checked + span {
  border-color: var(--gold);
  color: #2b1b08;
  background: var(--gold-light);
}

.traveler-brief > button,
.meeting-card > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  margin-top: 26px;
  padding: 0 17px;
  border: 0;
  border-radius: 0;
  color: #2b1b08;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 850;
  cursor: pointer;
}

.form-note,
#copyStatus {
  margin: 14px 0 0;
  color: rgba(244, 239, 227, 0.4);
  font-size: 10px;
  line-height: 1.6;
}

.route-output {
  position: relative;
  padding: 38px;
  overflow: hidden;
}

.route-output::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -220px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(226, 163, 62, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(226, 163, 62, 0.018), 0 0 0 140px rgba(226, 163, 62, 0.012);
}

.route-head {
  position: relative;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}

.route-head span,
.route-head strong {
  display: block;
}

.route-head span {
  color: rgba(244, 239, 227, 0.43);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.route-head strong {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 21px;
}

.route-state {
  padding: 7px 10px;
  border: 1px solid rgba(244, 239, 227, 0.14);
}

.route-timeline {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 360px;
  padding: 24px 0;
}

.route-timeline > p {
  align-self: center;
  max-width: 430px;
  margin: auto;
  color: rgba(244, 239, 227, 0.42);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.6;
  text-align: center;
}

.route-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(244, 239, 227, 0.12);
  background: rgba(255, 255, 255, 0.025);
  animation: routeIn 0.48s both;
}

.route-item-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(226, 163, 62, 0.38);
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 18px;
}

.route-item strong,
.route-item small {
  display: block;
}

.route-item strong {
  font-size: 13px;
}

.route-item small {
  margin-top: 4px;
  color: rgba(244, 239, 227, 0.45);
  font-size: 10px;
}

.route-item > span:last-child {
  color: #7fe0b8;
  font-size: 10px;
}

.route-principle {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.route-principle span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 850;
}

.route-principle p {
  margin: 0;
  color: rgba(244, 239, 227, 0.5);
  font-size: 11px;
  line-height: 1.65;
}

.partner-tabs {
  display: flex;
  margin-top: 60px;
  border-bottom: 1px solid var(--line-dark);
}

.partner-tabs button {
  position: relative;
  flex: 1;
  min-height: 58px;
  border: 0;
  color: #78827e;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.partner-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
}

.partner-tabs button.active {
  color: var(--pine);
}

.partner-tabs button.active::after {
  background: var(--gold);
}

.partner-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 410px;
  border-bottom: 1px solid var(--line-dark);
}

.partner-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  overflow: hidden;
  color: #f4efe3;
  background: var(--night-soft);
}

.partner-portrait::after {
  content: attr(data-mark);
  position: absolute;
  right: -8px;
  bottom: -45px;
  color: rgba(244, 239, 227, 0.045);
  font-family: var(--display);
  font-size: 240px;
  line-height: 1;
}

.partner-portrait > span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.partner-portrait h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: 45px;
  font-weight: 600;
}

.partner-portrait p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 120px 0 0;
  color: rgba(244, 239, 227, 0.62);
  font-size: 13px;
  line-height: 1.8;
}

.partner-value {
  padding: 48px;
}

.partner-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 34px;
}

.partner-value-grid article {
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.partner-value-grid span,
.partner-value-grid strong,
.partner-value-grid small {
  display: block;
}

.partner-value-grid span {
  color: var(--copper);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.partner-value-grid strong {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 22px;
}

.partner-value-grid small {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.partner-price-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.partner-price-line span,
.partner-price-line strong,
.partner-price-line small {
  display: block;
}

.partner-price-line span {
  color: var(--ink-soft);
  font-size: 11px;
}

.partner-price-line strong {
  margin-top: 8px;
  color: var(--pine);
  font-family: var(--display);
  font-size: 34px;
}

.partner-price-line small {
  max-width: 330px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
  text-align: right;
}

.content-shell {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.content-thesis {
  position: sticky;
  top: 120px;
  align-self: start;
}

.content-thesis h2 {
  font-size: clamp(40px, 5vw, 68px);
}

.content-ratio {
  padding-top: 18px;
}

.ratio-bar {
  display: flex;
  height: 62px;
  overflow: hidden;
}

.ratio-bar span {
  display: flex;
  width: var(--ratio);
  align-items: center;
  justify-content: center;
  color: var(--night);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
}

.ratio-forecast { background: var(--gold-light); }
.ratio-decision { background: #7fb6a4; }
.ratio-proof { background: #d8823b; }
.ratio-partner { background: #768c83; }

.ratio-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.ratio-legend p {
  display: grid;
  grid-template-columns: 9px 1fr;
  margin: 0;
}

.ratio-legend i {
  grid-row: span 2;
  width: 4px;
  height: 100%;
  background: var(--gold-light);
}

.ratio-legend i.decision { background: #7fb6a4; }
.ratio-legend i.proof { background: #d8823b; }
.ratio-legend i.partner { background: #768c83; }

.ratio-legend strong,
.ratio-legend span {
  margin-left: 10px;
}

.ratio-legend strong {
  font-size: 12px;
}

.ratio-legend span {
  margin-top: 4px;
  color: rgba(244, 239, 227, 0.44);
  font-size: 10px;
}

.seven-day-board {
  grid-column: 1 / -1;
  margin-top: 30px;
  border: 1px solid var(--line-light);
}

.board-head {
  padding: 25px 28px;
  border-bottom: 1px solid var(--line-light);
}

.board-head span,
.board-head strong {
  display: block;
}

.board-head span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.board-head strong {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 23px;
}

.board-head button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(244, 239, 227, 0.2);
  color: #f4efe3;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.day-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.day-track article {
  min-height: 190px;
  padding: 22px 16px;
}

.day-track article + article {
  border-left: 1px solid var(--line-light);
}

.day-track span,
.day-track strong {
  display: block;
}

.day-track span {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 19px;
}

.day-track strong {
  margin-top: 36px;
  font-size: 12px;
}

.day-track p {
  margin: 9px 0 0;
  color: rgba(244, 239, 227, 0.46);
  font-size: 10px;
  line-height: 1.6;
}

.content-formula {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding-top: 50px;
}

.content-formula > span {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
}

.content-formula ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-formula li {
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.content-formula b,
.content-formula strong,
.content-formula small {
  display: block;
}

.content-formula b {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 17px;
}

.content-formula strong {
  margin-top: 15px;
  font-size: 12px;
}

.content-formula small {
  margin-top: 8px;
  color: rgba(244, 239, 227, 0.42);
  font-size: 10px;
  line-height: 1.65;
}

.founder-offer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 65px;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.offer-main {
  position: relative;
  padding: 52px;
  color: #f4efe3;
  background:
    linear-gradient(120deg, rgba(7, 19, 16, 0.98), rgba(7, 19, 16, 0.75)),
    url("/assets/meili-viewpoints.jpg") center / cover;
}

.offer-label {
  display: inline-block;
  padding: 7px 9px;
  color: #2b1b08;
  background: var(--gold-light);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.offer-main h3 {
  margin: 28px 0 0;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
}

.offer-price {
  margin: 18px 0 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(54px, 7vw, 82px);
  line-height: 1;
}

.offer-price > span {
  margin-right: 7px;
  font-size: 24px;
}

.offer-price small {
  margin-left: 8px;
  color: rgba(244, 239, 227, 0.45);
  font-family: var(--body);
  font-size: 11px;
}

.offer-intro {
  max-width: 600px;
  color: rgba(244, 239, 227, 0.58);
  font-size: 12px;
  line-height: 1.7;
}

.offer-main ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.offer-main li {
  position: relative;
  padding-left: 18px;
  color: rgba(244, 239, 227, 0.72);
  font-size: 11px;
  line-height: 1.6;
}

.offer-main li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.offer-main > a {
  display: flex;
  justify-content: space-between;
  max-width: 280px;
  margin-top: 34px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.offer-terms {
  background: #e8e1d4;
}

.offer-terms article {
  padding: 36px;
}

.offer-terms article + article {
  border-top: 1px solid var(--line-dark);
}

.offer-terms span,
.offer-terms strong {
  display: block;
}

.offer-terms span {
  color: var(--copper);
  font-size: 10px;
  font-weight: 850;
}

.offer-terms strong {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 30px;
}

.offer-terms p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.partner-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  border: 1px solid var(--line-dark);
}

.partner-entry-grid article {
  padding: 32px;
}

.partner-entry-grid article + article {
  border-left: 1px solid var(--line-dark);
}

.partner-entry-grid span,
.partner-entry-grid strong {
  display: block;
}

.partner-entry-grid span {
  color: var(--copper);
  font-size: 10px;
  font-weight: 800;
}

.partner-entry-grid strong {
  margin-top: 18px;
  font-family: var(--display);
  font-size: 32px;
}

.partner-entry-grid strong small {
  margin-left: 4px;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 10px;
}

.partner-entry-grid p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.funding-math {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding: 32px 36px;
  color: #f4efe3;
  background: var(--copper);
}

.funding-math > div span,
.funding-math > div strong,
.funding-math > p b,
.funding-math > p small {
  display: block;
}

.funding-math > div span {
  color: #ffe3af;
  font-size: 10px;
  font-weight: 850;
}

.funding-math > div strong {
  margin-top: 9px;
  font-family: var(--display);
  font-size: 23px;
}

.funding-math > p {
  margin: 0;
  text-align: right;
}

.funding-math > p b {
  font-family: var(--display);
  font-size: 40px;
}

.funding-math > p small {
  margin-top: 4px;
  color: rgba(244, 239, 227, 0.65);
  font-size: 9px;
}

.funding-math .funding-note {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 239, 227, 0.22);
  color: rgba(244, 239, 227, 0.7);
  font-size: 10px;
  line-height: 1.6;
  text-align: left;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.rules-grid article {
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.rules-grid span,
.rules-grid strong {
  display: block;
}

.rules-grid span {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 26px;
}

.rules-grid strong {
  margin-top: 34px;
  font-size: 14px;
}

.rules-grid p {
  margin: 12px 0 0;
  color: rgba(244, 239, 227, 0.47);
  font-size: 11px;
  line-height: 1.75;
}

.meeting-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
}

.meeting-copy > p {
  color: var(--copper);
}

.meeting-copy ol {
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.meeting-copy li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.meeting-copy li span {
  color: var(--copper);
  font-weight: 850;
}

.meeting-card {
  align-self: start;
  padding: 34px;
  color: #f4efe3;
  background: var(--night-soft);
  box-shadow: var(--shadow);
}

.meeting-card .form-head {
  border-color: var(--line-light);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  padding: 32px max(28px, calc((100vw - 1180px) / 2));
  color: #f4efe3;
  background: var(--night);
}

footer p,
footer > a:last-child {
  color: rgba(244, 239, 227, 0.42);
  font-size: 10px;
}

footer > a:last-child {
  text-decoration: none;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(360px, calc(100% - 48px));
  padding: 13px 16px;
  color: #f4efe3;
  background: #10231e;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

.reveal.visible {
  animation: revealIn 0.7s ease both;
}

@keyframes pulse {
  to { opacity: 0.34; }
}

@keyframes routeIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes revealIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .partner-nav nav {
    display: none;
  }

  .partner-nav {
    grid-template-columns: 1fr auto;
  }

  .partner-hero {
    grid-template-columns: 1fr 390px;
    gap: 34px;
    padding-right: 30px;
    padding-left: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 6vw, 66px);
  }

  .loop-map {
    grid-template-columns: repeat(3, 1fr);
  }

  .loop-map::before,
  .loop-node::before {
    display: none;
  }

  .loop-hub {
    transform: none;
  }

  .network-ledger {
    grid-template-columns: 1fr;
  }

  .day-track {
    grid-template-columns: repeat(4, 1fr);
  }

  .day-track article {
    border-top: 1px solid var(--line-light);
  }

  .day-track article:nth-child(5) {
    border-left: 0;
  }
}

@media (max-width: 820px) {
  .partner-nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-cta {
    padding: 12px;
    font-size: 10px;
  }

  .partner-hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding: 130px 20px 60px;
    background:
      linear-gradient(180deg, rgba(5, 17, 14, 0.58), rgba(5, 17, 14, 0.96) 46%, rgba(5, 17, 14, 1) 100%),
      url("/assets/meili-night-dawn-mobile.jpg") top center / cover no-repeat;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

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

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .hero-proof article,
  .hero-proof article + article {
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 16px 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .hero-proof small {
    grid-column: 2;
  }

  .forecast-dossier {
    margin-top: 15px;
  }

  .thesis-band,
  .section-heading,
  .content-formula,
  .meeting-section {
    grid-template-columns: 1fr;
  }

  .thesis-band {
    gap: 16px;
    padding: 34px 22px;
  }

  .section-shell {
    width: min(calc(100% - 32px), 1180px);
  }

  .loop-section,
  .partner-types,
  .plans-section,
  .meeting-section,
  .router-shell,
  .content-shell,
  .rules-shell {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-heading > p {
    grid-row: auto;
    margin-bottom: 14px;
  }

  .loop-map {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .loop-node {
    min-height: auto;
    padding: 26px 20px;
    border-top: 1px solid var(--line-dark);
  }

  .loop-node strong {
    margin-top: 15px;
  }

  .network-ledger {
    padding: 28px;
  }

  .ledger-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .router-workbench,
  .partner-detail,
  .founder-offer {
    grid-template-columns: 1fr;
  }

  .traveler-brief {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .partner-tabs {
    overflow-x: auto;
  }

  .partner-tabs button {
    min-width: 120px;
  }

  .partner-portrait p {
    margin-top: 60px;
  }

  .content-shell {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .content-thesis {
    position: static;
  }

  .content-ratio {
    grid-column: 1;
  }

  .content-formula {
    gap: 22px;
  }

  .content-formula ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-entry-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .partner-entry-grid article + article {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .funding-math {
    grid-template-columns: 1fr;
  }

  .funding-math > p {
    text-align: left;
  }

  .meeting-section {
    gap: 48px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 20px;
  }
}

@media (max-width: 540px) {
  .partner-brand small,
  .nav-cta {
    display: none;
  }

  .partner-nav {
    padding-right: 14px;
  }

  .partner-nav::after {
    content: "合作演示";
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 800;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    justify-content: center;
  }

  .forecast-dossier,
  .traveler-brief,
  .route-output,
  .partner-portrait,
  .partner-value,
  .offer-main,
  .offer-terms article,
  .meeting-card {
    padding: 24px;
  }

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

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

  .forecast-strip article:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .ledger-grid,
  .partner-value-grid,
  .ratio-legend,
  .content-formula ol,
  .offer-main ul {
    grid-template-columns: 1fr;
  }

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

  .route-item {
    grid-template-columns: 40px 1fr;
  }

  .route-item > span:last-child {
    grid-column: 2;
  }

  .route-principle {
    grid-template-columns: 1fr;
  }

  .partner-price-line {
    align-items: start;
    flex-direction: column;
  }

  .partner-price-line small {
    text-align: left;
  }

  .day-track {
    grid-template-columns: 1fr;
  }

  .day-track article,
  .day-track article + article,
  .day-track article:nth-child(5) {
    min-height: auto;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .day-track strong {
    margin-top: 16px;
  }

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

  .offer-price {
    font-size: 56px;
  }
}

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

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

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