/* =========================================================================
   Talk First Family — site template stylesheet
   Website for Talk First Family™, a prevention-science family conversation
   programme from Upward Reach Foundation (nonprofit). Auto-linked into every
   Talk First Family page by website-app via the template group.

   Everything is prefixed `tf-` so pages stay conflict-free, and every colour
   flows through a CSS variable so the tenant's selected colour scheme
   recolours the whole site (see colorSchemeMapping in template.json).

   Brand palette ("Evening Talk"):
     Night navy  #1E3A5F  the logo mark, headings, night bands  → primary
     Deep navy   #132A47  footer, hover                         → primary-dark / dark
     Lumi gold   #E9A93B  the Pause star, primary buttons       → secondary
     Calm sage   #4E8A7C  "Ask" tile, ticks, focus              → accent
     Ember       #D9765F  "Know" tile, highlights               → highlight
     Cream       #FBF7F1  page ground                           → background
     Sand        #F4EDE2  alternate bands                       → surface-2
   ========================================================================= */

/* --- Brand fonts -------------------------------------------------------- */
/* Fraunces = headlines, the TALK letters, quotes (soft, warm serif)
   Figtree  = body copy, labels and buttons */
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&display=swap");

/* --- Colour-scheme variables (consumed by pages, header and footer) ------ */
:root {
  --color-primary: #1E3A5F;
  --color-primary-light: #2F5687;
  --color-primary-dark: #132A47;
  --color-secondary: #E9A93B;
  --color-secondary-light: #F7DDA6;
  --color-secondary-dark: #C98A1E;
  --color-accent: #4E8A7C;
  --color-accent-light: #DDEDE7;
  --color-accent-dark: #356A5E;
  --color-highlight: #D9765F;
  --color-highlight-light: #F8E1D9;

  --color-dark: #132A47;
  --color-dark-2: #0D1F36;
  --color-text: #1C2333;
  --color-text-muted: #586174;
  --color-background: #FBF7F1;
  --color-bg: #FBF7F1;
  --color-surface: #FFFFFF;
  --color-surface-2: #F4EDE2;
  --color-border: #E7DECF;

  --color-header-bg: #FBF7F1;
  --color-header-text: #1E3A5F;

  --color-footer-bg: #132A47;
  --color-footer-title: #F7DDA6;
  --color-footer-link: #E6ECF4;
  --color-footer-accent: #E9A93B;

  /* brand-only tokens derived from the scheme */
  --tf-ink: var(--color-text, #1C2333);
  --tf-muted: var(--color-text-muted, #586174);
  --tf-navy: var(--color-primary, #1E3A5F);
  --tf-gold: var(--color-secondary, #E9A93B);
  --tf-gold-pale: var(--color-secondary-light, #F7DDA6);
  --tf-sage: var(--color-accent, #4E8A7C);
  --tf-sage-pale: var(--color-accent-light, #DDEDE7);
  --tf-ember: var(--color-highlight, #D9765F);
  --tf-ember-pale: var(--color-highlight-light, #F8E1D9);
  --tf-rule: var(--color-border, #E7DECF);
  --tf-night-ink: #FFFFFF;
  --tf-night-ink-2: #C9D4E3;
  --tf-radius: 22px;
  --tf-radius-sm: 14px;
  --tf-shadow: 0 1px 2px rgba(19, 42, 71, 0.06), 0 12px 32px -12px rgba(19, 42, 71, 0.18);
  --tf-shadow-soft: 0 1px 2px rgba(19, 42, 71, 0.05), 0 6px 18px -10px rgba(19, 42, 71, 0.14);
  --tf-maxw: 1160px;
}

/* --- Footer nav helpers used by the {{--FooterCategories--}} markup ------ */
.lcp-nav-footer-column-title {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-footer-title, #F7DDA6);
  margin-bottom: 16px;
}
.lcp-nav-footer-links { display: flex; flex-direction: column; gap: 10px; }
/* !important: the renderer's generic footer columns put an inline grey on each link */
footer .lcp-nav-footer-link, .lcp-nav-footer-links .lcp-nav-footer-link {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--color-footer-link, #E6ECF4) !important;
  text-decoration: none;
  transition: color 0.18s ease;
}
footer .lcp-nav-footer-link:hover, .lcp-nav-footer-links .lcp-nav-footer-link:hover { color: var(--color-footer-accent, #E9A93B) !important; }

/* =========================================================================
   Page design system (tf-*)
   ========================================================================= */
.tf-page {
  margin: 0;
  background: var(--color-bg, #FBF7F1);
  color: var(--tf-ink);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.tf-page * { box-sizing: border-box; }
.tf-page img { max-width: 100%; display: block; }
.tf-page :where(a) { color: var(--tf-navy); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.tf-page :where(a:hover) { color: var(--color-primary-light, #2F5687); }
.tf-page a:focus-visible, .tf-page button:focus-visible, .tf-page input:focus-visible,
.tf-page textarea:focus-visible, .tf-page select:focus-visible, .tf-page summary:focus-visible {
  outline: 3px solid var(--tf-gold);
  outline-offset: 3px;
}
.tf-page :where(h1, h2, h3, h4) {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--tf-navy);
  margin: 0;
  text-wrap: balance;
}
.tf-page p { margin: 0; }
.tf-page p, .tf-page li, .tf-page h1, .tf-page h2, .tf-page h3, .tf-page h4, .tf-page a { overflow-wrap: break-word; }
.tf-page ul, .tf-page ol { margin: 0; padding: 0; }

.tf-shell { max-width: var(--tf-maxw, 1160px); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.tf-narrow { max-width: 760px; }
.tf-center { text-align: center; margin-left: auto; margin-right: auto; }
.tf-stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tf-stack-lg { gap: 28px; }
.tf-mt { margin-top: clamp(32px, 5vw, 56px); }

/* --- Bands --------------------------------------------------------------- */
.tf-band { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.tf-band-tight { padding: clamp(44px, 6vw, 72px) 0; }
.tf-band-top { padding-top: clamp(48px, 7vw, 88px); }
.tf-band-cream { background: var(--color-bg, #FBF7F1); }
.tf-band-sand { background: var(--color-surface-2, #F4EDE2); }
.tf-band-white { background: var(--color-surface, #FFFFFF); }
.tf-band-sage { background: var(--tf-sage-pale); }
/* Night: the evening-sky band used for heroes and the call to action */
.tf-band-night {
  background-color: var(--color-dark, #132A47);
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 14%, rgba(255,255,255,0.45) 0 1px, transparent 1.6px),
    radial-gradient(circle at 64% 72%, rgba(255,255,255,0.35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 30% 84%, rgba(255,255,255,0.4) 0 1px, transparent 1.6px),
    radial-gradient(circle at 90% 56%, rgba(255,255,255,0.35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 46% 38%, rgba(255,255,255,0.3) 0 1px, transparent 1.6px),
    radial-gradient(ellipse 70% 60% at 85% 0%, color-mix(in srgb, var(--color-primary-light, #2F5687) 55%, transparent), transparent 70%),
    radial-gradient(ellipse 60% 70% at 0% 100%, color-mix(in srgb, var(--color-primary, #1E3A5F) 80%, transparent), transparent 70%);
  color: var(--tf-night-ink);
  overflow: hidden;
}
.tf-band-night :where(h1, h2, h3, h4) { color: #FFFFFF; }
.tf-band-night .tf-lede, .tf-band-night .tf-muted { color: var(--tf-night-ink-2); }
.tf-band-night :where(a:not(.tf-btn)) { color: var(--tf-gold-pale); }
/* light surfaces sitting on a night band keep the day ink */
.tf-band-night :is(.tf-card, .tf-form-card, .tf-join, .tf-phone) :is(h1, h2, h3, h4) { color: var(--tf-navy); }
.tf-band-night :is(.tf-card, .tf-form-card, .tf-join, .tf-phone) :is(.tf-muted, .tf-lede, .tf-disclosure) { color: var(--tf-muted); }
.tf-band-night :is(.tf-card, .tf-form-card, .tf-join, .tf-phone) a:not(.tf-btn) { color: var(--tf-navy); }
.tf-band-night :is(.tf-card, .tf-form-card, .tf-join, .tf-phone) .tf-checks li::before { background-color: var(--tf-sage-pale); }

/* --- Type ---------------------------------------------------------------- */
.tf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tf-sage);
  margin: 0;
}
.tf-band-night .tf-eyebrow { color: var(--tf-gold-pale); }
.tf-eyebrow svg { width: 14px; height: 14px; flex: none; fill: var(--tf-gold); }
.tf-h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04; }
.tf-h2 { font-size: clamp(1.95rem, 4.2vw, 3rem); }
.tf-h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.25; }
.tf-h1 em, .tf-h2 em { font-style: italic; font-weight: 500; color: var(--tf-sage); }
.tf-band-night .tf-h1 em, .tf-band-night .tf-h2 em { color: var(--tf-gold); }
.tf-lede { font-size: clamp(1.08rem, 1.6vw, 1.24rem); line-height: 1.6; color: var(--tf-muted); max-width: 62ch; }
.tf-muted { color: var(--tf-muted); }
.tf-small { font-size: 0.86rem; line-height: 1.55; }
.tf-strong { font-weight: 700; color: var(--tf-ink); }

/* The "Pause ✶ then TALK™" lockup. The dash between the star and "then" is a
   drawn rule, so the trademark reads as designed in every font. */
.tf-mark { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.32em; font-family: "Fraunces", Georgia, serif; font-weight: 600; color: var(--tf-navy); white-space: nowrap; }
.tf-mark svg { width: 0.8em; height: 0.8em; fill: var(--tf-gold); flex: none; }
.tf-mark i { display: inline-block; width: 0.9em; height: 2px; background: currentColor; opacity: 0.55; border-radius: 2px; }
.tf-mark b { font-weight: 700; letter-spacing: 0.02em; }
.tf-band-night .tf-mark { color: #FFFFFF; }

/* --- Buttons ------------------------------------------------------------- */
.tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.tf-btn:hover { transform: translateY(-1px); }
.tf-btn svg { width: 18px; height: 18px; flex: none; }
.tf-btn-gold { background: var(--tf-gold); color: var(--color-dark, #132A47); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--tf-gold) 90%, #000); }
.tf-btn-gold:hover { background: var(--color-secondary-dark, #C98A1E); color: var(--color-dark, #132A47); }
.tf-btn-navy { background: var(--tf-navy); color: #FFFFFF; }
.tf-btn-navy:hover { background: var(--color-primary-dark, #132A47); color: #FFFFFF; }
.tf-btn-ghost { background: transparent; border-color: var(--tf-navy); color: var(--tf-navy); }
.tf-btn-ghost:hover { background: var(--tf-navy); color: #FFFFFF; }
.tf-btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.45); color: #FFFFFF; }
.tf-btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #FFFFFF; color: #FFFFFF; }
.tf-btn-block { width: 100%; }
.tf-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tf-link-arrow { font-weight: 700; text-decoration: none; }
.tf-link-arrow::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform 0.18s ease; }
.tf-link-arrow:hover::after { transform: translateX(3px); }

/* --- Grids --------------------------------------------------------------- */
.tf-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.tf-split-top { align-items: start; }
.tf-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.tf-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.tf-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.tf-split > *, .tf-grid-2 > *, .tf-grid-3 > *, .tf-grid-4 > * { min-width: 0; }
.tf-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.tf-head.tf-center { align-items: center; }

/* --- Cards & speech bubbles --------------------------------------------- */
.tf-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--tf-rule);
  border-radius: var(--tf-radius);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--tf-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tf-card h3 { font-size: 1.28rem; line-height: 1.25; }
.tf-card p { color: var(--tf-muted); }
/* the speech-bubble corner echoes the bubbles in the logo */
.tf-bubble { border-radius: var(--tf-radius) var(--tf-radius) var(--tf-radius) 6px; }
.tf-bubble-r { border-radius: var(--tf-radius) var(--tf-radius) 6px var(--tf-radius); }
.tf-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tf-sage-pale); color: var(--tf-sage); flex: none;
}
.tf-icon svg { width: 26px; height: 26px; }
.tf-icon-gold { background: var(--tf-gold-pale); color: var(--color-secondary-dark, #C98A1E); }
.tf-icon-navy { background: color-mix(in srgb, var(--tf-navy) 12%, #FFFFFF); color: var(--tf-navy); }
.tf-icon-ember { background: var(--tf-ember-pale); color: var(--tf-ember); }

/* --- Lists --------------------------------------------------------------- */
.tf-checks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.tf-checks li { position: relative; padding-left: 36px; }
.tf-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.18em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tf-sage-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E8A7C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.tf-band-night .tf-checks li::before { background-color: rgba(255,255,255,0.12); }
.tf-stars { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tf-stars li { position: relative; padding-left: 30px; }
.tf-stars li::before {
  content: ""; position: absolute; left: 2px; top: 0.32em; width: 16px; height: 16px;
  background: var(--tf-gold);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.tf-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.tf-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--color-surface, #FFFFFF); border: 1px solid var(--tf-rule);
  font-size: 0.95rem; font-weight: 600; color: var(--tf-navy);
}
.tf-band-night .tf-chip { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #FFFFFF; }

/* --- Photos -------------------------------------------------------------- */
.tf-photo { position: relative; margin: 0; }
.tf-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px 28px 28px 8px; box-shadow: var(--tf-shadow); }
.tf-photo-tall img { aspect-ratio: 4 / 5; }
.tf-photo-wide img { aspect-ratio: 4 / 3; }
.tf-photo-badge {
  position: absolute; right: 18px; bottom: 22px;
  background: var(--color-surface, #FFFFFF); border-radius: 18px 18px 6px 18px;
  padding: 14px 18px; box-shadow: var(--tf-shadow); max-width: 250px;
  display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--tf-navy); line-height: 1.3; font-size: 0.95rem;
}
.tf-photo-badge svg { width: 28px; height: 28px; flex: none; fill: var(--tf-gold); }

/* --- The Lumi Pause star ------------------------------------------------- */
.tf-pause {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px); align-items: center;
  background: var(--color-dark, #132A47); color: #FFFFFF;
  border-radius: 28px; padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--tf-shadow);
}
.tf-pause-star {
  width: clamp(84px, 11vw, 120px); height: clamp(84px, 11vw, 120px); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--tf-gold) 35%, transparent) 0%, transparent 68%);
  animation: tf-glow 4.8s ease-in-out infinite;
}
.tf-pause-star svg { width: 58%; height: 58%; fill: var(--tf-gold); }
.tf-pause h3 { color: #FFFFFF; font-size: clamp(1.5rem, 3vw, 2rem); }
.tf-pause p { color: var(--tf-night-ink-2); }
.tf-pause-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tf-gold-pale); }
@keyframes tf-glow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: 0.86; } }

/* --- The TALK tools (acrostic) ------------------------------------------ */
.tf-talk { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.tf-talk > * { min-width: 0; }
.tf-talk-tile {
  position: relative; overflow: hidden;
  background: var(--color-surface, #FFFFFF); border: 1px solid var(--tf-rule);
  border-radius: var(--tf-radius); padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: var(--tf-shadow-soft);
}
.tf-talk-letter {
  font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 4.2rem; line-height: 0.9;
  color: var(--tf-navy);
}
.tf-talk-tile::after {
  content: ""; position: absolute; right: -36px; top: -36px; width: 120px; height: 120px; border-radius: 50%;
  background: color-mix(in srgb, var(--tf-navy) 10%, transparent);
}
.tf-talk-tile h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.tf-talk-tile p { color: var(--tf-muted); font-size: 0.98rem; }
.tf-talk-emoji { font-size: 1.1rem; line-height: 1; }
.tf-talk-a .tf-talk-letter { color: var(--tf-sage); }
.tf-talk-a::after { background: color-mix(in srgb, var(--tf-sage) 16%, transparent); }
.tf-talk-l .tf-talk-letter { color: var(--color-secondary-dark, #C98A1E); }
.tf-talk-l::after { background: color-mix(in srgb, var(--tf-gold) 22%, transparent); }
.tf-talk-k .tf-talk-letter { color: var(--tf-ember); }
.tf-talk-k::after { background: color-mix(in srgb, var(--tf-ember) 16%, transparent); }
.tf-talk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tf-talk-chips span { font-size: 0.8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--tf-ember-pale); color: color-mix(in srgb, var(--tf-ember) 75%, #000); }

/* --- Text-thread phone card --------------------------------------------- */
.tf-phone {
  background: var(--color-surface, #FFFFFF); color: var(--tf-ink);
  border-radius: 32px; padding: 22px 20px 24px; max-width: 420px; width: 100%; margin-left: auto;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.45), 0 0 0 10px rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 12px;
}
.tf-phone-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--tf-rule); }
.tf-phone-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--tf-navy); display: flex; align-items: center; justify-content: center; flex: none; }
.tf-phone-avatar svg { width: 20px; height: 20px; fill: var(--tf-gold); }
.tf-phone-name { font-weight: 700; color: var(--tf-navy); line-height: 1.2; }
.tf-phone-sub { font-size: 0.8rem; color: var(--tf-muted); }
.tf-msg { max-width: 86%; padding: 11px 15px; font-size: 0.95rem; line-height: 1.45; }
.tf-msg-out { align-self: flex-end; background: var(--tf-navy); color: #FFFFFF; border-radius: 20px 20px 6px 20px; font-weight: 700; letter-spacing: 0.04em; }
.tf-msg-in { align-self: flex-start; background: var(--color-surface-2, #F4EDE2); color: var(--tf-ink); border-radius: 20px 20px 20px 6px; }
.tf-msg-time { align-self: center; font-size: 0.74rem; color: var(--tf-muted); }

/* --- Text-to-join card (the registered SMS call to action) --------------- */
.tf-join {
  background: var(--color-surface, #FFFFFF); color: var(--tf-ink);
  border: 1px solid var(--tf-rule); border-radius: 28px;
  padding: clamp(24px, 3.4vw, 36px); box-shadow: var(--tf-shadow);
  display: flex; flex-direction: column; gap: 16px;
}
.tf-join-line { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 600; color: var(--tf-navy); line-height: 1.2; }
.tf-keyword { display: inline-block; background: var(--tf-gold); color: var(--color-dark, #132A47); padding: 0 12px; border-radius: 10px; letter-spacing: 0.04em; font-family: "Figtree", system-ui, sans-serif; font-weight: 800; }
.tf-number { white-space: nowrap; }
.tf-disclosure { font-size: 0.8rem; line-height: 1.55; color: var(--tf-muted); }
.tf-disclosure a { color: inherit; }

/* --- Quote --------------------------------------------------------------- */
.tf-quote { position: relative; display: flex; flex-direction: column; gap: 22px; }
.tf-quote blockquote {
  margin: 0; font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.05rem); line-height: 1.35; color: var(--tf-navy); text-wrap: pretty;
}
.tf-band-night .tf-quote blockquote { color: #FFFFFF; }
.tf-quote-mark { font-family: "Fraunces", Georgia, serif; font-size: 5rem; line-height: 0.6; color: var(--tf-gold); height: 40px; }
.tf-quote-by { display: flex; align-items: center; gap: 14px; }
.tf-quote-by span { display: block; }
.tf-quote-name { font-weight: 800; color: var(--tf-navy); }
.tf-band-night .tf-quote-name { color: #FFFFFF; }
.tf-quote-role { font-size: 0.9rem; color: var(--tf-muted); }
.tf-band-night .tf-quote-role { color: var(--tf-night-ink-2); }
.tf-monogram { width: 54px; height: 54px; border-radius: 50%; background: var(--tf-gold); color: var(--color-dark, #132A47); display: flex; align-items: center; justify-content: center; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.2rem; flex: none; }

/* --- Numbered steps ------------------------------------------------------ */
.tf-steps { list-style: none; counter-reset: tf-step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.tf-steps > li { counter-increment: tf-step; position: relative; padding: 28px 24px 24px; background: var(--color-surface, #FFFFFF); border: 1px solid var(--tf-rule); border-radius: var(--tf-radius); min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tf-steps > li::before { content: counter(tf-step); width: 38px; height: 38px; border-radius: 50%; background: var(--tf-navy); color: #FFFFFF; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.tf-steps h3 { font-size: 1.18rem; }
.tf-steps p { color: var(--tf-muted); font-size: 0.98rem; }

/* --- Forms (platform submission pattern: data-mp-form) ------------------- */
.tf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.tf-form-1col { grid-template-columns: 1fr; }
.tf-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.tf-field-full { grid-column: 1 / -1; }
.tf-field label { font-size: 0.9rem; font-weight: 700; color: var(--tf-navy); }
.tf-field .tf-optional { font-weight: 500; color: var(--tf-muted); }
.tf-field input, .tf-field select, .tf-field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tf-ink);
  background: var(--color-bg, #FBF7F1); border: 1.5px solid var(--tf-rule); border-radius: 14px;
  padding: 13px 15px; min-height: 50px; transition: border-color 0.18s ease, background-color 0.18s ease;
}
.tf-field textarea { min-height: 140px; resize: vertical; }
.tf-field input:focus, .tf-field select:focus, .tf-field textarea:focus { border-color: var(--tf-sage); background: var(--color-surface, #FFFFFF); outline: none; }
.tf-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.tf-form-note { grid-column: 1 / -1; font-size: 0.84rem; color: var(--tf-muted); display: flex; gap: 8px; align-items: flex-start; }
.tf-form-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--tf-sage); }
.tf-form-card { background: var(--color-surface, #FFFFFF); border: 1px solid var(--tf-rule); border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--tf-shadow); display: flex; flex-direction: column; gap: 20px; }

/* --- FAQ (native details, no script) ------------------------------------- */
.tf-faq { display: flex; flex-direction: column; gap: 12px; }
.tf-faq details { background: var(--color-surface, #FFFFFF); border: 1px solid var(--tf-rule); border-radius: 18px; padding: 0 22px; }
.tf-faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 700; color: var(--tf-navy); font-size: 1.05rem; }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--tf-sage); transition: transform 0.2s ease; }
.tf-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.tf-faq details p { padding: 0 0 20px; color: var(--tf-muted); }

/* --- Contact lines ------------------------------------------------------- */
.tf-contact { display: flex; flex-direction: column; gap: 14px; }
.tf-contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--color-surface, #FFFFFF); border: 1px solid var(--tf-rule); }
.tf-contact-line .tf-icon { width: 44px; height: 44px; border-radius: 12px; }
.tf-contact-line .tf-icon svg { width: 22px; height: 22px; }
.tf-contact-k { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tf-muted); }
.tf-contact-v { font-weight: 700; color: var(--tf-navy); text-decoration: none; display: block; overflow-wrap: anywhere; }

/* --- Legal pages --------------------------------------------------------- */
.tf-legal { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; color: var(--tf-ink); }
.tf-legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 22px; }
.tf-legal h3 { font-size: 1.08rem; font-family: "Figtree", system-ui, sans-serif; font-weight: 800; letter-spacing: 0; margin-top: 6px; }
.tf-legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.tf-legal p, .tf-legal li { color: var(--tf-muted); }
.tf-legal address { font-style: normal; color: var(--tf-ink); line-height: 1.7; }
.tf-legal-updated { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--tf-sage); background: var(--tf-sage-pale); padding: 6px 12px; border-radius: 999px; }

/* --- Funnel chrome (funnel steps render without the site header/footer) -- */
.tf-funnel-bar { padding: 18px 0; }
.tf-funnel-bar .tf-shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tf-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.2rem; color: var(--tf-navy); }
.tf-brand img { width: 44px; height: auto; }
.tf-band-night .tf-brand, .tf-funnel-bar.tf-band-night .tf-brand { color: #FFFFFF; }
.tf-brand-note { font-size: 0.85rem; color: var(--tf-muted); }
.tf-band-night .tf-brand-note { color: var(--tf-night-ink-2); }
.tf-funnel-foot { padding: 28px 0; font-size: 0.86rem; color: var(--tf-muted); background: var(--color-surface-2, #F4EDE2); }
.tf-funnel-foot .tf-shell { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.tf-funnel-foot a { color: inherit; }

/* --- Decorative star (inline SVG helper) -------------------------------- */
.tf-star { display: inline-block; width: 1em; height: 1em; fill: var(--tf-gold); vertical-align: -0.1em; }
.tf-orbit { position: absolute; pointer-events: none; opacity: 0.9; }

/* --- Motion -------------------------------------------------------------- */
.tf-rise { animation: tf-rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
.tf-rise-2 { animation-delay: 0.12s; }
.tf-rise-3 { animation-delay: 0.24s; }
@keyframes tf-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .tf-rise, .tf-pause-star { animation: none; }
  .tf-btn, .tf-link-arrow::after { transition: none; }
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 860px) {
  .tf-phone { margin: 0 auto; }
}
@media (max-width: 640px) {
  .tf-page { font-size: 16px; }
  .tf-form { grid-template-columns: 1fr; }
  .tf-pause { grid-template-columns: 1fr; text-align: left; }
  .tf-actions .tf-btn { width: 100%; }
  .tf-photo-badge { position: static; margin-top: -28px; margin-left: 16px; max-width: calc(100% - 32px); }
  .tf-talk-letter { font-size: 3.4rem; }
  .tf-funnel-bar .tf-brand-note { display: none; }
}

/* Auto-generated Tailwind bridge for custom colors */
.bg-dark-2 { background-color: var(--color-dark-2, #0D1F36); }
.text-dark-2 { color: var(--color-dark-2, #0D1F36); }
.border-dark-2 { border-color: var(--color-dark-2, #0D1F36); }
.ring-dark-2 { --tw-ring-color: var(--color-dark-2, #0D1F36); }
.from-dark-2 { --tw-gradient-from: var(--color-dark-2, #0D1F36); }
.to-dark-2 { --tw-gradient-to: var(--color-dark-2, #0D1F36); }
.via-dark-2 { --tw-gradient-via: var(--color-dark-2, #0D1F36); }
.shadow-dark-2\/25 { --tw-shadow-color: var(--color-dark-2, #0D1F36); --tw-shadow: var(--tw-shadow-colored); }
.bg-surface-2 { background-color: var(--color-surface-2, #F4EDE2); }
.text-surface-2 { color: var(--color-surface-2, #F4EDE2); }
.border-surface-2 { border-color: var(--color-surface-2, #F4EDE2); }
.ring-surface-2 { --tw-ring-color: var(--color-surface-2, #F4EDE2); }
.from-surface-2 { --tw-gradient-from: var(--color-surface-2, #F4EDE2); }
.to-surface-2 { --tw-gradient-to: var(--color-surface-2, #F4EDE2); }
.via-surface-2 { --tw-gradient-via: var(--color-surface-2, #F4EDE2); }
.shadow-surface-2\/25 { --tw-shadow-color: var(--color-surface-2, #F4EDE2); --tw-shadow: var(--tw-shadow-colored); }

/* Hover states */
.hover\:bg-dark-2:hover { background-color: var(--color-dark-2, #0D1F36); }
.hover\:text-dark-2:hover { color: var(--color-dark-2, #0D1F36); }
.hover\:bg-surface-2:hover { background-color: var(--color-surface-2, #F4EDE2); }
.hover\:text-surface-2:hover { color: var(--color-surface-2, #F4EDE2); }
