.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 83% 13%, #e2f1fb, transparent 58%), #f7fafc;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 7rem);
}

.hero-grid,
.application-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.eyebrow,
.section-kicker {
  color: #14638a;
  font-size: .8125rem;
  font-weight: 770;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: .75rem;
  font-size: clamp(3rem, 5.15vw, 4.8rem);
  font-weight: 760;
  letter-spacing: -.077em;
  line-height: .99;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 37rem;
  margin-top: 1.5rem;
  color: var(--subtle);
  font-size: clamp(1.06rem, 1.6vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}

.product-visual {
  min-width: 0;
  position: relative;
  padding: clamp(1.3rem, 3.3vw, 2.75rem);
  border: 1px solid #315271;
  border-radius: 1.35rem;
  color: #eef7ff;
  background:
    radial-gradient(ellipse at 91% 14%, #234e6a, transparent 73%),
    #10253b;
  box-shadow: 0 1.8rem 3.5rem #0d31422c, 0 .3rem .6rem #0d314219;
}

.product-visual figcaption {
  color: #b2d1e5;
  font-size: .86rem;
  letter-spacing: .035em;
}

.hero-model,
.hero-timeline {
  padding: clamp(.7rem, 1.65vw, 1.25rem);
  border: 1px solid #486985;
  border-radius: .72rem;
  background: #132c46;
}

.hero-model { margin-block: 1rem .75rem; }
.hero-timeline { background: #10263d; }

.visual-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .86rem;
  font-weight: 680;
}

.visual-point {
  width: .42rem;
  height: .42rem;
  flex: none;
  border-radius: 50%;
  background: #86e1dc;
}

.model-nodes {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  padding: 0;
  margin: .95rem 0 0;
  list-style: none;
}

.model-nodes::before {
  position: absolute;
  z-index: -1;
  inset: 50% 3% auto;
  height: 1px;
  background: #86c7df;
  content: "";
}

.model-nodes li {
  display: grid;
  min-height: 4.7rem;
  align-content: center;
  justify-items: center;
  gap: .42rem;
  padding: .37rem .15rem;
  border: 1px solid #527f9d;
  border-radius: .55rem;
  background: #214664;
  font-size: .86rem;
  font-weight: 630;
  overflow-wrap: anywhere;
  text-align: center;
}

.model-nodes li:nth-child(2) {
  border-color: #75b9bd;
  background: #245b69;
}

.node-symbol {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  color: #9ae7e7;
}

.node-symbol::before {
  border: 1.5px solid currentColor;
  content: "";
}

.node-event::before { width: .53rem; height: .53rem; border-radius: 50%; }
.node-resource::before { width: .62rem; height: .62rem; border-radius: .08rem; transform: rotate(45deg); }
.node-process::before { width: .85rem; height: .56rem; border-radius: .1rem; }

.visual-tracks,
.analysis-grid {
  background: repeating-linear-gradient(to right, #87acc33b 0 1px, transparent 1px 16.666%);
  display: grid;
  gap: .65rem;
  margin-top: .8rem;
  padding-block: .45rem;
}

.visual-track,
.analysis-track {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .22rem;
  min-height: .64rem;
}

.visual-track i,
.analysis-track i {
  border-radius: .18rem;
  background: #79b5ef;
  grid-column: span 2;
}

.visual-track i:nth-child(2),
.analysis-track i:nth-child(2) {
  grid-column: span 3;
  background: #8ce0d8;
}

.visual-track i:nth-child(3),
.analysis-track i:nth-child(3) { background: #789dc2; }
.visual-track:nth-child(2) i:first-child { grid-column: 3 / span 3; }
.visual-track:nth-child(3) i:first-child { grid-column: 5 / span 2; }

.marketing-copy > h2,
.workflow-intro h2,
.application-intro h1 {
  max-width: 48rem;
  margin-block: .58rem .9rem;
  font-size: clamp(2.25rem, 4.5vw, 4.1rem);
  font-weight: 740;
  letter-spacing: -.062em;
  line-height: 1.04;
  text-wrap: balance;
}

.marketing-copy > p:not(.section-kicker),
.workflow-intro > p:not(.section-kicker),
.application-intro h1 + p {
  max-width: 42rem;
  color: var(--subtle);
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
}

.marketing-copy ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  padding: 0;
  margin: 2.15rem 0 0;
  list-style: none;
}

.marketing-copy li {
  border-top: 2px solid #79b6d2;
  padding: 1rem .95rem 0 0;
  color: var(--subtle);
}

.marketing-copy li strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--ink);
  font-size: 1.13rem;
  line-height: 1.25;
}

.section-workflow {
  background: #f5f9fc;
  border-block: 1px solid var(--line);
}

.workflow-steps { margin-top: 2.6rem; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6.25rem);
  padding-block: clamp(2rem, 4vw, 3.9rem);
  border-top: 1px solid #d5e2eb;
}

