/*
  Synchrotech components
  Class prefix: st-. Dark contexts: add .st-on-dark to the section (black, ink or grid backgrounds).
  Every value comes from tokens.css.
*/

/* ---------- Layout ---------- */
.st-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.st-section {
  padding-block: var(--section-y);
}

.st-section--paper {
  background: var(--paper);
  border-block: var(--border);
}

.st-section--ink {
  background: var(--ink);
  color: var(--white);
}

.st-section--black {
  background: var(--black);
  color: var(--white);
}

.st-grid-bg {
  background-color: var(--black);
  background-image:
    linear-gradient(var(--grid-line-hero) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-hero) 1px, transparent 1px);
  background-size: var(--grid-size-hero) var(--grid-size-hero);
  color: var(--white);
}

.st-glow {
  position: relative;
  overflow: hidden;
}

.st-glow::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -30%;
  width: 70%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(123, 22, 255, 0.28), transparent);
  pointer-events: none;
}

.st-glow > * {
  position: relative;
  z-index: 1;
}

.st-block {
  margin-top: var(--s-8);
}

.st-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-9);
  align-items: center;
}

@media (max-width: 1000px) {
  .st-split {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }
}

/* ---------- Typography ---------- */
.st-h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  font-weight: var(--weight-heading);
}

.st-h1-page {
  font-size: var(--fs-h1-page);
  line-height: 1.1;
  font-weight: var(--weight-heading);
}

.st-h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  font-weight: var(--weight-heading);
  max-width: 820px;
}

.st-h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-card);
  font-weight: var(--weight-heading);
}

.st-line {
  display: block;
}

.st-accent {
  color: var(--purple);
}

.st-lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 680px;
}

.st-on-dark .st-lead {
  color: var(--mist);
}

.st-muted {
  color: var(--ink-3);
}

.st-on-dark .st-muted {
  color: var(--mist);
}

.st-label {
  font-size: var(--fs-label);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* ---------- Section heading: purple bar, label, heading ---------- */
.st-eyebrow {
  display: block;
  font-size: var(--fs-label);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--purple);
}

.st-eyebrow::before {
  content: "";
  display: block;
  width: var(--bar-heading-width);
  height: var(--bar-heading-height);
  margin-bottom: 18px;
  border-radius: 1px;
  background: var(--purple);
}

.st-on-dark .st-eyebrow {
  color: var(--white);
}

.st-eyebrow + .st-h2,
.st-eyebrow + .st-h1-page {
  margin-top: var(--s-3);
}

.st-h2 + .st-lead,
.st-h1-page + .st-lead {
  margin-top: 14px;
}

/* ---------- Buttons ---------- */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-height);
  padding: 0 var(--s-6);
  border: var(--border-width) solid transparent;
  border-radius: var(--r-btn);
  font-weight: var(--weight-heading);
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}

.st-btn--sm {
  min-height: var(--btn-height-sm);
  padding: 0 var(--s-4);
  font-size: var(--fs-small);
}

.st-btn--primary {
  background: var(--purple);
  color: var(--white);
}

.st-btn--primary:hover {
  background: var(--purple-hover);
}

.st-btn--secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.st-btn--secondary:hover {
  border-color: var(--ink-3);
}

.st-on-dark .st-btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark-strong);
}

.st-on-dark .st-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.st-btn--white {
  background: var(--white);
  color: var(--ink);
}

.st-btn--white:hover {
  background: #EDEEF2;
}

.st-btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.st-btn--outline-white:hover {
  border-color: var(--white);
}

.st-btn[disabled],
.st-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

/*
  Busy state for buttons that fire a network request. Without it the contact
  form was a click into nothing: the request goes to a Pages Function, then to a
  Worker, then out as mail, and until it returned the button looked untouched.
  A visitor with no feedback clicks again, which is how duplicate enquiries get
  sent, so the button is also disabled while this is showing.
*/
.st-btn[data-busy="true"] {
  opacity: 0.75;
  cursor: progress;
}

.st-btn__spinner {
  flex: none;
  width: 15px;
  height: 15px;
  margin-right: 2px;
  border: 2px solid currentColor;
  /* One transparent edge is what makes the ring read as rotating. */
  border-top-color: transparent;
  border-radius: 50%;
  animation: st-spin 640ms linear infinite;
}

@keyframes st-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-btn__spinner {
    animation: none;
    /* Still legible as a busy marker once it stops turning. */
    border-top-color: currentColor;
    opacity: 0.6;
  }
}

