/* =========================================================================
   Tax Filers — Shared stylesheet
   Design tokens, base styles, marketing components, legal/about/contact chrome.
   ========================================================================= */

/* ---------- Fonts ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-VariableFont_wght.ttf') format('truetype-variations'),
       url('../fonts/Sora-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-Thin.ttf')             format('truetype'); font-weight: 100; font-style: normal;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-ThinItalic.ttf')       format('truetype'); font-weight: 100; font-style: italic;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-ExtraLight.ttf')       format('truetype'); font-weight: 200; font-style: normal;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-ExtraLightItalic.ttf') format('truetype'); font-weight: 200; font-style: italic;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-Light.ttf')            format('truetype'); font-weight: 300; font-style: normal;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-LightItalic.ttf')      format('truetype'); font-weight: 300; font-style: italic;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-Regular.ttf')          format('truetype'); font-weight: 400; font-style: normal;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-Italic.ttf')           format('truetype'); font-weight: 400; font-style: italic;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-Medium.ttf')           format('truetype'); font-weight: 500; font-style: normal;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-MediumItalic.ttf')     format('truetype'); font-weight: 500; font-style: italic;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-SemiBold.ttf')         format('truetype'); font-weight: 600; font-style: normal;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-SemiBoldItalic.ttf')   format('truetype'); font-weight: 600; font-style: italic;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-Bold.ttf')             format('truetype'); font-weight: 700; font-style: normal;  font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-BoldItalic.ttf')       format('truetype'); font-weight: 700; font-style: italic;  font-display: swap; }

/* ---------- Tokens --------------------------------------------------------- */
:root {
  --tf-green-900: #0F3A17;
  --tf-green-800: #154A1E;
  --tf-green-700: #1C5E27;
  --tf-green-600: #2A7A39;
  --tf-green-500: #3F9651;

  --tf-lime-500:  #A8E867;
  --tf-lime-600:  #92D850;
  --tf-lime-400:  #BDED84;
  --tf-lime-200:  #E2F6C9;

  --tf-pastel-lavender: #E8E4F7;
  --tf-pastel-mint:     #D6EFD9;
  --tf-pastel-blue:     #DCE9F7;
  --tf-pastel-cream:    #F5EFE0;
  --tf-pastel-peach:    #F7E4D6;
  --tf-pastel-rose:     #F4DCE2;

  --tf-bg:        #F6F4EF;
  --tf-bg-cream:  #F0EDE6;
  --tf-bg-soft:   #F4F4F1;
  --tf-line:      #E6E4DE;
  --tf-line-dark: rgba(255,255,255,0.12);

  --tf-ink-900:   #0F1B12;
  --tf-ink-700:   #2A3A2F;
  --tf-ink-500:   #5C6A60;
  --tf-ink-300:   #9AA59E;
  --tf-on-dark:   #F4F1EA;
  --tf-on-dark-2: rgba(244,241,234,0.72);

  --tf-success:   #2A7A39;
  --tf-warning:   #C68A12;
  --tf-danger:    #B23A2E;
  --tf-info:      #2E5FB2;

  --tf-font-display: 'Sora', 'Hubot Sans', system-ui, sans-serif;
  --tf-font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tf-font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  --tf-fs-display:  clamp(48px, 7vw, 88px);
  --tf-fs-h1:       clamp(36px, 5vw, 60px);
  --tf-fs-h2:       clamp(28px, 3.6vw, 44px);
  --tf-fs-h3:       clamp(22px, 2.4vw, 30px);
  --tf-fs-h4:       20px;
  --tf-fs-lead:     20px;
  --tf-fs-body:     17px;
  --tf-fs-small:    15px;
  --tf-fs-caption:  13px;
  --tf-fs-eyebrow:  13px;

  --tf-fw-regular: 400;
  --tf-fw-medium:  500;
  --tf-fw-semi:    600;
  --tf-fw-bold:    700;
  --tf-fw-black:   800;

  --tf-lh-tight:   1.05;
  --tf-lh-snug:    1.18;
  --tf-lh-normal:  1.45;
  --tf-lh-loose:   1.6;

  --tf-radius-xs:  6px;
  --tf-radius-sm:  10px;
  --tf-radius-md:  14px;
  --tf-radius-lg:  20px;
  --tf-radius-xl:  28px;
  --tf-radius-2xl: 36px;
  --tf-radius-pill: 999px;

  --tf-shadow-xs: 0 1px 2px rgba(15, 27, 18, 0.04);
  --tf-shadow-sm: 0 2px 6px rgba(15, 27, 18, 0.05);
  --tf-shadow-md: 0 8px 24px rgba(15, 27, 18, 0.06);
  --tf-shadow-lg: 0 18px 40px rgba(15, 27, 18, 0.08);
  --tf-shadow-card: 0 1px 0 rgba(15,27,18,0.04), 0 10px 30px rgba(15,27,18,0.06);
  --tf-shadow-cta: 0 6px 16px rgba(168, 232, 103, 0.4);

  --tf-ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --tf-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --tf-dur-fast:    140ms;
  --tf-dur-base:    220ms;
  --tf-dur-slow:    420ms;

  --tf-container:    1200px;
  --tf-container-sm: 880px;
  --tf-gutter:       24px;
}

/* ---------- Base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--tf-bg);
  color: var(--tf-ink-900);
  font-family: var(--tf-font-body);
  font-size: var(--tf-fs-body);
  line-height: var(--tf-lh-normal);
}
img { max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
section { isolation: isolate; }
.lucide { stroke-width: 1.75; }
:focus-visible { outline: 2px solid var(--tf-green-600); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

h1, h2, h3, h4 { margin: 0; }

/* ---------- Layout helpers ------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 880px; }

.eyebrow {
  font-family: var(--tf-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tf-green-600);
}
.eyebrow--on-dark { color: var(--tf-lime-500); }

.section-header { max-width: 760px; }
.section-header--center { margin-inline: auto; text-align: center; }
.section-header .sec-title {
  font-family: var(--tf-font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--tf-green-800);
  margin: 10px 0 0;
  text-wrap: balance;
}
.section-header .sec-lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--tf-ink-700);
  margin: 16px 0 0;
  text-wrap: pretty;
}
.section-header--on-dark .sec-title { color: var(--tf-on-dark); }
.section-header--on-dark .sec-lead { color: var(--tf-on-dark-2); }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tf-font-body);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  transition: background 200ms var(--tf-ease), color 200ms var(--tf-ease),
              transform 140ms var(--tf-ease), box-shadow 200ms var(--tf-ease);
}
.btn:active { transform: translateY(1px); }
.btn svg, .btn i { width: 16px; height: 16px; }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--md { padding: 12px 28px; font-size: 14.4px; }
.btn--lg { padding: 14px 32px; font-size: 15px; }
.btn--primary { background: #a8e867; color: var(--tf-green-900); box-shadow: 0 6px 16px rgba(168,232,103,0.35); }
.btn--dark { background: var(--tf-green-900); color: var(--tf-bg-cream); }
.btn--dark:hover { background: var(--tf-green-800); }
.btn--ghost { background: transparent; color: var(--tf-green-900); border: 1.5px solid rgba(15,27,18,0.8); }
.btn--ghost:hover { background: var(--tf-green-900); color: var(--tf-bg-cream); }
.btn--ghost-dark { background: transparent; color: var(--tf-on-dark); border: 1.5px solid rgba(255,255,255,0.35); }
.btn--ghost-dark:hover { background: var(--tf-on-dark); color: var(--tf-green-900); }

/* ---------- Check pill ----------------------------------------------------- */
.check {
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--tf-lime-500);
  color: var(--tf-green-800);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.check svg { width: 11px; height: 11px; }
