.tf-landing {
  --tf-bg: #f6f7fb;
  --tf-text: #111827;
  --tf-muted: #6b7280;
  --tf-card: #ffffff;
  --tf-primary: #166534;
  --tf-primary-2: #22c55e;
  --tf-border: #e5e7eb;
  --tf-shadow: 0 20px 50px rgba(17,24,39,.08);

  width: 100%;
  margin: 0;
  color: var(--tf-text);
  background: var(--tf-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.tf-landing *,
.tf-landing *::before,
.tf-landing *::after {
  box-sizing: border-box;
}

.tf-landing a {
  color: inherit;
  text-decoration: none;
}

.tf-container {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.tf-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246,247,251,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tf-border);
}

.tf-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tf-brand {
  display: inline-flex !important;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  color: var(--tf-text) !important;
  line-height: 1;
  flex-shrink: 0;
}

.tf-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--tf-primary), var(--tf-primary-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.tf-nav-links {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: center;
  color: var(--tf-muted);
  font-size: 14px;
  line-height: 1;
}

.tf-nav-links a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--tf-muted) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

.tf-nav-links .tf-nav-cta {
  background: #111827 !important;
  color: #fff !important;
  padding: 11px 16px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}

.tf-hero {
  padding: 90px 0 70px;
  background: radial-gradient(circle at top right, #dcfce7, transparent 38%);
}

.tf-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: center;
}

.tf-eyebrow {
  color: var(--tf-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 14px;
}

.tf-landing h1,
.tf-landing h2,
.tf-landing h3,
.tf-landing p {
  margin-top: 0;
}

.tf-landing h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: .98;
  margin-bottom: 22px;
  letter-spacing: -.05em;
  color: var(--tf-text);
  font-weight: 900;
}

.tf-landing h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -.04em;
  color: var(--tf-text);
  font-weight: 900;
}

.tf-landing h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--tf-text);
  font-weight: 850;
}

.tf-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--tf-muted);
  max-width: 640px;
}

.tf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.tf-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  padding: 14px 20px !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
  border: 1px solid transparent !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  cursor: pointer;
}

.tf-btn-primary {
  background: var(--tf-primary) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(22,101,52,.22);
}

.tf-btn-secondary {
  background: #fff !important;
  color: var(--tf-text) !important;
  border-color: var(--tf-border) !important;
}

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

.tf-trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.tf-trust span {
  background: #fff;
  border: 1px solid var(--tf-border);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--tf-muted);
  font-size: 13px;
}

.tf-window {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--tf-border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--tf-shadow);
}

.tf-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
}

.tf-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}

.tf-metric {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--tf-border);
}

.tf-metric span,
.tf-window p {
  color: var(--tf-muted);
}

.tf-metric strong {
  color: var(--tf-primary);
}

.tf-progress {
  height: 12px;
  background: #e5e7eb;
  border-radius: 999px;
  margin: 24px 0;
  overflow: hidden;
}

.tf-progress div {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--tf-primary), var(--tf-primary-2));
}

.tf-section,
.tf-problem {
  padding: 76px 0;
}

.tf-muted {
  background: #fff;
}

.tf-cards,
.tf-pricing,
.tf-steps,
.tf-compare {
  display: grid;
  gap: 18px;
}

.tf-four {
  grid-template-columns: repeat(4, 1fr);
}

.tf-card,
.tf-step,
.tf-price-card,
.tf-compare-col {
  background: var(--tf-card);
  border: 1px solid var(--tf-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(17,24,39,.04);
}

.tf-bad {
  font-weight: 800;
  color: #991b1b;
  background: #fff7f7;
}

.tf-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.tf-split p,
.tf-center p,
.tf-step p,
.tf-price-card p,
.tf-window p {
  color: var(--tf-muted);
  line-height: 1.6;
}

.tf-feature-list {
  display: grid;
  gap: 14px;
}

.tf-feature-list div {
  background: #fff;
  border: 1px solid var(--tf-border);
  padding: 18px;
  border-radius: 18px;
}

.tf-feature-list strong {
  display: block;
  margin-bottom: 5px;
}

.tf-feature-list span {
  color: var(--tf-muted);
}

.tf-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.tf-steps {
  grid-template-columns: repeat(3, 1fr);
}

.tf-step span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: var(--tf-primary);
  font-weight: 900;
  margin-bottom: 18px;
}

.tf-compare {
  grid-template-columns: 1fr 1fr;
}

.tf-compare-col ul,
.tf-price-card ul {
  padding-left: 20px;
  color: var(--tf-muted);
  line-height: 1.9;
  margin-bottom: 0;
}

