:root {
  --pine: #102923;
  --pine-deep: #0c1e1a;
  --pine-mid: #16352c;
  --pine-soft: #1d493e;
  --ivory: #fbf8f2;
  --paper: #fffdf9;
  --sand: #e9e3d7;
  --gold: #c4a15a;
  --gold-deep: #b38a4d;
  --gold-soft: #d0b178;
  --ink: #17231f;
  --muted: #6b7871;
  --line: #ddd7ca;
  --teal: #3f786b;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(34, 43, 39, 0.1);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI", Aptos, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--ivory);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

::selection {
  background: #e8efe9;
  color: var(--pine);
}

.wrap {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.rule {
  width: 46px;
  height: 2px;
  margin: 22px 0 0;
  background: var(--gold);
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(251, 248, 242, 0.9);
  border-bottom-color: rgba(157, 145, 124, 0.22);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e8dfd0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nav.is-scrolled .brand {
  color: var(--pine);
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(232, 223, 208, 0.78);
}

.nav.is-scrolled .nav-links {
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.nav.is-scrolled .nav-links a:hover {
  color: var(--pine);
}

.nav-cta {
  padding: 8px 16px;
  border: 1px solid rgba(212, 184, 130, 0.45);
  border-radius: 999px;
  color: var(--gold-soft) !important;
}

.nav.is-scrolled .nav-cta {
  border-color: rgba(179, 138, 77, 0.45);
  color: var(--pine) !important;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0d211c 0%, #14362e 66%, #1d493e 100%);
}

.hero-rings {
  position: absolute;
  right: -8%;
  top: 42%;
  width: min(78vw, 680px);
  height: min(78vw, 680px);
  transform: translateY(-50%);
  border: 1px solid rgba(218, 193, 151, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.hero-rings::before,
.hero-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-rings::before {
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-rings::after {
  inset: 30%;
  border: 36px solid rgba(179, 138, 77, 0.16);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 48px) 0 88px;
  max-width: 760px;
}

.hero-tag {
  display: inline-flex;
  margin-bottom: 32px;
  padding: 8px 14px;
  border: 1px solid rgba(216, 190, 148, 0.42);
  border-radius: 999px;
  color: #e8dfd0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(46px, 7.2vw, 84px);
  line-height: 1.02;
  color: #f7f3ea;
  text-wrap: balance;
}

.hero-lead {
  max-width: 540px;
  margin-top: 28px;
  color: #c9d8d2;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
}

/* ——— Shared sections ——— */
.section {
  padding: 120px 0;
}

.section.tight {
  padding-top: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(32px, 4.2vw, 46px);
  text-wrap: balance;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

/* ——— Problem ——— */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.metric {
  padding: 36px 32px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-deep);
}

.metric:nth-child(2) {
  border-top-color: var(--teal);
}

.metric:nth-child(3) {
  border-top-color: #8e7b62;
}

.metric strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--pine);
}

.metric span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.source {
  margin-top: 22px;
  max-width: 760px;
  color: #8a918a;
  font-size: 12px;
  line-height: 1.5;
}

/* ——— Solution ——— */
.solution {
  background: linear-gradient(180deg, #faf8f3 0%, #f3eee4 100%);
}

.twins {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
}

.twin {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 40px 36px;
  color: #fff;
  border-radius: 16px;
}

.twin.client {
  background: linear-gradient(145deg, #183b33, #25584c);
}

.twin.bank {
  background: linear-gradient(145deg, #325e54, #477d70);
}

.twin::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.twin h3 {
  position: relative;
  z-index: 1;
  font-size: 32px;
}

.twin p {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin-top: 14px;
  color: #dce7e2;
  font-size: 16px;
  line-height: 1.6;
}

.twin-x {
  align-self: center;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid #d5cab8;
  color: var(--pine);
  font-family: var(--serif);
  font-size: 22px;
  box-shadow: 0 0 0 8px #e7e0d2;
}

.copilot-band {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
  padding: 22px 28px;
  border: 1px solid #dfcba8;
  background: #f3ecdf;
  color: #56452f;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.copilot-band b {
  font-weight: 600;
}

.copilot-band span {
  color: var(--gold-deep);
}

.compound-loop {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px) 1fr;
  gap: 8px;
  align-items: end;
  margin-top: 28px;
}

.compound-arm {
  position: relative;
  height: 82px;
}

.compound-arm span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c714b;
  white-space: nowrap;
}

.compound-arm svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 64px;
  overflow: visible;
}

.compound-hub {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #cbd9d3;
  border-radius: 14px;
  background: #edf3f0;
  color: var(--pine);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-align: center;
}

/* ——— Product ——— */
.workspaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.workspace {
  padding: 36px 32px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.workspace .num {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.workspace h3 {
  margin: 18px 0 12px;
  font-size: 28px;
}

.workspace p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.loop-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 36px 40px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.loop-card .num {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loop-card h3 {
  margin: 14px 0 12px;
  font-size: 28px;
}

.loop-card .loop-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 420px;
}

.loop-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.loop-steps > div {
  padding-top: 4px;
  border-top: 2px solid var(--gold-deep);
}

.loop-steps > div:nth-child(2) { border-top-color: var(--teal); }
.loop-steps > div:nth-child(3) { border-top-color: #8e7b62; }
.loop-steps > div:nth-child(4) { border-top-color: var(--pine); }

.loop-steps span {
  display: block;
  margin-top: 12px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.loop-steps strong {
  display: block;
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--pine);
}

.loop-steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ——— Values ——— */
.values {
  background: linear-gradient(180deg, #faf8f3 0%, #f3eee4 100%);
}

.values .section-head {
  max-width: 820px;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.value-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 24px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold-deep);
}

.value-card:nth-child(2)::before,
.value-card:nth-child(4)::before {
  background: var(--teal);
}

.value-card:nth-child(3)::before {
  background: #817568;
}

.value-no {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0eadf;
  color: #8b7045;
  font-family: var(--serif);
  font-size: 18px;
}

.value-card:nth-child(2) .value-no,
.value-card:nth-child(4) .value-no {
  background: #e6efeb;
  color: #3e7466;
}

.value-card:nth-child(3) .value-no {
  background: #ece9e4;
  color: #70675e;
}

.value-label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #85745c;
}

.value-card:nth-child(2) .value-label,
.value-card:nth-child(4) .value-label {
  color: #477a6c;
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.value-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.lightweight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #d7cbb8;
  border-radius: 15px;
  background: #f2ece1;
}

.lightweight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px;
  color: #fff;
  border-radius: 13px;
  background: linear-gradient(145deg, #102923, #183e35);
}

.lightweight-copy small {
  margin-bottom: 8px;
  color: #d5b77d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lightweight-copy strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.lightweight-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lightweight-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #ddd4c7;
  border-radius: 11px;
  color: #42524c;
  font-size: 15px;
}

.lightweight-points b {
  flex: 0 0 auto;
  color: #a47e45;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ——— Team ——— */
.team-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
}

.founder {
  padding: 44px 40px;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(145deg, #102923, #1a4439);
}

.founder h3 {
  margin: 0 0 16px;
  font-size: 40px;
}

.founder > p {
  max-width: 520px;
  color: #cfddd7;
  font-size: 17px;
  line-height: 1.6;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.strengths div {
  padding: 16px 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.strengths strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.strengths span {
  display: block;
  margin-top: 6px;
  color: #c6d5cf;
  font-size: 12px;
  line-height: 1.35;
}

.caps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cap {
  flex: 1;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cap .num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ece7dc;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.cap strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.cap p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.logo-wall {
  margin-top: 36px;
}

.logo-wall-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #727b75;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.logo-tile {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid #e1dbcf;
  border-radius: 10px;
  overflow: hidden;
}

.logo-tile img {
  max-width: 88%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-tile img[alt="NVIDIA"],
.logo-tile img[alt="Huawei"],
.logo-tile img[alt="Citi"],
.logo-tile img[alt="CICC"],
.logo-tile img[alt="Tsinghua"] {
  max-width: 94%;
  max-height: 48px;
}

.logo-tile.wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3e4b46;
}

.dotmark {
  color: #6cae45;
}

/* ——— Contact ——— */
.contact {
  position: relative;
  overflow: hidden;
  padding: 128px 0 72px;
  color: #fff;
  background: linear-gradient(135deg, #0d211c 0%, #14362e 66%, #1d493e 100%);
}

.contact-rings {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(218, 193, 151, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.contact-rings::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 28px solid rgba(179, 138, 77, 0.14);
  border-radius: 50%;
}

.contact .wrap {
  position: relative;
  z-index: 1;
}

.contact .kicker {
  color: var(--gold-soft);
}

.contact h2 {
  max-width: 640px;
  font-size: clamp(36px, 5vw, 56px);
  color: #f7f3ea;
}

.contact-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.contact-mail {
  display: inline-block;
  margin-top: 36px;
  color: var(--gold-soft);
  font-size: 22px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(208, 177, 120, 0.45);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-mail:hover {
  color: #e8dfd0;
  border-bottom-color: #e8dfd0;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.qr-card {
  margin: 0;
  padding: 14px 14px 12px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 13px;
  text-align: center;
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
}

.qr-card figcaption {
  margin-top: 10px;
  color: #2f453e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 88px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a8b8b1;
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-2 { animation-delay: 0.12s; }
.reveal-3 { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-2,
  .reveal-3 {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ——— 404 ——— */
.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, #0d211c 0%, #14362e 66%, #1d493e 100%);
  color: #f7f3ea;
}

.notfound h1 {
  font-size: clamp(42px, 8vw, 72px);
}

.notfound p {
  margin: 18px 0 32px;
  color: #c9d8d2;
}

.notfound a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(208, 177, 120, 0.45);
  padding-bottom: 3px;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .wrap,
  .nav-inner {
    width: min(1120px, calc(100% - 40px));
  }

  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .section {
    padding: 88px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .metrics,
  .workspaces,
  .team-grid,
  .twins,
  .contact-row,
  .value-grid,
  .lightweight,
  .loop-card,
  .compound-loop {
    grid-template-columns: 1fr;
  }

  .loop-card {
    grid-column: auto;
    gap: 24px;
    padding: 28px 24px;
  }

  .loop-steps {
    grid-template-columns: 1fr 1fr;
  }

  .compound-arm {
    height: auto;
    text-align: center;
    padding: 6px 0;
  }

  .compound-arm svg {
    display: none;
  }

  .compound-arm span {
    position: static;
    transform: none;
  }

  .compound-arm.right {
    display: none;
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .qr-grid {
    max-width: none;
  }

  .lightweight-points {
    grid-template-columns: 1fr;
  }

  .twin-x {
    justify-self: center;
    transform: rotate(90deg);
    box-shadow: 0 0 0 8px #efe9dc;
  }

  .copilot-band {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .strengths {
    grid-template-columns: 1fr;
  }

  .hero-rings {
    opacity: 0.55;
    right: -28%;
  }

  .footer {
    flex-direction: column;
  }
}
