/* ==========================================================================
   TFOS Homepage — front-page.css
   Design tokens from main.css; homepage-only styles here.
   ========================================================================== */

/* ── Layout shell ─────────────────────────────────────────────────────────── */
.tfos-homepage {
  overflow-x: hidden;
}

/* ── Performance / CLS prevention ────────────────────────────────────────────
   contain:layout on the hero isolates font-swap reflows to within the hero,
   preventing them from shifting elements elsewhere on the page.
   will-change:transform on deco elements promotes them to their own compositor
   layer — browser pre-allocates space so they don't trigger layout shift.
   content-visibility:auto on below-fold sections defers their render cost
   until they enter the viewport (faster Time to Interactive + LCP).
   ──────────────────────────────────────────────────────────────────────────── */
.tfos-hp-hero {
  contain: layout;
}
.tfos-deco-glow-br,
.tfos-deco-glow-tl {
  will-change: transform;
}
.tfos-hp-section {
  content-visibility: auto;
  contain-intrinsic-block-size: 800px;
}
/* Hero is above fold — must NOT be lazy-rendered */
.tfos-hp-hero {
  content-visibility: visible;
}

/* ── Shared section wrapper ──────────────────────────────────────────────── */
.tfos-hp-section {
  padding-block: 80px;
}
.tfos-hp-section-inner {
  max-width: var(--container-max, 1280px);
  margin-inline: auto;
  padding-inline: 48px;
}

/* Section alternating backgrounds */
.tfos-hp-section--landscape    { background: var(--color-lavender, #F0EDF8); }
.tfos-hp-section--intelligence { background: #fff; }
.tfos-hp-section--perspectives { background: #fafafa; border-top: 1px solid var(--color-border-light); border-bottom: 1px solid var(--color-border-light); }
.tfos-hp-section--casefiles    { background: #fff; }
.tfos-hp-section--outlook      { background: var(--color-lavender, #F0EDF8); }

/* ── Section header ──────────────────────────────────────────────────────── */
.tfos-hp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.tfos-hp-sh-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tfos-hp-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(3, 3, 3, 0.45);
  text-transform: uppercase;
}
.tfos-hp-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-text-primary, #030303);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  max-width: 540px;
}
.tfos-hp-subtitle {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(3, 3, 3, 0.55);
  margin: 0;
  line-height: 1.55;
}
.tfos-hp-viewall {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary, #030303);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.15s;
}
.tfos-hp-viewall:hover { opacity: 0.6; }


/* ══════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════ */
/* ── Hero decorative background elements (matches design spec) ── */
.tfos-deco-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(107,92,231,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.10) 30%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.06) 30%, transparent 72%);
}
.tfos-deco-glow-tl {
  position: absolute; pointer-events: none; z-index: 0;
  top: -120px; left: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(107,92,231,0.09) 0%, transparent 68%);
}
.tfos-deco-glow-br {
  position: absolute; pointer-events: none; z-index: 0;
  bottom: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(107,92,231,0.045) 0%, transparent 68%);
}
.tfos-deco-dot {
  position: absolute; pointer-events: none; z-index: 0; border-radius: 50%;
}
.tfos-deco-dot--a { top: 22%; right: 18%; width: 5px; height: 5px; background: rgba(107,92,231,0.22); }
.tfos-deco-dot--b { top: 38%; right: 28%; width: 3px; height: 3px; background: rgba(107,92,231,0.16); }
.tfos-deco-dot--c { bottom: 30%; left: 44%; width: 4px; height: 4px; background: rgba(107,92,231,0.14); }
.tfos-deco-diamond {
  position: absolute; pointer-events: none; z-index: 0;
  bottom: 32%; right: 10%;
  width: 8px; height: 8px;
  border: 1.5px solid rgba(107,92,231,0.20);
  transform: rotate(45deg);
}
.tfos-hero-top-rule {
  position: absolute; top: 56px; left: 0; right: 0;
  height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(107,92,231,0.12) 20%, rgba(107,92,231,0.12) 80%, transparent 100%);
}

