/*
  NEXUS page
  ==========
  Built to the supplied design (TEC_NEXUS_Web-page_02.pdf, updated to Page_05:
  owl hero, layered-data art in the first-pass band, FAQ answers). Colours were sampled
  out of that file and land on the site's own tokens: #29266f = --color-primary
  (hero, the two navy bands) and #6a4ee6 = --color-secondary (problem cards and
  the closing CTA band).

  Section wrappers: tt-frontend.css drives .tt-section through custom properties -
  it applies `display:var(--display)` and derives padding from `--padding-*`. A
  section that never sets --display collapses to display:inline at zero width, so
  the wrapper rules set those rather than plain `display`/`padding`.

  The three full-bleed bands sit outside that system deliberately: each is
  asymmetric - one runs off the right edge, one off the left, each carrying a
  single large rounded corner - which the boxed wrapper cannot express.
*/

/* ---------- Shared measure ---------- */

.tt-nexus .tt-el.tt-nexus-sec-inner > *,
.tt-nexus .tt-nexus-band-inner,
.tt-nexus .tt-nexus-cta-inner,
.tt-nexus .tt-nexus-hero-grid {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Hero ---------- */

.tt-nexus .tt-el.tt-nexus-hero {
  --display: flex;
  --flex-direction: column;
  --container-widget-width: 100%;
  --flex-wrap-mobile: wrap;
  --padding-top: 30px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  --border-radius: 0px 0px 0px 180px;
}

.tt-nexus .tt-el.tt-nexus-hero:not(.tt-motion-effects-element-type-background) {
  background-color: var(--color-primary);
}

.tt-nexus .tt-el.tt-nexus-hero-inner {
  --display: flex;
  --flex-direction: column;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
}

.tt-nexus .tt-nexus-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-top: 30px;
  padding-bottom: 90px;
}

.tt-nexus .tt-nexus-hero-copy { max-width: 540px; }

.tt-nexus .tt-nexus-title {
  font-family: "Teko", sans-serif;
  font-size: 62px;
  font-weight: 400;
  line-height: 70px;
  letter-spacing: -0.5px;
  color: var(--color-white);
  margin: 0 0 20px;
}

.tt-nexus .tt-nexus-lede {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  color: var(--color-white);
  margin: 0 0 44px;
  max-width: 460px;
}

.tt-nexus .tt-nexus-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Outlined pill, as drawn - not the site's solid cyan button. */
.tt-nexus .tt-nexus-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  padding: 13px 30px;
  transition: background-color .2s ease, color .2s ease;
}

.tt-nexus .tt-nexus-btn:hover,
.tt-nexus .tt-nexus-btn:focus-visible {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.tt-nexus .tt-nexus-hero-art img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: 24px;
  margin-inline-start: auto;
}

/* Page_05 hero: the owl photo is portrait and already carries its rounded corner, cut
   against the hero navy, so it gets no radius of its own and the design's ~400px width. */
.tt-nexus .tt-nexus-hero-art--owl img {
  max-width: 400px;
  border-radius: 0;
}

/* ---------- White sections ---------- */

.tt-nexus .tt-el.tt-nexus-sec {
  --display: flex;
  --flex-direction: column;
  --container-widget-width: 100%;
  --flex-wrap-mobile: wrap;
  --padding-top: 96px;
  --padding-bottom: 96px;
  --padding-left: 0px;
  --padding-right: 0px;
}

.tt-nexus .tt-el.tt-nexus-sec-inner {
  --display: flex;
  --flex-direction: column;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
}

/* ---------- Type ---------- */

.tt-nexus .tt-nexus-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 12px;
}

.tt-nexus .tt-nexus-eyebrow--cyan { color: var(--color-accent); }
.tt-nexus .tt-nexus-eyebrow--spaced { margin-top: 40px; }

.tt-nexus .tt-nexus-h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 400;
  line-height: 44px;
  color: var(--color-secondary);
  margin: 0 0 22px;
}

.tt-nexus .tt-nexus-h2--on-dark { color: var(--color-white); }
.tt-nexus .tt-nexus-h2--centred { text-align: center; margin-bottom: 40px; }

/* Long-form paragraphs are set in the display face, as drawn. */
.tt-nexus .tt-nexus-prose {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 400;
  line-height: 33px;
  color: var(--color-primary);
  max-width: 880px;
  margin: 0;
}

.tt-nexus .tt-nexus-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 23px;
  color: var(--color-primary);
  margin: 0 0 32px;
}

.tt-nexus .tt-nexus-body-dark {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 23px;
  color: rgba(255, 255, 255, .92);
  margin: 0;
  max-width: 420px;
}

/* ---------- Grids ---------- */