.feature-row:first-child { padding-top: 2rem; }
.feature-row:last-child { padding-bottom: 0; }
.feature-row:nth-child(2) .feature-copy { grid-column: 2; grid-row: 1; }
.feature-row:nth-child(2) .feature-media { grid-column: 1; grid-row: 1; }

.feature-copy h3 {
  margin-block: .52rem .9rem;
  font-size: clamp(1.76rem, 3.1vw, 2.85rem);
  font-weight: 730;
  letter-spacing: -.052em;
  line-height: 1.09;
  text-wrap: balance;
}

.feature-copy > p:not(.section-kicker) { color: var(--subtle); }
.feature-copy > p + p { margin-top: .7rem; }

.feature-media {
  display: grid;
  align-content: center;
  gap: .7rem;
  min-width: 0;
  min-height: 16rem;
  border: 1px solid #d5e4ef;
  border-radius: .9rem;
  background: #e9f3fc;
  padding: clamp(1rem, 2.7vw, 2rem);
}

.feature-media figcaption { font-weight: 725; }

.model-component {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: .46rem .7rem;
  border: 1px solid #d4e2ec;
  border-radius: .45rem;
  background: #fcfdff;
}

.model-component .node-symbol {
  width: 2rem;
  height: 2rem;
  border-radius: .4rem;
  background: #e1f0fc;
  color: #14638a;
}

.model-component strong,
.model-component span { display: block; }

.model-component strong { font-size: .94rem; }
.model-component span, .media-note { color: var(--subtle); font-size: .86rem; }

.feature-experiments { background: #e8f5f2; border-color: #d3e7e1; }
.scenario-grid { display: grid; gap: .44rem; }

.scenario-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: .38rem;
  align-items: center;
  border: 1px solid #d2e5de;
  border-radius: .4rem;
  background: #fcfefc;
  padding: .55rem .65rem;
  font-size: .86rem;
}

.scenario-row span { background: #b1ded4; height: .5rem; border-radius: .13rem; }
.scenario-row:nth-child(2) span:nth-child(3),
.scenario-row:nth-child(3) span:nth-child(4) { background: #80b6d4; }

.feature-analysis { background: #ebf0fb; border-color: #dce4f4; }
.analysis-grid { background: transparent; gap: .5rem; margin: 0; }
.analysis-grid > div { display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: center; gap: .45rem; }
.analysis-grid span { font-size: .86rem; }
.analysis-track { background: repeating-linear-gradient(to right, #75a0bd32 0 1px, transparent 1px 16.666%); }
.analysis-track i { background: #6995c2; }
.analysis-track i:nth-child(2) { background: #539e9f; }
.analysis-track i:nth-child(3) { background: #95afd0; }
.analysis-grid > div:nth-child(2) i:first-child { grid-column: 3 / span 3; }
.analysis-grid > div:nth-child(3) i:first-child { grid-column: 5 / span 2; }

.section-features ul { row-gap: 1.7rem; margin-bottom: 2.3rem; }
.section-features li { border-color: #cddde9; }

.application-intro { background: #eff6fb; border-bottom: 1px solid var(--line); }
.application-image-placeholder {
  display: grid;
  place-items: center;
  min-width: 0;
  border-radius: .85rem;
  aspect-ratio: 3 / 2;
  padding: 1rem;
  border: 1px dashed var(--line);
  background: #f8fbfd;
  color: var(--subtle);
  text-align: center;
}

.application-content .copy > h2:not(:first-child),
.features .copy > h2 {
  padding-top: 1.45rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 821px) {
  .site-header {
    position: sticky;
    z-index: 2;
    top: 0;
    background: #fff;
  }

  .home main [id] { scroll-margin-top: 5.75rem; }
}

@media (max-width: 820px) {
  .hero-grid, .application-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-visual { max-width: 38rem; }
  .feature-row { gap: 1.6rem; }
}

@media (max-width: 620px) {
  .marketing-copy ul { grid-template-columns: 1fr; }
  .marketing-copy li { padding: .8rem 0 0; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(2) .feature-copy,
  .feature-row:nth-child(2) .feature-media { grid-column: auto; grid-row: auto; }
  .feature-media { min-height: 0; }
}

@media (max-width: 370px) {
  .product-visual { padding: .95rem; }
  .model-nodes { gap: .35rem; }
  .model-nodes li { font-size: .82rem; }
}
