/* —— Hero —— */
.hero {
  padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(4.5rem, 10vw, 7rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: end;
}

.hero__eyebrow {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__support {
  margin: 0 0 0.85rem;
  max-width: 34rem;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  color: var(--muted);
}

.hero__question {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  justify-self: end;
  width: min(100%, 22rem);
}

.hero-path {
  border-left: 1px solid var(--ink);
  padding: 0.25rem 0 0.25rem 1.5rem;
  display: grid;
  gap: 1.75rem;
}

.hero-path__step {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 650ms var(--ease),
    transform 650ms var(--ease);
}

.hero-path.is-ready .hero-path__step {
  opacity: 1;
  transform: none;
}

.hero-path.is-ready .hero-path__step:nth-child(2) {
  transition-delay: 140ms;
}

.hero-path.is-ready .hero-path__step:nth-child(3) {
  transition-delay: 280ms;
}

.hero-path__label {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.hero-path__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}

.hero-path__step--accent .hero-path__value {
  color: var(--accent);
}

.hero-path__line {
  width: 1px;
  height: 1.25rem;
  margin: -0.65rem 0 -0.65rem -1.5rem;
  background: var(--line-strong);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 500ms var(--ease);
}

.hero-path.is-ready .hero-path__line {
  transform: scaleY(1);
}

.hero-path.is-ready .hero-path__line:nth-of-type(2) {
  transition-delay: 160ms;
}

.hero-path.is-ready .hero-path__line:nth-of-type(4) {
  transition-delay: 300ms;
}

/* —— Problem —— */
.problem .section__title {
  max-width: 14ch;
}

.problem__note {
  margin: 1.75rem 0 0;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

/* —— Sees / assembly —— */
.sees {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.sees__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.sees__list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.sees__list li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.7rem;
  color: var(--muted);
}

.sees__list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.55rem;
  background: var(--accent);
}

/* —— Scorer —— */
.scorer {
  background: var(--bg);
}

.scorer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* —— Products / system —— */
.products {
  background: var(--bg-muted);
  border-block: 1px solid var(--line);
}

.products .section__title {
  max-width: 18ch;
}

/* —— AI Layer —— */
.layer .section__title {
  max-width: 14ch;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.layer__caption {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--muted-soft);
}

/* —— AI-First —— */
.aifirst {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.aifirst .section__title {
  max-width: 12ch;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.aifirst__visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 0.5rem;
  overflow: hidden;
}

.aifirst__human,
.aifirst__machine {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  min-height: 16rem;
}

.aifirst__human {
  background: var(--bg);
  border-right: 1px solid var(--line);
}

.aifirst__machine {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.aifirst__label {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.aifirst__machine .aifirst__label {
  color: rgba(255, 255, 255, 0.4);
}

.aifirst__fake-nav {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.aifirst__fake-nav span {
  height: 0.35rem;
  width: 2.5rem;
  background: var(--line-strong);
}

.aifirst__fake-hero {
  height: 2.5rem;
  width: 70%;
  background: var(--ink);
  margin-bottom: 0.85rem;
}

.aifirst__fake-body {
  display: grid;
  gap: 0.45rem;
}

.aifirst__fake-body span {
  display: block;
  height: 0.4rem;
  background: var(--line);
}

.aifirst__fake-body span:nth-child(2) {
  width: 85%;
}

.aifirst__fake-body span:nth-child(3) {
  width: 60%;
}

.aifirst__code {
  margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
}

.aifirst__code .k {
  color: rgba(255, 255, 255, 0.38);
}

.aifirst__code .v {
  color: #fff;
}

/* —— Why —— */
.why .section__title {
  max-width: 14ch;
}

/* —— Vision / agentic —— */
.vision {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.vision .section__eyebrow {
  color: rgba(255, 255, 255, 0.4);
}

.vision .section__title {
  color: #fff;
  max-width: 12ch;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
}

.vision .section__lead {
  color: rgba(255, 255, 255, 0.58);
  max-width: 38rem;
}

.vision__panel {
  margin: 2.5rem 0 0;
  padding-top: 0;
}

.vision__panel p {
  margin: 0 0 2.5rem;
  max-width: 44rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.62);
}

/* —— Final CTA —— */
.final-cta {
  text-align: left;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.final-cta .section__title {
  max-width: 12ch;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  margin-bottom: 1.25rem;
}

.final-cta .section__lead {
  margin-bottom: 2rem;
  max-width: 28rem;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .hero__grid,
  .sees__grid,
  .scorer__grid,
  .aifirst__visual {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    justify-self: stretch;
    width: 100%;
    max-width: 26rem;
  }

  .aifirst__human {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__title {
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-path__step,
  .hero-path__line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