.check--lg { width: 22px; height: 22px; }
.check--lg svg { width: 12px; height: 12px; }

/* =========================================================================
   NAV (marketing)
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background 200ms var(--tf-ease), border-color 200ms var(--tf-ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tf-line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--tf-ink-700); }
.nav-links a:hover { color: var(--tf-green-700); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.nav-burger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  padding: 0; color: var(--tf-green-900);
}
.nav-burger svg { width: 26px; height: 26px; }
.nav-burger .icon-close { display: none; }
.nav.is-menu-open .nav-burger .icon-open { display: none; }
.nav.is-menu-open .nav-burger .icon-close { display: block; }
.mobile-menu { display: none; }
@media (max-width: 880px) {
  .nav-links, .nav-cta-desktop { display: none !important; }
  .nav-burger { display: inline-flex; }
  .nav.is-menu-open { background: rgba(255,255,255,0.98); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--tf-line); }
  .mobile-menu {
    display: block; overflow: hidden; max-height: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transition: max-height 300ms var(--tf-ease);
  }
  .nav.is-menu-open .mobile-menu { max-height: 420px; }
}
.mobile-menu nav { display: flex; flex-direction: column; padding-bottom: 20px; }
.mobile-menu nav > a {
  font-family: var(--tf-font-display);
  font-size: 19px; font-weight: 600;
  color: var(--tf-green-900);
  padding: 16px 0; border-bottom: 1px solid var(--tf-line);
}
.mobile-menu .mobile-cta {
  margin-top: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #a8e867; color: var(--tf-green-900);
  font-weight: 600; font-size: 16px;
  border-radius: 8px; padding: 14px 20px;
  border-bottom: none;
  box-shadow: 0 6px 16px rgba(168, 232, 103, 0.35);
}
.mobile-menu .mobile-cta svg { width: 18px; height: 18px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  padding: 40px 0 0;
  background: linear-gradient(180deg, #F4F7E8 0%, #FAFCEF 55%, #FFFFFF 100%);
  overflow: hidden;
}
@media (max-width: 880px) { .hero { padding: 56px 0 0; } }
.hero-text { max-width: 36rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.hero-diamond {
  width: 12px; height: 12px; fill: var(--tf-green-700);
  animation: tf-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
.hero-eyebrow span {
  font-family: var(--tf-font-mono);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--tf-green-700); line-height: 1;
}
.hero-title {
  font-family: var(--tf-font-display);
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--tf-green-900);
  margin: 0 0 28px; text-wrap: balance;
}
.hero-sub {
  font-size: 18px; line-height: 1.625;
  color: var(--tf-ink-500);
  margin: 0 0 40px; max-width: 36rem; text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.tf-fade-in { opacity: 1; }
@keyframes tf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-strip {
  margin-top: 64px; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.hero-strip--rev { margin-top: 16px; }
.hero-strip-track {
  display: flex; gap: 16px; width: max-content;
  animation: tf-strip-scroll 90s linear infinite; padding: 4px 0;
}
.hero-strip-track--rev { animation-direction: reverse; }
@keyframes tf-strip-scroll { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
.persona-chip {
  flex-shrink: 0; display: flex; align-items: center; gap: 14px;
  padding: 14px 26px 14px 14px; border-radius: 999px; min-height: 72px;
}
.persona-chip-icon {
  width: 44px; height: 44px; border-radius: 14px; background: #fff;
  color: var(--tf-green-800); display: grid; place-items: center; flex-shrink: 0;
}
.persona-chip-icon svg, .persona-chip-icon i { width: 22px; height: 22px; }
.persona-chip-label {
  font-family: var(--tf-font-display); font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em; line-height: 1.2; color: var(--tf-green-800); white-space: nowrap;
}
@media (max-width: 720px) {
  .persona-chip { min-height: 64px; padding: 12px 22px 12px 12px; }
  .persona-chip-icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-strip-track, .logos-track { animation: none !important; }
  .hero-diamond { animation: none !important; }
}

/* =========================================================================
   PRICING
   ========================================================================= */
.pricing { padding: 112px 0 96px; scroll-margin-top: 80px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px; align-items: stretch;
}
.plan-card {
  background: var(--tf-bg); color: var(--tf-ink-900);
  border-radius: 32px; padding: 36px;
  border: 1px solid var(--tf-line);
  box-shadow: var(--tf-shadow-card);
  position: relative; display: flex; flex-direction: column;
}
.plan-card--featured {
  background: var(--tf-green-800); color: var(--tf-on-dark);
  border: none; transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15, 58, 23, 0.25);
}
.plan-badge {
  position: absolute; top: 22px; right: 22px;
  background: var(--tf-lime-500); color: var(--tf-green-900);
  font-size: 12px; font-weight: 700; padding: 6px 12px;
  border-radius: 999px; letter-spacing: 0.02em;
}
.plan-name { font-family: var(--tf-font-display); font-size: 18px; font-weight: 600; color: var(--tf-green-700); }
.plan-card--featured .plan-name { color: var(--tf-lime-500); }
.plan-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.plan-price {
  font-family: var(--tf-font-display); font-size: 56px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--tf-green-800); line-height: 1;
}
.plan-card--featured .plan-price { color: var(--tf-on-dark); }
.plan-price-note { font-size: 14px; color: var(--tf-ink-500); }
.plan-card--featured .plan-price-note { color: var(--tf-on-dark-2); }
.plan-blurb { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--tf-ink-500); text-wrap: pretty; }
.plan-card--featured .plan-blurb { color: var(--tf-on-dark-2); }
.plan-features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.plan-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.4; color: var(--tf-ink-700); }
.plan-card--featured .plan-features li { color: var(--tf-on-dark); }
.plan-cta-wrap { margin-top: auto; padding-top: 32px; }
.pricing-note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--tf-ink-500); }
.pricing-note a { color: var(--tf-green-700); font-weight: 600; }
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan-card--featured { transform: none; }
}

/* =========================================================================
   COMPARISON TABLE
   ========================================================================= */