.tf-compare-col.tf-highlight {
  border-color: #86efac;
  background: #f0fdf4;
}

.tf-pricing {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.tf-price-card {
  position: relative;
}

.tf-price-card.tf-popular {
  border: 2px solid var(--tf-primary);
  transform: translateY(-8px);
}

.tf-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #dcfce7;
  color: var(--tf-primary);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
}

.tf-price {
  font-size: 42px;
  font-weight: 950;
  letter-spacing: -.04em;
  margin: 16px 0;
}

.tf-price span {
  font-size: 15px;
  color: var(--tf-muted);
  font-weight: 600;
}

.tf-cta {
  padding: 80px 0;
}

.tf-cta-box {
  background: linear-gradient(135deg, var(--tf-primary), #052e16);
  color: #fff;
  padding: 54px;
  border-radius: 34px;
  text-align: center;
  box-shadow: var(--tf-shadow);
}

.tf-cta-box h2 {
  color: #fff;
}

.tf-cta-box p {
  color: #dcfce7;
  font-size: 18px;
}

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

.tf-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .tf-nav {
    align-items: flex-start;
    padding: 16px 0;
    flex-direction: column;
  }

  .tf-nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 16px;
  }

  .tf-hero-grid,
  .tf-split,
  .tf-compare,
  .tf-pricing,
  .tf-steps,
  .tf-four {
    grid-template-columns: 1fr;
  }

  .tf-price-card.tf-popular {
    transform: none;
  }

  .tf-cta-box {
    padding: 34px 22px;
  }
}

/* Final SaaS conversion additions */
.tf-microcopy {
  color: var(--tf-muted);
  font-size: 14px;
  margin-top: -16px;
  margin-bottom: 22px;
}

.tf-window-topline {
  color: var(--tf-primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.tf-logo-strip {
  background: #fff;
  border-top: 1px solid var(--tf-border);
  border-bottom: 1px solid var(--tf-border);
  padding: 18px 0;
}

.tf-logo-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--tf-muted);
  font-size: 14px;
}

.tf-logo-inner strong {
  color: var(--tf-text);
  background: #f6f7fb;
  border: 1px solid var(--tf-border);
  border-radius: 999px;
  padding: 8px 12px;
}

.tf-price-btn {
  margin-top: 22px;
  width: 100% !important;
}

.tf-onboarding {
  align-items: center;
}

.tf-flow-box {
  display: grid;
  gap: 12px;
}

.tf-flow-box div,
.tf-faq-item {
  background: #fff;
  border: 1px solid var(--tf-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(17,24,39,.04);
}

.tf-flow-box strong {
  display: block;
  margin-bottom: 5px;
  color: var(--tf-text);
}

.tf-flow-box span,
.tf-faq-item p {
  color: var(--tf-muted);
  line-height: 1.6;
}

.tf-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tf-actions-center {
  justify-content: center;
  margin-bottom: 0;
}

.tf-btn-ghost {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.4) !important;
}

@media (max-width: 860px) {
  .tf-faq-grid {
    grid-template-columns: 1fr;
  }
}
.tf-single { grid-template-columns: 1fr !important; max-width: 520px; margin: 0 auto; }
.tf-billing-wrap .tf-btn, .tf-btn { text-decoration:none; }

