:root {
  color-scheme: dark;
  --ink: #f3f6f4;
  --muted: #a9b6b4;
  --quiet: #72817e;
  --charcoal: #080b0c;
  --charcoal-2: #0d1212;
  --panel: #111817;
  --panel-2: #161d1c;
  --line: rgba(225, 234, 230, 0.14);
  --line-strong: rgba(225, 234, 230, 0.24);
  --teal: #32d0bd;
  --teal-deep: #0f8f84;
  --brass: #d6b76b;
  --steel: #86a7b6;
  --signal: #c96c5d;
  --paper: #eef3ef;
  --paper-2: #dfe8e2;
  --paper-ink: #121716;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --max: 1160px;
  --header: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    var(--charcoal);
  background-size: 48px 48px;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  background: rgba(8, 11, 12, 0.46);
  backdrop-filter: blur(18px);
  transition:
    background 240ms ease,
    border-color 240ms ease,
    height 240ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  border-color: var(--line);
  background: rgba(8, 11, 12, 0.84);
}

.brand,
.nav-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 11px;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(50, 208, 189, 0.5);
  background:
    linear-gradient(135deg, rgba(50, 208, 189, 0.9), rgba(214, 183, 107, 0.78)),
    #10201e;
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  box-shadow: 0 0 28px rgba(50, 208, 189, 0.28);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(214, 183, 107, 0.42);
  color: #f4e5bd;
  font-size: 14px;
  font-weight: 620;
  background: rgba(214, 183, 107, 0.08);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-cta:hover {
  border-color: rgba(214, 183, 107, 0.72);
  background: rgba(214, 183, 107, 0.14);
  transform: translateY(-1px);
}

.nav-cta svg,
.button svg,
.loop-strip svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.section {
  position: relative;
  padding: clamp(76px, 8vw, 116px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  background: var(--paper);
  color: var(--paper-ink);
}

.section-dark {
  background: var(--charcoal);
  color: var(--ink);
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  min-height: min(760px, 88svh);
  padding-top: calc(var(--header) + 50px);
  padding-bottom: clamp(52px, 7vw, 88px);
  background:
    linear-gradient(115deg, rgba(8, 11, 12, 0.98) 0%, rgba(8, 11, 12, 0.82) 45%, rgba(17, 29, 27, 0.72) 100%),
    var(--charcoal);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(8, 11, 12, 0), var(--charcoal));
}

.hero-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 0;
  opacity: 0.88;
}

.hero-grid {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.22), #000 38%, rgba(0, 0, 0, 0.72));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1120px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1120px;
  font-size: clamp(40px, 4.3vw, 56px);
  line-height: 1.08;
  font-weight: 760;
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 760px;
  margin: 28px 0 0;
  color: #d6dfdc;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  color: #061110;
  background: linear-gradient(135deg, var(--teal), #b7dfd4 58%, var(--brass));
  box-shadow: 0 18px 48px rgba(50, 208, 189, 0.2);
}

.button-secondary {
  border-color: rgba(238, 246, 243, 0.25);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.065);
}

.button-secondary:hover {
  border-color: rgba(238, 246, 243, 0.44);
  background: rgba(255, 255, 255, 0.11);
}

.hero-visual-label {
  position: absolute;
  right: clamp(20px, 7vw, 90px);
  bottom: clamp(36px, 7vw, 88px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
  width: min(360px, 38vw);
  color: rgba(238, 246, 243, 0.72);
  font-size: 12px;
}

.hero-visual-label span {
  padding: 8px 10px;
  border: 1px solid rgba(238, 246, 243, 0.12);
  background: rgba(8, 11, 12, 0.34);
  backdrop-filter: blur(10px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.vision-copy h2,
.about-statement h2,
.final-cta h2 {
  max-width: 850px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.12;
  font-weight: 740;
}

.section-copy p:not(.eyebrow),
.section-heading p,
.vision-copy p,
.about-statement p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(18, 23, 22, 0.72);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.85;
}

.section-dark .section-heading p,
.section-dark .vision-copy p {
  color: rgba(243, 246, 244, 0.72);
}

.asset-list {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.asset-list div {
  position: relative;
  min-height: 64px;
  padding: 18px 18px 18px 48px;
  border: 1px solid rgba(18, 23, 22, 0.12);
  background:
    linear-gradient(90deg, rgba(50, 208, 189, 0.08), rgba(214, 183, 107, 0.05)),
    rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 40px rgba(20, 28, 26, 0.06);
}

.asset-list div::before {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--teal-deep);
  transform: rotate(45deg);
}

.asset-list span {
  font-weight: 720;
}

.pain-grid,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 7vw, 86px);
}

.pain-item,
.scenario-card,
.module-card {
  position: relative;
  border: 1px solid rgba(18, 23, 22, 0.12);
  background: rgba(255, 255, 255, 0.56);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.pain-item:hover,
.scenario-card:hover,
.module-card:hover {
  transform: translateY(-4px);
}

.pain-item,
.scenario-card {
  min-height: 190px;
  padding: 24px;
}

.pain-item svg,
.scenario-card svg {
  width: 28px;
  height: 28px;
  color: var(--teal-deep);
  stroke-width: 1.7;
}

.pain-item h3,
.scenario-card h3,
.module-card h3 {
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.35;
}

.pain-item p,
.scenario-card p,
.module-card p {
  margin: 12px 0 0;
  color: rgba(18, 23, 22, 0.66);
  font-size: 15px;
}

.thesis {
  width: min(100%, 960px);
  margin: clamp(34px, 5vw, 56px) auto 0;
  padding: 26px clamp(22px, 4vw, 40px);
  border-left: 4px solid var(--brass);
  color: var(--paper-ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 740;
  line-height: 1.38;
  background:
    linear-gradient(90deg, rgba(214, 183, 107, 0.18), rgba(50, 208, 189, 0.08)),
    rgba(255, 255, 255, 0.6);
}

.solution-section {
  background:
    linear-gradient(180deg, var(--charcoal), var(--charcoal-2) 52%, #0a0e0e),
    var(--charcoal);
}

.solution-section::before,
.vision-section::before,
.final-cta::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.section-heading p {
  margin: 0;
}

.solution-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(46px, 7vw, 86px);
}

.module-card {
  min-height: 280px;
  padding: 28px;
  border-color: rgba(238, 246, 243, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(13, 18, 18, 0.74);
}

.module-card::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--teal), rgba(214, 183, 107, 0.7), transparent);
  opacity: 0.58;
}

