/* TrueFaro 2026 redesign — isolated styles for the approved marketing homepage
   and the "How TrueFaro was built" supporting page. */

.redesign-page {
  --tf-navy: #0b3268;
  --tf-navy-deep: #082a59;
  --tf-ink: #123762;
  --tf-body: #4f5d72;
  --tf-muted: #667187;
  --tf-grey: #f5f7fa;
  --tf-line: #dfe5ed;
  --tf-amber: #c7952d;
  --tf-white: #fff;
  background: var(--tf-white);
}

.redesign-page .container {
  max-width: 1180px;
  padding-left: clamp(24px, 5vw, 52px);
  padding-right: clamp(24px, 5vw, 52px);
}

.redesign-page .site-header {
  background: #fff;
  border-bottom: 0;
}

.redesign-page .site-header__inner {
  min-height: 76px;
}

.redesign-page .site-header .btn--nav {
  min-width: 92px;
  text-align: center;
}

.tf-section { padding: 72px 0; }
.tf-section--grey { background: var(--tf-grey); }
.tf-section--navy { background: var(--tf-navy); color: #fff; }

.tf-kicker {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.4;
  font-style: italic;
  color: var(--tf-muted);
}

.tf-h1,
.tf-h2,
.tf-h3,
.tf-display {
  font-family: var(--serif);
  color: var(--tf-ink);
  font-weight: 500;
}

.tf-h1 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 70px);
  line-height: .98;
  letter-spacing: -1.1px;
  color: #fff;
}

.tf-h2 {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -.55px;
}

.tf-h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.tf-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--tf-body);
}

.tf-body + .tf-body { margin-top: 22px; }

/* Header/hero */
.tf-hero {
  position: relative;
  overflow: hidden;
  background: var(--tf-navy);
  padding: 54px 0 48px;
}

.tf-hero__watermark {
  position: absolute;
  right: -36px;
  top: -8px;
  width: min(38vw, 560px);
  opacity: .055;
  pointer-events: none;
}

.tf-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(52px, 6vw, 84px);
  align-items: center;
}

.tf-hero__copy { max-width: 650px; }

.tf-hero__sub {
  margin: 24px 0 0;
  max-width: 635px;
  color: #eef3f9;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
}

.tf-hero__sub strong { color: #fff; }

.tf-hero__support {
  margin: 18px 0 0;
  max-width: 620px;
  color: #d4deec;
  font-size: 15px;
  line-height: 1.6;
}

.tf-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.tf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 34px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .15s ease, background .15s ease;
}

