/* TalkToTom — v3 (polished)
 * 2026-06-23 — Bob 👷‍♂️
 */

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.55;
  color: #0f1b2d; background: #fbf8f3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ========== TOKENS ========== */
:root {
  --cobalt: #1b4ddb;
  --cobalt-light: #4f7af0;
  --cobalt-dark: #0f3aab;
  --cream: #fbf8f3;
  --cream-dark: #f0e9d8;
  --red: #b8243b;
  --red-bright: #e23454;
  --gold: #ffc97c;
  --navy: #0f1b2d;
  --navy-light: #1c2c47;
  --grey: #5a6677;
  --line: #e3ddd0;
  --shadow: 0 4px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.18);
  --shadow-cobalt: 0 12px 40px rgba(27, 77, 219, 0.32);
}

/* ========== TYPE ========== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
}
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.75rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.25rem; color: var(--grey); max-width: 620px; }

/* ========== LAYOUT ========== */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section--cobalt { background: var(--cobalt); color: var(--cream); }
.section--cobalt h2, .section--cobalt h3 { color: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2, .section--navy h3 { color: var(--cream); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; color: var(--red); font-weight: 800;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(184, 36, 59, 0.08);
  border-radius: 999px;
}
.section--cobalt .eyebrow, .section--navy .eyebrow {
  color: var(--gold);
  background: rgba(255, 201, 124, 0.15);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--left { transform: translateX(-40px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(40px); }
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.92); opacity: 0; }
.reveal--scale.is-visible { transform: scale(1); opacity: 1; }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }
.reveal--delay-5 { transition-delay: 0.40s; }
.reveal--delay-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 248, 243, 0.95);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1280px; margin: 0 auto;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; font-weight: 700; color: var(--navy);
  transition: transform 0.2s;
}
.nav-logo:hover { transform: scale(1.03); }
.nav-logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-light));
  border-radius: 50% 50% 50% 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.05rem; font-weight: 700;
  box-shadow: var(--shadow-cobalt);
  position: relative;
}
.nav-logo-mark::after {
  content: '';
  position: absolute; top: -3px; right: -3px;
  width: 12px; height: 12px;
  background: var(--red-bright);
  border-radius: 50%;
  border: 2px solid var(--cream);
  animation: navDot 2s ease-out infinite;
}
@keyframes navDot {
  0% { box-shadow: 0 0 0 0 rgba(226, 52, 84, 0.5); }
  100% { box-shadow: 0 0 0 8px rgba(226, 52, 84, 0); }
}
.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-link {
  color: var(--navy); font-size: 0.95rem; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--cobalt);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-cta {
  background: var(--navy); color: var(--cream);
  padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cobalt);
}
.nav-cta-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6dffba;
  animation: livePulse 1.8s ease-out infinite;
}
.nav-hamburger { display: none; font-size: 1.6rem; color: var(--navy); background: transparent; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-cta span:not(.nav-cta-pulse) { display: none; }
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(109, 255, 186, 0.7); }
  100% { box-shadow: 0 0 0 10px rgba(109, 255, 186, 0); }
}