.cmp { background: #fff; padding: 112px 0 0; }
.cmp-wrap { margin-top: 56px; }
.cmp-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 16px; align-items: center; }
.cmp-head {
  padding: 20px 28px; background: var(--tf-green-800); color: var(--tf-on-dark);
  position: sticky; top: 72px; z-index: 5;
  border-radius: 28px 28px 0 0; box-shadow: 0 10px 24px rgba(15, 27, 18, 0.12);
}
.cmp-head .cmp-feature { font-family: var(--tf-font-display); font-weight: 600; font-size: 15px; }
.cmp-head-plan { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cmp-head-plan .name { font-family: var(--tf-font-display); font-size: 17px; font-weight: 700; color: #fff; }
.cmp-head-plan .price { font-size: 12px; color: var(--tf-on-dark-2); }
.cmp-body {
  background: #fff; border-radius: 0 0 28px 28px; overflow: hidden;
  box-shadow: var(--tf-shadow-card); border: 1px solid var(--tf-line); border-top: none;
}
.cmp-row { padding: 18px 28px; border-top: 1px solid var(--tf-line); }
.cmp-row:first-child { border-top: none; }
.cmp-row:nth-child(even) { background: var(--tf-bg-soft); }
.cmp-row .cmp-feature { font-size: 15px; color: var(--tf-ink-900); font-weight: 500; }
.cmp-cell { text-align: center; display: flex; justify-content: center; }
.cmp-dash { width: 22px; height: 2px; background: var(--tf-line); border-radius: 999px; display: block; }
.cmp-basic { font-size: 12px; font-weight: 600; color: var(--tf-ink-500); background: var(--tf-bg-soft); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 600px) {
  .cmp-grid { padding-left: 14px; padding-right: 12px; gap: 6px; }
  .cmp-head { padding-top: 16px; padding-bottom: 16px; }
  .cmp-row { padding-top: 15px; padding-bottom: 15px; }
  .cmp-grid .cmp-feature { font-size: 13px; line-height: 1.3; }
  .cmp-head-plan .name { font-size: 13.5px; }
  .cmp-head-plan .price { font-size: 11px; }
}

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.how { background: #fff; padding: 112px 0 0; position: relative; overflow: hidden; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.step-card { background: var(--tf-bg-soft); border: 1px solid var(--tf-line); border-radius: 24px; padding: 28px; color: var(--tf-ink-700); position: relative; }
.step-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--tf-green-800); flex-shrink: 0; }
.step-icon svg, .step-icon i { width: 26px; height: 26px; }
.step-num { font-family: var(--tf-font-display); font-size: 14px; font-weight: 700; color: var(--tf-green-600); letter-spacing: 0.05em; }
.step-card h3 { font-family: var(--tf-font-display); font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--tf-green-800); text-wrap: balance; }
.step-card p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--tf-ink-500); text-wrap: pretty; }
@media (max-width: 980px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   WHY CHOOSE
   ========================================================================= */
.why { padding: 112px 0 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.why-card { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 200px; }
.why-head { display: flex; align-items: center; gap: 16px; }
.why-ic { width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--tf-green-800); display: grid; place-items: center; flex-shrink: 0; }
.why-ic svg, .why-ic i { width: 24px; height: 24px; }
.why-card h3 { font-family: var(--tf-font-display); font-size: 19px; font-weight: 600; color: var(--tf-green-800); line-height: 1.2; text-wrap: balance; }
.why-card p { font-size: 15px; line-height: 1.55; color: var(--tf-ink-700); margin: 0; text-wrap: pretty; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   WHO WE HELP
   ========================================================================= */
.who { background: #fff; padding: 112px 0 0; }
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.persona-card { border-radius: 22px; padding: 22px; display: flex; align-items: center; gap: 14px; min-height: 84px; }
.persona-card-ic { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--tf-green-800); display: grid; place-items: center; flex-shrink: 0; }
.persona-card-ic svg, .persona-card-ic i { width: 22px; height: 22px; }
.persona-card span { font-family: var(--tf-font-display); font-weight: 600; font-size: 15px; color: var(--tf-green-800); line-height: 1.2; }
.who-foot { max-width: 760px; margin: 40px auto 0; text-align: center; font-size: 16px; line-height: 1.65; color: var(--tf-ink-700); text-wrap: pretty; }
@media (max-width: 880px) { .persona-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .persona-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   LOGO TICKER
   ========================================================================= */
.logos { background: var(--tf-bg); padding: 96px 0 0; }
.logos-label { text-align: center; margin: 0 0 36px; font-family: var(--tf-font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tf-ink-500); }
.logos-marquee { width: 100%; overflow: hidden; }
.logos-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: tf-logos-scroll 60s linear infinite; will-change: transform; }
.logos-item { flex-shrink: 0; font-family: var(--tf-font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.015em; line-height: 1; color: var(--tf-ink-300); white-space: nowrap; transition: color 220ms var(--tf-ease); }
.logos-item:hover { color: var(--tf-green-800); }
@keyframes tf-logos-scroll { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@media (max-width: 720px) { .logos-item { font-size: 24px; } .logos-track { gap: 48px; } }

/* =========================================================================
   ACCOUNTANT
   ========================================================================= */
.acc { padding: 112px 0 0; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.acc-copy h2 { font-family: var(--tf-font-display); font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--tf-green-800); margin: 10px 0 0; text-wrap: balance; }
.acc-copy p.lead { font-size: 18px; line-height: 1.55; color: var(--tf-ink-700); margin-top: 20px; max-width: 520px; text-wrap: pretty; }
.acc-bullets { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.acc-bullets li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--tf-ink-700); }
.acc-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.acc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acc-feat { border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 158px; }
.acc-feat-ic { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--tf-green-800); display: grid; place-items: center; flex-shrink: 0; }
.acc-feat-ic svg, .acc-feat-ic i { width: 22px; height: 22px; }
.acc-feat strong { font-family: var(--tf-font-display); font-size: 17px; font-weight: 700; color: var(--tf-green-800); line-height: 1.2; margin-top: 4px; }
.acc-feat-body { font-size: 14px; line-height: 1.45; color: var(--tf-ink-700); text-wrap: pretty; }
@media (max-width: 880px) { .acc-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .acc-cards { grid-template-columns: 1fr; } .acc-feat { min-height: 0; } }

/* =========================================================================
   CTA BANNER
   ========================================================================= */
.cta { padding: 112px 0 0; }
.cta-banner {
  position: relative;
  background: linear-gradient(180deg, var(--tf-green-800) 0%, var(--tf-green-900) 100%);
  border-radius: 36px; padding: 72px 56px; color: var(--tf-on-dark);
  overflow: hidden; display: flex; gap: 32px; align-items: center; justify-content: space-between;
}
.cta-banner h2 { font-family: var(--tf-font-display); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--tf-on-dark); margin: 0; text-wrap: balance; }
.cta-banner p { font-size: 18px; line-height: 1.5; color: var(--tf-on-dark-2); margin-top: 14px; text-wrap: pretty; }
.cta-copy { max-width: 620px; position: relative; }
.cta-actions { position: relative; display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 880px) { .cta-banner { flex-direction: column; padding: 48px 32px; align-items: flex-start; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: white; padding: 112px 0; }
.faq-list { margin-top: 48px; display: grid; gap: 12px; }
.faq-item { background: white; border-radius: 22px; border: 1px solid var(--tf-line); overflow: hidden; transition: box-shadow 220ms var(--tf-ease); }
.faq-item.is-open { box-shadow: 0 12px 30px rgba(15,27,18,.06); }
.faq-q {
  width: 100%; background: transparent; border: none; text-align: left;
  padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; font-family: var(--tf-font-display); font-size: 18px; font-weight: 600; color: var(--tf-green-800);
}
.faq-icon {
  width: 36px; height: 36px; border-radius: 999px; background: var(--tf-bg-soft);
  color: var(--tf-green-800); display: grid; place-items: center; flex-shrink: 0;
  transition: all 220ms var(--tf-ease);
}
.faq-icon svg { width: 16px; height: 16px; }
.faq-item.is-open .faq-icon { background: var(--tf-lime-500); transform: rotate(45deg); }
.faq-a-wrap { max-height: 0; overflow: hidden; transition: max-height 320ms var(--tf-ease); }
.faq-item.is-open .faq-a-wrap { max-height: 360px; }
.faq-a { padding: 0 28px 24px; font-size: 16px; line-height: 1.55; color: var(--tf-ink-700); text-wrap: pretty; }
.faq-hidden { display: none; }
@keyframes tf-faq-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.faq-reveal { animation: tf-faq-reveal 360ms var(--tf-ease) both; }
@media (prefers-reduced-motion: reduce) { .faq-reveal { animation: none; } }
.faq-extra-actions { text-align: center; }
.faq-toggle-row { margin-top: 28px; }
.faq-cta-row { margin-top: 16px; }
@media (max-width: 560px) {
  .faq-q { padding: 18px 18px; font-size: 16px; }
  .faq-a { padding: 0 18px 20px; }
}

/* =========================================================================
   FOOTER (marketing)
   ========================================================================= */
.footer { background: var(--tf-green-900); color: var(--tf-on-dark-2); margin-top: 112px; padding: 72px 0 40px; position: relative; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 48px; }
.footer-brand { max-width: 360px; }
.footer-brand img { height: 34px; width: auto; display: block; }
.footer-brand p { font-size: 15px; line-height: 1.6; margin-top: 20px; color: var(--tf-on-dark-2); }
.footer-contact { display: grid; gap: 12px; font-size: 15px; }
.footer-contact-row { display: flex; gap: 10px; align-items: center; }
.footer-contact-row svg, .footer-contact-row i { width: 16px; height: 16px; color: var(--tf-lime-500); }
.footer-contact-row a { color: var(--tf-on-dark); }
.footer-chat {
  margin-top: 6px; display: inline-flex; gap: 8px; align-items: center;
  background: var(--tf-lime-500); color: var(--tf-green-900); font-weight: 600;
  padding: 10px 14px; border-radius: 999px; font-size: 14px; justify-self: start;
}
.footer-chat svg, .footer-chat i { width: 16px; height: 16px; }
.footer-bar {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--tf-on-dark-2);
}
.footer-bar nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bar a { color: var(--tf-on-dark-2); }
.footer-bar a:hover { color: var(--tf-lime-500); }
@media (max-width: 560px) { .footer-top { flex-direction: column; } }


/* =========================================================================
   LEGAL / ABOUT / CONTACT page chrome (.lp-*)
   ========================================================================= */
/* ----------------------------------------------------------------- layout */
.lp-container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------------------- nav */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tf-line);
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.lp-nav-logo img { height: 28px; width: auto; display: block; }
.lp-nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.lp-nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--tf-ink-700);
  text-decoration: none;
}
.lp-nav-links a:hover { color: var(--tf-green-700); }
.lp-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tf-lime-500);
  color: var(--tf-green-900);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(168,232,103,0.35);
  white-space: nowrap;
}
.lp-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tf-ink-500);
  text-decoration: none;
}
.lp-back:hover { color: var(--tf-green-700); }
.lp-back svg { width: 16px; height: 16px; }

