/* ══════════════════════════════════════════
   TruFeld Landing Page — Refined Craft
   ══════════════════════════════════════════ */

/* ── Reset & Foundations ── */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand */
  --tf-primary: #4A5A3C;
  --tf-primary-hover: #3E4D32;
  --tf-primary-light: #E8EBE4;
  --tf-primary-dark: #2C3623;
  --tf-accent: #D97706;
  --tf-accent-hover: #B45309;
  --tf-accent-light: #FEF3C7;

  /* Surfaces */
  --tf-bg: #F5F1EB;
  --tf-bg-dark: #1C1917;
  --tf-surface: #FDFCFA;
  --tf-surface-warm: #FAF6F0;

  /* Text */
  --tf-text: #1C1917;
  --tf-text-secondary: #78716C;
  --tf-text-tertiary: #A8A29E;
  --tf-text-inverse: #FDFCFA;

  /* Borders */
  --tf-border: #E7E5E4;
  --tf-border-dark: #44403C;

  /* Shadows (warm-tinted) */
  --tf-shadow: 0 4px 20px rgba(28, 25, 23, 0.06), 0 1px 3px rgba(28, 25, 23, 0.04);
  --tf-shadow-lg: 0 12px 40px rgba(28, 25, 23, 0.08), 0 4px 12px rgba(28, 25, 23, 0.04);
  --tf-shadow-xl: 0 20px 60px rgba(28, 25, 23, 0.12), 0 8px 20px rgba(28, 25, 23, 0.06);

  /* Layout */
  --tf-max-width: 1200px;
  --tf-radius: 10px;
  --tf-radius-lg: 16px;
  --tf-radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tf-text);
  background: var(--tf-bg);
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 9999;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--tf-max-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* ── Typography ── */

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--tf-text);
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tf-accent);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 20px;
}

.section-subheading {
  font-size: 18px;
  line-height: 1.6;
  color: var(--tf-text-secondary);
  max-width: 560px;
}


/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 60px;
  transition: all 250ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--tf-accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(217, 119, 6, 0.25);
}

.btn-primary:hover {
  background: var(--tf-accent-hover);
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--tf-primary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--tf-primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--tf-border);
  color: var(--tf-text);
  background: var(--tf-surface);
}

.btn-outline:hover {
  border-color: var(--tf-primary);
  color: var(--tf-primary);
  background: var(--tf-primary-light);
}

.btn-ghost {
  color: var(--tf-text-secondary);
  padding: 14px 20px;
}

.btn-ghost:hover {
  color: var(--tf-text);
}

.btn-icon {
  font-size: 18px;
}


/* ── Scroll Reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }


/* ══════════════════════════════════════════
   Navigation
   ══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 300ms ease;
}

.nav.scrolled {
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--tf-border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--tf-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tf-primary);
  text-decoration: none;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}

.nav-logo-word {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--tf-primary);
}

.nav.scrolled .nav-logo-mark {
  width: 32px;
  height: 32px;
  transition: width 200ms ease, height 200ms ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--tf-text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 200ms ease;
}

.nav-link:hover {
  color: var(--tf-text);
  background: rgba(0, 0, 0, 0.03);
}

.nav-cta {
  font-size: 14px;
  padding: 10px 24px;
  margin-left: 8px;
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--tf-text);
  position: relative;
  transition: all 200ms ease;
}

.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--tf-text);
  transition: all 200ms ease;
}

.nav-mobile-toggle span::before { top: -6px; }
.nav-mobile-toggle span::after { top: 6px; }


/* ══════════════════════════════════════════
   Hero
   ══════════════════════════════════════════ */

.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(74, 90, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tf-primary-light);
  color: var(--tf-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 60px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--tf-accent);
  border-radius: 50%;
}


