/* ============================================================
   Tention funnel pages — shared styles.
   Used by /application, /book-a-consultation, /book-your-consultation,
   /thank-you, /call-confirmation, /call-confirmed.
   Mirrors the main landing's typography, button, and ambient
   exactly so the funnel reads as part of the same site.
   ============================================================ */
/* Match main landing exactly — Manrope (UI/headings) + Fraunces (optional italics).
   No Poppins; the main site doesn't load it and the metrics differ enough that
   even the same weight reads as a different typeface. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;1,9..144,400;1,9..144,500&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --canvas:        #FFFFFF;
  --surface:       #F7F8FA;
  --surface-deep:  #EFF1F4;
  --hairline:      rgba(13, 26, 18, 0.08);
  --ink:           #0D1A12;
  --ink-body:      #2A3C32;
  --ink-muted:     #6B7280;
  --green:         #45AF4F;
  --green-deep:    #143A1C;
  --green-bright:  #61E06F;
  --green-logo:    #377740;
  --green-mist:    rgba(69, 175, 79, 0.06);
  --green-glow:    rgba(69, 175, 79, 0.18);
  --shadow-1:      0 4px 14px rgba(13, 26, 18, 0.06);
  --shadow-2:      0 8px 24px rgba(13, 26, 18, 0.08);
  --shadow-pop:    0 18px 44px rgba(13, 26, 18, 0.14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Headings inherit the main landing's exact metrics — Manrope 700, -0.04 tracking. */
h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   STRIPPED NAV — frosted glass, logo only + back-to-site link.
   Matches the main landing nav exactly: layered gradient, blur +
   saturate, inset highlight for the beveled edge, soft elevation.
   ============================================================ */
.f-nav {
  position: sticky; top: 0; z-index: 50;
  height: 76px;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(232, 238, 230, 0.66) 100%);
  backdrop-filter: saturate(200%) blur(28px);
  -webkit-backdrop-filter: saturate(200%) blur(28px);
  border-bottom: 1px solid rgba(13, 26, 18, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 24px -10px rgba(13, 26, 18, 0.10);
}
.f-nav .inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.f-nav .brand { display: flex; align-items: center; gap: 12px; }
.f-nav .brand img {
  height: 36px;
  width: auto;
  /* Recolor white-on-transparent PNG to Tention green — identical filter
     chain to the main landing nav. */
  filter: brightness(0) saturate(100%) invert(38%) sepia(36%) saturate(940%) hue-rotate(85deg) brightness(94%) contrast(96%);
}
.f-nav .brand .word,
.f-nav .brand span {
  font-weight: 700; font-size: 19px;
  letter-spacing: -0.04em; color: var(--ink);
}
.f-nav .back {
  font-size: 14px; font-weight: 500;
  color: var(--ink-body);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.15s;
}
.f-nav .back:hover { color: var(--ink); }

/* ============================================================
   PAGE HEADER — soft radial green ambient, eyebrow chip,
   display-xl-sized heading (matches main landing scale).
   ============================================================ */
.f-head {
  padding: 80px 0 36px;
  text-align: center;
  background: var(--surface);
  position: relative; overflow: hidden;
}
.f-head::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(56% 46% at 50% 0%, var(--green-glow), transparent 70%),
    radial-gradient(40% 36% at 88% 100%, rgba(95, 194, 108, 0.10), transparent 72%);
  pointer-events: none;
}
.f-head .inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 24px; }
.f-head .eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-mist);
  border: 1px solid rgba(69, 175, 79, 0.2);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 22px;
}
.f-head .eyebrow::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(69, 175, 79, 0.6);
}
/* Mirrors main landing .display-xl: 700 weight, -0.038 tracking, clamp 2 → 2.8rem */
.f-head h1 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.038em;
  line-height: 1.05;
  margin: 0 0 18px;
}
.f-head h1 em {
  background: linear-gradient(135deg, #4FC25C 0%, var(--green-logo) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal; font-weight: 700;
  letter-spacing: inherit;
}
.f-head p {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-body);
  max-width: 38rem; margin: 0 auto;
  text-wrap: pretty;
  font-weight: 400;
}

/* ============================================================
   GHL EMBED CARD — premium framed iframe with soft pop shadow.
   ============================================================ */