/* WooTax App v1.6 */
.tf-app{min-height:100vh;background:#f6f7fb;color:#111827;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:grid;grid-template-columns:260px 1fr}.tf-sidebar{background:#111827;color:#fff;padding:24px;position:sticky;top:0;height:100vh}.tf-brand-app{display:flex;align-items:center;gap:10px;margin-bottom:28px}.tf-brand-app span{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#166534,#22c55e);display:grid;place-items:center;font-weight:900}.tf-brand-app strong{font-size:20px}.tf-sidebar nav{display:grid;gap:8px}.tf-sidebar nav a,.tf-logout{color:#d1d5db;text-decoration:none;padding:12px 14px;border-radius:12px;font-weight:800}.tf-sidebar nav a.active,.tf-sidebar nav a:hover{background:#fff;color:#111827}.tf-logout{display:block;margin-top:28px;background:#1f2937}.tf-main{padding:34px;max-width:1240px;width:100%;}.tf-topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.tf-topbar h1{margin:0 0 6px;font-size:36px;letter-spacing:-.04em}.tf-topbar p{margin:0;color:#6b7280}.tf-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:24px;box-shadow:0 10px 30px rgba(17,24,39,.05);margin-bottom:18px}.tf-card h3{margin-top:0}.tf-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tf-kicker{color:#166534;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.tf-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tf-action{display:block;border:1px solid #e5e7eb;border-radius:16px;padding:18px;background:#f9fafb;color:#111827;text-decoration:none;font-weight:900}.tf-wizard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tf-step-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:24px}.tf-step-card.done{border-color:#86efac;background:#f0fdf4}.tf-step-card>span{width:40px;height:40px;border-radius:14px;background:#dcfce7;color:#166534;display:grid;place-items:center;font-weight:900;margin-bottom:14px}.tf-row{display:flex;gap:16px;flex-wrap:wrap}.tf-form{display:grid;gap:16px}.tf-form label{font-weight:800}.tf-form input[type=text],.tf-form input[type=password],.tf-form input[type=email],.tf-form input[type=url],.tf-form input[type=date],.tf-form input[type=time],.tf-form select,.tf-card input[type=text],.tf-card input[type=password],.tf-card input[type=email],.tf-card input[type=url],.tf-card input[type=date],.tf-card input[type=file],.tf-card select{width:100%;max-width:420px;padding:12px;border:1px solid #d1d5db;border-radius:12px;margin-top:6px;background:#fff}.tf-btn,.tf-card button,.tf-form button{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;background:#111827;color:#fff!important;border:0;border-radius:12px;text-decoration:none;font-weight:900;cursor:pointer}.tf-section{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff}.tf-muted{color:#6b7280;line-height:1.6}.tf-alert,.tf-notice{padding:14px 16px;border-radius:14px;margin-bottom:18px;border:1px solid #fde68a;background:#fffbeb;color:#92400e;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tf-notice.ok{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.tf-notice.danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}.tf-notice a{background:#111827;color:#fff;text-decoration:none;padding:10px 12px;border-radius:10px;font-weight:900}.tf-status-pill{display:inline-flex;padding:8px 12px;border-radius:999px;font-weight:900;font-size:13px;background:#fef3c7;color:#92400e}.tf-status-pill.ok{background:#dcfce7;color:#166534}.tf-status-pill.warn{background:#fef3c7;color:#92400e}.tf-connect-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.tf-table{width:100%;border-collapse:collapse;margin-top:18px;font-size:14px}.tf-table th,.tf-table td{padding:11px;border-bottom:1px solid #e5e7eb;text-align:left}.tf-table th{background:#f9fafb;font-weight:900}.tf-range-btn{background:#eef2ff!important;color:#3730a3!important}.tf-auth-wrap{max-width:540px;margin:70px auto;padding:0 20px;font-family:Inter,system-ui,sans-serif}.tf-auth-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:32px;box-shadow:0 20px 50px rgba(17,24,39,.08)}.tf-auth-card h1{margin:0 0 10px;font-size:34px;letter-spacing:-.04em}.tf-auth-card input[type=text],.tf-auth-card input[type=password]{width:100%;padding:14px;border:1px solid #d1d5db;border-radius:14px}.tf-auth-card input[type=submit]{width:100%;border:0;border-radius:14px;padding:15px 18px;background:#166534;color:#fff;font-weight:900;font-size:16px;cursor:pointer}.tf-register-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:14px;padding:12px 14px;margin:16px 0}.tf-register-note{font-size:14px;text-align:center;margin-top:16px}.tf-plan-pill{display:inline-flex;background:#dcfce7;color:#166534;border-radius:999px;padding:7px 11px;font-weight:900;font-size:13px;margin-bottom:18px}
@media(max-width:900px){.tf-app{grid-template-columns:1fr}.tf-sidebar{position:relative;height:auto}.tf-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.tf-main{padding:20px}.tf-grid-3,.tf-action-grid,.tf-wizard{grid-template-columns:1fr}.tf-topbar{display:block}}


/* WooTax repair v1.8.2 - stronger app UI */
.tf-app a, .tf-app button, .tf-billing-wrap a, .tf-auth-card input[type=submit], .tf-register-btn { opacity: 1 !important; filter: none !important; }
.tf-btn, .tf-card button, .tf-form button, .tf-notice a, .tf-register-btn { background:#166534 !important; color:#fff !important; border:0 !important; box-shadow:0 10px 20px rgba(22,101,52,.18); }
.tf-btn:hover, .tf-card button:hover, .tf-form button:hover, .tf-notice a:hover { background:#14532d !important; color:#fff !important; }
.tf-sidebar nav a.active { background:#ffffff !important; color:#111827 !important; }
.tf-sidebar nav a:not(.active) { color:#e5e7eb !important; }
.tf-alert.ok { background:#f0fdf4; border-color:#bbf7d0; color:#166534; }
.tf-inline-form { margin-top:12px; }
.tf-inline-form input[type=text] { max-width:100%; }
.tf-step-card .tf-form button { margin-top:4px; }