.hero h1 {
  font-size: clamp(40px, 5.5vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--tf-accent);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--tf-text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-proof-avatars {
  display: flex;
}

.hero-proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--tf-bg);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.hero-proof-avatar:first-child { margin-left: 0; }
.hero-proof-avatar:nth-child(1) { background: #6B8F5B; }
.hero-proof-avatar:nth-child(2) { background: #D97706; }
.hero-proof-avatar:nth-child(3) { background: #7C6F5B; }
.hero-proof-avatar:nth-child(4) { background: #5B7C8F; }

.hero-proof-text {
  font-size: 14px;
  color: var(--tf-text-secondary);
  line-height: 1.4;
}

.hero-proof-text strong {
  color: var(--tf-text);
  font-weight: 600;
}

/* Product preview */
.hero-visual {
  position: relative;
}

.hero-preview {
  background: var(--tf-surface);
  border-radius: var(--tf-radius-xl);
  box-shadow: var(--tf-shadow-xl);
  border: 1px solid var(--tf-border);
  overflow: hidden;
}

.hero-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--tf-bg);
  border-bottom: 1px solid var(--tf-border);
}

.hero-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tf-border);
}

.hero-preview-body {
  padding: 24px;
  min-height: 340px;
}

.hero-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-preview-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-preview-title.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.hero-preview-title.fade-in {
  opacity: 0;
  transform: translateY(10px);
}

.hero-preview-status {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 60px;
  background: #DCFCE7;
  color: #15803D;
}

.hero-preview-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-preview-card {
  background: var(--tf-bg);
  border-radius: var(--tf-radius);
  padding: 16px;
}

.hero-preview-card-label {
  font-size: 11px;
  color: var(--tf-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.hero-preview-card-value {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-preview-card-value.accent { color: var(--tf-accent); }
.hero-preview-card-value.primary { color: var(--tf-primary); }

.hero-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--tf-border);
}

.hero-preview-row-label {
  font-size: 13px;
  color: var(--tf-text-secondary);
}

.hero-preview-row-value {
  font-size: 13px;
  font-weight: 600;
}

.hero-preview-row-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 60px;
}

.hero-preview-row-badge.signed {
  background: var(--tf-primary-light);
  color: var(--tf-primary);
}

.hero-preview-row-badge.paid {
  background: #DCFCE7;
  color: #15803D;
}

/* Floating accent elements */
.hero-float {
  position: absolute;
  background: var(--tf-surface);
  border-radius: var(--tf-radius-lg);
  box-shadow: var(--tf-shadow-lg);
  border: 1px solid var(--tf-border);
  padding: 14px 18px;
  animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
  top: 156px;
  left: -24px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 40px;
  right: -20px;
  animation-delay: -3s;
}

.hero-float-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.hero-float-icon.olive { background: var(--tf-primary-light); color: var(--tf-primary); }
.hero-float-icon.amber { background: var(--tf-accent-light); color: var(--tf-accent); }

.hero-float-text {
  font-size: 13px;
  font-weight: 600;
}

.hero-float-sub {
  font-size: 11px;
  color: var(--tf-text-tertiary);
  font-weight: 400;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Wraps the hero preview + its floating accents so the floats anchor to
   the preview's box (not to whatever else is in .hero-visual below it). */
.hero-preview-group {
  position: relative;
}

/* ── Built in America banner ──
   Sits below the hero preview/floats inside the right-column visual.
   Cream surface with subtle border + shadow, real flag colors. */
.hero-usa-banner {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding: 16px 20px;
  background: var(--tf-surface);
  border: 1px solid var(--tf-border);
  border-radius: var(--tf-radius-lg);
  box-shadow: var(--tf-shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-usa-flag {
  flex-shrink: 0;
  display: block;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.12);
}

.hero-usa-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-usa-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tf-text);
  line-height: 1.2;
}

.hero-usa-sub {
  font-size: 12.5px;
  color: var(--tf-text-secondary);
  line-height: 1.4;
}