.module-card:hover {
  border-color: rgba(50, 208, 189, 0.34);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.module-card svg {
  width: 34px;
  height: 34px;
  margin-top: 34px;
  color: var(--teal);
  stroke-width: 1.6;
}

.module-card h3 {
  color: var(--ink);
}

.module-card p {
  color: rgba(243, 246, 244, 0.66);
}

.module-index {
  color: rgba(214, 183, 107, 0.9);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.loop-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(34px, 5vw, 54px);
  padding: 18px;
  border: 1px solid rgba(238, 246, 243, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.loop-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(238, 246, 243, 0.11);
  color: rgba(243, 246, 244, 0.88);
  background: rgba(255, 255, 255, 0.05);
}

.loop-strip svg {
  color: rgba(214, 183, 107, 0.8);
}

.pilot-section {
  background:
    linear-gradient(180deg, #eef3ef, #e2ebe6),
    var(--paper);
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.scenario-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 210px;
}

.scenario-before,
.scenario-after {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgba(18, 23, 22, 0.13);
}

.scenario-before {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(18, 23, 22, 0.035) 0,
      rgba(18, 23, 22, 0.035) 1px,
      transparent 1px,
      transparent 12px
    ),
    rgba(255, 255, 255, 0.46);
}

.scenario-after {
  border-color: rgba(15, 143, 132, 0.28);
  background:
    linear-gradient(135deg, rgba(50, 208, 189, 0.16), rgba(214, 183, 107, 0.1)),
    rgba(255, 255, 255, 0.6);
}

.scenario-panel > svg {
  align-self: center;
  justify-self: center;
  width: 30px;
  height: 30px;
  color: var(--teal-deep);
  stroke-width: 1.6;
}

.scenario-panel span {
  color: rgba(18, 23, 22, 0.54);
  font-size: 13px;
  font-weight: 720;
}

.scenario-panel strong {
  margin-top: 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.28;
}

.scenario-card:hover {
  border-color: rgba(15, 143, 132, 0.28);
  box-shadow: 0 24px 60px rgba(20, 28, 26, 0.08);
}

.thesis-light {
  background:
    linear-gradient(90deg, rgba(50, 208, 189, 0.14), rgba(214, 183, 107, 0.15)),
    rgba(255, 255, 255, 0.5);
}

.vision-section {
  background:
    linear-gradient(135deg, #080b0c 0%, #101816 55%, #191812 100%),
    var(--charcoal);
}

.vision-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: center;
}

.vision-number {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 183, 107, 0.24);
  color: rgba(214, 183, 107, 0.9);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 760;
  line-height: 1;
  background:
    linear-gradient(135deg, rgba(214, 183, 107, 0.11), rgba(50, 208, 189, 0.07)),
    rgba(255, 255, 255, 0.035);
}

.about-section {
  background: #eef3ef;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-list div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 14px 18px;
  border: 1px solid rgba(18, 23, 22, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

.capability-list svg {
  width: 24px;
  height: 24px;
  color: var(--teal-deep);
  stroke-width: 1.7;
}

.capability-list span {
  font-weight: 720;
}

.final-cta {
  text-align: center;
  background:
    linear-gradient(180deg, #080b0c, #111716),
    var(--charcoal);
}

.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta h2 {
  max-width: 930px;
}

.final-support {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(243, 246, 244, 0.68);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.75;
}

.final-cta .button {
  margin-top: 36px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #080b0c;
  color: rgba(243, 246, 244, 0.56);
  font-size: 14px;
}

.site-footer a {
  color: rgba(214, 183, 107, 0.86);
}

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

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

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

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

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

  .hero {
    display: block;
    min-height: auto;
    padding-top: calc(var(--header) + 70px);
  }

  .hero-content {
    width: min(880px, calc(100% - 40px));
    margin-left: clamp(18px, 4vw, 56px);
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-visual-label {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 3;
    width: min(calc(100% - 40px), 520px);
    margin-top: 34px;
    margin-left: clamp(18px, 4vw, 56px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .section-heading,
  .pilot-layout,
  .vision-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .scenario-grid,
  .solution-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vision-number {
    min-height: 180px;
    justify-content: flex-start;
    padding: 28px;
  }
}

@media (max-width: 680px) {
  :root {
    --header: 64px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }

  .nav-cta svg {
    display: none;
  }

  .section {
    padding: 76px 18px;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 54px;
  }

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

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

  .hero-actions,
  .final-cta-inner {
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
  }

  .pain-grid,
  .scenario-grid,
  .solution-flow {
    grid-template-columns: 1fr;
  }

  .pain-item,
  .scenario-card,
  .module-card {
    min-height: auto;
  }

  .scenario-panel {
    grid-template-columns: 1fr;
  }

  .scenario-panel > svg {
    transform: rotate(90deg);
  }

  .loop-strip {
    justify-content: flex-start;
  }

  .loop-strip svg {
    transform: rotate(90deg);
  }

  .loop-strip span {
    flex: 1 1 112px;
  }

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