.st-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

@media (max-width: 760px) {
  .st-btn-row .st-btn {
    width: 100%;
  }
}

.st-wa-dot {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--whatsapp);
}

.st-wa-dot svg {
  width: 12px;
  height: 12px;
}

.st-link {
  color: var(--purple);
  font-weight: var(--weight-heading);
  text-decoration: none;
}

.st-link:hover {
  text-decoration: underline;
}

.st-on-dark .st-link {
  color: var(--white);
}

/* ---------- Hero label and ticks ---------- */
.st-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-label);
  font-size: 0.78125rem;
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
}

.st-hero-label::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--purple);
}

.st-on-dark .st-hero-label {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.st-hero-label--amber::before {
  background: var(--amber);
}

@media (max-width: 760px) {
  .st-hero-label {
    padding: 7px 10px;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
  }
}

.st-ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--fs-small);
  font-weight: var(--weight-label);
}

.st-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.st-ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 5px;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.st-on-dark .st-ticks {
  color: #E7E8EC;
}

/* ---------- Icon tiles ---------- */
.st-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: var(--accent-violet);
}

.st-tile svg {
  width: 26px;
  height: 26px;
}

.st-tile--purple {
  background: var(--purple);
  color: var(--white);
}

.st-tile--sm {
  width: 44px;
  height: 44px;
}

.st-tile--sm svg {
  width: 22px;
  height: 22px;
}

/* ---------- Story cards ---------- */
.st-story__caption {
  margin-bottom: 14px;
  font-size: var(--fs-caption);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--steel);
}

.st-story-card {
  --c: var(--purple);
  --tint: var(--purple-tint);
  --ct: var(--purple);
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: var(--s-4);
  align-items: center;
  padding: 18px 20px;
  border-left: var(--bar-story) solid var(--c);
  border-radius: var(--r-card);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-story);
}

.st-story-card--amber {
  --c: var(--amber);
  --tint: var(--amber-tint);
  --ct: var(--amber-label);
}

.st-story-card--green {
  --c: var(--green);
  --tint: var(--green-tint);
  --ct: var(--green-text);
}

.st-story-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--r-btn);
  background: var(--tint);
  color: var(--ct);
}

.st-story-card__icon svg {
  width: 26px;
  height: 26px;
}

.st-story-card__label {
  font-size: 0.71875rem;
  font-weight: var(--weight-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ct);
}

.st-story-card__title {
  margin-top: 2px;
  font-size: 1.09375rem;
  font-weight: var(--weight-heading);
  line-height: 1.35;
}

.st-story-card__detail {
  font-size: 0.90625rem;
  color: var(--ink-3);
}

.st-story-card__value {
  font-size: 1.75rem;
  font-weight: var(--weight-heading);
}

.st-story-card--purple .st-story-card__value {
  color: var(--purple);
}

.st-story__connector {
  display: grid;
  place-items: center;
  height: 40px;
  color: var(--purple);
}

.st-story__connector svg {
  width: 28px;
  height: 28px;
}

.st-progress {
  height: 8px;
  margin-top: 10px;
  border-radius: 3px;
  background: #E9DDFF;
}

.st-progress > span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--purple);
}

.st-illustrative {
  margin-top: var(--s-3);
  text-align: right;
  font-size: 0.6875rem;
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--steel);
}

@media (max-width: 760px) {
  .st-story-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: var(--s-3);
    padding: 14px;
  }

  /*
    Reserve two lines for the swapping text. The hero rotator changes each card's
    title and detail between four scenarios, and below this width they wrap to
    different line counts: "Reports build themselves" fits on one line where
    "Captured once, checked automatically" needs two. Without a floor the card
    resized on every swap, moving the story block by 24px, and since the three
    cards are staggered 360ms apart that arrived as three separate jumps every
    6.2 seconds.

    Scoped to this breakpoint on purpose. Above roughly 720px the text never
    wraps differently, so the inline min-height on the card body already holds
    every card at one height, and applying these floors there only added dead
    space. Set in em so they track the inherited line-height.
  */
  .st-story-card__title {
    min-height: 2.7em;
  }

  .st-story-card__detail {
    min-height: 3.3em;
  }

  .st-story-card__icon {
    width: 44px;
    height: 44px;
  }

  .st-story-card__value {
    font-size: 1.5rem;
  }
}