/* ── Demo brand (the sample contractor shown inside the hero portal preview) ──
   The hero preview is rendered as an example client's *branded* portal so the
   "wears your brand" promise is visible, not just claimed. These vars hold the
   demo brand (JD Construction). Swap them to re-skin the whole preview. */
.hero-preview-group {
  --demo-brand: #4C642C;
  --demo-brand-light: #EBEFE2;
  --demo-gold: #B08D2E;
  --demo-gold-light: #F7EFD9;
}

.hero-preview-brandstrip {
  height: 4px;
  background: var(--demo-brand);
}

.hero-preview-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: var(--tf-surface);
  border-bottom: 1px solid var(--tf-border);
}

.hero-preview-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-preview-brand-mark {
  display: block;
  flex-shrink: 0;
}

.hero-preview-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--demo-brand);
}

.hero-preview-brand-name span {
  font-weight: 500;
}

.hero-preview-portal-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--tf-text-secondary);
  background: var(--tf-bg);
  padding: 3px 10px;
  border-radius: 60px;
}

/* Portal section tabs. Sit in a row and scroll horizontally only when they
   overflow (narrow viewports) — no persistent scroll affordance on desktop. */
.hero-preview-tabs {
  display: flex;
  gap: 18px;
  padding: 0 18px;
  background: var(--tf-surface);
  border-bottom: 1px solid var(--tf-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-preview-tabs::-webkit-scrollbar {
  display: none;
}

.hero-preview-tab {
  font-size: 12.5px;
  color: var(--tf-text-secondary);
  padding: 10px 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.hero-preview-tab.is-active {
  color: var(--demo-brand);
  font-weight: 600;
  border-bottom-color: var(--demo-brand);
}

/* Recolor the preview internals to the demo brand so the portal reads as the
   sample contractor's, not TruFeld's. */
.hero-preview .hero-preview-status { background: var(--demo-brand-light); color: var(--demo-brand); }
.hero-preview-card.tint-gold { background: #FAF7F0; }
.hero-preview-card.tint-brand { background: #F4F6EF; }
.hero-preview .hero-preview-card-value.accent { color: var(--demo-gold); }
.hero-preview .hero-preview-card-value.primary { color: var(--demo-brand); }
.hero-preview .hero-preview-row-badge.signed { background: var(--demo-brand-light); color: var(--demo-brand); }
.hero-preview .hero-preview-row-badge.paid { background: var(--demo-gold-light); color: var(--demo-gold); }

.hero-float-icon.brand { background: var(--demo-brand-light); color: var(--demo-brand); }
.hero-float-icon.gold { background: var(--demo-gold-light); color: var(--demo-gold); }


/* ══════════════════════════════════════════
   Pain Point
   ══════════════════════════════════════════ */

.pain {
  padding: 80px 0;
}

.pain-inner {
  background: var(--tf-bg-dark);
  border-radius: var(--tf-radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

/* Subtle texture on dark bg */
.pain-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(74, 90, 60, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(217, 119, 6, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.pain-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pain h2 {
  color: var(--tf-text-inverse);
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
}

.pain-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--tf-text-tertiary);
  max-width: 440px;
}

/* ── Revenue Timeline ── */

.pain-timeline {
  position: relative;
}

.pain-timeline-header {
  margin-bottom: 16px;
}

.pain-timeline-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pain-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  height: 160px;
  align-items: flex-end;
  position: relative;
}

.pain-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.pain-month-bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pain-month-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pain-month[data-revenue="high"] .pain-month-bar {
  background: linear-gradient(to top, rgba(74, 222, 128, 0.5), rgba(74, 222, 128, 0.25));
}

.pain-month[data-revenue="medium"] .pain-month-bar {
  background: linear-gradient(to top, rgba(74, 222, 128, 0.35), rgba(74, 222, 128, 0.15));
}

.pain-month[data-revenue="low"] .pain-month-bar {
  background: linear-gradient(to top, rgba(250, 204, 21, 0.4), rgba(250, 204, 21, 0.15));
}

.pain-month[data-revenue="zero"] .pain-month-bar {
  background: linear-gradient(to top, rgba(239, 68, 68, 0.4), rgba(239, 68, 68, 0.15));
}

.pain-month-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 8px;
  font-weight: 500;
}

/* Subscription flat line overlaid on the bars */
.pain-sub-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(160px * 0.35 + 19px); /* positioned at ~35% height + month label offset */
  border-top: 2px dashed rgba(239, 68, 68, 0.6);
  pointer-events: none;
}

.pain-sub-line-label {
  position: absolute;
  right: 0;
  top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #EF4444;
  white-space: nowrap;
}

.pain-timeline-footer {
  margin-top: 20px;
}

.pain-timeline-legend {
  display: flex;
  gap: 24px;
}

.pain-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.pain-legend-bar {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(74, 222, 128, 0.4);
}

.pain-legend-line {
  width: 16px;
  height: 0;
  border-top: 2px dashed rgba(239, 68, 68, 0.6);
}

/* Callout anchored to a specific zero-revenue month */
.pain-month-anchor {
  position: relative;
  overflow: visible;
}

.pain-callout {
  position: absolute;
  bottom: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 2;
  animation: pain-callout-in 800ms 400ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.pain-callout-text {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15);
}

.pain-callout-arrow {
  width: 16px;
  height: 56px;
  color: rgba(239, 68, 68, 0.55);
  margin-top: 2px;
  overflow: visible;
}

@keyframes pain-callout-in {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── Bottom comparison strip ── */

.pain-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pain-bottom-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pain-bottom-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3);
}

.pain-bottom-value {
  font-size: 15px;
  line-height: 1.5;
}

.pain-bottom-value.expensive {
  color: #FCA5A5;
}

.pain-bottom-value.trufeld {
  color: #4ADE80;
}

.pain-bottom-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 32px;
}


/* ══════════════════════════════════════════
   Client Experience
   ══════════════════════════════════════════ */

.client-exp {
  padding: 120px 0;
}

.client-exp-header {
  text-align: center;
  margin-bottom: 72px;
}

.client-exp-header .section-subheading {
  margin: 0 auto;
}

.client-exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.client-exp-card {
  background: var(--tf-surface);
  border-radius: var(--tf-radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--tf-border);
  transition: all 350ms ease;
}

.client-exp-card:hover {
  box-shadow: var(--tf-shadow-lg);
  transform: translateY(-4px);
}

.client-exp-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--tf-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #FEF3C7;
  color: var(--tf-accent);
  font-size: 20px;
}

.client-exp-card h3 {
  font-family: var(--tf-font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--tf-text);
  margin-bottom: 10px;
}

.client-exp-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--tf-text-secondary);
  margin-bottom: 16px;
}

