/* TargetFlow home - colours + fonts carried over from the 2024 WordPress site
   (child theme + WPBakery custom CSS, Wayback copy 3 Apr 2025). */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Duru Sans";
  src: url("/assets/fonts/duru-sans-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --tf-orange: #eb5b04;      /* brand, large text + decoration */
  --tf-orange-ink: #c24a00;  /* small text + buttons (4.9:1 on white) */
  --tf-orange-hot: #e65e25;
  --tf-peach: #ffab79;
  --tf-peach-soft: #f7e4d8;
  --ink: #222;
  --ink-2: #4c4c4c;
  --muted: #5d5d5d;
  --grey-bg: #f7f7f7;
  --row-bg: #efefef;
  --white: #fff;
  --radius: 10px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Duru Sans", "Inter", sans-serif; font-weight: 400; font-synthesis: none; line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--tf-orange-ink); }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 960px; }
.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;
}
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons - pill shape from the old header menu */
.btn {
  display: inline-block;
  padding: 9px 24px;
  border-radius: 100px;
  border: 1px solid var(--tf-orange-ink);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.btn-lg { padding: 13px 32px; font-size: 17px; }
.btn-solid { background: var(--tf-orange-ink); color: var(--white); }
.btn-solid:hover { background: #a63f00; border-color: #a63f00; }
.btn-ghost { background: var(--white); color: var(--tf-orange-ink); }
.btn-ghost:hover { background: var(--tf-orange-ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--tf-orange-ink); border-color: var(--white); }
.btn-white:hover { background: #fff3ea; }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--tf-orange-ink); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--tf-peach-soft); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo img { width: 200px; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }

/* Hero - peach wash + frosted card, as before */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgb(251 193 158 / 60%), #fff 85%);
  padding: 72px 0 64px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-card {
  background: rgb(255 255 255 / 85%);
  border: 1px solid var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: 0 0 10px rgb(0 0 0 / 6%);
}
.hero h1 { font-weight: 400; margin-bottom: 14px; }
.hero-main { display: block; color: #6b6b6b; font-size: 44px; }
.hero-dynamic { display: block; color: var(--tf-orange-hot); font-size: 40px; padding-top: 8px; }
.hero-sub { margin: 0 0 22px; color: var(--ink-2); font-size: 19px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas.center { justify-content: center; }
.hero-imgs { display: grid; grid-template-columns: 64fr 36fr; gap: 12px; align-items: center; }
.hero-imgs img { border-radius: 14px; width: 100%; object-fit: cover; }
.hero-imgs img:first-child { aspect-ratio: 16 / 9; }
.hero-imgs img:last-child { aspect-ratio: 1 / 1; }

/* Results table */
.results { padding: 64px 0 56px; }
.results h2, .reviews h2, .faq h2, .cta h2 { text-align: center; }
.results h2 { font-size: 32px; }
.table-wrap { margin-top: 24px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; }
thead th {
  background: linear-gradient(15deg, #e15603, #ff7f31);
  color: var(--white);
  font-weight: 600;
  text-align: left;
}
thead th:first-child { border-top-left-radius: var(--radius); }
thead th:last-child { border-top-right-radius: var(--radius); }
th, td { padding: 14px 18px; width: 33.33%; vertical-align: top; }
tbody th { text-align: left; font-weight: 400; color: #6b6b6b; }
tbody td { font-weight: 600; color: #000; }
tbody tr:nth-child(odd) th, tbody tr:nth-child(odd) td { background: var(--row-bg); }
tbody tr.total th, tbody tr.total td {
  background: var(--white);
  border-top: 2px solid var(--tf-orange);
  border-bottom: 2px solid var(--tf-orange);
  font-size: 19px;
}
tbody tr.total th { font-weight: 600; color: var(--ink-2); border-left: 2px solid var(--tf-orange); border-bottom-left-radius: var(--radius); }
tbody tr.total td { color: var(--tf-orange-ink); }
tbody tr.total td:last-child { border-right: 2px solid var(--tf-orange); border-bottom-right-radius: var(--radius); }
.source { text-align: center; font-size: 14px; color: var(--muted); margin: 16px 0 0; }

.video { margin: 48px auto 0; max-width: 860px; }
.video video { width: 100%; border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9; }

/* Steps - frosted cards on the peach radial wash */
.steps {
  position: relative;
  padding: 80px 0;
  background: radial-gradient(#f5f5f5 30%, #ffccb7 150%);
}
.steps-123 { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step, .step-4 {
  background: rgb(255 255 255 / 75%);
  border: 1px solid var(--tf-peach-soft);
  border-radius: var(--radius);
  transition: background-color .3s ease;
}
.step:hover, .step-4:hover { background: var(--white); }
.step { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px; }
.step-icon { width: 90px; flex: none; }
.step-no { margin: 0 0 6px; color: var(--tf-orange-ink); text-decoration: underline; font-size: 16px; }
.step h3 { font-family: "Inter", sans-serif; font-weight: 600; font-size: 18px; color: #000; margin: 0 0 4px; }
.step-note { margin: 0; font-style: italic; line-height: 1.5; }
.step-4 { padding: 36px 22px; text-align: center; }
.step-4-title { color: var(--tf-orange); font-weight: 400; font-size: 42px; margin: 0 0 10px; }
.step-4-sub { font-weight: 600; font-size: 18px; color: #000; margin: 0 0 24px; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channels li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.channels img { width: 120px; }
.channels span {
  background: var(--tf-orange-ink);
  color: var(--white);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 14px;
}

/* Reviews */
.reviews { background: var(--grey-bg); padding: 72px 0 64px; }
.reviews h2 { font-family: "Inter", sans-serif; font-weight: 300; font-size: 36px; color: #323232; margin-bottom: 32px; }
.review-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.review {
  margin: 0;
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: 16px;
  padding: 18px 20px 22px;
  box-shadow: inset 0 220px 0 -60px var(--grey-bg), 0 0 12px rgb(0 0 0 / 5%);
}
.review img { width: 80%; max-width: 240px; margin: 0 auto; border-radius: 50%; background: var(--tf-orange); }
.review-head { color: var(--tf-orange-ink); font-size: 26px; margin: 20px 0 12px; line-height: 1.25; }
.review blockquote { margin: 0 0 16px; }
.review blockquote p { margin: 0; }
.review figcaption { text-align: center; }
.review figcaption strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.review figcaption span { display: block; font-size: 13px; color: var(--muted); }

/* FAQ - native disclosure, no JS */
.faq { padding: 72px 0 56px; }
.faq h2 { color: var(--tf-orange); font-size: 40px; margin-bottom: 28px; }
.faq details { border-bottom: 1px solid #e3e3e3; padding: 6px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 21px;
  color: #363636;
  padding: 14px 40px 14px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 10px;
  font-size: 28px;
  color: var(--tf-orange-ink);
  line-height: 1;
}
.faq details[open] summary::after { content: "-"; }
.faq details p, .faq details ul { margin: 0 0 14px; color: var(--ink-2); }

/* Closing CTA band (the old orange cost row) */
.cta { background: var(--tf-orange-ink); padding: 48px 0; }
.cta h2 { color: var(--white); font-size: 34px; margin-bottom: 20px; }

/* Footer */
.site-footer { padding: 32px 0; }
.footer-row { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-row img { width: 180px; }
.footer-row p { margin: 0; font-size: 14px; color: var(--muted); }

/* Tablet */
@media (max-width: 960px) {
  .hero { padding: 48px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .steps-123 { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .step-4 { max-width: 480px; margin: 0 auto; }
  .channels { grid-template-columns: repeat(2, 1fr); }
  .channels img { width: 90px; }
  .review-row { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* Phone */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo img { width: 120px; }
  .header-row { gap: 8px; }
  .nav { gap: 6px; }
  .nav .btn { padding: 7px 12px; font-size: 14px; }
  .review img { max-width: 180px; }
  .hero-card { padding: 22px 20px; }
  .hero-main { font-size: 34px; }
  .hero-dynamic { font-size: 28px; }
  .hero-sub { font-size: 17px; }
  .btn-lg { padding: 12px 24px; font-size: 16px; }
  .results h2 { font-size: 26px; }
  th, td { padding: 10px 8px; font-size: 14px; }
  tbody tr.total th, tbody tr.total td { font-size: 16px; }
  .step-4-title, .faq h2 { font-size: 32px; }
  .reviews h2 { font-size: 28px; }
  .faq summary { font-size: 18px; }
  .cta h2 { font-size: 26px; }
}

@media (max-width: 360px) {
  .hero-main { font-size: 30px; }
  .hero-dynamic { font-size: 24px; }
}