/* Narrow phones: the badge or value moves under the text so the card never overflows. */
@media (max-width: 420px) {
  .st-story-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .st-story-card > :nth-child(3) {
    grid-column: 2;
    justify-self: start;
  }
}

/* ---------- Badges ---------- */
.st-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--r-label);
  font-size: 0.875rem;
  font-weight: var(--weight-heading);
  line-height: 1;
  white-space: nowrap;
}

.st-badge--green {
  background: var(--green-tint);
  color: var(--green-text);
}

.st-badge--amber {
  background: var(--amber-tint);
  color: var(--amber-text);
}

.st-badge--purple {
  background: var(--purple-tint);
  color: var(--purple-deep);
}

/* ---------- Feature grid (Built for you) ---------- */
.st-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: var(--border);
  border-radius: var(--r-card);
  background: var(--white);
}

.st-feature {
  position: relative;
  padding: 30px 26px 32px;
  border-right: var(--border);
}

.st-feature:last-child {
  border-right: 0;
}

.st-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--bar-cell);
  background: var(--purple);
}

.st-feature .st-h3 {
  margin: 20px 0 8px;
}

.st-feature p {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--ink-3);
}

@media (max-width: 1000px) {
  .st-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .st-feature:nth-child(2n) {
    border-right: 0;
  }

  .st-feature:nth-child(-n + 2) {
    border-bottom: var(--border);
  }
}

@media (max-width: 760px) {
  .st-feature-grid {
    grid-template-columns: 1fr;
  }

  .st-feature {
    border-right: 0;
    border-bottom: var(--border);
  }

  .st-feature:last-child {
    border-bottom: 0;
  }
}

/* ---------- Commitment rows (Backed by us, on ink) ---------- */
.st-commitments {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.st-commitment {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.st-commitment b {
  display: block;
  font-size: 1.0625rem;
  font-weight: var(--weight-heading);
}

.st-commitment span {
  font-size: var(--fs-small);
  color: var(--mist);
}

/* ---------- Card grids ---------- */
.st-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

@media (max-width: 1000px) {
  .st-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .st-card-grid {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }
}

/* Service card */
.st-service {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-6);
  border: var(--border);
  border-radius: var(--r-card);
  background: var(--white);
}

.st-service p {
  margin-top: var(--s-1);
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.st-service--ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.st-service--ink p {
  color: var(--mist);
}

.st-service--ink .st-tile {
  background: var(--purple);
  color: var(--white);
}

/* Case study card */
.st-case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--r-card);
  background: var(--white);
}

.st-case__media {
  aspect-ratio: 16 / 10;
  border-bottom: var(--border);
}

.st-case__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: 22px var(--s-6) var(--s-6);
}

.st-case__meta {
  font-size: 0.71875rem;
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--purple);
}

.st-case__body p {
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.st-case__body .st-link {
  margin-top: auto;
  padding-top: var(--s-2);
}

.st-case__media.st-placeholder {
  min-height: 0;
  border: 0;
  border-bottom: var(--border);
  border-radius: 0;
}

/* Products strip */
.st-strip {
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  gap: var(--s-6);
  align-items: start;
  margin-top: var(--s-4);
  padding: 22px var(--s-6);
  border: var(--border);
  border-radius: var(--r-card);
  background: var(--paper);
}

.st-strip__label {
  padding-top: 2px;
  font-size: var(--fs-caption);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--purple);
  white-space: nowrap;
}

.st-strip a {
  display: block;
  font-weight: var(--weight-heading);
  text-decoration: none;
}

.st-strip a:hover {
  color: var(--purple);
}

.st-strip span {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-3);
}

@media (max-width: 1000px) {
  .st-strip {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }
}

/* Product card */
.st-product {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--s-6);
  border: var(--border);
  border-radius: var(--r-card);
  background: var(--white);
}

