:root {
  --ink: #14532d;
  --jade: #0f6b5f;
  --gold: #ca8a04;
  --paper: #fafaf7;
  --paper-deep: #f0f4ec;
  --night: #052e16;
  --text: #27272a;
  --muted: #5f635f;
  --line: #d9ded3;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(5, 46, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.68;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 83, 45, 0.05), rgba(250, 250, 247, 0) 340px),
    repeating-linear-gradient(90deg, rgba(20, 83, 45, 0.035) 0, rgba(20, 83, 45, 0.035) 1px, transparent 1px, transparent 88px);
}

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

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

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

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(217, 222, 211, 0.82);
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(250, 250, 247, 0.28);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(250, 250, 247, 0.16), rgba(250, 250, 247, 0.04));
  line-height: 0;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.site-header .brand-mark {
  width: 38px;
  height: 38px;
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
  font-size: 17px;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
  line-height: 1.2;
}

.brand strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.brand em {
  color: var(--muted);
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(217, 222, 211, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(20, 83, 45, 0.08);
}

.hero {
  padding: 56px 0 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 64px;
  align-items: center;
  min-height: 590px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(38px, 4.3vw, 61px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(32px, 3.7vw, 52px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.26;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.82;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(20, 83, 45, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
}

.hero-system {
  position: relative;
  min-height: 470px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(202, 138, 4, 0.12), transparent 34%),
    linear-gradient(140deg, var(--night), #0c472f 58%, var(--jade));
  border: 1px solid rgba(5, 46, 22, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 250, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 247, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.22;
}

.system-brand,
.system-title,
.system-lines {
  position: relative;
  z-index: 1;
}

.system-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(250, 250, 247, 0.18);
  background: rgba(250, 250, 247, 0.08);
}

.system-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.system-brand strong,
.system-brand em {
  display: block;
  font-style: normal;
  line-height: 1.25;
}

.system-brand strong {
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

.system-brand em {
  color: rgba(250, 250, 247, 0.58);
  font-family: Manrope, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.system-title {
  display: grid;
  gap: 6px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250, 250, 247, 0.18);
}

.system-title span {
  color: rgba(250, 250, 247, 0.62);
  font-size: 14px;
}

.system-title strong {
  color: #fefce8;
  font-size: 26px;
  line-height: 1.25;
}

.system-lines {
  display: grid;
  gap: 18px;
}

.system-lines div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
}

.system-lines span {
  grid-row: span 2;
  color: #facc15;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 900;
}

.system-lines strong {
  font-size: 17px;
}

.system-lines p {
  margin-bottom: 0;
  color: rgba(250, 250, 247, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-row div {
  min-height: 112px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
}

.proof-row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.proof-row span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 90px 0;
  border-top: 1px solid rgba(217, 222, 211, 0.88);
}

.works-section,
.solutions-section {
  background: rgba(240, 244, 236, 0.55);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.48fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.section-heading > p:not(.eyebrow),
.compact > p:not(.eyebrow),
.work-primary p,
.work-secondary p,
.solution-list p,
.learning-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.works-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.68fr);
  gap: 22px;
}

.work-primary,
.work-secondary article,
.solution-list article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.work-primary {
  min-height: 560px;
  padding: 38px;
  background:
    linear-gradient(145deg, rgba(202, 138, 4, 0.14), transparent 38%),
    var(--ink);
  color: var(--white);
}

.work-primary h3 {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(34px, 4.2vw, 56px);
}

.work-primary p {
  max-width: 720px;
  color: rgba(250, 250, 247, 0.78);
  font-size: 18px;
}

.work-number {
  margin-bottom: 28px;
  color: var(--gold);
  font-family: Manrope, Arial, sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.work-kicker {
  margin-bottom: 8px;
  color: var(--gold) !important;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 900;
  text-transform: uppercase;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.work-tags span,
.learning-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(250, 250, 247, 0.22);
  color: rgba(250, 250, 247, 0.82);
  font-size: 13px;
}

.model-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(250, 250, 247, 0.16);
}

.diagram-row {
  position: relative;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(250, 250, 247, 0.16);
  background: rgba(250, 250, 247, 0.06);
}

.diagram-row:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 1px;
  background: rgba(250, 250, 247, 0.3);
}

.diagram-row span,
.diagram-row strong,
.diagram-row em {
  display: block;
}

.diagram-row span {
  margin-bottom: 8px;
  color: #facc15;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.diagram-row strong {
  color: rgba(250, 250, 247, 0.88);
  font-size: 14px;
  line-height: 1.45;
}

.diagram-row em {
  margin-top: 10px;
  color: rgba(250, 250, 247, 0.62);
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
}

.diagram-row.emphasized {
  background: rgba(250, 250, 247, 0.12);
  border-color: rgba(250, 250, 247, 0.26);
}


.work-secondary {
  display: grid;
  gap: 22px;
}

.work-secondary article {
  min-height: 224px;
  padding: 28px;
}

.work-secondary .work-number {
  margin-bottom: 24px;
  font-size: 34px;
}

.split-section,
.learning-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 72px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 0;
}

.section-heading.compact .eyebrow {
  margin-bottom: 16px;
}

.judgement-list {
  border-top: 1px solid var(--line);
}

.judgement-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.judgement-list span {
  color: var(--gold);
  font-family: Manrope, Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.judgement-list p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 21px;
  font-weight: 760;
  line-height: 1.58;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-list article {
  min-height: 238px;
  padding: 26px;
  border-top: 0;
  border-left: 0;
}

.solution-list span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.learning-copy {
  max-width: 690px;
}

.learning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.learning-tags span {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: center;
  margin-bottom: 92px;
  padding: 46px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(202, 138, 4, 0.15), transparent 35%),
    var(--night);
}

.contact-section .eyebrow,
.contact-section h2 {
  color: var(--white);
}

.contact-section h2 {
  max-width: 900px;
  font-size: clamp(28px, 3.1vw, 44px);
}

.contact-section p {
  max-width: 820px;
  color: rgba(250, 250, 247, 0.76);
}

.contact-section .button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(250, 250, 247, 0.28);
}

.contact-qrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-qrs.single {
  grid-template-columns: minmax(180px, 230px);
  justify-content: end;
}

.qr-card {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(250, 250, 247, 0.18);
  border-radius: 8px;
  background: rgba(250, 250, 247, 0.96);
  color: var(--text);
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
  object-position: center 54%;
  background: var(--white);
}

.qr-card figcaption {
  display: grid;
  gap: 2px;
  margin-top: 10px;
  text-align: center;
}

.qr-card strong {
  color: var(--ink);
  font-size: 15px;
}

.qr-card span {
  color: var(--muted);
  font-size: 12px;
}

.footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: inherit;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero-layout,
  .section-heading,
  .works-layout,
  .split-section,
  .learning-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 30px, 1160px);
  }

  .site-header {
    min-height: 66px;
    padding: 0 15px;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 22px;
  }

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

  .hero-system,
  .work-primary,
  .work-secondary article,
  .contact-section {
    padding: 24px;
  }

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

  .system-brand {
    margin-bottom: 42px;
  }

  .proof-row,
  .solution-list,
  .contact-qrs {
    grid-template-columns: 1fr;
  }

  .contact-qrs.single {
    justify-content: stretch;
  }

  .section {
    padding: 68px 0;
  }

  .work-primary {
    min-height: auto;
  }

  .model-diagram {
    grid-template-columns: 1fr;
  }

  .diagram-row:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -12px;
    left: 22px;
    width: 1px;
    height: 12px;
  }

  .judgement-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .judgement-list p {
    font-size: 18px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