.client-exp-fix {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--tf-primary);
  padding-top: 16px;
  border-top: 1px solid var(--tf-border);
}

@media (max-width: 768px) {
  .client-exp-grid {
    grid-template-columns: 1fr;
  }

  .client-exp {
    padding: 80px 0;
  }
}


/* ══════════════════════════════════════════
   Features
   ══════════════════════════════════════════ */

.features {
  padding: 120px 0;
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.features-header .section-subheading {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--tf-surface);
  border-radius: var(--tf-radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--tf-border);
  transition: all 350ms ease;
  position: relative;
  overflow: hidden;
}

/* Tier badge — used on Pro+ gated feature cards.
   Also reusable inline via .tier-badge--inline for comparison tables. */
.tier-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 60px;
  background: var(--tf-accent-light);
  color: var(--tf-accent);
  border: 1px solid rgba(217, 119, 6, 0.25);
  white-space: nowrap;
}

.feature-card > .tier-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
}

.tier-badge--inline {
  font-size: 9px;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: 1px;
}

.feature-preview-note {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--tf-border);
  font-size: 12px;
  color: var(--tf-text-tertiary);
  line-height: 1.5;
  font-style: italic;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tf-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  box-shadow: var(--tf-shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.feature-icon.olive { background: var(--tf-primary-light); color: var(--tf-primary); }
.feature-icon.amber { background: var(--tf-accent-light); color: var(--tf-accent); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--tf-text-secondary);
}