/* ----------------------------------------------------- mobile hamburger */
.lp-nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--tf-green-900);
  margin-left: 2px;
  flex-shrink: 0;
}
.lp-nav-burger svg { width: 26px; height: 26px; }
.lp-burger-close { display: none; }
.lp-nav-toggle:checked ~ .lp-nav-inner .lp-burger-open { display: none; }
.lp-nav-toggle:checked ~ .lp-nav-inner .lp-burger-close { display: block; }
.lp-mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: max-height 300ms var(--tf-ease), border-color 300ms var(--tf-ease);
  border-bottom: 1px solid transparent;
}
.lp-mobile-menu nav { display: flex; flex-direction: column; padding-bottom: 18px; }
.lp-mobile-menu a {
  font-family: var(--tf-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--tf-green-900);
  text-decoration: none;
  padding: 15px 2px;
  border-bottom: 1px solid var(--tf-line);
}
.lp-mobile-cta {
  margin-top: 18px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tf-lime-500);
  color: var(--tf-green-900) !important;
  font-family: var(--tf-font-body) !important;
  font-weight: 600;
  font-size: 16px !important;
  border-radius: 8px;
  padding: 14px 20px !important;
  border-bottom: none !important;
  box-shadow: 0 6px 16px rgba(168,232,103,0.35);
}
.lp-mobile-cta svg { width: 18px; height: 18px; }
.lp-nav-toggle:checked ~ .lp-mobile-menu {
  max-height: 420px;
  border-bottom: 1px solid var(--tf-line);
}

/* -------------------------------------------------------------------- hero */
.lp-hero {
  background: var(--tf-bg-cream);
  border-bottom: 1px solid var(--tf-line);
  padding: 64px 0 56px;
}
.lp-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tf-green-600);
  margin: 0 0 14px;
}
.lp-hero h1 {
  font-family: var(--tf-font-display);
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--tf-green-800);
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.lp-hero-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--tf-ink-700);
  margin: 20px 0 0;
  max-width: 60ch;
  text-wrap: pretty;
}
.lp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
}
.lp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--tf-ink-500);
}
.lp-meta-item svg { width: 16px; height: 16px; color: var(--tf-green-600); }
.lp-meta-item strong { color: var(--tf-ink-700); font-weight: 600; }

/* page jump pills (other legal docs) */
.lp-docnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.lp-docnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tf-ink-700);
  background: #fff;
  border: 1px solid var(--tf-line);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 160ms var(--tf-ease), color 160ms var(--tf-ease);
}
.lp-docnav a:hover { border-color: var(--tf-green-600); color: var(--tf-green-700); }
.lp-docnav a.is-current {
  background: var(--tf-green-800);
  border-color: var(--tf-green-800);
  color: var(--tf-on-dark);
}
.lp-docnav a svg { width: 15px; height: 15px; }

/* -------------------------------------------------------------------- body */
.lp-body { padding: 56px 0 96px; }
.lp-grid {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* table of contents */
.lp-toc {
  position: sticky;
  top: 96px;
}
.lp-toc-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tf-ink-300);
  margin: 0 0 16px;
}
.lp-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: toc;
}
.lp-toc li { counter-increment: toc; }
.lp-toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--tf-ink-500);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 140ms var(--tf-ease), color 140ms var(--tf-ease);
}
.lp-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--tf-font-mono);
  font-size: 11px;
  color: var(--tf-ink-300);
  flex-shrink: 0;
  padding-top: 1px;
}
.lp-toc a:hover { background: var(--tf-bg-soft); color: var(--tf-green-800); }
.lp-toc a.is-active {
  background: var(--tf-lime-200);
  color: var(--tf-green-800);
  font-weight: 600;
}
.lp-toc a.is-active::before { color: var(--tf-green-700); }

