/* ============================================================
   TryATool Single Tool — Premium UI
   ============================================================ */

.tat-single,
.tat-single-full {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tat-ink, #0f172a);
  background: var(--tat-bg, #f1f5f9);
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.tat-single-hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, var(--tat-glow, rgba(109,40,217,.15)), transparent),
    linear-gradient(180deg, var(--tat-hero-from, #fff) 0%, var(--tat-hero-to, #f8fafc) 100%);
  border-bottom: 1px solid var(--tat-line, #e2e8f0);
  padding: 36px 20px 32px;
}
.tat-single-hero-inner {
  max-width: min(100%, 1280px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .tat-single-hero-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
.tat-single-brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
}
.tat-single-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  object-fit: contain;
  background: var(--tat-card, #fff);
  border: 1px solid var(--tat-line, #e2e8f0);
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(15,23,42,.08);
}
.tat-logo-placeholder.tat-logo-lg {
  width: 84px;
  height: 84px;
  font-size: 2.1rem;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--tat-grad, linear-gradient(135deg,#6d28d9,#8b5cf6));
  border: none;
  box-shadow: 0 8px 28px var(--tat-glow, rgba(109,40,217,.35));
}
.tat-single-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.tat-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--tat-soft, #f1f5f9);
  color: var(--tat-muted, #475569);
  letter-spacing: .02em;
}
.tat-pill-price {
  background: var(--tat-green-bg, #ecfdf5);
  color: var(--tat-green, #059669);
}
.tat-pill-verified {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
}
html[data-tat-theme="dark"] .tat-pill-verified {
  background: #1e3a8a;
  color: #93c5fd;
}
.tat-single-title {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
  color: var(--tat-ink, #0f172a);
}
.tat-single-tagline {
  margin: 0 0 12px;
  color: var(--tat-muted, #64748b);
  font-size: 1.12rem;
  max-width: 52ch;
  line-height: 1.55;
}
.tat-single-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.tat-rating-lg {
  font-weight: 800;
  color: var(--tat-amber, #d97706);
  font-size: 1.25rem;
}
.tat-muted { color: var(--tat-muted, #64748b); }
.tat-single-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* Takeaways */
.tat-takeaways {
  background: var(--tat-card, #fff);
  border-bottom: 1px solid var(--tat-line, #e2e8f0);
  padding: 0 20px;
}
.tat-takeaways-inner {
  max-width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.tat-takeaway {
  padding: 20px 18px;
  border-bottom: 1px solid var(--tat-line, #f1f5f9);
  transition: background .15s;
}
.tat-takeaway:hover { background: var(--tat-soft, #f8fafc); }
@media (min-width: 700px) {
  .tat-takeaway {
    border-bottom: none;
    border-right: 1px solid var(--tat-line, #f1f5f9);
  }
  .tat-takeaway:last-child { border-right: none; }
}
.tat-takeaway-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--tat-muted, #94a3b8);
  margin-bottom: 6px;
}
.tat-takeaway-val {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--tat-ink, #0f172a);
  line-height: 1.4;
}

/* Sticky TOC + Share */
.tat-single-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 20px;
  background: var(--tat-nav-bg, rgba(255,255,255,.9));
  border-bottom: 1px solid var(--tat-line, #e2e8f0);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tat-single-nav-inner {
  max-width: min(100%, 1280px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.tat-toc {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px 4px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
}
.tat-toc::-webkit-scrollbar { display: none; }
.tat-toc a {
  font-size: 13px;
  font-weight: 650;
  color: var(--tat-muted, #64748b);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all .15s;
}
.tat-toc a:hover {
  color: var(--tat-purple, #6d28d9);
  background: var(--tat-purple-soft, #f5f3ff);
}
.tat-share {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.tat-share-label {
  font-size: 12px;
  font-weight: 650;
  color: var(--tat-muted, #94a3b8);
  white-space: nowrap;
}
.tat-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--tat-line, #e2e8f0);
  background: var(--tat-soft, #f8fafc);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  color: var(--tat-muted, #475569);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all .15s;
}
.tat-share-btn:hover {
  border-color: var(--tat-purple, #6d28d9);
  color: var(--tat-purple, #6d28d9);
  background: var(--tat-purple-soft, #f5f3ff);
  transform: translateY(-1px);
}

/* Body */
.tat-single-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 72px;
  display: grid;
  gap: 28px;
}
@media (min-width: 960px) {
  .tat-single-body {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}
.tat-single-main { min-width: 0; }
.tat-section {
  background: var(--tat-section-bg, #fff);
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 20px;
  padding: 26px 24px;
  margin-bottom: 18px;
  box-shadow: var(--tat-shadow, 0 4px 20px rgba(15,23,42,.04));
  transition: box-shadow .2s;
}
.tat-section:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,.07);
}
.tat-section h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -.02em;
  color: var(--tat-ink, #0f172a);
}
.tat-prose {
  line-height: 1.75;
  color: var(--tat-muted, #334155);
  font-size: 1.02rem;
}
.tat-prose p { margin: 0 0 1em; }
.tat-prose p:last-child { margin-bottom: 0; }

.tat-who-grid, .tat-feat-grid { display: grid; gap: 12px; }
@media (min-width: 560px) {
  .tat-who-grid, .tat-feat-grid { grid-template-columns: repeat(2, 1fr); }
}
.tat-who-card, .tat-feat-card {
  background: var(--tat-soft, #f8fafc);
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color .15s, transform .15s;
}
.tat-who-card:hover, .tat-feat-card:hover {
  border-color: var(--tat-purple3, #a78bfa);
  transform: translateY(-2px);
}
.tat-who-card h3, .tat-feat-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--tat-ink, #0f172a);
}
.tat-who-card p, .tat-feat-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--tat-muted, #64748b);
  line-height: 1.5;
}

.tat-breakdown { display: grid; gap: 12px; }
.tat-bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.tat-bar-label { color: var(--tat-muted, #64748b); font-weight: 550; text-transform: capitalize; }
.tat-bar-track {
  height: 10px;
  background: var(--tat-bar-track, #e2e8f0);
  border-radius: 999px;
  overflow: hidden;
}
.tat-bar-fill {
  height: 100%;
  background: var(--tat-grad, linear-gradient(90deg, #6d28d9, #8b5cf6));
  border-radius: 999px;
  box-shadow: 0 0 12px var(--tat-glow, rgba(109,40,217,.4));
}
.tat-bar-val { font-weight: 800; text-align: right; color: var(--tat-ink, #0f172a); }

.tat-pricing-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 600px) {
  .tat-pricing-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}
.tat-price-card {
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 16px;
  padding: 18px;
  background: var(--tat-soft, #fafafa);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tat-price-card:hover {
  border-color: var(--tat-purple2, #8b5cf6);
  box-shadow: 0 8px 24px var(--tat-glow, rgba(109,40,217,.15));
  transform: translateY(-3px);
}
.tat-price-card h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 750; }
.tat-price-amount {
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--tat-grad, linear-gradient(135deg,#6d28d9,#8b5cf6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.tat-price-card ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 13px;
  color: var(--tat-muted, #475569);
  line-height: 1.6;
}

.tat-usecase-list { display: grid; gap: 12px; }
.tat-usecase {
  border-left: 3px solid transparent;
  border-image: var(--tat-grad, linear-gradient(135deg,#6d28d9,#8b5cf6)) 1;
  padding: 10px 0 10px 16px;
  background: var(--tat-soft, transparent);
  border-radius: 0 12px 12px 0;
}
.tat-usecase h3 { margin: 0 0 4px; font-size: 0.98rem; font-weight: 750; }
.tat-usecase p { margin: 0; font-size: 14px; color: var(--tat-muted, #64748b); }

.tat-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tat-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--tat-ink, #0f172a);
}
.tat-step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tat-grad, linear-gradient(135deg,#6d28d9,#8b5cf6));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px var(--tat-glow, rgba(109,40,217,.35));
}

.tat-pros-cons { display: grid; gap: 16px; }
@media (min-width: 560px) { .tat-pros-cons { grid-template-columns: 1fr 1fr; } }
.tat-pros, .tat-cons {
  background: var(--tat-soft, #f8fafc);
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 16px;
  padding: 18px;
}
.tat-pros h3 { color: var(--tat-green, #059669); margin: 0 0 10px; font-size: 1rem; font-weight: 750; }
.tat-cons h3 { color: #dc2626; margin: 0 0 10px; font-size: 1rem; font-weight: 750; }
.tat-pros ul, .tat-cons ul {
  margin: 0;
  padding-left: 1.15em;
  font-size: 14px;
  line-height: 1.65;
  color: var(--tat-ink, #0f172a);
}
.tat-feature-list {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.7;
  font-size: 14.5px;
  color: var(--tat-ink, #0f172a);
}

.tat-faq { display: grid; gap: 10px; }
.tat-faq-item {
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 14px;
  background: var(--tat-soft, #fafafa);
  padding: 0;
  overflow: hidden;
  transition: border-color .15s;
}
.tat-faq-item[open] { border-color: var(--tat-purple2, #8b5cf6); }
.tat-faq-item summary {
  padding: 15px 18px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  color: var(--tat-ink, #0f172a);
}
.tat-faq-item summary::-webkit-details-marker { display: none; }
.tat-faq-item[open] summary { border-bottom: 1px solid var(--tat-line, #e2e8f0); }
.tat-faq-item p {
  margin: 0;
  padding: 14px 18px 16px;
  font-size: 14px;
  color: var(--tat-muted, #475569);
  line-height: 1.6;
}

.tat-related-grid { display: grid; gap: 12px; }
@media (min-width: 500px) { .tat-related-grid { grid-template-columns: repeat(2, 1fr); } }
.tat-related-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 14px;
  background: var(--tat-soft, #f8fafc);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tat-related-card:hover {
  border-color: var(--tat-purple2, #a78bfa);
  box-shadow: 0 8px 24px var(--tat-glow, rgba(109,40,217,.12));
  transform: translateY(-2px);
}
.tat-related-card img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--tat-card, #fff);
  border: 1px solid var(--tat-line, #e2e8f0);
}
.tat-related-card strong { display: block; font-size: 14px; font-weight: 750; }
.tat-related-card .tat-rating { font-size: 12px; color: var(--tat-amber, #d97706); }
.tat-related-card .tat-pill { margin-top: 4px; display: inline-block; }

/* Sidebar cards */
.tat-single-sidebar { min-width: 0; }
.tat-info-card {
  background: var(--tat-card, #fff);
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--tat-shadow, 0 4px 20px rgba(15,23,42,.05));
}
.tat-sticky-card {
  position: sticky;
  top: 72px;
}
.tat-info-card h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--tat-ink, #0f172a);
}
.tat-dl {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  font-size: 13.5px;
}
.tat-dl dt { color: var(--tat-muted, #64748b); font-weight: 550; }
.tat-dl dd { margin: 0; font-weight: 700; color: var(--tat-ink, #0f172a); }
.tat-alt-list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--tat-ink, #0f172a);
}

/* Forms */
.tat-form-card, .tat-review-form, .tat-claim-form, .tat-submit-tool-form {
  background: var(--tat-card, #fff);
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 18px;
  padding: 22px;
  max-width: 560px;
}
.tat-review-form label, .tat-submit-tool-form label, .tat-claim-form label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 5px;
  color: var(--tat-ink, #0f172a);
}
.tat-review-form input, .tat-review-form select, .tat-review-form textarea,
.tat-submit-tool-form input, .tat-submit-tool-form textarea, .tat-claim-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--tat-line, #e2e8f0);
  border-radius: 12px;
  margin-bottom: 12px;
  font: inherit;
  background: var(--tat-input-bg, #fff);
  color: var(--tat-ink, #0f172a);
  transition: border-color .15s, box-shadow .15s;
}
.tat-review-form input:focus, .tat-submit-tool-form input:focus, .tat-claim-form input:focus,
.tat-review-form textarea:focus, .tat-submit-tool-form textarea:focus {
  outline: none;
  border-color: var(--tat-purple, #6d28d9);
  box-shadow: 0 0 0 4px var(--tat-glow, rgba(109,40,217,.2));
}
.tat-form-note { font-size: 12px; color: var(--tat-muted, #64748b); margin: 8px 0 0; }
.tat-form-message {
  margin-top: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}
.tat-form-message.is-success { background: var(--tat-green-bg, #ecfdf5); color: var(--tat-green, #047857); }
.tat-form-message.is-error { background: #fef2f2; color: #b91c1c; }

/* ========== Premium Newsletter / Digest ========== */
.tat-digest {
  --digest-bg: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #e0e7ff 100%);
  background: var(--digest-bg);
  border-radius: 20px;
  padding: 0;
  border: 1px solid rgba(109, 40, 217, 0.12);
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.08), 0 1px 2px rgba(15,23,42,.04);
  overflow: hidden;
  position: relative;
}
html[data-tat-theme="dark"] .tat-digest {
  --digest-bg: linear-gradient(135deg, rgba(109,40,217,.25) 0%, rgba(79,70,229,.2) 100%);
  border-color: rgba(167,139,250,.2);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.tat-digest-inner {
  padding: 28px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tat-digest-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tat-purple, #6d28d9);
  background: rgba(255,255,255,.7);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
html[data-tat-theme="dark"] .tat-digest-badge {
  background: rgba(15,23,42,.5);
  color: var(--tat-purple2, #c4b5fd);
}
.tat-digest-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--tat-ink, #0f172a);
}
.tat-digest-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--tat-muted, #64748b);
  max-width: 42ch;
}
.tat-newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
  align-items: stretch;
}
.tat-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border: 1.5px solid var(--tat-line, #ddd6fe);
  border-radius: 14px;
  background: var(--tat-input-bg, #fff);
  color: var(--tat-ink, #0f172a);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.tat-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--tat-purple, #6d28d9);
  box-shadow: 0 0 0 4px var(--tat-glow, rgba(109,40,217,.25));
}
.tat-newsletter-form .tat-button {
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  min-height: 48px;
}
.tat-digest-trust {
  margin: 0;
  font-size: 12px;
  color: var(--tat-muted, #94a3b8);
  opacity: .9;
}
.tat-digest .tat-form-message {
  width: 100%;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
}

/* Strip variant — full width, horizontal on desktop */
.tat-digest--strip {
  max-width: none;
  margin: 28px 0;
}
.tat-digest--strip .tat-digest-inner {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding: 24px 28px;
}
.tat-digest--strip .tat-digest-copy { flex: 1; min-width: 240px; }
.tat-digest--strip .tat-newsletter-form { flex: 1.2; min-width: 280px; margin: 0; }
.tat-digest--strip .tat-digest-trust { width: 100%; margin-top: -6px; }

/* Compact variant for sidebars */
.tat-digest--compact .tat-digest-inner { padding: 20px; }
.tat-digest--compact .tat-digest-title { font-size: 1.1rem; }
.tat-digest--compact .tat-digest-desc { font-size: 13.5px; }

@media (max-width: 640px) {
  .tat-digest--strip .tat-digest-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
  }
  .tat-newsletter-form { flex-direction: column; }
  .tat-newsletter-form input[type="email"],
  .tat-newsletter-form .tat-button { width: 100%; min-width: 0; }
  .tat-digest-title { font-size: 1.2rem; }
}
.tat-finder { max-width: 480px; }
.tat-finder-form input, .tat-finder-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--tat-line, #e2e8f0);
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--tat-input-bg, #fff);
  color: var(--tat-ink, #0f172a);
}
.tat-vendor-list { list-style: none; padding: 0; margin: 0; }
.tat-vendor-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--tat-line, #e2e8f0);
}
.tat-compare-empty {
  padding: 36px;
  text-align: center;
  color: var(--tat-muted, #64748b);
  border: 1.5px dashed var(--tat-line, #e2e8f0);
  border-radius: 16px;
  background: var(--tat-card, #fff);
}

/* Shared buttons (single page) */
.tat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  border: 1px solid transparent;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.tat-button-primary {
  background: var(--tat-grad, linear-gradient(135deg, #6d28d9, #8b5cf6));
  color: #fff !important;
  box-shadow: 0 4px 16px var(--tat-glow, rgba(109,40,217,.35));
}
.tat-button-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--tat-glow, rgba(109,40,217,.4));
}
.tat-button-secondary {
  background: var(--tat-card, #fff);
  border-color: var(--tat-line, #e2e8f0);
  color: var(--tat-ink, #0f172a);
}
.tat-button-secondary:hover {
  border-color: var(--tat-purple, #6d28d9);
  color: var(--tat-purple, #6d28d9);
  background: var(--tat-purple-soft, #faf5ff);
}
.tat-button-ghost { background: transparent; color: var(--tat-muted, #64748b); }
.tat-button-ghost:hover { color: var(--tat-purple, #6d28d9); }
.tat-button-lg { padding: 13px 22px; font-size: 14px; border-radius: 14px; }
.tat-button-block { width: 100%; }

.tat-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--tat-line, #e2e8f0) !important;
  background: var(--tat-card, #fff) !important;
  color: var(--tat-muted, #64748b);
  transition: all .2s;
  flex-shrink: 0;
}
.tat-theme-toggle:hover {
  border-color: var(--tat-purple, #6d28d9) !important;
  color: var(--tat-purple, #6d28d9);
  background: var(--tat-purple-soft, #f5f3ff) !important;
}
.tat-theme-toggle svg { width: 18px; height: 18px; }
.tat-theme-toggle .tat-icon-sun { display: none; }
.tat-theme-toggle .tat-icon-moon { display: block; }
html[data-tat-theme="dark"] .tat-theme-toggle .tat-icon-sun { display: block; }
html[data-tat-theme="dark"] .tat-theme-toggle .tat-icon-moon { display: none; }

/* Theme full-width overrides */
body.tat-tool-single #secondary,
body.tat-tool-single .sidebar,
body.tat-tool-single .widget-area,
body.tat-tool-single aside.widget-area,
body.tat-tool-single .sidebar-primary,
body.tat-tool-single .sidebar-secondary,
body.tat-tool-single #sidebar,
body.tat-tool-single .ast-aside-sidebar,
body.tat-tool-single .widget,
body.tat-tool-single .comments-area,
body.tat-tool-single .post-navigation,
body.tat-tool-single .entry-footer,
body.tat-tool-single .entry-header,
body.tat-tool-single .entry-meta,
body.tat-tool-single .page-header {
  display: none !important;
}
body.tat-tool-single #primary,
body.tat-tool-single .content-area,
body.tat-tool-single .site-main,
body.tat-tool-single .site-content,
body.tat-tool-single main,
body.tat-tool-single .ast-container,
body.tat-tool-single .entry-content,
body.tat-tool-single article.type-tryatool {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.tat-tool-single .tat-single-full {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--tat-bg, #f1f5f9);
  position: relative;
  z-index: 2;
}
@media (max-width: 959px) {
  .tat-sticky-card { position: static; }
}

/* ============================================================
   Unique Single-page Sidebar (Quick Info)
   ============================================================ */
.tat-info-card {
  position: relative;
  background:
    linear-gradient(160deg, var(--tat-card) 0%, var(--tat-soft) 120%);
  border: 1px solid var(--tat-line);
  border-radius: 22px;
  padding: 0;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,.55) inset,
    var(--tat-shadow, 0 8px 28px rgba(15,23,42,.06));
  transition: transform .2s, box-shadow .2s;
}
html[data-tat-theme="dark"] .tat-info-card {
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    var(--tat-shadow);
}
.tat-info-card:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,.55) inset,
    0 12px 36px var(--tat-glow, rgba(109,40,217,.12));
}

/* Gradient rail */
.tat-info-card::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--tat-grad, linear-gradient(135deg,#6d28d9,#8b5cf6,#6366f1));
  box-shadow: 0 0 18px var(--tat-glow, rgba(109,40,217,.4));
}

.tat-info-card h3 {
  margin: 0;
  padding: 16px 20px 12px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tat-muted, #64748b);
  border-bottom: 1px solid var(--tat-line, #e2e8f0);
  background: linear-gradient(180deg, var(--tat-purple-soft, #f5f3ff), transparent);
}

.tat-info-card .tat-dl {
  margin: 0;
  padding: 16px 20px 8px;
  gap: 12px 16px;
}
.tat-info-card .tat-dl dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tat-muted, #94a3b8);
  align-self: center;
}
.tat-info-card .tat-dl dd {
  font-size: 14px;
  font-weight: 750;
  color: var(--tat-ink, #0f172a);
  padding: 6px 10px;
  background: var(--tat-soft, #f8fafc);
  border-radius: 10px;
  border: 1px solid var(--tat-line, #e2e8f0);
  text-align: right;
}

/* CTA inside card */
.tat-info-card .tat-button {
  margin: 8px 20px 20px;
  width: calc(100% - 40px);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .01em;
}

/* Claim form card */
.tat-info-card .tat-muted {
  display: block;
  padding: 0 20px 12px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.tat-info-card .tat-claim-form {
  padding: 0 20px 20px;
  background: transparent;
  border: none;
  max-width: none;
}
.tat-info-card .tat-claim-form input {
  border-radius: 12px;
  margin-bottom: 10px;
}
.tat-info-card .tat-alt-list {
  padding: 12px 20px 20px 2.2em;
  margin: 0;
}

/* Sticky with glass */
.tat-sticky-card {
  position: sticky;
  top: 80px;
  backdrop-filter: blur(10px);
}

/* Alternating visual for 2nd/3rd cards */
.tat-single-sidebar .tat-info-card:nth-child(2)::before {
  background: linear-gradient(135deg, #059669, #34d399);
  box-shadow: 0 0 18px rgba(5,150,105,.35);
}
.tat-single-sidebar .tat-info-card:nth-child(3)::before {
  background: linear-gradient(135deg, #d97706, #fbbf24);
  box-shadow: 0 0 18px rgba(217,119,6,.3);
}

/* Mini sparkle on primary CTA */
.tat-info-card .tat-button-primary {
  position: relative;
  overflow: hidden;
}
.tat-info-card .tat-button-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  animation: tat-shine 3.5s ease-in-out infinite;
}
@keyframes tat-shine {
  0%, 60% { left: -40%; }
  100% { left: 140%; }
}

/* ========== SEO: only ONE H1 (plugin title) ========== */
body.tat-tool-single h1.entry-title,
body.tat-tool-single .entry-title,
body.tat-tool-single .post-title,
body.tat-tool-single .page-title,
body.tat-tool-single article > header h1,
body.tat-tool-single .site-main > h1,
body.tat-tool-single .content-area > h1,
body.tat-tool-single #content > h1,
body.tat-tool-single .ast-single-post-order h1,
body.tat-tool-single .entry-header .entry-title,
body.tat-tool-single h1:not(.tat-single-title) {
  display: none !important;
  font-size: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  clip: rect(0,0,0,0) !important;
}

/* Plugin H1 is the only visible/semantic H1 */
body.tat-tool-single h1.tat-single-title {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  font-size: clamp(1.85rem, 4vw, 2.5rem) !important;
  clip: auto !important;
  overflow: visible !important;
  left: auto !important;
}

/* Wider single page content — use side space */
body.tat-tool-single .tat-single-hero-inner,
body.tat-tool-single .tat-takeaways-inner,
body.tat-tool-single .tat-single-nav-inner,
body.tat-tool-single .tat-single-body {
  max-width: 1400px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

@media (min-width: 1200px) {
  body.tat-tool-single .tat-single-body {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
  }
}

/* ===== v3.6 — Breadcrumb, media, richer pricing, 6 similar ===== */
.tat-single-breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 28px 0;
}
.tat-bc-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--tat-muted, #64748b);
}
.tat-bc-list li {
  display: inline-flex;
  align-items: center;
}
.tat-bc-list li:not(:last-child)::after {
  content: "›";
  margin: 0 8px;
  opacity: 0.55;
}
.tat-bc-list a {
  color: inherit;
  text-decoration: none;
}
.tat-bc-list a:hover {
  color: var(--tat-purple, #7c3aed);
  text-decoration: underline;
}
.tat-bc-list li[aria-current="page"] {
  color: var(--tat-text, #0f172a);
  font-weight: 600;
}

.tat-media-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .tat-media-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.tat-screenshot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tat-border, #e2e8f0);
  background: #0b1220;
}
.tat-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.tat-screenshot figcaption {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--tat-muted, #64748b);
  background: var(--tat-card, #fff);
}
.tat-video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--tat-border, #e2e8f0);
  background: #000;
}
.tat-video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tat-price-card {
  position: relative;
}
.tat-price-card-featured {
  border-color: var(--tat-purple, #7c3aed);
  box-shadow: 0 0 0 1px var(--tat-purple, #7c3aed), 0 12px 28px rgba(124, 58, 237, 0.12);
}
.tat-price-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--tat-purple, #7c3aed);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.tat-price-billing {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--tat-muted, #64748b);
  margin-top: 2px;
}
.tat-price-cta {
  display: inline-flex;
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}
.tat-pricing-notes {
  margin-top: 16px;
  font-size: 13px;
  color: var(--tat-muted, #64748b);
  text-align: center;
}

/* Show up to 6 similar tools */
@media (min-width: 500px) {
  .tat-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .tat-related-grid { grid-template-columns: repeat(3, 1fr); }
}

.tat-single .tat-badge-verified,
.tat-single .tat-badge-trial {
  font-size: 12px;
  margin-left: 6px;
}

/* ===== Compare page (full) ===== */
.tat-compare-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
.tat-cmp-hero {
  padding: 36px 0 20px;
  border-bottom: 1px solid var(--tat-border, #e2e8f0);
  margin-bottom: 24px;
}
.tat-cmp-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--tat-purple, #7c3aed);
  margin: 0 0 8px;
}
.tat-cmp-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.15;
}
.tat-cmp-lead {
  color: var(--tat-muted, #64748b);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 0 20px;
}
.tat-cmp-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.tat-cmp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 36px;
}
.tat-cmp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 5px 6px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
}
.tat-cmp-chip img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
}
.tat-cmp-chip-x {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #94a3b8;
  padding: 0 2px;
}
.tat-cmp-chip-x:hover { color: #ef4444; }
.tat-cmp-chip-count,
.tat-cmp-chip-empty {
  font-size: 13px;
  color: var(--tat-muted, #64748b);
}
.tat-cmp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Empty state */
.tat-compare-empty {
  text-align: center;
  padding: 40px 16px 24px;
}
.tat-cmp-empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.tat-compare-empty h2 {
  font-size: 1.35rem;
  margin: 0 0 8px;
}
.tat-compare-empty > p {
  color: var(--tat-muted, #64748b);
  max-width: 420px;
  margin: 0 auto 28px;
}
.tat-cmp-suggest {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}
.tat-cmp-suggest h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tat-muted, #64748b);
  margin: 0 0 12px;
}
.tat-cmp-suggest-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .tat-cmp-suggest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .tat-cmp-suggest-grid { grid-template-columns: repeat(4, 1fr); }
}
.tat-cmp-suggest-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--tat-border, #e2e8f0);
  background: var(--tat-card, #fff);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  transition: .15s;
}
.tat-cmp-suggest-card:hover {
  border-color: var(--tat-purple, #7c3aed);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.tat-cmp-suggest-card img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.tat-cmp-suggest-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tat-cmp-suggest-meta strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tat-cmp-suggest-meta span {
  font-size: 12px;
  color: var(--tat-muted, #64748b);
}
.tat-cmp-suggest-add {
  font-size: 12px;
  font-weight: 700;
  color: var(--tat-purple, #7c3aed);
  white-space: nowrap;
}

/* Header cards */
.tat-cmp-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}
@media (min-width: 600px) {
  .tat-cmp-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .tat-cmp-cards { grid-template-columns: repeat(4, 1fr); }
}
.tat-cmp-card {
  position: relative;
  background: var(--tat-card, #fff);
  border: 1px solid var(--tat-border, #e2e8f0);
  border-radius: 16px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.tat-cmp-card-remove {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: #f1f5f9;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  color: #64748b;
}
.tat-cmp-card-remove:hover { background: #fee2e2; color: #dc2626; }
.tat-cmp-card-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}
.tat-cmp-card h3 {
  font-size: 16px;
  margin: 0;
  padding-right: 24px;
}
.tat-cmp-card h3 a {
  color: inherit;
  text-decoration: none;
}
.tat-cmp-card h3 a:hover { color: var(--tat-purple, #7c3aed); }
.tat-cmp-card-rating {
  font-size: 13px;
  color: #d97706;
  font-weight: 600;
}
.tat-cmp-card-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.tat-cmp-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}
.tat-cmp-badge.is-verified { background: #dbeafe; color: #1d4ed8; }
.tat-cmp-badge.is-featured { background: #ede9fe; color: #6d28d9; }
.tat-cmp-badge.is-trial { background: #fef3c7; color: #b45309; }
.tat-cmp-card-short {
  font-size: 13px;
  color: var(--tat-muted, #64748b);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tat-cmp-visit { width: 100%; justify-content: center; margin-top: 4px; }
.tat-cmp-details {
  font-size: 13px;
  font-weight: 600;
  color: var(--tat-purple, #7c3aed);
  text-decoration: none;
}
.tat-cmp-details:hover { text-decoration: underline; }

/* Table */
.tat-compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--tat-border, #e2e8f0);
  border-radius: 16px;
  background: var(--tat-card, #fff);
}
.tat-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}
.tat-compare-table th,
.tat-compare-table td {
  border-bottom: 1px solid var(--tat-border, #e2e8f0);
  border-right: 1px solid var(--tat-border, #e2e8f0);
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
}
.tat-compare-table th:last-child,
.tat-compare-table td:last-child { border-right: none; }
.tat-compare-table tr:last-child th,
.tat-compare-table tr:last-child td { border-bottom: none; }
.tat-compare-table thead th {
  background: #f8fafc;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1;
}
.tat-compare-table thead th a {
  color: inherit;
  text-decoration: none;
}
.tat-compare-table thead th a:hover { color: var(--tat-purple, #7c3aed); }
.tat-cmp-row-label {
  background: #f8fafc;
  font-weight: 600;
  width: 140px;
  min-width: 120px;
  color: #334155;
  position: sticky;
  left: 0;
  z-index: 1;
}
.tat-cmp-yes { color: #059669; font-weight: 700; }
.tat-cmp-no { color: #94a3b8; }
.tat-cmp-ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: #475569;
}
.tat-cmp-pros li::marker { color: #059669; }
.tat-cmp-cons li::marker { color: #dc2626; }
.tat-cmp-plan {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  background: #fafafa;
}
.tat-cmp-plan.is-hot {
  border-color: var(--tat-purple, #7c3aed);
  background: #f5f3ff;
}
.tat-cmp-plan-name {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}
.tat-cmp-plan-name em {
  font-style: normal;
  font-size: 10px;
  background: var(--tat-purple, #7c3aed);
  color: #fff;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 4px;
}
.tat-cmp-plan-price {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.tat-cmp-plan-price span {
  font-weight: 500;
  font-size: 12px;
  color: #64748b;
}
.tat-cmp-plan ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  color: #64748b;
}
.tat-cmp-cta-row td {
  background: #f8fafc;
}
.tat-cmp-cta-row .tat-button {
  margin: 2px 4px 2px 0;
}
.tat-cmp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  color: var(--tat-muted, #64748b);
}

/* ===== Submit page ===== */
.tat-submit-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 56px;
}
.tat-sub-hero {
  padding: 36px 0 8px;
}
.tat-sub-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--tat-purple, #7c3aed);
  margin: 0 0 8px;
}
.tat-sub-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.tat-sub-lead {
  color: var(--tat-muted, #64748b);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 0 16px;
}
.tat-sub-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: #475569;
}
.tat-sub-perks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tat-sub-perks li::before {
  content: "✓";
  color: #059669;
  font-weight: 800;
}
.tat-sub-layout {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
@media (min-width: 900px) {
  .tat-sub-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    align-items: start;
  }
}
.tat-sub-form-card {
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--tat-border, #e2e8f0);
  background: var(--tat-card, #fff);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}
.tat-sub-form-card h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}
.tat-sub-form-note {
  color: var(--tat-muted, #64748b);
  font-size: 13px;
  margin: 0 0 20px;
}
.tat-sub-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 560px) {
  .tat-sub-grid { grid-template-columns: 1fr 1fr; }
}
.tat-sub-field {
  margin: 0 0 14px;
}
.tat-sub-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}
.tat-sub-field input,
.tat-sub-field textarea,
.tat-sub-field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s;
}
.tat-sub-field input:focus,
.tat-sub-field textarea:focus,
.tat-sub-field select:focus {
  outline: none;
  border-color: var(--tat-purple, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.tat-sub-hint {
  display: block;
  font-size: 12px;
  color: var(--tat-muted, #64748b);
  margin-top: 5px;
}
.tat-sub-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
}
.tat-sub-aside {
  display: grid;
  gap: 14px;
}
.tat-sub-aside-card {
  border: 1px solid var(--tat-border, #e2e8f0);
  border-radius: 14px;
  padding: 18px 16px;
  background: #f8fafc;
}
.tat-sub-aside-card h3 {
  margin: 0 0 12px;
  font-size: 14px;
}
.tat-sub-steps {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 12px;
}
.tat-sub-steps li {
  font-size: 13px;
  color: #64748b;
}
.tat-sub-steps strong {
  display: block;
  color: #0f172a;
  margin-bottom: 2px;
}
.tat-sub-aside-tips ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #64748b;
  display: grid;
  gap: 8px;
}
.tat-sub-aside-cta {
  background: linear-gradient(160deg, rgba(139,92,246,0.1), rgba(236,72,153,0.06));
  border-color: rgba(124, 58, 237, 0.25);
  text-align: center;
}
.tat-sub-aside-cta p {
  font-size: 13px;
  color: #475569;
  margin: 0 0 12px;
}
.tat-form-message {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}
.tat-form-message.is-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.tat-form-message.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}


/* ===== Listing plans on submit ===== */
.tat-sub-plans {
  border: none;
  margin: 0 0 20px;
  padding: 0;
}
.tat-sub-plans legend {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 0;
}
.tat-sub-plan-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .tat-sub-plan-grid { grid-template-columns: repeat(3, 1fr); }
}
.tat-sub-plan-card {
  position: relative;
  display: block;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 12px;
  background: #fff;
  transition: .15s;
}
.tat-sub-plan-card:hover { border-color: #c4b5fd; }
.tat-sub-plan-card:has(input:checked),
.tat-sub-plan-card.is-selected {
  border-color: var(--tat-purple, #7c3aed);
  box-shadow: 0 0 0 1px var(--tat-purple, #7c3aed), 0 8px 20px rgba(124, 58, 237, 0.12);
}
.tat-sub-plan-card.is-hot {
  border-color: #c4b5fd;
}
.tat-sub-plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tat-sub-plan-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--tat-purple, #7c3aed);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.tat-sub-plan-name { display: block; font-size: 15px; margin-bottom: 4px; }
.tat-sub-plan-price {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.tat-sub-plan-price span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}
.tat-sub-plan-body ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  color: #475569;
  display: grid;
  gap: 4px;
}
.tat-sub-pay-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}
.tat-sub-pay-text {
  font-size: 13px;
  color: #5b21b6;
  margin: 0 0 12px;
}
.tat-sub-pay-box .tat-button { margin-bottom: 12px; }
.tat-sub-pay-confirm {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.tat-sub-pay-confirm input { margin-top: 2px; }

.tat-newsletter-card {
  max-width: 520px;
  margin: 24px auto;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--tat-line, #e2e8f0);
  background: var(--tat-card, #fff);
  box-shadow: var(--tat-shadow, 0 8px 24px rgba(15,23,42,.06));
  text-align: center;
}
.tat-newsletter-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.tat-newsletter-card p { color: var(--tat-muted, #64748b); margin: 0 0 16px; font-size: 14px; }
.tat-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.tat-newsletter-form input[type=email] {
  flex: 1 1 200px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--tat-line, #e2e8f0);
  font: inherit;
}
.tat-newsletter-form .tat-form-message { width: 100%; margin-top: 8px; }

.tat-section-lead {
  font-size: 14px;
  color: var(--tat-muted, #64748b);
  margin: -6px 0 16px;
}

/* Trust block — elevated */
.tat-trust-block { margin: 40px 0; }
.tat-trust-shell {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 24px;
  border: 1px solid var(--tat-line, #e2e8f0);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(124, 58, 237, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(236, 72, 153, 0.07), transparent 50%),
    var(--tat-card, #fff);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.tat-trust-head { margin-bottom: 20px; max-width: 560px; }
.tat-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tat-purple, #7c3aed);
  background: rgba(124, 58, 237, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tat-trust-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.tat-trust-sub {
  margin: 0;
  font-size: 14px;
  color: var(--tat-muted, #64748b);
  line-height: 1.55;
}
.tat-trust-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
@media (min-width: 720px) {
  .tat-trust-grid { grid-template-columns: repeat(3, 1fr); }
}
.tat-trust-card {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--tat-line, #e2e8f0);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.tat-trust-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.1);
}
.tat-trust-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #db2777);
}
.tat-trust-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}
.tat-trust-card p {
  margin: 0;
  font-size: 13px;
  color: var(--tat-muted, #64748b);
  line-height: 1.5;
}
.tat-trust-brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--tat-purple, #7c3aed);
  margin: 0;
  padding-top: 4px;
}

/* Benefits + stats */
.tat-benefits-block { margin: 36px 0 44px; }
.tat-benefits-shell {
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid var(--tat-line, #e2e8f0);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.02), transparent 40%),
    var(--tat-card, #fff);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.05);
}
.tat-benefits-copy { margin-bottom: 22px; max-width: 640px; }
.tat-benefits-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.tat-benefits-copy > p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--tat-muted, #64748b);
  line-height: 1.55;
}
.tat-benefits-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.tat-benefits-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tat-ink2, #1e293b);
}
.tat-benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}
.tat-benefits-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
}
@media (min-width: 800px) {
  .tat-benefits-stats { grid-template-columns: repeat(4, 1fr); }
}
.tat-stat-card {
  padding: 18px 14px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--tat-line, #e2e8f0);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.06), transparent 70%);
  transition: transform .15s ease;
}
.tat-stat-card:hover { transform: translateY(-2px); }
.tat-stat-num {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #6d28d9, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
  line-height: 1.15;
}
.tat-stat-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--tat-muted, #64748b);
  line-height: 1.35;
}
.tat-benefits-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

html[data-tat-theme="dark"] .tat-trust-shell,
html[data-tat-theme="dark"] .tat-benefits-shell {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(124, 58, 237, 0.18), transparent 55%),
    var(--tat-card, #0f172a);
  border-color: var(--tat-line, #334155);
}
html[data-tat-theme="dark"] .tat-trust-card {
  background: rgba(15, 23, 42, 0.65);
  border-color: var(--tat-line, #334155);
}
html[data-tat-theme="dark"] .tat-stat-card {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.15), transparent 70%);
  border-color: var(--tat-line, #334155);
}

/* ============================================================
   AI Influencers — curated people directory
   ============================================================ */
.tat-influencers {
  color: var(--tat-ink, #0f172a);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 64px;
  -webkit-font-smoothing: antialiased;
}
.tat-inf-hero {
  padding: 32px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tat-inf-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tat-purple, #5b21b6);
  background: var(--tat-purple-soft, #f5f3ff);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tat-inf-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--tat-ink, #0f172a);
}
.tat-inf-desc {
  margin: 0;
  color: var(--tat-muted, #64748b);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 52ch;
}
.tat-inf-search-wrap {
  position: relative;
  max-width: 520px;
}
.tat-inf-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tat-muted, #64748b);
  pointer-events: none;
  opacity: .7;
}
.tat-inf-search {
  width: 100%;
  padding: 14px 16px 14px 42px;
  border: 1.5px solid var(--tat-line, #e2e8f0);
  border-radius: 14px;
  background: var(--tat-input-bg, #fff);
  color: var(--tat-ink, #0f172a);
  font-size: 15px;
  box-shadow: var(--tat-shadow, 0 1px 2px rgba(15,23,42,.04));
  transition: border-color .2s, box-shadow .2s;
}
.tat-inf-search:focus {
  outline: none;
  border-color: var(--tat-purple, #5b21b6);
  box-shadow: 0 0 0 4px var(--tat-glow, rgba(91,33,182,.25));
}

.tat-inf-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.tat-inf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tat-inf-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--tat-line, #e2e8f0);
  background: var(--tat-chip-bg, #fff);
  color: var(--tat-muted, #64748b);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  min-height: 38px;
}
.tat-inf-chip:hover {
  border-color: var(--tat-purple, #5b21b6);
  color: var(--tat-purple, #5b21b6);
}
.tat-inf-chip.is-active {
  background: var(--tat-grad, linear-gradient(135deg, #5b21b6, #7c3aed));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px var(--tat-glow, rgba(91,33,182,.3));
}
.tat-inf-chip--soft.is-active {
  background: var(--tat-purple-soft, #f5f3ff);
  color: var(--tat-purple, #5b21b6);
  border-color: var(--tat-purple3, #a78bfa);
  box-shadow: none;
}

.tat-inf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .tat-inf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .tat-inf-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

.tat-inf-card {
  position: relative;
  background: var(--tat-card, #fff);
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--tat-shadow, 0 1px 2px rgba(15,23,42,.04));
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tat-inf-card:hover {
  border-color: var(--tat-purple3, #a78bfa);
  box-shadow: var(--tat-shadow-hover, 0 12px 40px rgba(91,33,182,.12));
}
.tat-inf-card.is-featured {
  border-color: rgba(91, 33, 182, 0.25);
  background:
    radial-gradient(180px 100px at 100% 0%, var(--tat-glow, rgba(91,33,182,.12)), transparent),
    var(--tat-card, #fff);
}
.tat-inf-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--tat-grad, linear-gradient(135deg, #5b21b6, #7c3aed));
  color: #fff;
}
.tat-inf-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tat-inf-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--tat-grad, linear-gradient(135deg, #5b21b6, #7c3aed));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.tat-inf-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tat-inf-identity {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tat-inf-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tat-ink, #0f172a);
  line-height: 1.25;
}
.tat-inf-handle {
  font-size: 13px;
  color: var(--tat-purple, #5b21b6);
  font-weight: 600;
}
.tat-inf-company {
  font-size: 12.5px;
  color: var(--tat-muted, #64748b);
}
.tat-inf-reach {
  font-size: 12px;
  font-weight: 700;
  color: var(--tat-muted, #64748b);
  background: var(--tat-soft, #f8fafc);
  border: 1px solid var(--tat-line, #e2e8f0);
  padding: 4px 8px;
  border-radius: 8px;
  white-space: nowrap;
}
.tat-inf-bio {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--tat-muted, #64748b);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tat-inf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tat-inf-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--tat-purple-soft, #f5f3ff);
  color: var(--tat-purple, #5b21b6);
}
.tat-inf-links {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.tat-inf-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--tat-line, #e2e8f0);
  background: var(--tat-card, #fff);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--tat-ink, #0f172a);
  transition: all .15s;
  text-decoration: none !important;
}
.tat-inf-link:hover {
  border-color: var(--tat-purple, #5b21b6);
  color: var(--tat-purple, #5b21b6);
  background: var(--tat-purple-soft, #f5f3ff);
}

.tat-inf-empty,
.tat-inf-empty-filter {
  text-align: center;
  padding: 48px 16px;
  color: var(--tat-muted, #64748b);
}
.tat-inf-empty-filter .tat-button {
  margin-top: 12px;
}

@media (max-width: 559px) {
  .tat-influencers { padding: 0 14px 80px; }
  .tat-inf-hero { padding: 22px 0 14px; }
  .tat-inf-title { font-size: 1.4rem; }
  .tat-inf-search { font-size: 16px; }
  .tat-inf-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .tat-inf-filters::-webkit-scrollbar { display: none; }
  .tat-inf-chip { white-space: nowrap; flex-shrink: 0; }
  .tat-inf-card:hover { transform: none; }
  .tat-inf-card:active { transform: scale(0.985); }
}

html[data-tat-theme="dark"] .tat-inf-card.is-featured {
  background:
    radial-gradient(180px 100px at 100% 0%, rgba(167,139,250,.15), transparent),
    var(--tat-card, #0f172a);
}