.st-product__url {
  font-size: var(--fs-caption);
  font-weight: var(--weight-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.st-product p {
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.st-product__shows {
  padding-left: var(--s-3);
  border-left: 4px solid var(--purple);
  font-size: var(--fs-small);
  font-weight: var(--weight-label);
  color: var(--ink);
}

/* Comparison cards */
.st-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.st-compare__col {
  display: grid;
  align-content: start;
  gap: var(--s-3);
}

.st-compare__head {
  font-size: var(--fs-label);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-3);
}

.st-compare__col--ours .st-compare__head {
  color: var(--purple);
}

.st-compare__item {
  padding: 14px var(--s-4);
  border: var(--border);
  border-left: var(--bar-story) solid var(--ink-3);
  border-radius: var(--r-card);
  background: var(--white);
  font-size: var(--fs-small);
}

.st-compare__col--ours .st-compare__item {
  border-left-color: var(--purple);
  font-weight: var(--weight-label);
}

@media (max-width: 760px) {
  .st-compare {
    grid-template-columns: 1fr;
  }
}

/* ---------- Steps ---------- */
.st-steps {
  --step-halo: var(--paper);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
}

.st-steps::before {
  content: "";
  position: absolute;
  left: 24px;
  right: calc(25% - 24px);
  top: 23px;
  height: 2px;
  background: var(--ink);
}

.st-step {
  position: relative;
  padding-right: var(--s-6);
}

.st-step__n {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-btn);
  background: var(--purple);
  color: var(--white);
  font-size: 1.1875rem;
  font-weight: var(--weight-heading);
  box-shadow: 0 0 0 6px var(--step-halo);
}

.st-step .st-h3 {
  margin: 20px 0 6px;
}

.st-step p {
  font-size: var(--fs-small);
  color: var(--ink-3);
}

@media (max-width: 760px) {
  .st-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .st-steps::before {
    left: 23px;
    right: auto;
    top: 24px;
    bottom: 96px;
    width: 2px;
    height: auto;
  }

  .st-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--s-4);
    padding: 0;
  }

  .st-step .st-h3 {
    margin-top: var(--s-2);
  }
}

/* ---------- FAQ (native details) ---------- */
.st-faq {
  max-width: 880px;
  border-top: var(--border);
}

.st-faq details {
  padding: 22px var(--s-1);
  border-bottom: var(--border);
}

.st-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  list-style: none;
  font-size: 1.0625rem;
  font-weight: var(--weight-heading);
  cursor: pointer;
}

.st-faq summary::-webkit-details-marker {
  display: none;
}

.st-faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-label);
  background: var(--ink);
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1;
}

.st-faq details[open] summary::after {
  content: "\2212";
}

.st-faq details p {
  max-width: 760px;
  margin-top: 10px;
  color: var(--ink-3);
}

/* ---------- Call to action band ---------- */
.st-cta-band {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 64px;
  border-radius: var(--r-card);
  background-color: var(--purple);
  background-image:
    linear-gradient(var(--grid-line-band) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-band) 1px, transparent 1px);
  background-size: var(--grid-size-band) var(--grid-size-band);
  color: var(--white);
}

.st-cta-band .st-h2 {
  margin: 0;
  color: var(--white);
}

.st-cta-band p {
  margin-top: var(--s-3);
  font-size: var(--fs-lead);
}

.st-cta-band__actions {
  display: grid;
  justify-items: start;
  gap: var(--s-3);
}

.st-cta-band__actions small {
  font-size: var(--fs-small);
  font-weight: var(--weight-label);
}

@media (max-width: 760px) {
  .st-cta-band {
    grid-template-columns: 1fr;
    padding: 36px 22px;
  }

  .st-cta-band__actions {
    justify-items: stretch;
  }
}

/* ---------- Header ---------- */
.st-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.st-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  height: 72px;
}

.st-header__logo img {
  width: var(--logo-header);
}

.st-nav {
  display: flex;
  gap: 30px;
  font-size: var(--fs-small);
  font-weight: var(--weight-label);
  color: var(--ink-2);
}

.st-nav a {
  text-decoration: none;
}

.st-nav a:hover {
  color: var(--purple);
}

.st-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.st-header--dark {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: var(--black);
  color: var(--white);
}

.st-header--dark .st-nav {
  color: var(--mist);
}

.st-header--dark .st-btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark-strong);
}

.st-header--dark .st-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.st-header--dark :focus-visible {
  outline-color: var(--white);
}

.st-header--dark .st-nav a:hover {
  color: var(--white);
}

.st-menu-btn {
  display: none;
  place-items: center;
  width: var(--tap-min);
  height: var(--tap-min);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--ink);
}

.st-header--dark .st-menu-btn {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

@media (max-width: 1080px) {
  .st-nav,
  .st-header__actions {
    display: none;
  }

  .st-menu-btn {
    display: grid;
  }

  .st-header__inner {
    height: 62px;
  }

  .st-header__logo img {
    width: var(--logo-min);
  }
}

/* ---------- Hero ---------- */
.st-hero {
  padding-block: 84px 96px;
}

.st-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}