.features-also {
  margin-top: 48px;
  background: var(--tf-primary-light);
  border-radius: var(--tf-radius-lg);
  border: 1px solid rgba(74, 90, 60, 0.15);
  padding: 36px 40px;
}

.features-also-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tf-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
  text-align: center;
}

.features-also-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-also-list li {
  font-size: 13.5px;
  color: var(--tf-text-primary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.features-also-list li .pi-check {
  color: var(--tf-primary);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════
   Fee Control
   ══════════════════════════════════════════ */

.fee-control {
  padding: 80px 0;
}

.fee-control-inner {
  background: var(--tf-bg-dark);
  border-radius: var(--tf-radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.fee-control-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(217, 119, 6, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.fee-control-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 56px;
}

.fee-control-header h2 {
  color: var(--tf-text-inverse);
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
}

.fee-control-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--tf-text-tertiary);
  max-width: 520px;
  margin: 0 auto;
}

/* Option cards */
.fee-control-options {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.fee-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tf-radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all 300ms ease;
}

.fee-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.fee-option.featured {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.25);
}

.fee-option.featured:hover {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.35);
}

.fee-option-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tf-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 60px;
  white-space: nowrap;
}

.fee-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
}

.fee-option-icon.split {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.fee-option-icon.pass {
  background: rgba(217, 119, 6, 0.15);
  color: var(--tf-accent);
}

.fee-option h3 {
  color: var(--tf-text-inverse);
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.fee-option-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--tf-text-tertiary);
  margin-bottom: 24px;
}

/* Example breakdown */
.fee-option-example {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--tf-radius);
  padding: 16px;
}

.fee-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.fee-option-row .fee-negative {
  color: rgba(239, 68, 68, 0.7);
}

.fee-option-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 2px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.fee-option-result.highlight {
  color: #4ADE80;
}

.fee-option-result.highlight span:last-child {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.fee-control-footnote {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 32px;
}


/* ══════════════════════════════════════════
   How It Works
   ══════════════════════════════════════════ */

.scope-change {
  padding: 100px 0 120px;
}

.scope-change-header {
  text-align: center;
  margin-bottom: 64px;
}

.scope-change-header .section-subheading {
  margin: 0 auto;
}

.scope-change-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scope-change-card {
  background: var(--tf-surface);
  border-radius: var(--tf-radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--tf-border);
  transition: all 350ms ease;
  display: flex;
  flex-direction: column;
}

.scope-change-card:hover {
  box-shadow: var(--tf-shadow-lg);
  transform: translateY(-4px);
}

.scope-change-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--tf-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--tf-primary-light);
  color: var(--tf-primary);
  font-size: 20px;
}

.scope-change-card h3 {
  font-family: var(--tf-font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--tf-text);
  margin-bottom: 10px;
}

.scope-change-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--tf-text-secondary);
  margin-bottom: 16px;
}

.scope-change-fix {
  margin-top: auto;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--tf-primary);
  padding-top: 16px;
  border-top: 1px solid var(--tf-border);
}

.scope-change-footnote {
  margin-top: 56px;
  text-align: center;
}

.scope-change-footnote p {
  font-family: var(--tf-font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--tf-text);
  margin: 0 0 24px;
}

.scope-change-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

@media (max-width: 968px) {
  .scope-change-grid {
    grid-template-columns: 1fr;
  }
  .scope-change {
    padding: 80px 0;
  }
}


/* ══════════════════════════════════════════
   Pricing
   ══════════════════════════════════════════ */