/* prose */
.lp-prose { max-width: 720px; }
.lp-prose > section { scroll-margin-top: 92px; }
.lp-prose > section + section { margin-top: 52px; }
.lp-sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
}
.lp-sec-num {
  font-family: var(--tf-font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--tf-green-600);
  padding-top: 4px;
}
.lp-prose h2 {
  font-family: var(--tf-font-display);
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--tf-green-800);
  margin: 0;
  text-wrap: balance;
}
.lp-prose h3 {
  font-family: var(--tf-font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--tf-green-800);
  margin: 28px 0 10px;
}
.lp-prose p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--tf-ink-700);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.lp-prose ul, .lp-prose ol.lp-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.lp-prose ul li, .lp-prose ol.lp-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--tf-ink-700);
}
.lp-prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--tf-lime-500);
  box-shadow: 0 0 0 3px var(--tf-lime-200);
}
.lp-prose ol.lp-list { counter-reset: li; }
.lp-prose ol.lp-list li { counter-increment: li; }
.lp-prose ol.lp-list li::before {
  content: counter(li);
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: var(--tf-green-800);
  color: var(--tf-lime-400);
  font-family: var(--tf-font-mono);
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.lp-prose strong { color: var(--tf-ink-900); font-weight: 600; }
.lp-prose a:not(.lp-back) { color: var(--tf-green-700); text-decoration: underline; text-underline-offset: 2px; }

/* callout / key-points card */
.lp-callout {
  background: var(--tf-bg-cream);
  border: 1px solid var(--tf-line);
  border-radius: var(--tf-radius-lg);
  padding: 26px 28px;
  margin-bottom: 44px;
}
.lp-callout.is-lime {
  background: var(--tf-lime-200);
  border-color: transparent;
}
.lp-callout h4 {
  font-family: var(--tf-font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--tf-green-800);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.lp-callout h4 svg { width: 18px; height: 18px; color: var(--tf-green-700); }
.lp-callout p { font-size: 15.5px; line-height: 1.58; color: var(--tf-ink-700); margin: 0; }
.lp-callout p + p { margin-top: 10px; }

/* definition table */
.lp-table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--tf-line); border-radius: var(--tf-radius-md); }
.lp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.lp-table th, .lp-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--tf-line);
  vertical-align: top;
  line-height: 1.5;
}
.lp-table thead th {
  background: var(--tf-bg-soft);
  font-family: var(--tf-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tf-green-800);
}
.lp-table tbody tr:last-child td { border-bottom: none; }
.lp-table td:first-child { font-weight: 600; color: var(--tf-ink-900); white-space: nowrap; }
.lp-table td code, .lp-table td .lp-code {
  font-family: var(--tf-font-mono);
  font-size: 12.5px;
  background: var(--tf-bg-soft);
  padding: 2px 6px;
  border-radius: 5px;
}
.lp-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tf-lime-200);
  color: var(--tf-green-800);
}
.lp-pill.is-neutral { background: var(--tf-bg-soft); color: var(--tf-ink-500); }

/* contact block at the foot of the prose */
.lp-contact {
  margin-top: 56px;
  padding: 30px 32px;
  border-radius: var(--tf-radius-lg);
  background: var(--tf-green-800);
  color: var(--tf-on-dark);
}
.lp-contact h3 {
  font-family: var(--tf-font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--tf-on-dark);
  margin: 0 0 8px;
}
.lp-contact p { font-size: 15.5px; line-height: 1.6; color: var(--tf-on-dark-2); margin: 0 0 16px; max-width: 52ch; }
.lp-contact-rows { display: grid; gap: 10px; }
.lp-contact-rows a, .lp-contact-rows span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--tf-on-dark);
  text-decoration: none;
}
.lp-contact-rows svg { width: 17px; height: 17px; color: var(--tf-lime-500); flex-shrink: 0; }
/* Email / phone links sit inside .lp-prose, whose generic <a> rule paints them
   green + underlined. Override so they match the banner's off-white text. */
.lp-prose .lp-contact .lp-contact-rows a,
.lp-prose .lp-contact .lp-contact-rows span {
  color: var(--tf-on-dark);
  text-decoration: none;
}
.lp-prose .lp-contact .lp-contact-rows a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ----------------------------------------------------------------- footer */
.lp-footer {
  background: var(--tf-green-900);
  color: var(--tf-on-dark-2);
  padding: 72px 0 36px;
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.lp-footer-logo img { height: 32px; width: auto; display: block; }
.lp-footer-blurb { font-size: 14.5px; line-height: 1.6; margin-top: 18px; color: var(--tf-on-dark-2); max-width: 320px; }
.lp-footer-col h4 {
  font-family: var(--tf-font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--tf-lime-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.lp-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.lp-footer-col a { color: var(--tf-on-dark-2); text-decoration: none; font-size: 14.5px; }
.lp-footer-col a:hover { color: var(--tf-on-dark); }
.lp-footer-contact { display: grid; gap: 12px; }
.lp-footer-contact a, .lp-footer-contact span {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--tf-on-dark); text-decoration: none;
}
.lp-footer-contact svg { width: 16px; height: 16px; color: var(--tf-lime-500); }
.lp-footer-bar {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--tf-on-dark-2);
}
.lp-footer-bar nav { display: flex; gap: 24px; }
.lp-footer-bar a { color: var(--tf-on-dark-2); text-decoration: none; }
.lp-footer-bar a:hover, .lp-footer-bar a.is-current { color: var(--tf-lime-500); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 940px) {
  .lp-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-toc { position: static; top: auto; }
  .lp-toc-inner { border: 1px solid var(--tf-line); border-radius: var(--tf-radius-md); padding: 18px 20px; background: var(--tf-bg-soft); }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .lp-nav-links { display: none; }
  .lp-nav-cta { display: none; }
  .lp-nav-burger { display: inline-flex; }
  .lp-mobile-menu { display: block; }
}
@media (max-width: 560px) {
  .lp-footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero { padding: 44px 0 40px; }
  .lp-body { padding: 40px 0 72px; }
}


/* =========================================================================
   CHECKOUT
   ========================================================================= */
.ck-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--tf-bg-cream); }

/* brand header */
.ck-header { position: sticky; top: 0; z-index: 30; background: rgba(246,244,239,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--tf-line); }
.ck-header-inner { max-width: 1080px; margin-inline: auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ck-header-inner img { height: 26px; width: auto; display: block; }
.ck-header-right { display: inline-flex; align-items: center; gap: 14px; }
.ck-secure-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--tf-green-700); background: var(--tf-lime-200); padding: 6px 14px; border-radius: 999px; }
.ck-secure-badge svg { width: 14px; height: 14px; }
.ck-exit { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--tf-ink-500); }
.ck-exit:hover { color: var(--tf-green-700); }
.ck-exit svg { width: 15px; height: 15px; }