.st-hero .st-h1 {
  margin-top: 26px;
}

.st-hero .st-lead {
  max-width: 600px;
  margin-top: var(--s-6);
}

.st-hero .st-btn-row {
  margin-top: 34px;
}

.st-hero .st-ticks {
  margin-top: 30px;
}

@media (max-width: 1000px) {
  .st-hero {
    padding-block: 40px 56px;
  }

  .st-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

/* ---------- Contact card ---------- */
.st-contact {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: var(--border);
  border-left: var(--bar-story) solid var(--purple);
  border-radius: var(--r-card);
  background: var(--white);
}

.st-contact__name {
  font-size: 1.0625rem;
  font-weight: var(--weight-heading);
}

.st-contact__role {
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.st-contact__lines {
  display: grid;
  gap: var(--s-1);
  margin-top: var(--s-2);
  font-size: var(--fs-small);
  overflow-wrap: anywhere;
}

/* ---------- Forms ---------- */
.st-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.st-form-grid .st-field--full {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .st-form-grid {
    grid-template-columns: 1fr;
  }
}

.st-field {
  display: grid;
  gap: 6px;
}

.st-field label {
  font-size: var(--fs-small);
  font-weight: var(--weight-heading);
}

.st-req {
  color: var(--purple);
}

.st-input,
.st-select,
.st-textarea {
  width: 100%;
  min-height: var(--field-height);
  padding: 12px 14px;
  border: var(--border-width) solid var(--ink-3);
  border-radius: var(--r-btn);
  background: var(--white);
  font-size: 1rem;
  color: var(--ink);
}

.st-textarea {
  min-height: 120px;
  resize: vertical;
}

.st-input::placeholder,
.st-textarea::placeholder {
  color: var(--placeholder);
}

.st-input:focus,
.st-select:focus,
.st-textarea:focus {
  border-color: var(--purple);
  outline: 3px solid var(--purple);
  outline-offset: 1px;
}

.st-field--error .st-input,
.st-field--error .st-textarea {
  border-color: var(--red-text);
}

.st-field__error {
  font-size: 0.875rem;
  font-weight: var(--weight-label);
  color: var(--red-text);
}

.st-field__help,
.st-consent {
  font-size: 0.875rem;
  color: var(--ink-3);
}

/* ---------- Footer ---------- */
.st-footer {
  padding-block: 64px 36px;
  background: var(--black);
  color: var(--mist);
}

.st-footer__top {
  display: grid;
  grid-template-columns: minmax(var(--lockup-min), 1.6fr) repeat(3, 1fr);
  gap: var(--s-7);
}

.st-footer__lockup {
  width: var(--lockup-min);
}

.st-footer__wordmark,
.st-footer__slogan {
  display: none;
}

.st-footer__wordmark {
  width: var(--logo-min);
}

.st-footer__slogan {
  margin-top: 14px;
  font-size: var(--fs-caption);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  color: var(--mist);
}

/* Column labels, not headings: a heading here would follow the page's h2 or h3 out
   of sequence, and a label is what they are. */
.st-footer .st-footer__heading {
  margin-bottom: var(--s-3);
  font-size: 0.90625rem;
  font-weight: var(--weight-heading);
  color: var(--white);
}

.st-footer ul {
  display: grid;
  gap: var(--s-2);
  list-style: none;
  padding: 0;
  font-size: var(--fs-small);
}

.st-footer a {
  text-decoration: none;
}

.st-footer a:hover {
  color: var(--white);
}

.st-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #2E2C39;
  font-size: 0.84375rem;
}

@media (max-width: 1000px) {
  .st-footer__top {
    grid-template-columns: repeat(3, 1fr);
  }

  .st-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .st-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .st-footer__brand {
    grid-column: 1 / -1;
  }

  .st-footer__lockup {
    display: none;
  }

  .st-footer__wordmark,
  .st-footer__slogan {
    display: block;
  }
}

/* ---------- Placeholders and review markers ---------- */
.st-placeholder {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: var(--s-4);
  border: var(--border-width) dashed var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  color: var(--ink-3);
  font-size: 0.875rem;
  text-align: center;
}

.st-on-dark .st-placeholder {
  border-color: rgba(255, 255, 255, 0.22);
  background: #1C1F2A;
  color: var(--mist);
}

.st-confirm {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--amber-tint);
  color: var(--amber-text);
}
