/* TALO components. Loaded after styles.css; reuses its tokens. */

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

/* ---------- Hero preview ---------- */
.t-window {
  width: min(100%, 560px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.t-window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.t-stepper {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.t-stepper li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
}

.t-stepper li + li::before {
  content: none;
}

.t-stepper .is-done {
  color: var(--primary-dark);
}

.t-stepper .is-done::before {
  content: "\2713";
  font-size: 12px;
}

.t-stepper .is-now {
  background: var(--violet-soft);
  color: oklch(36% 0.14 290);
}

.t-sample {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px dashed oklch(70% 0.02 285);
  border-radius: 999px;
  padding: 3px 10px;
}

.t-signal,
.t-managers {
  padding: 18px;
}

.t-signal {
  border-bottom: 1px solid var(--line);
}

.t-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.t-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.t-chip {
  font-size: 13px;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

.t-chip.title {
  background: var(--primary-soft);
  border-color: transparent;
  color: var(--primary-dark);
  font-weight: 600;
}

.t-chip.key {
  background: var(--violet-soft);
  border-color: transparent;
  color: oklch(34% 0.14 290);
}

.t-managers {
  display: grid;
  gap: 10px;
}

.t-manager {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.t-manager strong,
.t-manager small {
  display: block;
}

.t-manager strong {
  font-size: 14px;
}

.t-manager small {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.t-score {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: oklch(98% 0.006 150);
  font-size: 15px;
}

.t-score.mid {
  background: oklch(55% 0.09 150);
}

.t-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
}

/* ---------- How it works ---------- */
.t-how .section-heading {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.t-steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.t-step {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.t-step h3 {
  margin: 14px 0 8px;
  font-size: 1.25rem;
}

.t-step p {
  margin: 0 0 14px;
  color: var(--muted);
}

.t-step .t-you {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
}

.t-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
}

/* ---------- Waitlist ---------- */
.t-waitlist {
  background: linear-gradient(180deg, var(--bg), var(--surface-soft));
}

.t-waitlist-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.t-waitlist-copy p {
  color: var(--muted);
  font-size: 1.1rem;
}

.t-waitlist-copy .t-fineprint {
  font-size: 0.95rem;
}

.t-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
}

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

.t-field label {
  font-size: 0.95rem;
  font-weight: 600;
}

.t-field input,
.t-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid oklch(72% 0.015 80);
  border-radius: var(--radius);
}

.t-field input:focus-visible,
.t-field select:focus-visible,
.t-form .btn:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--violet), transparent 35%);
  outline-offset: 2px;
}

.t-field [aria-invalid="true"] {
  border-color: oklch(52% 0.17 25);
}

.t-form .btn {
  min-height: 48px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.t-form .btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.t-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.t-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.t-status.is-ok {
  color: var(--primary-dark);
  font-weight: 600;
}

.t-status.is-error {
  color: oklch(46% 0.17 25);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.t-footer {
  padding-top: 40px;
}

.t-footer .footer-bottom {
  border-top: 0;
  padding-top: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .t-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .t-waitlist-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .t-steps {
    grid-template-columns: 1fr;
  }

  .micro-proof {
    flex-direction: column;
    gap: 8px;
  }

  .t-window-head {
    flex-wrap: wrap;
  }

  .t-manager {
    grid-template-columns: 40px 1fr;
  }

  .t-manager .t-pill {
    grid-column: 2;
    justify-self: start;
  }

  .t-score {
    width: 40px;
    height: 40px;
  }

  .mobile-sticky-cta {
    grid-template-columns: 1fr;
  }

  .t-footer {
    padding-bottom: 96px;
  }

  .t-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* The closed mobile menu is shorter than before; hide it fully so it never peeks under the header. */
.mobile-menu[aria-hidden="true"] {
  visibility: hidden;
  transition: transform 180ms ease, visibility 0s linear 180ms;
}

body.menu-open .mobile-menu {
  visibility: visible;
  transition: transform 180ms ease;
}