/* ========== HERO ========== */
.hero {
  padding: 60px 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex; align-items: center;
}
@media (min-height: 700px) {
  .hero { min-height: calc(min(720px, 100vh) - 80px); }
}
.hero::before, .hero::after {
  content: ''; position: absolute;
  border-radius: 50%; filter: blur(80px);
  z-index: 0; pointer-events: none;
}
.hero::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27, 77, 219, 0.22), transparent 70%);
  top: -200px; left: -150px;
  animation: floatA 16s ease-in-out infinite;
}
.hero::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184, 36, 59, 0.15), transparent 70%);
  bottom: -200px; right: -100px;
  animation: floatB 18s ease-in-out infinite;
}
@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(80px, 60px); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-60px, -80px); }
}

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero-headline {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.95; margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-headline .accent {
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--cobalt-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-line {
  display: block; opacity: 0;
  transform: translateY(30px);
  animation: heroLineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.3s; }
@keyframes heroLineIn { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  font-size: 1.3rem; color: var(--grey);
  max-width: 540px; margin-bottom: 36px; min-height: 4em;
  opacity: 0; animation: fadeIn 1s 0.55s ease forwards;
}
.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px;
  opacity: 0; animation: fadeIn 1s 0.75s ease forwards;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.95rem; color: var(--grey);
  padding: 8px 16px;
  background: rgba(15, 27, 45, 0.04);
  border-radius: 999px;
  opacity: 0; animation: fadeIn 1s 0.9s ease forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 30px; border-radius: 999px;
  font-size: 1.05rem; font-weight: 700;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.2s, background 0.2s, color 0.2s;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn:hover::before { transform: translateX(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-light));
  color: white;
  box-shadow: var(--shadow-cobalt);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(27, 77, 219, 0.45);
}
.btn--secondary {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--secondary:hover {
  background: var(--navy); color: var(--cream);
  transform: translateY(-3px);
}

/* ========== HERO TOM CUTOUT — premium float + glow ========== */
.hero-image {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  animation: heroImageIn 1.2s 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes heroImageIn {
  from { opacity: 0; transform: translateX(60px) scale(0.92); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
/* Multi-layer glow behind Tom to hide any cutout fringe */
.hero-image::before {
  content: ''; position: absolute;
  width: 110%; height: 110%;
  inset: -5%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(27, 77, 219, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 70%, rgba(255, 201, 124, 0.15) 0%, transparent 60%);
  filter: blur(35px);
  z-index: 0;
  animation: heroGlow 5s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}
.hero-image-wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px;
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
/* Tom image with drop-shadow that masks any cutout fringe */
.hero-image-wrap img {
  width: 100%;
  filter:
    drop-shadow(0 0 18px rgba(27, 77, 219, 0.25))
    drop-shadow(0 24px 32px rgba(15, 27, 45, 0.35));
}
.hero-speech-bubble {
  position: absolute;
  top: 10%; right: -20px;
  background: white;
  padding: 14px 18px;
  border-radius: 18px 18px 4px 18px;
  font-size: 0.95rem; font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  animation: bubbleIn 0.6s 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.hero-speech-bubble::before {
  content: ''; position: absolute;
  bottom: -8px; right: 16px;
  width: 16px; height: 16px;
  background: white;
  transform: rotate(45deg);
}
@keyframes bubbleIn {
  from { opacity: 0; transform: scale(0.7) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 880px) {
  .hero { padding: 40px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub, .hero-ctas, .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image-wrap { max-width: 280px; }
}

/* ========== MANIFESTO ========== */
.manifesto {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--cream);
  padding: 140px 0;
  position: relative; overflow: hidden;
}
.manifesto::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(27, 77, 219, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(184, 36, 59, 0.12), transparent 50%);
  z-index: 0;
}
.manifesto-inner {
  max-width: 820px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}
.manifesto h2 {
  color: var(--cream);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 40px; line-height: 1.05;
}
.manifesto p {
  font-size: 1.3rem; line-height: 1.6;
  color: rgba(251, 248, 243, 0.85);
  margin-bottom: 1.4rem;
}
.manifesto .punchline {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.3;
  color: var(--cream);
  border-left: 4px solid var(--red-bright);
  padding-left: 28px;
  margin-top: 48px;
}
.manifesto .punchline .accent { color: var(--gold); }

/* ========== SECTION HEADER ========== */
.section-header {
  text-align: center; max-width: 760px; margin: 0 auto 60px;
}

/* ========== BOX (offerings) — PREMIUM ANIMATED BORDERS ========== */
.box-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.box-item {
  position: relative;
  background: white;
  padding: 28px;
  border-radius: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s;
  z-index: 1;
  border: 1px solid var(--line);
}
/* Animated gradient border overlay (visible on hover) */
.box-item::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg,
    var(--cobalt) 0%,
    var(--cobalt-light) 25%,
    var(--gold) 50%,
    var(--red-bright) 75%,
    var(--cobalt) 100%);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: borderShift 4s linear infinite;
}
@keyframes borderShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.box-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.box-item:hover::before { opacity: 1; }
.box-item:hover .box-icon { transform: rotate(-8deg) scale(1.1); }

.box-icon {
  font-size: 1.8rem; line-height: 1; flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(27,77,219,0.10), rgba(27,77,219,0.02));
  border-radius: 14px;
  transition: transform 0.3s;
}
.box-label {
  font-weight: 700; color: var(--navy); font-size: 1.05rem;
  margin-bottom: 6px;
}
.box-desc {
  font-size: 0.92rem; color: var(--grey); margin: 0;
  line-height: 1.5;
}
.box-footer {
  text-align: center; margin-top: 56px;
  font-size: 1.2rem; color: var(--navy); font-weight: 600;
  font-style: italic;
}
@media (max-width: 880px) { .box-grid { grid-template-columns: 1fr; } }

/* ========== STEPS ========== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.step { text-align: left; position: relative; }
.step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.5rem; font-weight: 700;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 16px;
  display: block;
}
.step-title {
  font-weight: 700; font-size: 1.25rem; color: var(--cream);
  margin-bottom: 10px;
}
.step-desc { font-size: 0.98rem; color: rgba(251,248,243,0.9); line-height: 1.55; }

@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ========== TIERS — PREMIUM ANIMATED BORDERS ========== */
.tiers-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 920px; margin: 0 auto;
}
.tier {
  position: relative;
  background: white;
  padding: 44px 36px;
  border-radius: 28px;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid var(--line);
  z-index: 1;
}
.tier:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.tier::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 31px;
  background: linear-gradient(135deg,
    var(--cobalt) 0%,
    var(--cobalt-light) 30%,
    var(--gold) 55%,
    var(--red-bright) 80%,
    var(--cobalt) 100%);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  animation: borderShift 5s linear infinite;
}
.tier:hover::before { opacity: 1; }

.tier--featured {
  border-color: var(--cobalt);
  background: linear-gradient(180deg, white 0%, #f8faff 100%);
}
.tier--featured::before { opacity: 0.45; }
.tier--featured:hover::before { opacity: 1; }

.tier--featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-light));
  color: white;
  padding: 7px 18px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  box-shadow: var(--shadow-cobalt);
  z-index: 2;
  white-space: nowrap;
}