.tfos-hp-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tfos-hp-hero-inner {
  position: relative; z-index: 1;
  /*
   * Inspector-confirmed two-column layout:
   * Left  (wordmark) : natural content width ≈ 362px  → flex:none
   * Divider gap      : 100px + 1px + 100px = 200px
   * Right (heading)  : remaining space      ≈ 854px   → flex:1
   */
  max-width: calc(var(--container-max, 1280px) + 136px); /* allow up to ~1416px at 2xl */
  margin-inline: auto;
  padding: 80px 48px 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  min-height: 80vh;
  position: relative;
}

/* Vertical divider between hero columns — real element so diamond ::before works */
.tfos-hp-hero-col-divider {
  order: 2;
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  margin: 80px 100px;
  background: linear-gradient(
    to bottom,
    transparent    8%,
    rgba(0,0,0,0.13) 30%,
    rgba(0,0,0,0.13) 70%,
    transparent   92%
  );
  position: relative;
}
/* Diamond ornament — CSS rotated square with purple border, matching design */
.tfos-hp-hero-col-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border: 1.5px solid rgba(107, 92, 231, 0.30);
  background: #fff;
}

.tfos-hp-hero-left {
  flex: none;                  /* shrinks to natural wordmark width ≈ 362px */
  display: flex;
  align-items: flex-start;
  align-self: center;
  order: 1;
}
.tfos-hp-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(60px, 7.5vw, 120px);
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.09em;
  line-height: 1.18;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  cursor: default;
}
.tfos-hp-wordmark img { max-height: 80px; width: auto; }

.tfos-hp-hero-right {
  flex: 1;                     /* fills remaining space ≈ 854px */
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  order: 3;                    /* after ::after pseudo-divider */
}

/* Eyebrow label */
.tfos-hp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6B5CE7;
  background: rgba(107, 92, 231, 0.08);
  border: 1px solid rgba(107, 92, 231, 0.16);
  padding: 5px 11px;
  border-radius: 20px;
  width: fit-content;
}
.tfos-hp-hero-eyebrow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #6B5CE7;
  opacity: 0.7;
  flex-shrink: 0;
}

/* Right column radial tint */
.tfos-hp-hero-right {
  position: relative;
}
.tfos-hp-hero-right::before {
  content: &#039;&#039;;
  position: absolute;
  inset: -40px -80px;
  background: radial-gradient(ellipse at 30% 40%,
    rgba(107, 92, 231, 0.045) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.tfos-hp-hero-right > * { position: relative; z-index: 1; }

/* &quot;All Things Family Office. No Guesswork.&quot; — 52px h1 */
.tfos-hp-hero-heading {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 400;
  color: #000000;
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 1.4;
  width: 100%;
}
.tfos-hp-hero-heading em {
  font-style: italic;
  font-weight: 400;
}

.tfos-hp-hero-desc {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.4vw, 17px);
  color: rgba(0, 0, 0, 0.70);
  line-height: 1.30;
  letter-spacing: -0.02em;
  margin: 0;
}

/* CTA group */
.tfos-hp-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.tfos-hp-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #030303;
  color: #fff;
  font-family: &#039;IBM Plex Sans&#039;, var(--font-sans);
  font-size: 11.8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15.6px 36.4px;
  border-radius: 9999px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.18s, transform 0.15s;
}
.tfos-hp-hero-cta:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

/* Secondary text-link CTA */
.tfos-hp-hero-cta-secondary {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.50);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
  white-space: nowrap;
}
.tfos-hp-hero-cta-secondary:hover { color: #000; }
.tfos-hp-hero-cta-secondary svg { transition: transform 0.15s; }
.tfos-hp-hero-cta-secondary:hover svg { transform: translateX(3px); }

/* Stats credibility strip */
.tfos-hp-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.tfos-hp-hero-stat {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.38);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tfos-hp-hero-stat strong {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.55);
}
.tfos-hp-hero-stat-sep {
  width: 1px; height: 12px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Divider diamond is now handled by .tfos-hp-hero-col-divider::before */

.tfos-hp-hero-divider {
  height: 1px;
  background: var(--color-border-light, #e8e6f0);
  max-width: var(--container-max, 1280px);
  margin-inline: auto;
  width: calc(100% - 96px);
}

/* Hero bottom wrapper: chevron + divider + category strip */
.tfos-hp-hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Animated scroll chevron */
.tfos-hp-scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0 10px;
  color: rgba(0, 0, 0, 0.28);
  animation: tfos-scroll-bounce 2.4s ease-in-out infinite;
}
@keyframes tfos-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(6px); opacity: 1; }
}