/* stepper */
.ck-stepper-wrap { padding: 28px 24px 10px; }
.ck-stepper { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.ck-step { display: flex; align-items: center; gap: 10px; }
.ck-step-dot { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; font-family: var(--tf-font-mono); background: transparent; color: var(--tf-ink-300); border: 1.5px solid var(--tf-line); }
.ck-step-dot svg { width: 15px; height: 15px; }
.ck-step.is-done .ck-step-dot, .ck-step.is-current .ck-step-dot { background: var(--tf-green-800); color: var(--tf-lime-400); border: 1.5px solid var(--tf-green-800); }
.ck-step-label { font-size: 13.5px; font-weight: 500; color: var(--tf-ink-500); }
.ck-step.is-current .ck-step-label { font-weight: 600; color: var(--tf-green-800); }
.ck-step-line { width: 32px; height: 1.5px; background: var(--tf-line); margin: 0 12px; }
.ck-step-line.is-done { background: var(--tf-green-700); }
.ck-main { flex: 1; }
@media (max-width: 560px) { .ck-step-label { display: none; } .ck-step-line { margin: 0 6px; width: 18px; } }

/* shared pay button */
.ck-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 28px; font-size: 16px; font-weight: 700; font-family: var(--tf-font-body); border: none; border-radius: 12px; cursor: pointer; transition: transform 120ms, box-shadow 160ms, opacity 160ms; }
.ck-btn svg { width: 18px; height: 18px; }
.ck-btn:active { transform: translateY(1px); }
.ck-btn--primary { background: #a8e867; color: var(--tf-green-900); box-shadow: 0 8px 20px rgba(168,232,103,0.4); }
.ck-btn--dark { background: var(--tf-green-800); color: var(--tf-bg-cream); }
.ck-btn--full { width: 100%; }
.ck-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* plan step */
.ck-fade { animation: ck-fade 320ms var(--tf-ease) both; }
@keyframes ck-fade { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.ck-plan-step { max-width: 1000px; margin-inline: auto; padding: 8px 24px 64px; }
.ck-plan-head { text-align: center; max-width: 600px; margin-inline: auto; }
.ck-plan-head h1 { font-family: var(--tf-font-display); font-size: clamp(28px,4vw,40px); font-weight: 700; letter-spacing: -0.02em; color: var(--tf-green-800); margin: 0; text-wrap: balance; }
.ck-plan-head p { font-size: 16.5px; color: var(--tf-ink-500); margin: 12px 0 0; line-height: 1.5; }
.ck-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.ck-plan-card { text-align: left; cursor: pointer; position: relative; background: #fff; border-radius: 22px; padding: 26px 24px; border: 1.5px solid var(--tf-line); box-shadow: 0 1px 0 rgba(15,27,18,0.03); transition: border-color 160ms, box-shadow 200ms, transform 200ms; display: flex; flex-direction: column; min-width: 0; }
.ck-plan-card:hover { box-shadow: 0 10px 28px rgba(15,27,18,0.08); }
.ck-plan-card.is-active { border: 2px solid var(--tf-green-700); box-shadow: 0 18px 44px rgba(15,58,23,0.14); transform: translateY(-2px); }
.ck-plan-badge { position: absolute; top: 20px; right: 20px; background: var(--tf-lime-500); color: var(--tf-green-900); font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: 0.02em; }
.ck-plan-top { display: flex; align-items: center; gap: 11px; }
.ck-plan-radio { width: 22px; height: 22px; border-radius: 999px; flex-shrink: 0; border: 2px solid var(--tf-ink-300); background: #fff; transition: border 160ms; }
.ck-plan-card.is-active .ck-plan-radio { border: 7px solid var(--tf-green-700); }
.ck-plan-name { font-family: var(--tf-font-display); font-size: 17px; font-weight: 600; color: var(--tf-green-700); }
.ck-plan-price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 18px; }
.ck-plan-price { font-family: var(--tf-font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; color: var(--tf-green-800); line-height: 1; }
.ck-plan-price-note { font-size: 13.5px; color: var(--tf-ink-500); }
.ck-plan-blurb { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--tf-ink-500); text-wrap: pretty; }
.ck-plan-features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ck-plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--tf-ink-700); }
.ck-mini-check { width: 18px; height: 18px; border-radius: 999px; background: var(--tf-lime-500); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; color: var(--tf-green-800); }
.ck-mini-check svg { width: 11px; height: 11px; }
.ck-plan-continue { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; }
.ck-selected-note { font-size: 13.5px; color: var(--tf-ink-500); }
.ck-selected-note b { color: var(--tf-green-800); font-weight: 600; }
@media (max-width: 860px) { .ck-plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* pay step */
.ck-pay { max-width: 980px; margin-inline: auto; padding: 8px 24px 64px; }
.ck-back { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; cursor: pointer; color: var(--tf-ink-500); font-size: 14px; font-weight: 500; margin-bottom: 18px; padding: 0; }
.ck-back svg { width: 16px; height: 16px; }
.ck-pay-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
.ck-pay-form { order: 1; }
.ck-pay-form h1 { font-family: var(--tf-font-display); font-size: clamp(26px,3.4vw,34px); font-weight: 700; letter-spacing: -0.02em; color: var(--tf-green-800); margin: 0 0 6px; }
.ck-pay-form > p { font-size: 15.5px; color: var(--tf-ink-500); margin: 0 0 28px; }
.ck-card { background: #fff; border: 1px solid var(--tf-line); border-radius: 18px; padding: 24px 24px 26px; }
.ck-card + .ck-card { margin-top: 18px; }
.ck-eyebrow-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tf-green-700); margin: 0 0 14px; }
.ck-sublabel { font-size: 13.5px; color: var(--tf-ink-500); margin: 0 0 16px; line-height: 1.5; }
.ck-fields { display: flex; flex-wrap: wrap; gap: 16px; }
.ck-field { display: flex; flex-direction: column; gap: 7px; flex: 1 1 100%; min-width: 0; }
.ck-field.is-half { flex: 1 1 calc(50% - 8px); min-width: 150px; }
.ck-field-label { font-size: 13.5px; font-weight: 600; color: var(--tf-ink-900); }
.ck-field-label .req { color: var(--tf-danger); margin-left: 3px; }
.ck-field-label .hint { font-weight: 400; color: var(--tf-ink-300); margin-left: 8px; }
.ck-field-err { font-size: 12.5px; color: var(--tf-danger); font-weight: 500; }
.ck-input-wrap { position: relative; display: flex; align-items: center; }
.ck-input-wrap .ck-input-icon { position: absolute; left: 13px; display: flex; color: var(--tf-ink-300); pointer-events: none; }
.ck-input-wrap .ck-input-icon svg { width: 17px; height: 17px; }
.ck-input { width: 100%; padding: 12px 14px; font-size: 15px; border-radius: 10px; border: 1.5px solid var(--tf-line); background: #fff; color: var(--tf-ink-900); outline: none; transition: border-color 140ms, box-shadow 140ms; }
.ck-input.has-icon { padding-left: 40px; }
.ck-input::placeholder { color: var(--tf-ink-300); }
.ck-input:focus { border-color: var(--tf-green-600); box-shadow: 0 0 0 4px rgba(168,232,103,0.25); }
.ck-input.is-error { border-color: var(--tf-danger); }
.ck-note { font-size: 12.5px; color: var(--tf-ink-300); margin: 14px 0 0; line-height: 1.5; }
.ck-pay-submit { margin-top: 24px; }
.ck-trust { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; font-size: 12.5px; color: var(--tf-ink-500); }
.ck-trust svg { width: 13px; height: 13px; }
.ck-trust b { font-weight: 700; color: var(--tf-ink-700); }
.ck-trust .dot { color: var(--tf-line); }
.ck-cardmarks { display: inline-flex; gap: 6px; align-items: center; }
.ck-cardmarks svg { width: 38px; height: 24px; display: block; }

/* order summary */
.ck-summary { order: 2; }
.ck-summary-inner { position: sticky; top: 88px; }
.ck-summary-card { background: var(--tf-green-800); color: var(--tf-on-dark); border-radius: 20px; padding: 28px 26px; box-shadow: 0 20px 50px rgba(15,58,23,0.2); }
.ck-summary-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tf-lime-500); }
.ck-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; }
.ck-summary-name { font-family: var(--tf-font-display); font-size: 19px; font-weight: 600; }
.ck-summary-amt { font-family: var(--tf-font-display); font-size: 19px; font-weight: 700; }
.ck-summary-blurb { font-size: 13.5px; color: var(--tf-on-dark-2); margin: 6px 0 0; line-height: 1.45; }
.ck-summary-features { list-style: none; padding: 18px 0; margin: 20px 0; display: grid; gap: 9px; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); }
.ck-summary-features li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--tf-on-dark); line-height: 1.4; }
.ck-summary-features svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; color: var(--tf-lime-500); }
.ck-summary-total { display: flex; align-items: baseline; justify-content: space-between; }
.ck-summary-total .lbl { font-size: 14px; color: var(--tf-on-dark-2); }
.ck-summary-total .val { font-family: var(--tf-font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }
.ck-summary-vat { font-size: 12px; color: var(--tf-on-dark-2); margin-top: 4px; }
.ck-summary-reassure { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 0 4px; }
.ck-summary-reassure svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: var(--tf-green-600); }
.ck-summary-reassure p { font-size: 12.5px; color: var(--tf-ink-500); margin: 0; line-height: 1.5; }
@media (max-width: 860px) { .ck-pay-grid { grid-template-columns: 1fr; } .ck-summary { order: 0; } .ck-pay-form { order: 1; } }