.tier-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.95rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.tier-tagline {
  color: var(--grey); font-size: 1.05rem; margin-bottom: 28px;
}
.tier-includes ul { list-style: none; padding: 0; margin-bottom: 32px; }
.tier-includes li {
  padding: 10px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.97rem;
}
.tier-includes li::before {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-light));
  color: white;
  border-radius: 50%;
  font-weight: 700; font-size: 0.78rem;
  flex-shrink: 0;
}
.tier-price {
  margin-top: auto; padding: 16px 0;
  font-size: 0.95rem; color: var(--grey); font-style: italic;
}
.tier .btn { width: 100%; justify-content: center; }

@media (max-width: 880px) { .tiers-grid { grid-template-columns: 1fr; } }

/* ========== FOUNDER NOTE ========== */
.founder {
  background:
    radial-gradient(circle at 50% 0%, rgba(27, 77, 219, 0.06), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, white 100%);
  padding: 140px 0;
}
.founder-inner {
  max-width: 760px; margin: 0 auto; padding: 0 24px;
  text-align: center;
}
.founder h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  margin-bottom: 36px;
}
.founder-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--navy); margin-bottom: 36px;
  position: relative;
  min-height: 8em;
}
.founder-quote::before {
  content: '"';
  position: absolute;
  top: -40px; left: 50%; transform: translateX(-50%);
  font-size: 7rem;
  color: var(--cobalt);
  opacity: 0.18;
  line-height: 1;
  font-family: 'Playfair Display', Georgia, serif;
}
.founder-signature {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; color: var(--cobalt);
  margin-bottom: 4px;
  font-weight: 600;
}
.founder-title {
  font-size: 0.95rem; color: var(--grey);
  text-transform: uppercase; letter-spacing: 0.12em;
}

/* ========== HORIZON ========== */
.horizon {
  padding: 80px 0;
  text-align: center;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.horizon-line {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--grey);
  padding: 12px 24px;
  border: 1px dashed var(--line);
  border-radius: 999px;
}
.horizon-line::before { content: '✨ '; }

/* ========== FINAL CTA ========== */
.final-cta {
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--cobalt-dark) 100%);
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(60px);
}
.final-cta h2 {
  color: white; margin-bottom: 40px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  position: relative;
}
.final-cta-ctas {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.final-cta .btn--primary {
  background: white; color: var(--cobalt);
}
.final-cta .btn--primary:hover {
  background: var(--cream);
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.25);
}
.final-cta .btn--secondary {
  color: white; border-color: white;
}
.final-cta .btn--secondary:hover {
  background: white; color: var(--cobalt);
}
.final-cta-note {
  margin-top: 36px; opacity: 0.85; font-size: 0.98rem;
  position: relative; z-index: 1;
}