.f-embed {
  padding: 32px 0 96px;
  background: var(--surface);
  position: relative;
}
.f-embed .inner {
  max-width: 760px; margin: 0 auto;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow: var(--shadow-pop);
  padding: 6px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.f-embed .inner iframe {
  display: block; width: 100%; border: none; border-radius: 18px;
}
.f-embed.calendar .inner { max-width: 920px; }

/* ============================================================
   CONFIRMATION CARD — thank-you, call-confirmation, call-confirmed
   ============================================================ */
.f-card {
  padding: 72px 0 112px;
  background: var(--surface);
  position: relative; overflow: hidden;
}
.f-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(48% 40% at 50% 0%, var(--green-glow), transparent 70%);
  pointer-events: none;
}
.f-card .inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 52px clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-pop);
  text-align: center;
}

/* Refined status pill — replaces the heavy gradient checkmark circle.
   Same eyebrow-chip language as the rest of the site so it reads as a
   confirmation badge rather than a graphic. The `.check` class is kept
   so existing HTML keeps working; the unicode ✓ is hidden, real check
   is the ::before glyph for crisper rendering. */
.f-card .check {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-mist);
  border: 1px solid rgba(69, 175, 79, 0.2);
  padding: 6px 12px; border-radius: 999px;
  margin: 0 auto 22px;
  height: auto; width: auto;            /* override the old 64px circle */
  background-image: none;
  box-shadow: none;
  /* The unicode ✓ inside the div is sized down and recolored to the chip's tone. */
  font-size: 11px;
  line-height: 1;
}
.f-card .check::before {
  content: '✓';
  display: inline-block;
  color: var(--green);
  font-size: 13px; font-weight: 700;
  line-height: 1;
  margin-right: 2px;
}
/* Hide the inline ✓ glyph so we only render the ::before version. The
   existing HTML has the text inside the div — strip it visually. */
.f-card .check { font-size: 0; }
.f-card .check::after {
  content: 'Application received';
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-deep);
}
/* Per-page label override hooks — set a data attribute on .check to change the text. */
.f-card .check[data-label]::after { content: attr(data-label); }

/* Mirrors main landing display-xl scale, weight 700. */
.f-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.038em;
  margin: 0 0 14px; line-height: 1.08;
}
.f-card h2 em {
  background: linear-gradient(135deg, #4FC25C 0%, var(--green-logo) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal; font-weight: 700;
  letter-spacing: inherit;
}
.f-card p {
  margin: 0 0 18px; color: var(--ink-body);
  font-size: 1.02rem; line-height: 1.6;
  font-weight: 400;
}
.f-card .next-steps {
  list-style: none; padding: 0; margin: 30px 0 0;
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
}
.f-card .next-steps li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  font-size: 14.5px;
  transition: background 0.18s, border-color 0.18s;
}
.f-card .next-steps li:hover {
  background: var(--green-mist);
  border-color: rgba(69, 175, 79, 0.18);
}
.f-card .next-steps .num {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700;
}
.f-card .next-steps strong { color: var(--ink); font-weight: 700; }
.f-card .next-steps p {
  margin: 4px 0 0; font-size: 13.5px; color: var(--ink-muted);
}
.f-card .ceo-video {
  margin: 28px 0 0;
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--ink);
  box-shadow: 0 12px 32px rgba(13, 26, 18, 0.18);
}
.f-card .ceo-video iframe {
  width: 100%; height: 100%; border: none; display: block;
}

/* Matches main landing .btn .btn-primary exactly — 14px 22px, 50px min-height,
   14px font-size, weight 600, spring-translate on hover, arrow nudges right. */
.f-card .cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 30px;
  background: var(--ink); color: #fff;
  padding: 14px 22px; min-height: 50px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 20px rgba(13, 26, 18, 0.16);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.18s, box-shadow 0.2s;
  white-space: nowrap;
}
.f-card .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 26, 18, 0.22);
}
.f-card .cta span { transition: transform 0.25s; }
.f-card .cta:hover span { transform: translateX(4px); }

/* ============================================================
   FOOTER — minimal, brand-aligned
   ============================================================ */
.f-foot {
  padding: 36px 0;
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
}
.f-foot a { color: var(--ink-muted); transition: color 0.15s; }
.f-foot a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .f-nav { height: 64px; }
  .f-nav .brand img { height: 30px; }
  .f-nav .brand .word, .f-nav .brand span { font-size: 17px; }
  .f-head { padding: 52px 0 28px; }
  .f-head h1 { font-size: 1.75rem; }
  .f-embed { padding: 20px 0 64px; }
  .f-card { padding: 48px 0 72px; }
  .f-card .inner { padding: 40px 22px; border-radius: 18px; }
}