.tt-nexus .tt-nexus-grid { display: grid; gap: 24px; width: 100%; }
.tt-nexus .tt-nexus-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Problem cards ---------- */

.tt-nexus .tt-nexus-problem-cards { margin-top: 56px; }

.tt-nexus .tt-nexus-card {
  background-color: var(--color-secondary);
  border-radius: 16px;
  padding: 28px 28px 34px;
}

.tt-nexus .tt-nexus-card-icon {
  display: block;
  width: 34px;
  height: auto;
  margin: 0 0 22px;
}

.tt-nexus .tt-nexus-card-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-transform: none;      /* the theme uppercases every h3 */
  color: var(--color-white);
  margin: 0 0 10px;
}

.tt-nexus .tt-nexus-card p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 21px;
  color: rgba(255, 255, 255, .92);
  margin: 0;
}

/* ---------- Navy bands ---------- */

.tt-nexus .tt-nexus-band { background-color: var(--color-primary); }

/* "Let NEXUS handle the first pass": runs off the left edge, rounded bottom-right,
   and the copy deliberately sits in the right half - the left is left empty. */
.tt-nexus .tt-nexus-band--right {
  width: 85%;
  border-radius: 0 0 180px 0;
  padding: 96px 0 110px;
}

/* The band stops short of the right edge, so a centred measure inside it would sit left of
   every other section. Offsetting by the page gutter instead lines the art up with the
   1180px content column used above and below. */
.tt-nexus .tt-nexus-band--right .tt-nexus-band-inner {
  max-width: none;
  margin-inline: max(0px, calc((100vw - 1180px) / 2)) 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 120px;
}

/* Layered-data art beside the copy (added in Page_05). The art's background is the band
   navy, so it needs no frame. */
.tt-nexus .tt-nexus-surface-art { flex: 0 1 412px; }

.tt-nexus .tt-nexus-surface-art img {
  display: block;
  width: 100%;
  height: auto;
}

.tt-nexus .tt-nexus-surface-copy { width: min(100%, 460px); }

/* "How it works": inset from the left, rounded on that side. */
.tt-nexus .tt-nexus-band--left {
  width: 88%;
  margin-left: auto;
  border-radius: 180px 0 0 0;
  padding: 100px 0 90px;
}

.tt-nexus .tt-nexus-band--left .tt-nexus-band-inner {
  max-width: 1080px;
  margin-inline: 0 auto;
  padding-left: 60px;
}

.tt-nexus .tt-nexus-band-sub { margin-bottom: 56px; }

/* ---------- What NEXUS surfaces ---------- */

.tt-nexus .tt-nexus-surface-list { margin: 0; }

.tt-nexus .tt-nexus-surface-list dt {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  color: var(--color-white);
  margin: 0 0 4px;
}

.tt-nexus .tt-nexus-surface-list dd {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 21px;
  color: rgba(255, 255, 255, .9);
  margin: 0 0 24px;
}

.tt-nexus .tt-nexus-surface-list dd:last-child { margin-bottom: 0; }

/* ---------- Product screenshot ---------- */

.tt-nexus .tt-nexus-shot { margin: 0; }

.tt-nexus .tt-nexus-shot img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin-inline: auto;
  border-radius: 18px;
}

/* ---------- How it works steps ---------- */

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

.tt-nexus .tt-nexus-steps li { margin: 0; }

.tt-nexus .tt-nexus-step-num {
  display: block;
  font-family: "Teko", sans-serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 32px;
  color: rgba(255, 255, 255, .85);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.tt-nexus .tt-nexus-step-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-transform: none;
  color: var(--color-white);
  margin: 0 0 8px;
}

.tt-nexus .tt-nexus-steps p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 21px;
  color: rgba(255, 255, 255, .9);
  margin: 0;
}

/* ---------- Use cases ---------- */

.tt-nexus .tt-nexus-usecases {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: 56px;
  align-items: start;
  width: 100%;
}

.tt-nexus .tt-nexus-usecases-copy { max-width: 520px; }

.tt-nexus .tt-nexus-usecase { margin-top: 26px; }

.tt-nexus .tt-nexus-usecase-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-transform: none;
  color: var(--color-primary);
  margin: 0 0 8px;
}

.tt-nexus .tt-nexus-usecase p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 21px;
  color: var(--color-primary);
  margin: 0;
}

.tt-nexus .tt-nexus-usecases-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* ---------- Proof + FAQ ---------- */

.tt-nexus .tt-nexus-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  width: 100%;
}

.tt-nexus .tt-nexus-faq { border-top: 1px solid #d9d7e4; }

.tt-nexus .tt-nexus-faq-item {
  border-bottom: 1px solid #d9d7e4;
  margin: 0;
}

.tt-nexus .tt-nexus-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 4px 16px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
}