.tf-button:hover { transform: translateY(-1px); }
.tf-button--light { background: #fff; color: var(--tf-navy); }
.tf-button--light:hover { background: #f1f4f8; color: var(--tf-navy); }
.tf-text-link { color: #fff; font-size: 15px; }
.tf-prelaunch-note {
  color: #d7e1ed;
  font-size: 12px;
  line-height: 1.4;
}
.tf-text-link:hover { color: #fff; text-decoration: underline; }
.tf-arrow { margin-left: 6px; color: var(--tf-amber); }

.tf-hero__meta {
  margin-top: 26px;
  color: #b8c5d8;
  font-size: 12px;
  line-height: 1.6;
}

.tf-report-card {
  position: relative;
  z-index: 1;
  max-width: 335px;
  margin-left: auto;
  background: rgba(236,242,249,.92);
  padding: 22px 23px 24px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 24px rgba(3,20,45,.08);
}

.tf-report-card__eyebrow {
  margin: 0 0 13px;
  font-size: 10px;
  font-style: italic;
  color: #4f596c;
}

.tf-report-card__label {
  margin: 0 0 9px;
  color: var(--tf-ink);
  font-size: 12px;
  font-weight: 700;
}

.tf-report-card__quote {
  margin: 0;
  font-family: var(--serif);
  color: var(--tf-ink);
  font-size: 21px;
  line-height: 1.19;
}

.tf-report-card__quote em { font-weight: 400; }

.tf-report-card__rule {
  height: 1px;
  background: #cbd6e3;
  margin: 18px 0 15px;
}

.tf-report-card__body {
  margin: 0;
  color: var(--tf-body);
  font-size: 12px;
  line-height: 1.55;
}

/* Examples */
.tf-examples { padding: 60px 0 82px; }
.tf-examples__intro { margin-bottom: 28px; }
.tf-examples__note { margin: 8px 0 0; font-size: 12px; font-style: italic; color: var(--tf-muted); }

.tf-tabs {
  display: inline-flex;
  padding: 3px;
  margin: 0 0 32px;
  background: #f3f5f8;
  border: 1px solid #e2e7ee;
  border-radius: 5px;
}

.tf-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--tf-body);
  padding: 10px 21px;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.tf-tab[aria-selected="true"] {
  background: var(--tf-navy);
  color: #fff;
}

.tf-tab:focus-visible,
.tf-button:focus-visible,
.redesign-page a:focus-visible {
  outline: 3px solid #e6b44d;
  outline-offset: 3px;
}

.tf-example-panel[hidden] { display: none; }
.tf-example-panel:focus-visible {
  outline: 3px solid #d59f2f;
  outline-offset: 6px;
  border-radius: 2px;
}
.tf-example__headline { margin: 0 0 30px; font-family: var(--serif); color: var(--tf-ink); font-size: 29px; line-height: 1.15; }
.tf-example__grid { display: grid; grid-template-columns: 1fr 42px 1.05fr; gap: 32px; align-items: center; }
.tf-dialogue { max-width: 520px; }
.tf-speaker { margin: 0 0 7px; color: var(--tf-ink); font-size: 12px; font-weight: 700; }
.tf-dialogue p:not(.tf-speaker) { margin: 0; color: var(--tf-body); font-size: 15px; line-height: 1.65; }
.tf-dialogue__you { margin: 19px 0 0 24px; }
.tf-example__arrow { color: #72819a; font-size: 20px; text-align: center; }
.tf-result__label { margin: 0 0 12px; color: var(--tf-muted); font-size: 12px; font-style: italic; }
.tf-result__insight { margin: 0; max-width: 520px; font-family: var(--serif); color: var(--tf-ink); font-size: clamp(28px, 3vw, 40px); line-height: 1.14; }
.tf-result__insight em { font-weight: 400; }
.tf-result__direction { margin: 18px 0 0; color: var(--tf-ink); font-size: 14px; font-weight: 700; }
.tf-result__support { margin: 10px 0 0; color: var(--tf-body); font-size: 14px; line-height: 1.55; max-width: 500px; }

/* Guide entry */
.tf-guide-entry {
  padding: 58px 0 64px;
  background: #fff;
  border-top: 1px solid var(--tf-line);
}
.tf-guide-entry__intro {
  max-width: 720px;
  margin-bottom: 30px;
}
.tf-guide-entry__intro .tf-kicker { margin-bottom: 10px; }
.tf-guide-entry__intro .tf-h2 { font-size: clamp(30px, 3vw, 40px); }
.tf-guide-entry__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--tf-line);
  border-bottom: 1px solid var(--tf-line);
}
.tf-guide-entry__item {
  padding: 28px 30px 30px 0;
}
.tf-guide-entry__item + .tf-guide-entry__item {
  border-left: 1px solid var(--tf-line);
  padding-left: 30px;
}
.tf-guide-entry__state {
  margin: 0 0 12px;
  color: var(--tf-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tf-guide-entry__title {
  margin: 0;
  font-family: var(--serif);
  color: var(--tf-ink);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 500;
}
.tf-guide-entry__body {
  margin: 13px 0 0;
  color: var(--tf-body);
  font-size: 14px;
  line-height: 1.6;
}
.tf-guide-entry__link {
  display: inline-block;
  margin-top: 18px;
  color: var(--tf-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tf-guide-entry__footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
}
.tf-guide-entry__footer a {
  color: var(--tf-ink);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Difference */
.tf-difference { background: var(--tf-grey); padding: 62px 0; }
.tf-difference__inner { max-width: 820px; margin: 0 auto; }
.tf-difference__headline { margin: 0; font-family: var(--serif); color: var(--tf-ink); font-size: clamp(33px, 3.6vw, 47px); line-height: 1.1; letter-spacing: -.45px; }
.tf-difference__body { margin: 24px 0 0; max-width: 760px; color: var(--tf-body); font-size: 15px; line-height: 1.7; }
.tf-difference__process { margin: 26px 0 0; color: var(--tf-ink); font-size: 14px; font-weight: 700; }
.tf-difference__process span { color: var(--tf-amber); padding: 0 10px; }

/* Outcomes */
.tf-outcomes { padding: 76px 0 72px; }
.tf-outcomes__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 92px; align-items: start; }
.tf-outcomes__intro { margin: 22px 0 0; color: var(--tf-body); font-size: 15px; line-height: 1.65; max-width: 260px; }
.tf-outcome { display: grid; grid-template-columns: 38px 1fr; gap: 22px; padding: 0 0 26px; }
.tf-outcome + .tf-outcome { padding-top: 26px; border-top: 1px solid var(--tf-line); }
.tf-outcome__num { color: #805b12; font-size: 12px; padding-top: 4px; }
.tf-outcome__title { margin: 0; font-family: var(--serif); color: var(--tf-ink); font-size: 28px; line-height: 1.12; }
.tf-outcome__body { margin: 10px 0 0; color: var(--tf-body); font-size: 14px; line-height: 1.6; }

/* How it works */
.tf-how { padding: 54px 0 58px; background: var(--tf-navy); }
.tf-how .tf-h2 { color: #fff; font-size: 34px; }
.tf-how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; margin-top: 34px; }
.tf-how__item { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.tf-how__num { color: #e1ac3f; font-family: var(--serif); font-size: 18px; }
.tf-how__title { margin: 0; color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.tf-how__body { margin: 11px 0 0; color: #d5deeb; font-size: 13px; line-height: 1.55; }

/* Perspective */
.tf-perspective { padding: 64px 0 68px; }
.tf-perspective__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: start; }
.tf-perspective .tf-h2 { font-size: clamp(28px, 2.3vw, 34px); line-height: 1.12; letter-spacing: -.3px; }
.tf-perspective__display { margin: 16px 0 0; max-width: none; font-family: var(--serif); font-size: clamp(28px, 2.55vw, 34px); line-height: 1.12; letter-spacing: -.2px; font-weight: 400; color: var(--tf-ink); }
.tf-perspective__copy { padding-top: 2px; max-width: 560px; }
.tf-perspective__copy p { margin: 0; color: var(--tf-body); font-size: 16px; line-height: 1.72; }
.tf-perspective__copy p + p { margin-top: 18px; }
.tf-based-on { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--tf-line); }
.tf-based-on__label { margin: 0 0 7px !important; font-size: 12px !important; color: var(--tf-muted) !important; font-style: italic; }
.tf-based-on__body { font-size: 13px !important; }
.tf-based-on__link { display: inline-block; margin-top: 12px; color: var(--tf-ink); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* Founder */
.tf-founder { background: var(--tf-grey); padding: 70px 0; }
.tf-founder__grid { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: center; max-width: 990px; margin: 0 auto; }
.tf-founder__photo { width: 300px; aspect-ratio: 3/4; overflow: hidden; }
.tf-founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.tf-founder__title { margin: 0; font-family: var(--serif); color: var(--tf-ink); font-size: 38px; line-height: 1.1; }
.tf-founder__lead { margin: 19px 0 0; font-family: var(--serif); color: var(--tf-ink); font-size: 25px; line-height: 1.25; }
.tf-founder__body { margin: 20px 0 0; color: var(--tf-body); font-size: 14px; line-height: 1.7; }
.tf-founder__sign { margin: 22px 0 0; color: var(--tf-ink); font-size: 13px; }

/* Practical details */
.tf-details { padding: 48px 0 42px; }
.tf-details__heading { margin: 0 0 30px; color: var(--tf-ink); font-size: 14px; font-weight: 700; }
.tf-details__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px; }
.tf-detail__title { margin: 0; color: var(--tf-ink); font-size: 13px; font-weight: 700; }
.tf-detail__body { margin: 10px 0 0; color: var(--tf-body); font-size: 13px; line-height: 1.55; }
.tf-detail__body--draft { font-style: italic; color: var(--tf-muted); }
.tf-details__support { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--tf-line); color: var(--tf-muted); font-size: 12px; }
.tf-details__support a { text-decoration: underline; text-underline-offset: 3px; }

/* Final CTA */
.tf-final { padding: 64px 0 56px; background: var(--tf-navy); text-align: center; }
.tf-final__title { margin: 0; font-family: var(--serif); color: #fff; font-size: clamp(37px, 4vw, 50px); line-height: 1.08; }
.tf-final__sub { margin: 20px 0 0; color: #e2e8f2; font-family: var(--serif); font-size: 22px; }
.tf-final .tf-button { margin-top: 28px; }
.tf-final__availability { margin: 13px 0 0; color: #d7e1ed; font-size: 12px; }
.tf-final__meta { margin: 25px 0 0; color: #b8c5d8; font-size: 12px; }

/* White compact footer for redesigned pages */
.redesign-page .site-footer {
  background: #fff;
  color: var(--tf-body);
  padding: 24px 0;
  border-top: 1px solid #e7ebf0;
}
.redesign-page .footer-redesign { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.redesign-page .footer-redesign__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--tf-ink); font-family: var(--serif); font-size: 18px; font-weight: 600; }
.redesign-page .footer-redesign__links { display: flex; align-items: center; gap: 28px; font-size: 12px; color: var(--tf-muted); }
.redesign-page .footer-redesign__links a { color: var(--tf-muted); }
.redesign-page .footer-redesign__links a:hover { color: var(--tf-ink); }

/* How-built editorial page */
.tf-built { padding: 42px 0 78px; }
.tf-built__wrap { max-width: 760px; margin: 0 auto; }
.tf-built__back { display: inline-block; margin-bottom: 34px; font-size: 13px; color: var(--tf-ink); text-decoration: underline; text-underline-offset: 3px; }
.tf-built__title { margin: 0; font-family: var(--serif); color: var(--tf-ink); font-size: clamp(44px, 5vw, 58px); line-height: 1.04; }
.tf-built__dek { margin: 13px 0 0; font-family: var(--serif); color: #6d788c; font-size: 24px; line-height: 1.3; }
.tf-built__intro { margin-top: 34px; }
.tf-built__section { margin-top: 48px; }
.tf-built__section h2 { margin: 0 0 18px; font-family: var(--serif); color: var(--tf-ink); font-size: 31px; line-height: 1.15; font-weight: 500; }
.tf-built__section h3 { margin: 25px 0 6px; font-family: var(--serif); color: var(--tf-ink); font-size: 21px; line-height: 1.25; font-weight: 500; }
.tf-built__method { margin: 0 0 12px; color: var(--tf-muted); font-size: 11px; }
.tf-built__section p, .tf-built__intro p { margin: 0; color: var(--tf-body); font-size: 15px; line-height: 1.75; }
.tf-built__section p + p, .tf-built__intro p + p { margin-top: 16px; }
.tf-built__quote { margin: 22px 0; padding: 6px 0 6px 20px; border-left: 2px solid var(--tf-amber); font-family: var(--serif); color: var(--tf-ink); font-size: 27px; line-height: 1.25; }
.tf-built__reading { margin-top: 20px; }
.tf-built__reading + .tf-built__reading { margin-top: 18px; }
.tf-built__reading strong { display: block; font-family: var(--serif); color: var(--tf-ink); font-size: 18px; font-weight: 500; }
.tf-built__reading span { display: block; margin-top: 4px; color: var(--tf-muted); font-size: 12px; line-height: 1.5; }
.tf-built__closing { margin-top: 22px !important; font-family: var(--serif); color: var(--tf-ink) !important; font-size: 18px !important; }

@media (max-width: 820px) {
  .tf-section { padding: 52px 0; }
  .tf-hero { padding: 36px 0 38px; }
  .tf-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .tf-hero__watermark { width: 360px; right: -105px; top: 0; }
  .tf-report-card { max-width: 520px; margin: 0; }
  .tf-example__grid { grid-template-columns: 1fr; gap: 24px; }
  .tf-guide-entry__grid { grid-template-columns: 1fr; }
  .tf-guide-entry__item { padding: 24px 0; }
  .tf-guide-entry__item + .tf-guide-entry__item { border-left: 0; border-top: 1px solid var(--tf-line); padding-left: 0; }
  .tf-example__arrow { transform: rotate(90deg); }
  .tf-result__insight { max-width: 650px; }
  .tf-outcomes__grid, .tf-perspective__grid { grid-template-columns: 1fr; gap: 40px; }
  .tf-outcomes__intro { max-width: 480px; }
  .tf-perspective__display { max-width: 620px; }
  .tf-how__grid { grid-template-columns: 1fr; gap: 28px; }
  .tf-founder__grid { grid-template-columns: 230px 1fr; gap: 42px; }
  .tf-founder__photo { width: 230px; }
  .tf-details__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 44px; }
}

@media (max-width: 560px) {
  .redesign-page .container { padding-left: 20px; padding-right: 20px; }
  .redesign-page .site-header__inner { min-height: 66px; }
  .redesign-page .brand svg { width: 23px; height: auto; }
  .redesign-page .brand__name { font-size: 18px; }
  .redesign-page .brand__tag { font-size: 10px; }
  .redesign-page .site-header .btn--nav { min-width: 74px; padding: 11px 18px; font-size: 13px; }

  .tf-h1 { font-size: 43px; line-height: 1.02; }
  .tf-h2 { font-size: 31px; }
  .tf-hero__sub { font-size: 17px; }
  .tf-hero__support { font-size: 14px; }
  .tf-hero__actions { gap: 16px 22px; flex-wrap: wrap; }
  .tf-prelaunch-note { flex-basis: 100%; order: 3; margin-top: -8px; }
  .tf-button { min-height: 46px; padding: 0 27px; }
  .tf-hero__meta { font-size: 11px; }
  .tf-report-card { padding: 20px 18px 22px; }
  .tf-report-card__quote { font-size: 20px; }

  .tf-examples { padding: 48px 0 58px; }
  .tf-guide-entry { padding: 48px 0 52px; }
  .tf-guide-entry__intro { margin-bottom: 22px; }
  .tf-guide-entry__intro .tf-h2 { font-size: 29px; }
  .tf-guide-entry__title { font-size: 23px; }
  .tf-guide-entry__footer { flex-direction: column; gap: 10px; }
  .tf-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-bottom: 26px; }
  .tf-tab { padding: 9px 6px; min-height: 42px; font-size: 10px; line-height: 1.2; }
  .tf-example__headline { font-size: 26px; margin-bottom: 24px; }
  .tf-dialogue__you { margin-left: 18px; }
  .tf-example__arrow { display: none; }
  .tf-result__label { margin-top: 2px; }
  .tf-result__insight { font-size: 27px; }

  .tf-difference { padding: 54px 0; }
  .tf-difference__headline { font-size: 31px; }
  .tf-difference__body { font-size: 14px; }
  .tf-difference__process { display: flex; flex-wrap: wrap; gap: 5px 0; font-size: 12px; }

  .tf-outcomes { padding: 56px 0 50px; }
  .tf-outcome { grid-template-columns: 30px 1fr; gap: 14px; padding-bottom: 22px; }
  .tf-outcome + .tf-outcome { padding-top: 22px; }
  .tf-outcome__title { font-size: 23px; }

  .tf-how { padding: 45px 0 48px; }
  .tf-how .tf-h2 { font-size: 30px; }
  .tf-how__grid { margin-top: 28px; }

  .tf-perspective { padding: 50px 0 54px; }
  .tf-perspective .tf-h2 { font-size: 29px; }
  .tf-perspective__display { font-size: 30px; line-height: 1.14; max-width: 100%; }
  .tf-perspective__grid { gap: 24px; }
  .tf-perspective__copy p { font-size: 15px; }

  .tf-founder { padding: 52px 0; }
  .tf-founder__grid { grid-template-columns: 1fr; gap: 30px; }
  .tf-founder__photo { width: 100%; max-width: 280px; }
  .tf-founder__title { font-size: 31px; }
  .tf-founder__lead { font-size: 22px; }
  .tf-founder__body { font-size: 13px; }

  .tf-details { padding: 42px 0 36px; }
  .tf-details__grid { gap: 25px 22px; }
  .tf-detail__title, .tf-detail__body { font-size: 12px; }

  .tf-final { padding: 50px 0 45px; }
  .tf-final__title { font-size: 34px; }
  .tf-final__sub { font-size: 19px; }

  .redesign-page .footer-redesign { align-items: flex-start; }
  .redesign-page .footer-redesign__links { gap: 18px; flex-wrap: wrap; justify-content: flex-end; }

  .tf-built { padding: 28px 0 60px; }
  .tf-built__back { margin-bottom: 26px; }
  .tf-built__title { font-size: 42px; }
  .tf-built__dek { font-size: 21px; }
  .tf-built__section { margin-top: 38px; }
  .tf-built__section h2 { font-size: 28px; }
  .tf-built__quote { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .tf-button { transition: none; }
}