/* Category strip — matches design: border-top line, span items with border-right separators */
.tfos-hp-cat-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  padding: 13px 48px;
  background: transparent;
  border-top: 1px solid var(--color-border-light, #e8e6f0);
}
.tfos-hp-strip-item {
  font-size: 11px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.40);
  letter-spacing: 0.04em;
  padding: 0 20px;
  white-space: nowrap;
  border-right: 1px solid var(--color-border-light, #e8e6f0);
}
.tfos-hp-strip-item:last-child { border-right: none; }
.tfos-hp-strip-item:hover {
  color: rgba(0, 0, 0, 0.40);
  cursor: default;
}


/* ══════════════════════════════════════════════════════════════════════════
   LANDSCAPE SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.tfos-ls-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

/* Left nav */
.tfos-ls-nav { position: sticky; top: 80px; }
.tfos-ls-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tfos-ls-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md, 8px);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(3, 3, 3, 0.65);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.tfos-ls-nav-btn .tfos-ls-nav-arrow {
  opacity: 0;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.tfos-ls-nav-btn:hover {
  background: rgba(107, 92, 231, 0.07);
  color: #030303;
}
.tfos-ls-nav-btn.is-active {
  background: rgba(107, 92, 231, 0.12);
  color: #4b3eb5;
  font-weight: 500;
}
.tfos-ls-nav-btn.is-active .tfos-ls-nav-arrow {
  opacity: 1;
  color: #4b3eb5;
}
.tfos-ls-nav-viewall {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(3, 3, 3, 0.5);
  text-decoration: none;
  border-top: 1px solid var(--color-lavender-dark, #DDD7F0);
  padding-top: 16px;
  margin-top: 8px;
  transition: color 0.15s;
}
.tfos-ls-nav-viewall:hover { color: #030303; }

/* Provider cards grid */
.tfos-ls-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-height: 280px;
}

/* Individual provider mini-card — mirrors design pcard exactly */
.tfos-ls-card {
  min-height: 380px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.tfos-ls-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(107,92,231,0.13), 0 1px 4px rgba(0,0,0,0.05);
}

/* Logo area: 170px tall, darker lavender, name only (faded) */
.tfos-ls-card-logo {
  height: 170px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #DDD7F0;
  border-bottom: 1px solid rgba(107, 92, 231, 0.09);
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.tfos-ls-card:hover .tfos-ls-card-logo { background: #fff; }
.tfos-ls-card-logo-name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.45);
  text-align: center;
  line-height: 1.3;
}

/* Card body */
.tfos-ls-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Name row: bold name + checkmark circle */
.tfos-ls-card-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tfos-ls-card-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.tfos-ls-card-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(107, 92, 231, 0.12);
  flex-shrink: 0;
}

/* Location */
.tfos-ls-card-loc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.40);
}

/* Outlined chip — no fill, border only */
.tfos-ls-card-chip {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.60);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 3px 8px;
}