.pricing {
  padding: 120px 0;
  background: var(--tf-surface-warm);
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--tf-border), transparent);
}

.pricing-header {
  text-align: center;
  margin-bottom: 20px;
}

.pricing-header .section-subheading {
  margin: 0 auto;
}

/* Calculator */
.pricing-calculator {
  max-width: 560px;
  margin: 0 auto 64px;
  text-align: center;
}

.calculator-label {
  font-size: 15px;
  color: var(--tf-text-secondary);
  margin-bottom: 16px;
}

.calculator-input-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.calculator-prefix {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--tf-text-tertiary);
}

.calculator-input {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--tf-text);
  border: none;
  background: none;
  width: 180px;
  text-align: center;
  border-bottom: 2px solid var(--tf-border);
  padding-bottom: 4px;
  outline: none;
  transition: border-color 200ms ease;
}

.calculator-input:focus {
  border-color: var(--tf-primary);
}

.calculator-suffix {
  font-size: 15px;
  color: var(--tf-text-secondary);
  margin-left: 4px;
  align-self: flex-end;
  padding-bottom: 10px;
}

.calculator-hint {
  font-size: 13px;
  color: var(--tf-text-tertiary);
  margin-top: 4px;
}

.calculator-tier-hint {
  font-size: 13px;
  color: var(--tf-primary);
  margin-top: 12px;
  font-weight: 500;
  min-height: 1.5em;
}

/* Fee handling toggle */
.calculator-fee-handling {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--tf-border);
}

.calculator-fee-label {
  font-size: 15px;
  color: var(--tf-text-secondary);
  margin-bottom: 14px;
}

.fee-toggle {
  display: inline-flex;
  background: var(--tf-bg);
  border-radius: 10px;
  padding: 4px;
  border: 1px solid var(--tf-border);
}

.fee-toggle-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 7px;
  color: var(--tf-text-secondary);
  transition: all 200ms ease;
  white-space: nowrap;
}

.fee-toggle-btn:hover {
  color: var(--tf-text);
}

.fee-toggle-btn.active {
  background: var(--tf-surface);
  color: var(--tf-primary);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(28, 25, 23, 0.08);
}

.calculator-fee-hint {
  font-size: 13px;
  color: var(--tf-text-tertiary);
  margin-top: 10px;
  min-height: 20px;
  transition: opacity 200ms ease;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--tf-surface);
  border-radius: var(--tf-radius-xl);
  padding: 40px 32px;
  border: 1.5px solid var(--tf-border);
  position: relative;
  transition: all 350ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tf-shadow-lg);
}

.pricing-card.featured {
  border-color: var(--tf-primary);
  box-shadow: var(--tf-shadow-lg);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: -1.5px;
  right: -1.5px;
  height: 4px;
  background: linear-gradient(to right, var(--tf-primary), var(--tf-accent));
  border-radius: var(--tf-radius-xl) var(--tf-radius-xl) 0 0;
}

.pricing-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tf-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 60px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--tf-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-currency {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--tf-text-tertiary);
}

.pricing-value {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--tf-text);
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--tf-text-tertiary);
  margin-bottom: 6px;
}

.pricing-rate {
  font-size: 15px;
  font-weight: 600;
  color: var(--tf-primary);
  margin-bottom: 24px;
}

.pricing-rate span {
  font-weight: 400;
  color: var(--tf-text-secondary);
}

/* Dynamic savings line */
.pricing-savings {
  font-size: 13px;
  color: var(--tf-accent);
  font-weight: 600;
  margin-bottom: 24px;
  min-height: 20px;
}