/* ========== FOOTER ========== */
footer {
  background: var(--navy); color: rgba(251, 248, 243, 0.7);
  padding: 50px 0;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  color: rgba(251, 248, 243, 0.85);
}
.footer-brand-mark {
  width: 28px; height: 28px;
  background: var(--cobalt);
  border-radius: 50% 50% 50% 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.85rem; font-weight: 700;
}
.footer-inner a { color: rgba(251, 248, 243, 0.7); transition: color 0.15s; }
.footer-inner a:hover { color: white; }
.footer-links { display: flex; gap: 28px; }

/* ========== FLOATING TALK BUTTON (Tom on Tap) ========== */
.talk-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-light));
  color: white;
  padding: 0;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center;
  box-shadow: var(--shadow-cobalt);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  overflow: hidden;
  opacity: 0; transform: translateY(20px);
  animation: fabIn 0.6s 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes fabIn { to { opacity: 1; transform: translateY(0); } }
.talk-fab:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 48px rgba(27, 77, 219, 0.5);
}
.talk-fab-avatar {
  width: 52px; height: 52px;
  background: url('../assets/tom-mini.png') center/cover no-repeat;
  border-radius: 50%;
  margin: 6px;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px white;
}
.talk-fab-avatar::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 2px;
  width: 14px; height: 14px;
  background: #6dffba;
  border-radius: 50%;
  border: 3px solid white;
  animation: livePulse 1.6s ease-out infinite;
}
.talk-fab-text {
  padding: 0 22px 0 6px;
  white-space: nowrap;
  font-weight: 700;
  display: flex; flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.talk-fab-text small {
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 520px) {
  .talk-fab { bottom: 16px; right: 16px; }
  .talk-fab-text { padding-right: 16px; }
  .talk-fab-text small { display: none; }
}

/* ========== MODAL ========== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 27, 45, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200; padding: 20px;
  opacity: 0; transition: opacity 0.3s;
}
.modal-backdrop.is-open { display: flex; opacity: 1; }
.modal {
  background: white; border-radius: 28px;
  max-width: 480px; width: 100%;
  padding: 44px 40px 36px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(15, 27, 45, 0.4);
  transform: scale(0.85) translateY(40px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-backdrop.is-open .modal {
  transform: scale(1) translateY(0); opacity: 1;
}
.modal-tom {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--cobalt) center/cover no-repeat;
  margin: 0 auto 24px;
  border: 5px solid var(--cobalt);
  box-shadow: var(--shadow-cobalt);
  position: relative;
}
.modal-tom::after {
  content: '';
  position: absolute; bottom: 4px; right: 4px;
  width: 24px; height: 24px;
  background: #6dffba;
  border-radius: 50%;
  border: 4px solid white;
  animation: livePulse 1.6s ease-out infinite;
}
.modal h3 { margin-bottom: 14px; }
.modal p { color: var(--grey); margin-bottom: 28px; font-size: 1.02rem; }
.modal-actions { display: flex; flex-direction: column; gap: 12px; }
.modal .btn { width: 100%; justify-content: center; }
.modal-close {
  margin-top: 20px;
  color: var(--grey); font-size: 0.9rem;
  cursor: pointer;
  background: transparent;
}
.modal-close:hover { color: var(--navy); }

/* ========== TYPEWRITER ========== */
.typewriter-target {
  display: inline-block;
  border-right: 3px solid transparent;
  white-space: pre-wrap;
  vertical-align: baseline;
}
.typewriter-target.typing {
  border-right-color: var(--red-bright);
  animation: blink 0.8s steps(2) infinite;
}
@keyframes blink {
  50% { border-right-color: transparent; }
}

/* Screenshot mode override */
html[data-screenshot="true"] .reveal,
html[data-screenshot="true"] .reveal--left,
html[data-screenshot="true"] .reveal--right,
html[data-screenshot="true"] .reveal--scale {
  opacity: 1 !important; transform: none !important; transition: none !important;
}
html[data-screenshot="true"] .hero-line,
html[data-screenshot="true"] .hero-sub,
html[data-screenshot="true"] .hero-ctas,
html[data-screenshot="true"] .hero-badge,
html[data-screenshot="true"] .hero-image,
html[data-screenshot="true"] .hero-speech-bubble,
html[data-screenshot="true"] .talk-fab {
  opacity: 1 !important; transform: none !important; animation: none !important;
}