/* Description */
.tfos-ls-card-tagline {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(0, 0, 0, 0.60);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* Loading / empty states */
.tfos-ls-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(3, 3, 3, 0.45);
  padding: 40px 0;
}
.tfos-ls-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(107, 92, 231, 0.25);
  border-top-color: #6b5ce7;
  border-radius: 50%;
  animation: tfos-spin 0.7s linear infinite;
}
@keyframes tfos-spin { to { transform: rotate(360deg); } }
.tfos-ls-empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(3, 3, 3, 0.45);
}
.tfos-ls-empty a { color: #4b3eb5; }


/* ══════════════════════════════════════════════════════════════════════════
   INTELLIGENCE SECTION — two-panel layout + category nav
   ══════════════════════════════════════════════════════════════════════════ */
.tfos-intel-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

/* Left nav — sticky, same visual language as landscape nav */
.tfos-intel-nav {
  position: sticky;
  top: calc(54px + 20px); /* nav height + offset */
}
.tfos-intel-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tfos-intel-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.60);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.tfos-intel-nav-arrow {
  opacity: 0;
  font-size: 13px;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.tfos-intel-nav-btn:hover {
  background: rgba(107, 92, 231, 0.07);
  color: #000;
}
.tfos-intel-nav-btn.is-active {
  background: rgba(107, 92, 231, 0.12);
  color: #4b3eb5;
  font-weight: 500;
}
.tfos-intel-nav-btn.is-active .tfos-intel-nav-arrow {
  opacity: 1;
  color: #4b3eb5;
}
.tfos-intel-nav-hr {
  height: 1px;
  background: #DDD7F0;
  margin: 8px 0;
}
.tfos-intel-nav-more {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.40);
  text-decoration: none;
  transition: color 0.15s;
}
.tfos-intel-nav-more:hover { color: #000; }

/* ══════════════════════════════════════════════════════════════════════════
   CONTENT CARDS (Intelligence / Perspectives / Case Files / Outlook)
   ══════════════════════════════════════════════════════════════════════════ */
.tfos-hp-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tfos-hp-content-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border-light, #e8e6f0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tfos-hp-content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Thumbnail */
.tfos-hp-card-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f2f0f8;
}
.tfos-hp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.tfos-hp-content-card:hover .tfos-hp-card-img { transform: scale(1.04); }
.tfos-hp-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e4f4 0%, #d4cef0 100%);
}
.tfos-hp-card-img-placeholder--persp  { background: linear-gradient(135deg, #e4edf8 0%, #cad9f0 100%); }
.tfos-hp-card-img-placeholder--case   { background: linear-gradient(135deg, #f8f0e4 0%, #f0deca 100%); }
.tfos-hp-card-img-placeholder--outlook{ background: linear-gradient(135deg, #e4f0e8 0%, #c8e4cc 100%); }

/* Card body */
.tfos-hp-card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tfos-hp-card-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: rgba(3, 3, 3, 0.45);
  text-transform: uppercase;
}
.tfos-hp-card-badge--intel   { color: #6B5CE7; }
.tfos-hp-card-badge--persp   { color: #2563EB; }
.tfos-hp-card-badge--case    { color: #b45309; }
.tfos-hp-card-badge--outlook { color: #15803d; }

.tfos-hp-card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex: 1;
}
.tfos-hp-card-excerpt {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(0, 0, 0, 0.60);
  line-height: 1.65;
  margin: 0;
}
.tfos-hp-card-date {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(0, 0, 0, 0.40);
  margin-top: 2px;
}

/* On landscape/outlook sections, cards get lavender bg */
.tfos-hp-section--landscape .tfos-hp-content-card,
.tfos-hp-section--outlook .tfos-hp-content-card {
  border-color: rgba(107, 92, 231, 0.12);
}

/* Empty state */
.tfos-hp-empty-state {
  padding: 48px 0;
  border-top: 1px solid var(--color-border-light);
}
.tfos-hp-empty {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(3, 3, 3, 0.45);
  margin: 0;
  max-width: 520px;
}


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet: 900px–1100px ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tfos-hp-section-inner    { padding-inline: 32px; }
  .tfos-hp-hero-inner       { padding: 64px 32px 48px; }
  .tfos-hp-hero-col-divider { margin-inline: 60px; }
}

/* ── Tablet: ≤900px — stack hero, pill navs, 2-col cards ───────────────── */
@media (max-width: 900px) {
  /* Section */
  .tfos-hp-section       { padding-block: 56px; }
  .tfos-hp-section-head  { flex-direction: column; align-items: flex-start; }

  /* Hero — stack into single column */
  .tfos-hp-hero          { min-height: unset; }
  .tfos-hp-hero-inner    {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px 32px 40px;
    gap: 36px;
    min-height: unset;
  }
  /* Hide the left wordmark column and vertical divider */
  .tfos-hp-hero-left         { display: none; }
  .tfos-hp-hero-col-divider  { display: none; }
  /* Right column fills full width */
  .tfos-hp-hero-right { flex: unset; width: 100%; }
  /* Scale down the heading */
  .tfos-hp-hero-heading  { font-size: 38px; line-height: 1.25; }
  /* Hide canvas animations on smaller screens — too heavy */
  #tfos-sym-br, #tfos-sym-tl { display: none; }
  /* Category strip wraps neatly */
  .tfos-hp-cat-strip     { padding-inline: 32px; justify-content: flex-start; }

  /* Landscape */
  .tfos-ls-layout    { grid-template-columns: 1fr; }
  .tfos-ls-nav       { position: static; }
  .tfos-ls-nav-list  { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .tfos-ls-nav-btn   { width: auto; padding: 7px 14px; border-radius: 20px; font-size: 13px; }
  .tfos-ls-nav-btn .tfos-ls-nav-arrow { display: none; }
  .tfos-ls-cards     { grid-template-columns: repeat(2, 1fr); }

  /* Intelligence */
  .tfos-intel-layout     { grid-template-columns: 1fr; }
  .tfos-intel-nav        { position: static; }
  .tfos-intel-nav-list   { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .tfos-intel-nav-btn    { width: auto; padding: 7px 14px; border-radius: 20px; font-size: 13px; }
  .tfos-intel-nav-btn .tfos-intel-nav-arrow { display: none; }
  .tfos-intel-nav-hr     { display: none; }
  .tfos-intel-nav-more   { padding-left: 0; }

  /* Content card grids → 2 cols */
  .tfos-hp-cards-grid    { grid-template-columns: repeat(2, 1fr); }

  /* CTA interceptor → stack at tablet */
  .tfos-hp-cta-inner     { grid-template-columns: 1fr; gap: 40px; padding-inline: 32px; }
  .tfos-hp-cta-title     { font-size: 24px; }
}

/* ── Mobile: ≤600px — single column, smaller type ──────────────────────── */
@media (max-width: 600px) {
  .tfos-hp-section-inner   { padding-inline: 20px; }

  /* Hero */
  .tfos-hp-hero-inner      { padding: 44px 20px 36px; gap: 28px; }
  .tfos-hp-hero-heading    { font-size: 30px; line-height: 1.2; }
  .tfos-hp-hero-desc       { font-size: 14px; }
  .tfos-hp-hero-cta        { padding: 14px 28px; font-size: 11px; }
  .tfos-hp-hero-cta-group  { gap: 14px; }
  .tfos-hp-hero-stats      { gap: 12px; flex-wrap: wrap; }
  .tfos-hp-hero-stat       { font-size: 10px; }
  .tfos-hp-cat-strip       { padding-inline: 20px; gap: 0; }
  .tfos-hp-strip-item      { padding: 0 10px; font-size: 10px; }

  /* Section header */
  .tfos-hp-title           { font-size: 22px; }
  .tfos-hp-subtitle        { font-size: 14px; }

  /* Landscape & Intelligence nav pills */
  .tfos-ls-nav-list,
  .tfos-intel-nav-list     { gap: 6px; }
  .tfos-ls-nav-btn,
  .tfos-intel-nav-btn      { font-size: 12px; padding: 6px 12px; }
  .tfos-ls-cards           { grid-template-columns: 1fr; }

  /* Content cards → 1 col */
  .tfos-hp-cards-grid      { grid-template-columns: 1fr; }

  /* CTA interceptor */
  .tfos-hp-cta-interceptor { padding-block: 56px; }
  .tfos-hp-cta-inner       { padding-inline: 20px; gap: 32px; }
  .tfos-hp-cta-title       { font-size: 22px; }
  .tfos-hp-cta-desc        { font-size: 14px; }

  /* Provider card single-col */
  .tfos-ls-card-logo       { height: 120px; padding: 24px; }
}


/* ══════════════════════════════════════════════════════════════════════════
   INTERCEPTOR CTA SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.tfos-hp-cta-interceptor {
  background: linear-gradient(135deg, #030303 0%, #1a0a3d 60%, #0d1a3d 100%);
  padding-block: 88px;
  border: none;
}
.tfos-hp-cta-inner {
  max-width: var(--container-max, 1280px);
  margin-inline: auto;
  padding-inline: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.tfos-hp-cta-inner .tfos-hp-eyebrow {
  color: rgba(240, 237, 248, 0.5);
}
.tfos-hp-cta-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: #f8f6ff;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 12px 0 0;
}
.tfos-hp-cta-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(248, 246, 255, 0.65);
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 400px;
}

/* Form */
.tfos-hp-cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tfos-hp-cta-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.3s;
}
.tfos-hp-cta-field input,
.tfos-hp-cta-form input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #f8f6ff;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  box-sizing: border-box;
}
.tfos-hp-cta-field input::placeholder,
.tfos-hp-cta-form input::placeholder { color: rgba(248, 246, 255, 0.35); }
.tfos-hp-cta-field input:focus,
.tfos-hp-cta-form input:focus {
  border-color: rgba(107, 92, 231, 0.7);
  background: rgba(255, 255, 255, 0.12);
}
.tfos-hp-cta-submit {
  width: 100%;
  padding: 14px 20px;
  background: #6B5CE7;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.15s;
}
.tfos-hp-cta-submit:hover { background: #5a4dd4; transform: translateY(-1px); }
.tfos-hp-cta-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.tfos-hp-cta-fine {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(248, 246, 255, 0.3);
  margin: 0;
  text-align: center;
}
.tfos-hp-cta-msg {
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}
.tfos-hp-cta-msg.is-success { background: rgba(21, 128, 61, 0.2); color: #86efac; }
.tfos-hp-cta-msg.is-error   { background: rgba(185, 28, 28, 0.2); color: #fca5a5; }

/* Screen-reader only label */
.tfos-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   DOWNLOADS SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.tfos-hp-section--downloads { background: #fafafa; border-top: 1px solid var(--color-border-light); }
.tfos-hp-card-img-placeholder--dl {
  background: linear-gradient(135deg, #edf0f8 0%, #dde5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tfos-hp-card-badge--dl { color: #6B5CE7; }

.tfos-dl-gate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #030303;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  margin-top: auto;
}
.tfos-dl-gate-btn:hover { background: #2a2a2a; transform: translateY(-1px); }


/* ══════════════════════════════════════════════════════════════════════════
   DOWNLOAD GATE MODAL
   ══════════════════════════════════════════════════════════════════════════ */
.tfos-dl-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tfos-dl-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, 0.65);
  backdrop-filter: blur(4px);
}
.tfos-dl-modal-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(3, 3, 3, 0.18);
}
.tfos-dl-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: rgba(3, 3, 3, 0.4);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s;
}
.tfos-dl-modal-close:hover { color: #030303; }
.tfos-dl-modal-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: #030303;
  margin: 10px 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.tfos-dl-modal-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(3, 3, 3, 0.55);
  margin: 0 0 20px;
}
.tfos-dl-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  transition: opacity 0.3s;
}
.tfos-dl-modal-fields input {
  width: 100%;
  padding: 13px 16px;
  background: #f8f7fc;
  border: 1px solid #e0dcf0;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #030303;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.tfos-dl-modal-fields input:focus { border-color: #6B5CE7; background: #fff; }
.tfos-dl-modal-fields input::placeholder { color: rgba(3, 3, 3, 0.35); }
.tfos-dl-modal-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: #6B5CE7;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
  margin-bottom: 12px;
}
.tfos-dl-modal-submit:hover    { background: #5a4dd4; }
.tfos-dl-modal-submit:disabled { opacity: 0.7; cursor: not-allowed; }
/* Light version of cta-msg for white modal */
.tfos-dl-modal-box .tfos-hp-cta-msg.is-success { background: #dcfce7; color: #15803d; }
.tfos-dl-modal-box .tfos-hp-cta-msg.is-error   { background: #fee2e2; color: #b91c1c; }


/* ══════════════════════════════════════════════════════════════════════════
   CTA + DOWNLOADS RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .tfos-hp-cta-inner { grid-template-columns: 1fr; gap: 40px; padding-inline: 32px; }
  .tfos-hp-cta-desc  { max-width: 100%; }
}
@media (max-width: 600px) {
  .tfos-hp-cta-interceptor { padding-block: 60px; }
  .tfos-hp-cta-inner { padding-inline: 20px; }
  .tfos-dl-modal-box { padding: 32px 24px; }
}
