:root {
  color-scheme: dark;
  --bg: #07100f;
  --bg-2: #0b1715;
  --panel: #101f1d;
  --panel-2: #142824;
  --line: rgba(225, 245, 238, 0.14);
  --text: #f4fbf7;
  --muted: #9fb4ad;
  --soft: #cce4dc;
  --cyan: #5ee6d1;
  --green: #9df06f;
  --blue: #7ca7ff;
  --amber: #f2bf5e;
  --danger: #ff6b6b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--text);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--text);
  color: #07100f;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 16, 15, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(244, 251, 247, 0.16), 0 10px 24px rgba(77, 240, 213, 0.14);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--soft);
  font-size: 14px;
}

.site-nav a,
.ghost-link {
  color: var(--soft);
}

.site-nav a:hover,
.ghost-link:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.solid-link,
.button.primary {
  background: var(--text);
  color: #08110f;
}

.solid-link {
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(18px, 7vw, 108px) 72px;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("muxllm-product-home.png");
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  filter: saturate(0.92) contrast(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7,16,15,0.95) 0%, rgba(7,16,15,0.88) 32%, rgba(7,16,15,0.55) 62%, rgba(7,16,15,0.74) 100%),
    linear-gradient(180deg, rgba(7,16,15,0.7) 0%, rgba(7,16,15,0.2) 54%, rgba(7,16,15,0.92) 100%);
}

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

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 11vw, 154px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: var(--soft);
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(244,251,247,0.4);
}

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

.button.quiet {
  color: var(--soft);
  background: rgba(0,0,0,0.16);
}

.button.compact {
  min-height: 44px;
  margin-top: 18px;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 40px 0 0;
}

.signal-row div {
  border-left: 2px solid var(--cyan);
  padding-left: 14px;
}

.signal-row dt {
  color: var(--text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.signal-row dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.status-band {
  padding: 0 clamp(18px, 7vw, 108px);
  background: #0a1413;
}

.band-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
}

.band-inner > div {
  min-height: 112px;
  padding: 24px;
  background: #0a1413;
}

.label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.band-inner a {
  color: var(--text);
  font-weight: 800;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 7vw, 108px);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow),
.product-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.client-grid article,
.steps li,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 31, 29, 0.82);
}

.feature-card {
  min-height: 260px;
  padding: 24px;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card p,
.client-grid p,
.steps p,
.faq-list p {
  color: var(--muted);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  background: #eef5f2;
  color: #07100f;
}

.product-section .eyebrow {
  color: #0d766d;
}

.product-copy p {
  color: #40514d;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-cloud span {
  padding: 7px 10px;
  border: 1px solid rgba(7,16,15,0.14);
  border-radius: 999px;
  color: #233330;
  font-size: 13px;
}

.product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7,16,15,0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7,16,15,0.22);
}

.product-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.clients-section {
  background: #07100f;
}

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

.client-grid article {
  padding: 24px;
  min-height: 176px;
}

.workflow-section {
  background: #0c1715;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  padding: 22px;
}

.steps span {
  display: block;
  margin-bottom: 36px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 0 clamp(18px, 7vw, 108px) clamp(76px, 10vw, 120px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f8f5;
  color: #07100f;
}

.final-cta .eyebrow {
  color: #0d766d;
}

.final-cta p {
  color: #40514d;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 36px clamp(18px, 7vw, 108px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  body.nav-open .site-nav,
  body.nav-open .header-actions {
    position: fixed;
    left: 18px;
    right: 18px;
    display: grid;
    z-index: 120;
    border: 1px solid var(--line);
    background: #07100f;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    top: 86px;
    gap: 0;
  }

  body.nav-open .site-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .header-actions {
    top: 401px;
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .feature-grid,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .hero {
    min-height: 86svh;
    padding-top: 112px;
    align-items: flex-end;
  }

  .hero-media {
    background-position: 58% top;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7,16,15,0.62) 0%, rgba(7,16,15,0.82) 42%, rgba(7,16,15,0.98) 100%),
      linear-gradient(90deg, rgba(7,16,15,0.82), rgba(7,16,15,0.72));
  }

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

  .hero-actions,
  .final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .signal-row,
  .band-inner,
  .feature-grid,
  .client-grid,
  .steps,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .band-inner {
    gap: 1px;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-kicker,
  .steps span {
    margin-bottom: 24px;
  }

  .section-heading {
    text-align: left;
  }

  .final-cta {
    margin-left: 18px;
    margin-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
