:root {
  --ink: #10141f;
  --muted: #596170;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: rgba(16, 20, 31, 0.12);
  --cyan: #00a3b8;
  --green: #2fa66a;
  --coral: #ff6b4a;
  --gold: #c99322;
  --shadow: 0 24px 80px rgba(16, 20, 31, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(247, 245, 239, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-size: 14px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  color: rgba(16, 20, 31, 0.78);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

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

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 76svh, 720px);
  padding: clamp(34px, 6vh, 58px) clamp(18px, 6vw, 86px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 245, 239, 0.96) 0%, rgba(247, 245, 239, 0.76) 39%, rgba(247, 245, 239, 0.1) 73%),
    linear-gradient(180deg, rgba(247, 245, 239, 0.12) 0%, rgba(247, 245, 239, 0.86) 100%),
    url("assets/agent-hero.png") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--coral), var(--gold));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(16, 20, 31, 0.78);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.proof-strip {
  background: var(--paper);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 780;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

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

.button.primary {
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
}

.button.secondary {
  border: 1px solid rgba(16, 20, 31, 0.18);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(16, 20, 31, 0.36);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 0;
}

.hero-metrics div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 50px rgba(16, 20, 31, 0.08);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 850;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.band {
  background: var(--surface);
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 112px) 0;
}

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

.section-heading h2,
.intro h2,
.method h2,
.contact h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker),
.intro-grid > p,
.method-grid > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
}

.intro-grid > p {
  margin: 0;
}

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

.thesis-card,
.venture-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 46px rgba(16, 20, 31, 0.06);
}

.thesis-card {
  min-height: 288px;
  padding: 26px;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 163, 184, 0.12);
  color: var(--cyan);
}

.card-icon.coral {
  background: rgba(255, 107, 74, 0.12);
  color: var(--coral);
}

.card-icon.green {
  background: rgba(47, 166, 106, 0.13);
  color: var(--green);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.thesis-card h3,
.venture-card h3,
.capability-list h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.thesis-card p,
.venture-card p,
.capability-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.stack {
  background:
    linear-gradient(90deg, rgba(16, 20, 31, 0.94), rgba(16, 20, 31, 0.86)),
    var(--ink);
  color: var(--surface);
}

.stack .section-kicker {
  color: #61d7df;
}

.stack .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.stack-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

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

.capability-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 4px 18px;
  min-height: 126px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.capability-list span {
  grid-row: 1 / span 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #9ee8e8;
  font-size: 13px;
  font-weight: 800;
}

.capability-list h3 {
  margin: 0;
}

.capability-list p {
  color: rgba(255, 255, 255, 0.68);
}

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

.venture-card {
  min-height: 418px;
  padding: 26px;
}

.venture-card.featured {
  border-color: rgba(0, 163, 184, 0.38);
  box-shadow: 0 26px 80px rgba(0, 163, 184, 0.14);
}

.venture-topline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 780;
}

.venture-topline svg {
  width: 18px;
  height: 18px;
}

.venture-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.venture-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(16, 20, 31, 0.76);
  font-size: 14px;
  line-height: 1.55;
}

.venture-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.method {
  background: #ebe7dc;
}

.method-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(144px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 84px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(16, 20, 31, 0.14);
}

.timeline strong {
  font-size: 15px;
  line-height: 1.5;
}

.timeline span {
  color: var(--muted);
  line-height: 1.7;
}

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

.question-grid a {
  display: flex;
  min-height: 206px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
  line-height: 1.45;
  box-shadow: 0 14px 46px rgba(16, 20, 31, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.question-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 74, 0.42);
}

.question-grid span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.contact {
  background: var(--ink);
  color: var(--surface);
}

.contact .section-kicker {
  color: #92dfe3;
}

.contact h2 {
  max-width: 760px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  align-self: end;
}

.contact-link {
  display: flex;
  align-items: center;
  min-height: 58px;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 720;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.contact-link:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.1);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  color: #92dfe3;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: #0a0d14;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 940px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 76svh;
    padding-top: 58px;
    background:
      linear-gradient(180deg, rgba(247, 245, 239, 0.96) 0%, rgba(247, 245, 239, 0.82) 52%, rgba(247, 245, 239, 0.26) 100%),
      url("assets/agent-hero.png") center bottom / cover no-repeat;
  }

  .intro-grid,
  .stack-layout,
  .method-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .thesis-grid,
  .venture-grid,
  .question-grid {
    grid-template-columns: 1fr;
  }

  .thesis-card,
  .venture-card,
  .question-grid a {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 76svh;
    padding-inline: 18px;
  }

  .hero h1 {
    max-width: 10ch;
  }

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

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1160px);
  }

  .hero-metrics div {
    min-height: 86px;
  }

  .section-shell {
    width: min(100% - 28px, 1160px);
    padding: 58px 0;
  }

  .section-heading h2,
  .intro h2,
  .method h2,
  .contact h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .capability-list article {
    grid-template-columns: 1fr;
  }

  .capability-list span {
    grid-row: auto;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
}