/* form step */
.ck-form { max-width: 720px; margin-inline: auto; padding: 8px 24px 64px; }
.ck-paid { display: flex; align-items: center; gap: 12px; background: var(--tf-lime-200); border-radius: 14px; padding: 14px 18px; margin-bottom: 24px; }
.ck-paid-dot { width: 30px; height: 30px; border-radius: 999px; background: var(--tf-green-800); display: grid; place-items: center; flex-shrink: 0; }
.ck-paid-dot svg { width: 17px; height: 17px; color: var(--tf-lime-400); }
.ck-paid-title { font-size: 14.5px; font-weight: 600; color: var(--tf-green-800); }
.ck-paid-sub { font-size: 13px; color: var(--tf-green-700); }
.ck-form h1 { font-family: var(--tf-font-display); font-size: clamp(26px,3.4vw,34px); font-weight: 700; letter-spacing: -0.02em; color: var(--tf-green-800); margin: 0 0 6px; }
.ck-form > p { font-size: 15.5px; color: var(--tf-ink-500); margin: 0 0 4px; }
.ck-who { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; padding: 12px 16px; background: var(--tf-bg-soft); border: 1px solid var(--tf-line); border-radius: 12px; }
.ck-who span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--tf-ink-500); }
.ck-who span svg { width: 15px; height: 15px; color: var(--tf-green-600); }
.ck-who span b { font-weight: 600; color: var(--tf-ink-700); }
.ck-select-wrap { position: relative; }
.ck-select { width: 100%; padding: 12px 42px 12px 14px; font-size: 15px; border-radius: 10px; border: 1.5px solid var(--tf-line); background: #fff; color: var(--tf-ink-900); outline: none; appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color 140ms, box-shadow 140ms; }
.ck-select:focus { border-color: var(--tf-green-600); box-shadow: 0 0 0 4px rgba(168,232,103,0.25); }
.ck-select:invalid, .ck-select.is-placeholder { color: var(--tf-ink-300); }
.ck-select.is-error { border-color: var(--tf-danger); }
.ck-select-caret { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--tf-ink-500); display: flex; }
.ck-select-caret svg { width: 16px; height: 16px; transform: rotate(90deg); }
.ck-textarea { width: 100%; padding: 12px 14px; font-size: 15px; border-radius: 10px; border: 1.5px solid var(--tf-line); background: #fff; color: var(--tf-ink-900); outline: none; min-height: 112px; resize: vertical; line-height: 1.5; font-family: inherit; transition: border-color 140ms, box-shadow 140ms; }
.ck-textarea:focus { border-color: var(--tf-green-600); box-shadow: 0 0 0 4px rgba(168,232,103,0.25); }
.ck-textarea::placeholder { color: var(--tf-ink-300); }
.ck-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ck-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--tf-font-body); transition: all 140ms var(--tf-ease); border: 1.5px solid var(--tf-line); background: #fff; color: var(--tf-ink-700); }
.ck-chip.is-active { border: 1.5px solid var(--tf-green-600); background: var(--tf-lime-200); color: var(--tf-green-800); }
.ck-chip-box { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; border: 1.5px solid var(--tf-ink-300); background: transparent; }
.ck-chip.is-active .ck-chip-box { border: none; background: var(--tf-green-800); }
.ck-chip-box svg { width: 11px; height: 11px; color: var(--tf-lime-400); display: none; }
.ck-chip.is-active .ck-chip-box svg { display: block; }
.ck-drop { border: 1.5px dashed var(--tf-line); background: var(--tf-bg-soft); border-radius: 14px; padding: 26px 20px; text-align: center; cursor: pointer; transition: all 140ms var(--tf-ease); }
.ck-drop.is-drag { border-color: var(--tf-green-600); background: var(--tf-lime-200); }
.ck-drop-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: #fff; border: 1px solid var(--tf-line); margin-bottom: 11px; }
.ck-drop-ic svg { width: 19px; height: 19px; color: var(--tf-green-600); }
.ck-drop-title { font-size: 14.5px; font-weight: 600; color: var(--tf-ink-900); }
.ck-drop-sub { font-size: 13px; color: var(--tf-ink-500); margin-top: 3px; }
.ck-files { display: grid; gap: 8px; margin-top: 12px; }
.ck-file { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--tf-line); border-radius: 10px; padding: 9px 12px; }
.ck-file > svg { width: 16px; height: 16px; color: var(--tf-green-600); flex-shrink: 0; }
.ck-file-name { font-size: 13.5px; font-weight: 500; color: var(--tf-ink-900); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-file-size { font-size: 12px; color: var(--tf-ink-300); flex-shrink: 0; }
.ck-file-rm { background: none; border: none; cursor: pointer; display: flex; color: var(--tf-ink-300); padding: 2px; flex-shrink: 0; }
.ck-file-rm svg { width: 15px; height: 15px; }
.ck-form-submit { margin-top: 26px; }
.ck-form-secure { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; color: var(--tf-ink-500); margin: 16px 0 0; line-height: 1.5; text-align: center; }
.ck-form-secure svg { width: 13px; height: 13px; }
.ck-demo-note { font-size: 12px; color: var(--tf-ink-300); margin: 8px 0 0; line-height: 1.5; text-align: center; }
.ck-spinner { width: 17px; height: 17px; border-radius: 999px; display: inline-block; border: 2.4px solid rgba(15,58,23,0.25); border-top-color: var(--tf-green-900); animation: ck-spin 700ms linear infinite; }
@keyframes ck-spin { to { transform: rotate(360deg); } }

/* done step */
.ck-done { max-width: 620px; margin-inline: auto; padding: 12px 24px 72px; text-align: center; }
.ck-done-check { width: 76px; height: 76px; border-radius: 999px; background: var(--tf-green-800); display: grid; place-items: center; margin-inline: auto; animation: ck-pop 480ms var(--tf-ease) both; box-shadow: 0 16px 40px rgba(15,58,23,0.28); }
@keyframes ck-pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.ck-done-check svg { width: 40px; height: 40px; color: var(--tf-lime-400); }
.ck-done h1 { font-family: var(--tf-font-display); font-size: clamp(28px,4vw,38px); font-weight: 700; letter-spacing: -0.02em; color: var(--tf-green-800); margin: 26px 0 0; text-wrap: balance; }
.ck-done-lead { font-size: 16.5px; color: var(--tf-ink-500); margin: 12px 0 0; line-height: 1.55; text-wrap: pretty; }
.ck-receipt { background: #fff; border: 1px solid var(--tf-line); border-radius: 18px; padding: 22px 24px; margin-top: 30px; text-align: left; box-shadow: 0 8px 28px rgba(15,27,18,0.06); }
.ck-receipt-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--tf-line); }
.ck-receipt-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--tf-lime-200); display: grid; place-items: center; flex-shrink: 0; }
.ck-receipt-ic svg { width: 19px; height: 19px; color: var(--tf-green-700); }
.ck-receipt-top .t { font-size: 14.5px; font-weight: 600; color: var(--tf-green-800); }
.ck-receipt-top .s { font-size: 13.5px; color: var(--tf-ink-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-receipt-rows { display: grid; gap: 11px; padding-top: 16px; }
.ck-receipt-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ck-receipt-row .k { color: var(--tf-ink-500); }
.ck-receipt-row .v { font-weight: 600; color: var(--tf-ink-900); }
.ck-receipt-row .v.mono { font-family: var(--tf-font-mono); }
.ck-next { text-align: left; margin-top: 34px; }
.ck-next h2 { font-family: var(--tf-font-display); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tf-green-700); margin: 0 0 20px; }
.ck-next-list { display: grid; gap: 20px; }
.ck-next-step { display: flex; gap: 16px; align-items: flex-start; }
.ck-next-n { width: 30px; height: 30px; border-radius: 999px; background: var(--tf-lime-200); color: var(--tf-green-800); display: grid; place-items: center; flex-shrink: 0; font-family: var(--tf-font-mono); font-size: 13px; font-weight: 700; }
.ck-next-step .t { font-size: 15px; font-weight: 600; color: var(--tf-green-800); }
.ck-next-step .b { font-size: 14px; color: var(--tf-ink-500); line-height: 1.5; margin-top: 2px; }
.ck-done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.ck-done-restart { background: none; border: 1.5px solid var(--tf-line); border-radius: 12px; padding: 15px 24px; font-size: 15px; font-weight: 600; color: var(--tf-ink-700); cursor: pointer; }
.ck-done-help { font-size: 13px; color: var(--tf-ink-300); margin-top: 28px; line-height: 1.5; }
.ck-done-help a { color: var(--tf-green-700); font-weight: 600; }

/* prototype banner */
.ck-proto { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 200; background: rgba(15,27,18,0.9); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 0.01em; padding: 8px 16px; border-radius: 999px; display: flex; gap: 8px; align-items: center; box-shadow: 0 8px 24px rgba(0,0,0,0.25); backdrop-filter: blur(6px); }
.ck-proto b { color: var(--tf-lime-400); font-weight: 600; }


/* =========================================================================
   STATUS PAGES (success / cancel / 404)
   ========================================================================= */
.status-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--tf-bg-cream); }
.status-main { flex: 1; display: grid; place-items: center; padding: 48px 24px 72px; }
.status-card { max-width: 540px; text-align: center; }
.status-ic { width: 84px; height: 84px; border-radius: 999px; display: grid; place-items: center; margin: 0 auto; box-shadow: 0 16px 40px rgba(15,58,23,0.22); }
.status-ic svg { width: 42px; height: 42px; }
.status-ic--success { background: var(--tf-green-800); }
.status-ic--success svg { color: var(--tf-lime-400); }
.status-ic--cancel { background: #fff; border: 1.5px solid var(--tf-line); box-shadow: 0 12px 30px rgba(15,27,18,0.08); }
.status-ic--cancel svg { color: var(--tf-warning); }
.status-ic--lost { background: var(--tf-green-800); }
.status-ic--lost svg { color: var(--tf-lime-400); }
.status-pop { animation: ck-pop 480ms var(--tf-ease) both; }
.status-eyebrow { font-family: var(--tf-font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tf-green-700); margin: 28px 0 0; }
.status-card h1 { font-family: var(--tf-font-display); font-size: clamp(30px,4.4vw,44px); font-weight: 700; letter-spacing: -0.02em; color: var(--tf-green-800); margin: 12px 0 0; text-wrap: balance; }
.status-card p.status-lead { font-size: 17px; color: var(--tf-ink-500); margin: 16px auto 0; line-height: 1.55; max-width: 460px; text-wrap: pretty; }
.status-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.status-meta { font-size: 13.5px; color: var(--tf-ink-300); margin-top: 28px; line-height: 1.5; }
.status-meta a { color: var(--tf-green-700); font-weight: 600; }
.status-ref { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; background: #fff; border: 1px solid var(--tf-line); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; color: var(--tf-ink-500); }
.status-ref b { font-family: var(--tf-font-mono); color: var(--tf-green-800); font-weight: 700; }

/* =========================================================================
   STRIPE INLINE PAYMENT FORM (.ck-stripe-*)
   ========================================================================= */

.ck-stripe-inline {
  background: #fff;
  border: 1.5px solid var(--tf-line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.ck-stripe-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tf-line);
}

.ck-stripe-logo {
  height: 28px;
  width: auto;
  display: block;
}

.ck-stripe-inline-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--tf-ink-900);
  font-family: var(--tf-font-display);
}