/* Hide the browser's own disclosure triangle - the design draws a plus instead. */
.tt-nexus .tt-nexus-faq-item summary::-webkit-details-marker { display: none; }

.tt-nexus .tt-nexus-faq-item summary:hover { color: var(--color-secondary); }

.tt-nexus .tt-nexus-faq-item summary:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Plus when closed; the vertical bar drops away to leave a minus when open. */
.tt-nexus .tt-nexus-faq-item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--color-text-muted), var(--color-text-muted)) center / 14px 2px no-repeat,
    linear-gradient(var(--color-text-muted), var(--color-text-muted)) center / 2px 14px no-repeat;
}

.tt-nexus .tt-nexus-faq-item[open] summary::after {
  background:
    linear-gradient(var(--color-text-muted), var(--color-text-muted)) center / 14px 2px no-repeat;
}

.tt-nexus .tt-nexus-faq-item p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 23px;
  color: var(--color-primary);
  margin: 0;
  padding: 0 44px 20px 16px;
}

/* ---------- Closing CTA ---------- */

.tt-nexus .tt-nexus-cta {
  background-color: var(--color-secondary);
  padding: 96px 0 104px;
}

.tt-nexus .tt-nexus-cta-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  color: var(--color-white);
  margin: 0 0 10px;
}

.tt-nexus .tt-nexus-cta-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 400;
  line-height: 44px;
  color: var(--color-white);
  margin: 0 0 16px;
}

.tt-nexus .tt-nexus-cta-lede {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 23px;
  color: var(--color-white);
  margin: 0 0 40px;
  max-width: 560px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .tt-nexus .tt-nexus-band--right,
  .tt-nexus .tt-nexus-band--left { width: 94%; }

  .tt-nexus .tt-nexus-band--left .tt-nexus-band-inner { padding-left: 40px; }

  .tt-nexus .tt-nexus-title { font-size: 54px; line-height: 62px; }
  .tt-nexus .tt-nexus-h2 { font-size: 29px; line-height: 38px; }
  .tt-nexus .tt-nexus-prose { font-size: 19px; line-height: 30px; }
}

@media (max-width: 960px) {
  .tt-nexus .tt-nexus-hero-grid,
  .tt-nexus .tt-nexus-usecases,
  .tt-nexus .tt-nexus-faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .tt-nexus .tt-nexus-hero-copy,
  .tt-nexus .tt-nexus-usecases-copy { max-width: none; }

  .tt-nexus .tt-nexus-hero-art img { max-width: 520px; margin-inline: 0; }
  .tt-nexus .tt-nexus-hero-art--owl img { max-width: 340px; }

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

  .tt-nexus .tt-nexus-band--right .tt-nexus-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .tt-nexus .tt-nexus-surface-art { flex: none; width: min(100%, 300px); }
  .tt-nexus .tt-nexus-surface-copy { width: 100%; }
  .tt-nexus .tt-nexus-body-dark { max-width: none; }
}

@media (max-width: 767px) {
  .tt-nexus .tt-el.tt-nexus-hero { --border-radius: 0px 0px 0px 0px; }

  .tt-nexus .tt-el.tt-nexus-sec {
    --padding-top: 64px;
    --padding-bottom: 64px;
  }

  .tt-nexus .tt-el.tt-nexus-sec-inner > *,
  .tt-nexus .tt-nexus-band-inner,
  .tt-nexus .tt-nexus-cta-inner,
  .tt-nexus .tt-nexus-hero-grid { padding-inline: 20px; }

  .tt-nexus .tt-nexus-hero-grid { padding-bottom: 60px; }

  .tt-nexus .tt-nexus-band {
    width: 100%;
    border-radius: 0;
    padding: 64px 0 70px;
  }

  .tt-nexus .tt-nexus-band--left .tt-nexus-band-inner { padding-left: 20px; }

  .tt-nexus .tt-nexus-title { font-size: 44px; line-height: 50px; }
  .tt-nexus .tt-nexus-h2 { font-size: 26px; line-height: 34px; }
  .tt-nexus .tt-nexus-cta-title { font-size: 26px; line-height: 34px; }
  .tt-nexus .tt-nexus-prose { font-size: 17px; line-height: 27px; }

  .tt-nexus .tt-nexus-grid--3,
  .tt-nexus .tt-nexus-steps { grid-template-columns: minmax(0, 1fr); }

  .tt-nexus .tt-nexus-cta { padding: 64px 0 70px; }

  /* The two hero buttons stack rather than squeezing onto one line. */
  .tt-nexus .tt-nexus-btn-row { flex-direction: column; align-items: flex-start; }
}
