.ux-page .nav a[aria-current] {
  border-bottom: 2px solid #064aff;
  padding-bottom: 6px;
}
.ux-hero {
  padding-top: 64px;
  padding-bottom: 86px;
}
.ux-hero h1 {
  font-size: clamp(44px, 4.65vw, 74px);
  line-height: 1.03;
  max-width: 850px;
}
.ux-hero .hero-main {
  grid-template-columns: 1.65fr 0.7fr;
  gap: 8%;
  margin-top: 28px;
}
.ux-hero .intro {
  max-width: 660px;
}
.ux-hero .hero-actions {
  gap: 30px;
  flex-wrap: wrap;
}
.ux-how {
  display: inline-block;
}
.ux-hero .states {
  border-left: 2px solid #064aff;
}
.ux-hero .states li:before {
  background: #064aff;
  width: 10px;
  height: 10px;
  left: -6px;
}
.ux-section {
  padding: 72px 0 96px;
}
.ux-content {
  position: relative;
  padding-left: 0;
}
.ux-marker {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
  min-height: 20px;
}
.ux-number {
  position: absolute;
  left: 0;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Opcodeum Mono', monospace;
}
.ux-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 9%;
  align-items: end;
}
.ux-heading h2 {
  font-size: clamp(32px, 3.35vw, 54px);
  line-height: 1.08;
  max-width: 720px;
}
.ux-heading > p {
  font-size: 17px;
  line-height: 1.55;
  color: #62666d;
  max-width: 600px;
}
.dark .ux-heading > p,
.dark .ux-problems p,
.dark .ux-steps p {
  color: #bec3c9;
}
.ux-problems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.ux-problems h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-top: 14px;
  letter-spacing: -0.025em;
}
.ux-problems p {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 10px;
}
.ux-mini {
  font-family: 'Opcodeum Sans', sans-serif;
  font-size: 26px;
  color: #bec3c9;
  display: block;
}
.ux-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.ux-formats article {
  border-top: 1px solid #8f959d;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}
.ux-formats h3 {
  font-size: 29px;
  line-height: 1.15;
  margin: 16px 0;
}
.ux-formats p {
  font-size: 17px;
  line-height: 1.55;
  color: #62666d;
}
.ux-formats ul {
  padding: 0;
  margin: 24px 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}
.ux-formats li {
  padding: 7px 0 7px 24px;
  position: relative;
}
.ux-formats li:before {
  content: '✓';
  color: #064aff;
  position: absolute;
  left: 0;
}
.ux-formats .button {
  align-self: start;
  margin-top: auto;
}
.ux-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 56px 0 32px;
}
.ux-steps h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: 16px;
}
.ux-steps p {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 12px;
}
.ux-outputs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 48px;
}
.ux-outputs article {
  border-top: 1px solid #a4a8ae;
  padding-top: 20px;
}
.ux-outputs h3 {
  font-size: 22px;
  margin: 18px 0 12px;
  line-height: 1.15;
}
.ux-outputs p {
  font-size: 15px;
  line-height: 1.5;
  color: #62666d;
}
.ux-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
  margin-top: 40px;
}
.ux-faq details {
  border-bottom: 1px solid #c6c9ce;
}
.ux-faq summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.ux-faq summary::-webkit-details-marker {
  display: none;
}
.ux-faq summary span {
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.ux-faq details[open] summary span {
  transform: rotate(45deg);
}
.ux-faq details p {
  padding-bottom: 24px;
  color: #62666d;
  line-height: 1.6;
  font-size: 16px;
}
.ux-faq summary:focus-visible {
  outline: 3px solid #064aff;
  outline-offset: 4px;
}
.ux-contact {
  padding: 72px 0 90px;
}
.ux-contact-inner {
  max-width: 920px;
}
.ux-contact h2 {
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.08;
}
.ux-contact .button {
  margin-top: 28px;
}
.ux-contact-filled {
  position: absolute;
  inset: 0;
  background: #064aff;
  color: #fff;
  clip-path: inset(0 0 calc(100% - var(--contact-fill)) 0);
  pointer-events: none;
  padding: 72px 0 90px;
  z-index: 1;
}
.ux-contact-filled .ux-number {
  color: #fff;
}
.ux-contact .ux-marker {
  margin-bottom: 24px;
}
.ux-page .footer {
  position: relative;
  z-index: 3;
}
.ux-page .textbutton {
  display: inline-flex;
}
.ux-page .hero .states p {
  max-width: 250px;
}
@media (max-width: 1100px) {
  .ux-content {
    padding-left: 0;
  }
  .ux-hero .hero-main {
    gap: 5%;
  }
  .ux-heading {
    gap: 6%;
  }
  .ux-problems {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .ux-steps {
    gap: 20px;
  }
  .ux-steps h3 {
    font-size: 18px;
  }
  .ux-outputs {
    grid-template-columns: repeat(2, 1fr);
  }
  .ux-formats h3 {
    font-size: 25px;
  }
  .ux-number {
    font-size: 15px;
  }
}
@media (max-width: 760px) {
  .ux-hero {
    padding-top: 36px;
    padding-bottom: 52px;
  }
  .ux-hero .hero-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ux-hero h1 {
    font-size: clamp(39px, 9.7vw, 66px);
  }
  .ux-hero .hero-actions {
    gap: 22px;
  }
  .ux-hero .states {
    border-left: 0;
    grid-template-columns: 1fr 1fr;
  }
  .ux-section {
    padding: 44px 0 64px;
  }
  .ux-content {
    padding-left: 0;
  }
  .ux-number {
    left: -2px;
    font-size: 12px;
    top: 0;
  }
  .ux-marker {
    min-height: 18px;
    margin-bottom: 20px;
  }
  .ux-marker .meta {
    font-size: 10px;
  }
  .ux-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ux-heading h2 {
    font-size: clamp(29px, 7.3vw, 43px);
  }
  .ux-heading > p {
    font-size: 16px;
  }
  .ux-problems {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .ux-problems article {
    border-top: 1px solid #343b42;
    padding-top: 18px;
  }
  .ux-mini {
    font-size: 23px;
  }
  .ux-formats {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 32px;
  }
  .ux-formats h3 {
    font-size: 25px;
  }
  .ux-formats p {
    font-size: 16px;
  }
  .ux-steps {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 34px 0 14px;
    padding-left: 12px;
  }
  .ux-steps h3 {
    font-size: 21px;
    margin-top: 8px;
  }
  .ux-steps p {
    margin-top: 8px;
    font-size: 16px;
  }
  .ux-outputs {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .ux-faq {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }
  .ux-faq summary {
    font-size: 16px;
    padding: 20px 0;
  }
  .ux-contact,
  .ux-contact-filled {
    padding: 48px 0 60px;
  }
  .ux-contact h2 {
    font-size: 34px;
  }
  .ux-contact .contact-subtitle {
    font-size: 16px;
  }
  .ux-contact .button {
    width: 100%;
  }
  .ux-page .contact .button {
    font-size: 14px;
  }
  .ux-page .footer-bottom {
    margin-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ux-contact {
    --contact-fill: 100%;
  }
}

/* The homepage engine owns the complete route, including the hero and final fill. */
.ux-page .route-active .states {
  border-left-color: transparent;
}
.ux-page .route-active .states li:before {
  opacity: 0;
}
.ux-page .ribbon-route {
  visibility: hidden;
}
.ux-page .ux-contact-filled {
  padding: 72px 0 90px;
}
.ux-page .ux-steps li {
  position: relative;
}
@media (max-width: 760px) {
  .ux-page .ux-contact-filled {
    padding: 48px 0 60px;
  }
  .ux-page .ux-formats {
    gap: 52px;
  }
  .ux-page .ux-steps {
    gap: 42px;
  }
  .ux-page .ux-outputs {
    gap: 42px;
  }
  .ux-page .ux-problems {
    gap: 42px;
  }
}

/* Primary actions share the homepage button, with a consistent content width. */
.ux-page main .button {
  min-width: 270px;
  max-width: 100%;
}
.ux-page main .ux-how {
  font-weight: 400;
}
.ux-page .ux-formats .button {
  margin-top: auto;
}
@media (max-width: 760px) {
  .ux-page main .button {
    width: 100%;
    min-width: 0;
  }
}

/* Match the development page: label, message, action in three shared columns. */
.ux-contact .contact-layout {
  align-items: center;
}
.ux-contact .ux-marker {
  margin-bottom: 0;
}
.ux-contact .ux-contact-inner {
  max-width: none;
}
.ux-page .ux-contact-actions .button {
  margin-top: 0;
  min-width: 0;
}
.ux-contact-filled .contact-layout {
  align-items: center;
}

.ux-heading > *,
.ux-problems > *,
.ux-formats > *,
.ux-steps > *,
.ux-outputs > *,
.ux-faq > * {
  min-width: 0;
}
@media (max-width: 1100px) {
  .ux-steps {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-left: 12px;
    margin: 34px 0 14px;
  }
  .ux-steps h3 {
    font-size: 21px;
  }
  .ux-steps p {
    font-size: 16px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .ux-problems,
  .ux-outputs {
    row-gap: 52px;
  }
}