.pricing-divider {
  height: 1px;
  background: var(--tf-border);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--tf-text-secondary);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  font-weight: 700;
  color: var(--tf-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-token-note {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--tf-text-tertiary);
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-cap-tiers {
  max-width: 720px;
  margin: 64px auto 0;
  background: var(--tf-surface);
  border: 1px solid var(--tf-border);
  border-radius: 12px;
  padding: 32px;
}

.pricing-cap-tiers .section-label {
  margin-bottom: 12px;
}

.pricing-cap-tiers h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--tf-text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.pricing-cap-tiers p {
  color: var(--tf-text-secondary);
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
}

.pricing-cap-tiers table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pricing-cap-tiers thead th {
  text-align: left;
  padding: 12px 0;
  color: var(--tf-text-secondary);
  font-weight: 500;
  border-bottom: 1px solid var(--tf-border);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-cap-tiers thead th:last-child {
  text-align: right;
}

.pricing-cap-tiers tbody td {
  padding: 14px 0;
  color: var(--tf-text);
  border-bottom: 1px solid var(--tf-border);
}

.pricing-cap-tiers tbody tr:last-child td {
  border-bottom: none;
}

.pricing-cap-tiers tbody td:last-child {
  text-align: right;
  color: var(--tf-primary);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

@media (max-width: 640px) {
  .pricing-cap-tiers {
    margin-top: 40px;
    padding: 24px;
  }
  .pricing-cap-tiers h3 {
    font-size: 19px;
  }
}


/* ══════════════════════════════════════════
   Comparison
   ══════════════════════════════════════════ */

.comparison {
  padding: 120px 0;
}

.comparison-header {
  text-align: center;
  margin-bottom: 64px;
}

.comparison-header .section-subheading {
  margin: 0 auto;
}

.comparison-fee-toggle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 24px;
}

/* Side-by-side row containing both the payment-method and fee-handling toggles.
   When the fee-handling section hides (Check mode), the remaining toggle centers. */
.comparison-toggles-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px 56px;
  max-width: 900px;
  margin: 0 auto 24px;
}

.comparison-toggles-row .comparison-fee-toggle {
  margin: 0;
  max-width: none;
  flex: 0 1 auto;
}

@media (max-width: 640px) {
  .comparison-toggles-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

.comparison-fee-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--tf-text);
  margin: 0 0 12px;
}

.comparison-fee-hint {
  font-size: 13px;
  color: var(--tf-text-tertiary);
  margin: 10px 0 0;
}

.comparison-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: var(--tf-surface);
  border-radius: var(--tf-radius-xl);
  border: 1px solid var(--tf-border);
  box-shadow: var(--tf-shadow);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead th {
  text-align: left;
  padding: 20px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--tf-border);
  background: var(--tf-bg);
}

.comparison-table thead th:first-child {
  color: var(--tf-text-secondary);
}

.comparison-table thead th.trufeld {
  color: var(--tf-primary);
}

.comparison-table tbody td {
  padding: 16px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--tf-border);
  color: var(--tf-text-secondary);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody td:first-child {
  font-weight: 500;
  color: var(--tf-text);
}

.comparison-table .check {
  color: var(--tf-primary);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--tf-text-tertiary);
}

.comparison-table .highlight-cell {
  color: var(--tf-primary);
  font-weight: 600;
}

/* Cost section header */
.comparison-table .cost-section-row td {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tf-text-secondary);
  padding: 16px 24px 12px;
  background: var(--tf-bg);
  border-bottom: 1px solid var(--tf-border);
}

.comparison-table .cost-section-row td span {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--tf-text-tertiary);
  margin-left: 4px;
}

/* Cost detail rows (subscription + processing) */
.comparison-table .cost-detail-row td {
  padding: 14px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--tf-border);
  background: rgba(74, 90, 60, 0.015);
  vertical-align: top;
}

.comparison-table .cost-detail-row td:first-child {
  font-weight: 500;
  color: var(--tf-text);
}

.cost-period {
  font-weight: 400;
  color: var(--tf-text-tertiary);
}

.comparison-table .cost-detail-row .trufeld-cost {
  color: var(--tf-primary);
  font-weight: 600;
}