.ck-stripe-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.ck-stripe-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ck-stripe-field--full {
  grid-column: 1 / -1;
}

.ck-stripe-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tf-ink-500);
}

.ck-stripe-element {
  background: #fff;
  border: 1.5px solid var(--tf-line);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 46px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.ck-stripe-element--focus {
  border-color: var(--tf-green-600);
  box-shadow: 0 0 0 3px rgba(42, 122, 57, 0.12);
  outline: none;
}

.ck-stripe-element--invalid {
  border-color: #df1b41;
  box-shadow: 0 0 0 3px rgba(223, 27, 65, 0.10);
}

.ck-stripe-field input[type="text"] {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1.5px solid var(--tf-line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--tf-ink-900);
  font-family: var(--tf-font-body);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.4;
}

.ck-stripe-field input[type="text"]:focus {
  outline: none;
  border-color: var(--tf-green-600);
  box-shadow: 0 0 0 3px rgba(42, 122, 57, 0.12);
}

.ck-stripe-field input[type="text"]::placeholder {
  color: var(--tf-ink-300);
}

.ck-btn--stripe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: #635bff;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--tf-font-body);
  transition: background 0.15s ease, transform 0.1s ease;
  margin-top: 6px;
}

.ck-btn--stripe:hover { background: #5144e5; }
.ck-btn--stripe:active { transform: scale(0.985); }

.ck-stripe-inline-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--tf-ink-300);
}

.ck-stripe-inline-foot svg { vertical-align: text-bottom; }

.ck-stripe-field-error {
  color: #df1b41;
  font-size: 13px;
  margin-bottom: 10px;
}

.ck-stripe-state {
  padding: 36px 24px;
  text-align: center;
  border: 1.5px solid var(--tf-line);
  border-radius: 16px;
  background: #fff;
  margin-bottom: 16px;
}

.ck-stripe-processing { background: var(--tf-bg-soft); }
.ck-stripe-success    { background: #f0fdf4; border-color: #86efac; }
.ck-stripe-error      { background: #fff5f5; border-color: #fca5a5; }

.ck-stripe-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--tf-line);
  border-top-color: var(--tf-green-600);
  border-radius: 50%;
  animation: ck-spin 0.75s linear infinite;
  margin: 0 auto 16px;
}

@keyframes ck-spin { to { transform: rotate(360deg); } }

.ck-stripe-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.ck-stripe-error-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.ck-stripe-state-title {
  font-family: var(--tf-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--tf-ink-900);
  margin: 0 0 8px;
}

.ck-stripe-state-sub {
  font-size: 14px;
  color: var(--tf-ink-500);
  margin: 0 0 16px;
}

.ck-stripe-error-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.ck-cardmarks {
  display: inline-flex;
  gap: 6px;
  margin-left: 8px;
  vertical-align: middle;
}

.ck-cardmarks svg { height: 22px; width: auto; }

.ck-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--tf-ink-300);
  justify-content: center;
  padding-top: 4px;
}

.ck-trust .dot { color: var(--tf-line); }
.ck-trust svg  { vertical-align: text-bottom; }

@media (max-width: 520px) {
  .ck-stripe-fields { grid-template-columns: 1fr; }
  .ck-stripe-field--half { grid-column: 1 / -1; }
}

/* --- Stripe logo: hide broken img, show CSS "S" badge instead --- */
img.ck-stripe-logo {
  display: none;
}

.ck-stripe-inline-head::before {
  content: 'S';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #635BFF;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  font-style: italic;
  flex-shrink: 0;
  font-family: var(--tf-font-display);
  letter-spacing: -0.03em;
}
