/* TrustFlow Teams toolkit heroes. Shared full-fold hero used by every toolkit
   page: fills the first screen below the fixed navbar and the toolkit bar,
   content centred, one primary CTA, a quiet scroll cue. Page stylesheets keep
   styling the tool itself; this file only owns the first-screen hero. */
.tk-hero {
  --tk-fold: calc(100vh - var(--tk-nav-h, 80px) - var(--tk-bar-h, 58px));
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: max(var(--tk-fold), 520px);
  padding: clamp(32px, 6vh, 72px) 24px clamp(64px, 9vh, 96px);
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(1100px 560px at 85% -5%, rgba(23, 96, 158, 0.5), transparent 62%),
    radial-gradient(720px 420px at 6% 105%, rgba(242, 102, 34, 0.13), transparent 66%),
    linear-gradient(180deg, #16212d 0%, #1a2633 100%);
  border: 0;
}
@supports (height: 100svh) {
  .tk-hero {
    --tk-fold: calc(100svh - var(--tk-nav-h, 80px) - var(--tk-bar-h, 58px));
  }
}
.tk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  transform: none;
  filter: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}
.tk-hero > .tk-hero-inner,
.tk-hero .tk-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.tk-hero .tk-hero-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(18px, 3vh, 28px);
}

.tk-hero .tk-hero-title {
  font-family: var(--ds-font-display, "Playfair Display", Georgia, serif);
  font-size: clamp(1.85rem, 1.1rem + 3.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 auto clamp(14px, 2.4vh, 22px);
  max-width: 17em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
  -webkit-hyphens: manual;
  word-break: normal;
}
.tk-hero .tk-hero-title em,
.tk-hero .tk-hero-title span {
  font-style: normal;
}

.tk-hero p.tk-hero-promise {
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 600;
  color: #ff9d6e;
  margin: 0 0 10px;
}

.tk-hero p.tk-hero-lede {
  font-family: var(--ds-font, "Inter", system-ui, sans-serif);
  font-size: clamp(15px, 0.9rem + 0.5vw, 19px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.84);
  max-width: 62ch;
  margin: 0 auto clamp(18px, 3vh, 30px);
  text-wrap: pretty;
}
.tk-hero p.tk-hero-sub {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  max-width: 62ch;
  margin: 0 auto clamp(18px, 3vh, 28px);
}

.tk-hero .tk-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 0;
}
.tk-hero .tk-hero-actions a,
.tk-hero .tk-hero-actions .btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 980px;
  text-decoration: none;
  box-sizing: border-box;
}
.tk-hero .tk-hero-notes {
  margin: 20px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}
.tk-hero .tk-hero-notes a {
  color: #ffffff;
  text-decoration: underline;
}

/* Scroll cue */
.tk-hero::after {
  content: "Scroll \2193";
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--ds-font, "Inter", system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: tk-cue 2.4s ease-in-out infinite;
}
@keyframes tk-cue {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 5px); opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-hero::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* The card that follows the hero no longer overlaps it. */
.tk-hero + .pulse-card-shell,
.tk-hero + .friction-card-shell,
.tk-hero + .tariff-card-shell,
.tk-hero + .convo-card-shell,
.tk-hero + .scorecard-wrap {
  margin-top: 56px;
}

/* Anchors land below the fixed navbar. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tk-nav-h, 80px) + 16px);
}

@media (max-width: 600px) {
  .tk-hero {
    padding: 28px 18px 64px;
  }
  .tk-hero .tk-hero-pills {
    flex-direction: column;
    gap: 8px;
  }
  .tk-hero .tk-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .tk-hero .tk-hero-actions a,
  .tk-hero .tk-hero-actions .btn {
    width: 100%;
    padding: 14px 18px;
  }
}

/* Trust Tariff and Team Coaching heroes: small page-specific touches */
.tk-hero .tk-hero-notes-tight {
  margin-top: 8px;
}
.tk-hero .tk-hero-actions .btn-hero-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.tk-hero .tc-choice-grid {
  max-width: 980px;
  margin: clamp(24px, 4vh, 40px) auto 0;
  text-align: left;
}
.tk-hero .tc-hero-title.tk-hero-title {
  font-size: clamp(1.75rem, 1rem + 3vw, 3.1rem);
}
.tk-hero .tc-hero-title + .tk-hero-lede,
.tk-hero p.tc-hero-lede {
  font-size: clamp(15px, 0.9rem + 0.4vw, 18px);
  margin-bottom: 14px;
}
.tk-hero p.tc-hero-sub {
  margin-bottom: 20px;
}
.tk-hero .tk-hero-actions + .tc-choice-grid {
  margin-top: clamp(24px, 4vh, 40px);
}

/* Virtual Program page: its own white header and step nav stay above the hero,
   the #start section becomes the same dark full-fold hero (full-bleed via
   box-shadow so the page grid is untouched). */
.tf-main > #start > .tk-hero-virtual {
  --tk-chrome-h: 176px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(calc(100vh - var(--tk-nav-h, 80px) - var(--tk-bar-h, 58px) - var(--tk-chrome-h)), 520px);
  padding: clamp(32px, 6vh, 64px) 0 clamp(64px, 9vh, 92px);
  color: #ffffff;
  background: #1a2633;
  box-shadow: 0 0 0 100vmax #1a2633;
  clip-path: inset(0 -100vmax);
  border-bottom: 0;
}
@supports (height: 100svh) {
  .tf-main > #start > .tk-hero-virtual {
    min-height: max(calc(100svh - var(--tk-nav-h, 80px) - var(--tk-bar-h, 58px) - var(--tk-chrome-h)), 520px);
  }
}
.tk-hero-virtual > .eyebrow {
  color: #8db8df;
  text-align: left;
}
.tk-hero-virtual h1 {
  font-family: var(--ds-font-display, "Playfair Display", Georgia, serif);
  font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  margin: 14px 0 20px;
}
.tk-hero-virtual h1 em {
  color: var(--ds-orange, #F26622);
  font-style: normal;
}
.tk-hero-virtual p {
  color: rgba(255, 255, 255, 0.84);
}
.tk-hero-virtual .lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.92);
}
.tf-main .tk-hero-virtual a.button {
  background: var(--ds-orange, #F26622);
  border-color: var(--ds-orange, #F26622);
  border-radius: 980px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
}
.tf-main .tk-hero-virtual a.button:hover {
  background: var(--ds-orange-hover, #d9561b);
  border-color: var(--ds-orange-hover, #d9561b);
}
.tk-hero-virtual .path-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 5px solid var(--ds-orange, #F26622);
  border-radius: 14px;
  color: #ffffff;
}
.tk-hero-virtual .path-visual .eyebrow {
  color: #8db8df;
}
.tk-hero-virtual .path-visual div {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.tk-hero-virtual .path-visual .highlight {
  background: var(--ds-blue, #17609E);
  border-radius: 8px;
}
.tk-hero-virtual::after {
  content: "Scroll \2193";
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: tk-cue 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .tk-hero-virtual::after { animation: none; }
}
@media (max-width: 750px) {
  .tf-main > #start > .tk-hero-virtual {
    --tk-chrome-h: 150px;
    padding: 28px 0 64px;
  }
  .tk-hero-virtual h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
    letter-spacing: -0.02em;
  }
}

#start:has(> .tk-hero-virtual) {
  padding-top: 0;
}

.tk-hero-virtual .hero {
  display: grid;
  align-items: start;
  min-height: 0;
  padding: 0;
}