.comparison-table .cost-detail-row .competitor-cost {
  color: var(--tf-text);
  font-weight: 600;
}

.cost-note {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--tf-text-tertiary);
  margin-top: 2px;
}

.cost-amount {
  font-weight: 600;
}

/* 2-year total row */
.comparison-table .cost-row td {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 18px;
  padding: 20px 24px;
  background: rgba(74, 90, 60, 0.04);
}

.comparison-table .cost-row .trufeld-cost {
  color: var(--tf-primary);
}

.comparison-table .cost-row .trufeld-cost.trufeld-lowest {
  color: #15803D;
}

.comparison-table .cost-row .competitor-cost {
  color: #EF4444;
}


/* ══════════════════════════════════════════
   Founder Story
   ══════════════════════════════════════════ */

.founder-story {
  background: var(--tf-surface);
  padding: 96px 0;
  border-top: 1px solid var(--tf-border);
  border-bottom: 1px solid var(--tf-border);
}

.founder-story-inner {
  max-width: 720px;
  margin: 0 auto;
}

.founder-story-inner .section-label {
  justify-content: flex-start;
}

.founder-story-inner .section-heading {
  margin-bottom: 32px;
}

.founder-story-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.founder-story-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--tf-text-secondary);
}


.founder-story-emphasis {
  font-size: 18px !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--tf-text) !important;
}

.founder-story-attribution {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--tf-border);
}

.founder-story-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tf-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.founder-story-avatar-initials {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--tf-text-inverse);
  letter-spacing: 0.5px;
}

.founder-story-name {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--tf-text);
}

.founder-story-title {
  font-size: 13px;
  color: var(--tf-text-tertiary);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .founder-story {
    padding: 64px 0;
  }
}


/* ══════════════════════════════════════════
   CTA
   ══════════════════════════════════════════ */

.cta {
  padding: 120px 0;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--tf-text-secondary);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cta-note {
  font-size: 13px;
  color: var(--tf-text-tertiary);
  margin-top: 20px;
}


/* ══════════════════════════════════════════
   Footer
   ══════════════════════════════════════════ */

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--tf-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--tf-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
}

.footer-link {
  font-size: 14px;
  color: var(--tf-text-secondary);
  transition: color 200ms ease;
  white-space: nowrap;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.footer-link:hover {
  color: var(--tf-text);
}

.footer-copy {
  font-size: 13px;
  color: var(--tf-text-tertiary);
}

.footer-made-in-usa {
  display: block;
  margin-bottom: 4px;
}

.footer-flag {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}


/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-preview {
    transform: none;
  }

  .hero-preview:hover {
    transform: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-also-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tf-surface);
    border-bottom: 1px solid var(--tf-border);
    padding: 16px 24px;
    box-shadow: var(--tf-shadow);
  }

  .nav-links.open .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-actions {
    flex-wrap: wrap;
    margin-bottom: 24px;
  }

  .hero-float { display: none; }

  .pain-inner {
    padding: 40px 24px;
  }

  .pain-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pain-months {
    gap: 4px;
    height: 120px;
  }

  .pain-month-label {
    font-size: 9px;
  }

  .pain-sub-line {
    bottom: calc(120px * 0.35 + 17px);
  }


  .pain-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pain-bottom-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .fee-control-inner {
    padding: 40px 24px;
  }

  .fee-control-options {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .fee-option {
    padding: 24px 16px;
  }

  .fee-option-example {
    padding: 12px;
  }

  .fee-option-row {
    font-size: 12px;
  }

  .fee-option-result {
    font-size: 13px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-also {
    padding: 28px 24px;
  }

  .features-also-list {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps::before { display: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fee-toggle {
    flex-direction: column;
    width: 100%;
  }

  .fee-toggle-btn {
    padding: 10px 16px;
  }

  .comparison-table {
    min-width: 640px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
  }
}
