/* The Niche Guru · home 2026 — design system (bundle) + quiz + home. Generado por build.py */
@font-face{font-family:'Space Grotesk';src:url('fonts/SpaceGrotesk-Variable-latin.woff2') format('woff2');font-weight:300 700;font-style:normal;font-display:swap}
@font-face{font-family:'Figtree';src:url('fonts/Figtree-Variable-latin.woff2') format('woff2');font-weight:300 900;font-style:normal;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('fonts/JetBrainsMono-Variable-latin.woff2') format('woff2');font-weight:100 800;font-style:normal;font-display:swap}

/* ==========================================================================
   The Niche Guru — tng-global.css  (v1.0 · Sep 2026)
   ONE global stylesheet for Astra (child) + Elementor Pro.
   Paste into: Astra child theme style.css  (preferred, cached)
          or:  Elementor › Site Settings › Custom CSS.
   Every custom class is prefixed `tng-`. No @import, no web fonts here:
   fonts are loaded once as Elementor Custom Fonts (self-hosted woff2).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS — mapped to the 9 Astra global colours (Elementor inherits them
   as Global Colours "astglobalcolor0…8"). Fallbacks = the brand values.
   -------------------------------------------------------------------------- */
:root {
  /* Astra palette (Customizer › Global › Colors) */
  --tng-purple-500: #6C2DFF; /* brand */
  --tng-purple-700: #4A17C2; /* brand hover / pressed */
  --tng-gray-900:   #1A1A1A; /* headings, text on yellow */
  --tng-gray-800:   #3A3A3A; /* body text */
  --tng-white:      #FFFFFF; /* page background */
  --tng-gray-50:    #F2F5F7; /* alt background */
  --tng-ink-950:    #0B0820; /* dark sections */
  --tng-yellow-400: #FFB92D; /* accent */
  --tng-purple-600: #5F28E0; /* links in text */

  /* Extended scales (not in Astra; used through semantic tokens) */
  --tng-purple-50:#F3EEFF; --tng-purple-100:#E6DBFF; --tng-purple-200:#CDB8FF;
  --tng-purple-300:#AE8CFF; --tng-purple-400:#8D5CFF; --tng-purple-800:#3A1296; --tng-purple-900:#260B63;
  --tng-yellow-50:#FFF8E8; --tng-yellow-100:#FFEFC7; --tng-yellow-200:#FFE08F; --tng-yellow-300:#FFCF5C;
  --tng-yellow-500:#F29F0D; --tng-yellow-600:#C97C06; --tng-yellow-700:#9C5B08; --tng-yellow-800:#8A4F06; --tng-yellow-900:#4D2D0B;
  --tng-ink-900:#120C2E; --tng-ink-800:#1B1442; --tng-ink-700:#241A55; --tng-ink-600:#2E2466;
  --tng-gray-750:#424242; --tng-gray-700:#4B4F58; --tng-gray-100:#F5F5F5;

  /* Semantic — LIGHT (reading mode, default) */
  --tng-bg: var(--tng-white);
  --tng-bg-alt: var(--tng-gray-50);
  --tng-surface: var(--tng-white);
  --tng-surface-2: var(--tng-gray-100);
  --tng-glass: rgba(255,255,255,.72);
  --tng-border: #E3E0EF;
  --tng-border-strong: #8D83B8;
  --tng-heading: var(--tng-gray-900);
  --tng-text: var(--tng-gray-800);
  --tng-muted: var(--tng-gray-700);
  --tng-link: var(--tng-purple-600);
  --tng-link-hover: var(--tng-purple-700);
  --tng-brand: var(--tng-purple-500);
  --tng-brand-hover: var(--tng-purple-700);
  --tng-on-brand: #FFFFFF;
  --tng-accent: var(--tng-yellow-400);
  --tng-accent-hover: var(--tng-yellow-300);
  --tng-on-accent: #1A1A1A;
  --tng-accent-text: var(--tng-yellow-800);
  --tng-tint: var(--tng-purple-50);
  --tng-tint-text: var(--tng-purple-700);
  --tng-focus: var(--tng-purple-700);
  --tng-up: #0F7A4A;   --tng-up-bg: #E7F6EE;
  --tng-down: #B42318; --tng-down-bg: #FDECEA;
  --tng-flat: var(--tng-gray-700); --tng-flat-bg: var(--tng-gray-100);

  /* Type */
  --tng-font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --tng-font-text: "Figtree", "Segoe UI", system-ui, sans-serif;
  --tng-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --tng-fs-display: clamp(2.5rem, 1.57rem + 3.97vw, 4.5rem);   /* 40 → 72 */
  --tng-fs-h1: clamp(2.125rem, 1.66rem + 1.99vw, 3.25rem);     /* 34 → 52 */
  --tng-fs-h2: clamp(1.75rem, 1.44rem + 1.32vw, 2.5rem);       /* 28 → 40 */
  --tng-fs-h3: clamp(1.375rem, 1.22rem + .66vw, 1.75rem);      /* 22 → 28 */
  --tng-fs-h4: clamp(1.125rem, 1.07rem + .25vw, 1.3125rem);    /* 18 → 21 */
  --tng-fs-lead: clamp(1.125rem, 1.07rem + .22vw, 1.25rem);    /* 18 → 20 */
  --tng-fs-body: 1.0625rem;  /* 17 prose */
  --tng-fs-ui: 1rem;         /* 16 UI */
  --tng-fs-small: .875rem;   /* 14 */
  --tng-fs-caption: .8125rem;/* 13 */
  --tng-fs-eyebrow: .75rem;  /* 12 mono caps */

  /* Space (4/8) */
  --tng-space-1:4px; --tng-space-2:8px; --tng-space-3:12px; --tng-space-4:16px; --tng-space-5:24px;
  --tng-space-6:32px; --tng-space-7:48px; --tng-space-8:64px; --tng-space-9:96px; --tng-space-10:128px;
  --tng-section-y: var(--tng-space-9);
  --tng-gutter: var(--tng-space-5);

  /* Radius */
  --tng-radius-xs:6px; --tng-radius-sm:10px; --tng-radius-md:14px; --tng-radius-lg:20px; --tng-radius-xl:28px; --tng-radius-pill:999px;

  /* Containers */
  --tng-w-wide:1280px; --tng-w-default:1140px; --tng-w-prose:760px;

  /* Shadows & glows */
  --tng-shadow-sm: 0 1px 2px rgba(26,16,64,.06), 0 1px 1px rgba(26,16,64,.04);
  --tng-shadow-md: 0 6px 20px -6px rgba(26,16,64,.14), 0 2px 6px rgba(26,16,64,.06);
  --tng-shadow-lg: 0 24px 48px -16px rgba(26,16,64,.22);
  --tng-glow-brand: 0 0 0 1px rgba(108,45,255,.55), 0 10px 36px -8px rgba(108,45,255,.55);
  --tng-glow-accent: 0 0 0 1px rgba(255,185,45,.6), 0 10px 36px -10px rgba(255,185,45,.5);

  /* Motion */
  --tng-dur-1:120ms; --tng-dur-2:200ms; --tng-dur-3:320ms; --tng-dur-4:600ms;
  --tng-ease-out: cubic-bezier(.22,1,.36,1);
  --tng-ease-inout: cubic-bezier(.65,0,.35,1);

  /* Layers */
  --tng-z-header:100; --tng-z-mega:110; --tng-z-drawer:120; --tng-z-cookie:200;
}

/* Semantic — DARK (impact sections). Add class `tng-dark` to any Elementor
   container; everything inside switches. [data-theme="dark"] = preview. */
.tng-dark, [data-theme="dark"] {
  --tng-bg: var(--tng-ink-950);
  --tng-bg-alt: var(--tng-ink-900);
  --tng-surface: var(--tng-ink-800);
  --tng-surface-2: var(--tng-ink-700);
  --tng-glass: rgba(27,20,66,.55);
  --tng-border: #2E2466;
  --tng-border-strong: #7C71B0;
  --tng-heading: #FFFFFF;
  --tng-text: #C9C4E3;
  --tng-muted: #A9A3C7;
  --tng-link: #BCA0FF;
  --tng-link-hover: #FFFFFF;
  --tng-brand-hover: var(--tng-purple-700);
  --tng-accent-text: var(--tng-yellow-400);
  --tng-tint: rgba(108,45,255,.18);
  --tng-tint-text: #CDB8FF;
  --tng-focus: var(--tng-yellow-400);
  --tng-up: #3DDC97;   --tng-up-bg: rgba(61,220,151,.12);
  --tng-down: #FF8A80; --tng-down-bg: rgba(255,138,128,.12);
  --tng-flat: #A9A3C7; --tng-flat-bg: rgba(169,163,199,.12);
  --tng-shadow-md: 0 8px 24px -8px rgba(0,0,0,.5);
  --tng-shadow-lg: 0 24px 60px -20px rgba(0,0,0,.7);
  color: var(--tng-text);
  background-color: var(--tng-bg);
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
body { font-family: var(--tng-font-text); color: var(--tng-text); background: var(--tng-bg); -webkit-font-smoothing: antialiased; }
.tng-page { font-family: var(--tng-font-text); font-size: var(--tng-fs-ui); line-height: 1.6; color: var(--tng-text); background: var(--tng-bg); }
.tng-page *, .tng-page *::before, .tng-page *::after { box-sizing: border-box; }
:where(.tng-page, .tng-dark) img { max-width: 100%; height: auto; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--tng-focus); outline-offset: 3px; border-radius: 4px;
}
.tng-sr-only { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.tng-skip { position:absolute; left:16px; top:-60px; z-index:999; background:var(--tng-accent); color:var(--tng-on-accent); padding:12px 16px; border-radius:var(--tng-radius-sm); font-weight:600; }
.tng-skip:focus { top:12px; }

/* Layout helpers — mirror Elementor containers (boxed width + gutter) */
.tng-section { padding: var(--tng-section-y) var(--tng-gutter); background: var(--tng-bg); position: relative; }
.tng-section--alt { background: var(--tng-bg-alt); }
.tng-section--tight { --tng-section-y: var(--tng-space-8); }
.tng-container { width: 100%; max-width: var(--tng-w-default); margin-inline: auto; }
.tng-container--wide { max-width: var(--tng-w-wide); }
.tng-container--prose { max-width: var(--tng-w-prose); }
.tng-row { display:flex; flex-direction:row; gap: var(--tng-space-5); }
.tng-col { display:flex; flex-direction:column; gap: var(--tng-space-4); }
.tng-wrap { flex-wrap: wrap; }
.tng-center { align-items:center; }
.tng-between { justify-content: space-between; }
.tng-grow { flex:1 1 0; min-width:0; }
.tng-stack-sm > * + * { margin-top: var(--tng-space-3); }
.tng-grid-bg {
  background-image:
    linear-gradient(to right, rgba(140,120,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140,120,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY  (add the class to an Elementor Heading / Text widget)
   -------------------------------------------------------------------------- */
.tng-display, .tng-display .elementor-heading-title,
.tng-h1, .tng-h1 .elementor-heading-title,
.tng-h2, .tng-h2 .elementor-heading-title,
.tng-h3, .tng-h3 .elementor-heading-title,
.tng-h4, .tng-h4 .elementor-heading-title {
  font-family: var(--tng-font-display); color: var(--tng-heading); margin: 0; text-wrap: balance;
}
.tng-display, .tng-display .elementor-heading-title { font-size: var(--tng-fs-display); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
.tng-h1, .tng-h1 .elementor-heading-title { font-size: var(--tng-fs-h1); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.tng-h2, .tng-h2 .elementor-heading-title { font-size: var(--tng-fs-h2); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }
.tng-h3, .tng-h3 .elementor-heading-title { font-size: var(--tng-fs-h3); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.tng-h4, .tng-h4 .elementor-heading-title { font-size: var(--tng-fs-h4); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.tng-lead { font-size: var(--tng-fs-lead); line-height: 1.55; color: var(--tng-text); margin: 0; max-width: 62ch; }
.tng-body { font-size: var(--tng-fs-ui); line-height: 1.6; margin: 0; }
.tng-small { font-size: var(--tng-fs-small); line-height: 1.5; }
.tng-caption { font-size: var(--tng-fs-caption); line-height: 1.45; color: var(--tng-muted); }
.tng-muted { color: var(--tng-muted); }
.tng-eyebrow { font-family: var(--tng-font-mono); font-size: var(--tng-fs-eyebrow); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tng-tint-text); display:inline-flex; align-items:center; gap:8px; margin:0; }
.tng-eyebrow::before { content:""; width:8px; height:8px; border-radius:50%; background: var(--tng-accent); }
.tng-mono, .tng-num { font-family: var(--tng-font-mono); font-feature-settings: "tnum" 1, "zero" 1; }
.tng-hl { color: var(--tng-accent-text); }            /* highlighted word in a heading */
.tng-dark .tng-hl, [data-theme="dark"] .tng-hl { color: var(--tng-yellow-400); }
.tng-gradient-text { background: linear-gradient(90deg, #CDB8FF, #FFFFFF 60%); -webkit-background-clip:text; background-clip:text; color: transparent; }

/* Links in running text */
.tng-link, .tng-prose a:not(.wp-block-button__link):not(.tng-btn) {
  color: var(--tng-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
  text-decoration-color: color-mix(in srgb, var(--tng-link) 45%, transparent);
  transition: color var(--tng-dur-1), text-decoration-color var(--tng-dur-1);
}
.tng-link:hover, .tng-prose a:not(.wp-block-button__link):not(.tng-btn):hover { color: var(--tng-link-hover); text-decoration-color: currentColor; text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   4. BUTTONS  — HTML: <a class="tng-btn tng-btn--primary">
   Elementor Button widget: add CSS class `tng-btn--primary` (etc.) to the widget.
   -------------------------------------------------------------------------- */
.tng-btn, [class*="tng-btn--"] .elementor-button {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:48px; padding: 0 22px; border-radius: var(--tng-radius-pill);
  font-family: var(--tng-font-display); font-size: 1rem; font-weight: 600; letter-spacing: -.005em; line-height: 1;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color var(--tng-dur-2) var(--tng-ease-out), color var(--tng-dur-2), border-color var(--tng-dur-2), box-shadow var(--tng-dur-2), transform var(--tng-dur-1);
}
.tng-btn svg, [class*="tng-btn--"] .elementor-button svg { width:18px; height:18px; flex:none; transition: transform var(--tng-dur-2) var(--tng-ease-out); }
.tng-btn:hover svg { transform: translateX(3px); }
.tng-btn:active, [class*="tng-btn--"] .elementor-button:active { transform: translateY(1px); }
.tng-btn--sm { min-height:44px; padding:0 16px; font-size:.9375rem; }
.tng-btn--lg { min-height:56px; padding:0 28px; font-size:1.0625rem; }
.tng-btn--block { width:100%; }

.tng-btn--primary, .tng-btn--primary .elementor-button { background: var(--tng-brand); color: var(--tng-on-brand); }
.tng-btn--primary:hover, .tng-btn--primary .elementor-button:hover { background: var(--tng-brand-hover); color:#fff; box-shadow: var(--tng-glow-brand); }
.tng-btn--primary:active, .tng-btn--primary .elementor-button:active { background: var(--tng-purple-800); }

.tng-btn--accent, .tng-btn--accent .elementor-button { background: var(--tng-accent); color: var(--tng-on-accent); }
.tng-btn--accent:hover, .tng-btn--accent .elementor-button:hover { background: var(--tng-accent-hover); color: var(--tng-on-accent); box-shadow: var(--tng-glow-accent); }
.tng-btn--accent:active, .tng-btn--accent .elementor-button:active { background: var(--tng-yellow-500); }

.tng-btn--secondary, .tng-btn--secondary .elementor-button { background: transparent; color: var(--tng-heading); border-color: var(--tng-border-strong); }
.tng-btn--secondary:hover, .tng-btn--secondary .elementor-button:hover { border-color: var(--tng-brand); color: var(--tng-heading); background: var(--tng-tint); }

.tng-btn--ghost, .tng-btn--ghost .elementor-button { background: transparent; color: var(--tng-link); padding-inline: 14px; }
.tng-btn--ghost:hover, .tng-btn--ghost .elementor-button:hover { background: var(--tng-tint); color: var(--tng-link-hover); }

.tng-btn[disabled], .tng-btn[aria-disabled="true"], .tng-btn.is-disabled {
  background: var(--tng-surface-2) !important; color: var(--tng-muted) !important; border-color: var(--tng-border) !important;
  box-shadow:none !important; cursor: not-allowed; transform:none !important;
}

/* Arrow link: "Read the report →" */
.tng-arrow-link { white-space:nowrap; display:inline-flex; align-items:center; gap:8px; min-height:44px; color: var(--tng-link); font-family: var(--tng-font-display); font-weight:600; text-decoration:none; }
.tng-arrow-link svg { width:18px; height:18px; transition: transform var(--tng-dur-2) var(--tng-ease-out); }
.tng-arrow-link:hover { color: var(--tng-link-hover); }
.tng-arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. CHIPS & BADGES
   -------------------------------------------------------------------------- */
.tng-chip { flex:none; display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 10px; border-radius: var(--tng-radius-pill);
  font-family: var(--tng-font-text); font-size: .8125rem; font-weight: 600; line-height:1; white-space:nowrap;
  background: var(--tng-tint); color: var(--tng-tint-text); border:1px solid transparent; text-decoration:none; }
.tng-chip svg { width:14px; height:14px; }
a.tng-chip, button.tng-chip { min-height:36px; height:auto; padding:0 14px; cursor:pointer; transition: background var(--tng-dur-1), border-color var(--tng-dur-1), color var(--tng-dur-1); }
a.tng-chip:hover, button.tng-chip:hover { border-color: var(--tng-brand); }
.tng-chip--filter { background: transparent; color: var(--tng-text); border-color: var(--tng-border); }
.tng-chip--filter[aria-pressed="true"], .tng-chip--filter.is-active { background: var(--tng-brand); color: #fff; border-color: var(--tng-brand); }
.tng-chip--up, .tng-chip--down, .tng-chip--flat { font-family: var(--tng-font-mono); font-weight:600; font-size:.75rem; height:24px; padding:0 8px; }
.tng-chip--up { background: var(--tng-up-bg); color: var(--tng-up); }
.tng-chip--down { background: var(--tng-down-bg); color: var(--tng-down); }
.tng-chip--flat { background: var(--tng-flat-bg); color: var(--tng-flat); }
.tng-chip--up::before { content:"▲"; font-size:.625rem; }
.tng-chip--down::before { content:"▼"; font-size:.625rem; }
.tng-chip--flat::before { content:"■"; font-size:.5rem; }

.tng-badge { white-space:nowrap; flex:none; display:inline-flex; align-items:center; gap:6px; height:26px; padding:0 10px; border-radius: var(--tng-radius-xs);
  font-family: var(--tng-font-mono); font-size:.6875rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; line-height:1; }
.tng-badge svg { width:13px; height:13px; }
.tng-badge--data { background: var(--tng-accent); color: var(--tng-on-accent); }
.tng-badge--updated { background: transparent; color: var(--tng-heading); border:1px solid var(--tng-border-strong); }
.tng-badge--new { background: var(--tng-brand); color:#fff; }

/* --------------------------------------------------------------------------
   6. CARDS  — base + glow-on-hover (pointer position from tng.js: --mx/--my)
   -------------------------------------------------------------------------- */
.tng-card { position:relative; display:flex; flex-direction:column; gap: var(--tng-space-3);
  background: var(--tng-surface); border:1px solid var(--tng-border); border-radius: var(--tng-radius-lg);
  padding: var(--tng-space-5); color: var(--tng-text); text-decoration:none; isolation:isolate;
  transition: transform var(--tng-dur-3) var(--tng-ease-out), box-shadow var(--tng-dur-3) var(--tng-ease-out), border-color var(--tng-dur-2); }
.tng-card::before { content:""; position:absolute; inset:-1px; border-radius: inherit; padding:1px; z-index:-1; pointer-events:none; opacity:0;
  background: radial-gradient(240px circle at var(--mx,50%) var(--my,0%), var(--tng-purple-400), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity var(--tng-dur-3); }
.tng-card:is(a, .is-link):hover, .tng-card:focus-within { transform: translateY(-3px); box-shadow: var(--tng-shadow-lg); border-color: color-mix(in srgb, var(--tng-brand) 40%, var(--tng-border)); }
.tng-card:hover::before, .tng-card:focus-within::before { opacity:1; }
.tng-card--glass { background: var(--tng-glass); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: rgba(205,184,255,.18); }
.tng-card--flat { box-shadow:none; background: var(--tng-bg-alt); border-color: transparent; }
.tng-card__title { font-family: var(--tng-font-display); font-size: 1.25rem; line-height:1.3; font-weight:600; letter-spacing:-.01em; color: var(--tng-heading); margin:0; }
.tng-card__title a { color: inherit; text-decoration: none; }
.tng-card__title a::after { content:""; position:absolute; inset:0; border-radius:inherit; } /* whole card clickable, one link */
.tng-card__meta { display:flex; flex-wrap:wrap; align-items:center; gap: 8px 12px; font-size: var(--tng-fs-caption); color: var(--tng-muted); }
.tng-card__excerpt { margin:0; font-size:.9375rem; line-height:1.55; color: var(--tng-text); }
.tng-card__foot { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top: var(--tng-space-3); }

/* Article card (Loop Grid item) */
.tng-card--article { padding:0; overflow:hidden; }
.tng-card--article .tng-card__media { aspect-ratio: 16/9; background: var(--tng-ink-900); overflow:hidden; }
.tng-card--article .tng-card__media > * { width:100%; height:100%; display:block; object-fit:cover; transition: transform var(--tng-dur-4) var(--tng-ease-out); }
.tng-card--article:hover .tng-card__media > * { transform: scale(1.04); }
.tng-card--article .tng-card__body { display:flex; flex-direction:column; gap: var(--tng-space-3); padding: var(--tng-space-5); flex:1; }

/* Niche report card with metrics */
.tng-metrics { display:flex; flex-direction:column; gap: 6px; margin:0; padding: 10px 14px; background: var(--tng-bg-alt); border-radius: var(--tng-radius-md); }
.tng-metric { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:24px; }
.tng-metric dt, .tng-metric__label { font-family: var(--tng-font-mono); font-size:.6875rem; letter-spacing:.08em; text-transform:uppercase; color: var(--tng-muted); margin:0; }
.tng-metric dd, .tng-metric__value { margin:0; font-family: var(--tng-font-display); font-weight:600; font-size:1rem; color: var(--tng-heading); display:flex; align-items:center; gap:6px; }
.tng-meter { display:inline-flex; gap:3px; }
.tng-meter i { width:6px; height:14px; border-radius:2px; background: var(--tng-border); }
.tng-meter[data-level="1"] i:nth-child(-n+1), .tng-meter[data-level="2"] i:nth-child(-n+2),
.tng-meter[data-level="3"] i:nth-child(-n+3), .tng-meter[data-level="4"] i:nth-child(-n+4),
.tng-meter[data-level="5"] i:nth-child(-n+5) { background: var(--tng-brand); }
.tng-dark .tng-meter[data-level="1"] i:nth-child(-n+1), .tng-dark .tng-meter[data-level="2"] i:nth-child(-n+2),
.tng-dark .tng-meter[data-level="3"] i:nth-child(-n+3), .tng-dark .tng-meter[data-level="4"] i:nth-child(-n+4),
.tng-dark .tng-meter[data-level="5"] i:nth-child(-n+5),
[data-theme="dark"] .tng-meter[data-level="1"] i:nth-child(-n+1), [data-theme="dark"] .tng-meter[data-level="2"] i:nth-child(-n+2),
[data-theme="dark"] .tng-meter[data-level="3"] i:nth-child(-n+3), [data-theme="dark"] .tng-meter[data-level="4"] i:nth-child(-n+4),
[data-theme="dark"] .tng-meter[data-level="5"] i:nth-child(-n+5) { background: var(--tng-purple-300); }

/* Category card */
.tng-card--category { gap: var(--tng-space-4); }
.tng-icon-tile { width:48px; height:48px; border-radius: var(--tng-radius-md); display:grid; place-items:center; background: var(--tng-tint); color: var(--tng-brand); flex:none; }
.tng-dark .tng-icon-tile, [data-theme="dark"] .tng-icon-tile { color: #CDB8FF; }
.tng-icon-tile svg { width:24px; height:24px; }
.tng-icon-tile--accent { background: var(--tng-accent); color: var(--tng-on-accent) !important; }

/* Testimonial card (OPTIONAL module — only real, attributable quotes) */
.tng-card--quote blockquote { margin:0; font-size:1.0625rem; line-height:1.6; color: var(--tng-heading); }
.tng-card--quote figcaption { display:flex; align-items:center; gap:12px; font-size: var(--tng-fs-small); color: var(--tng-muted); }
.tng-avatar { width:44px; height:44px; border-radius:50%; background: var(--tng-tint); color: var(--tng-tint-text); display:grid; place-items:center; font-family: var(--tng-font-display); font-weight:700; flex:none; overflow:hidden; }

/* --------------------------------------------------------------------------
   7. HEADER (sticky) + MEGA MENU + MOBILE DRAWER
   Build in Elementor: Theme Builder › Header, container class `tng-header`,
   Pro "Menu" widget (mega menu) with class `tng-nav`.
   -------------------------------------------------------------------------- */
.tng-header { position: sticky; top:0; z-index: var(--tng-z-header); background: rgba(11,8,32,.82); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-bottom:1px solid rgba(205,184,255,.14); color:#fff; }
.tng-header--light { background: rgba(255,255,255,.86); border-bottom-color: var(--tng-border); color: var(--tng-heading); }
.tng-header__bar { max-width: 1440px; margin-inline:auto; height:72px; padding:0 var(--tng-gutter); display:flex; align-items:center; gap: var(--tng-space-4); }
.tng-header__logo { display:flex; align-items:center; min-height:44px; flex:none; }
.tng-header__logo img { height:22px; width:auto; display:block; }
.tng-nav { display:flex; align-items:center; gap: 2px; margin:0; padding:0; list-style:none; flex:1; }
.tng-nav > li { position: static; }
.tng-nav__link { white-space:nowrap; display:inline-flex; align-items:center; gap:4px; min-height:44px; padding:0 8px; border-radius: var(--tng-radius-sm);
  font-family: var(--tng-font-display); font-weight:500; font-size:.875rem; color: inherit; text-decoration:none; background:none; border:0; cursor:pointer; }
.tng-nav__link svg { width:16px; height:16px; opacity:.7; transition: transform var(--tng-dur-2); }
.tng-nav__link:hover, .tng-nav__link[aria-expanded="true"] { background: rgba(205,184,255,.12); }
.tng-header--light .tng-nav__link:hover, .tng-header--light .tng-nav__link[aria-expanded="true"] { background: var(--tng-tint); }
.tng-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.tng-header__actions { display:flex; align-items:center; gap: var(--tng-space-2); flex:none; }
.tng-icon-btn { width:44px; height:44px; display:grid; place-items:center; border-radius: var(--tng-radius-sm); background:none; border:1px solid transparent; color: inherit; cursor:pointer; }
.tng-icon-btn:hover { background: rgba(205,184,255,.12); }
.tng-icon-btn svg { width:20px; height:20px; }
.tng-burger { display:none; }

.tng-mega { position:absolute; left:0; right:0; top:100%; z-index: var(--tng-z-mega); padding: var(--tng-space-5) var(--tng-gutter) var(--tng-space-6);
  background: var(--tng-ink-900); border-bottom:1px solid rgba(205,184,255,.14); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity:0; visibility:hidden; transform: translateY(-6px); transition: opacity var(--tng-dur-2), transform var(--tng-dur-2) var(--tng-ease-out), visibility 0s linear var(--tng-dur-2); }
.tng-mega.is-open { opacity:1; visibility:visible; transform:none; transition-delay:0s; }
.tng-mega__inner { max-width: var(--tng-w-wide); margin-inline:auto; display:flex; gap: var(--tng-space-6); }
.tng-mega__col { flex:1 1 0; display:flex; flex-direction:column; gap: 4px; }
.tng-mega__col--feature { flex: 1.3 1 0; }
.tng-mega__title { font-family: var(--tng-font-mono); font-size:.6875rem; letter-spacing:.12em; text-transform:uppercase; color:#A9A3C7; margin:0 0 8px 12px; }
.tng-mega__item { display:flex; gap:12px; align-items:flex-start; padding:10px 12px; border-radius: var(--tng-radius-md); color:#fff; text-decoration:none; min-height:44px; }
.tng-mega__item:hover { background: rgba(205,184,255,.1); }
.tng-mega__item strong { display:block; font-family: var(--tng-font-display); font-weight:600; font-size:.9375rem; }
.tng-mega__item span { display:block; font-size:.8125rem; color:#A9A3C7; line-height:1.4; }
.tng-mega__item .tng-icon-tile { width:36px; height:36px; border-radius: var(--tng-radius-sm); background: rgba(108,45,255,.22); color:#CDB8FF; }
.tng-mega__item .tng-icon-tile svg { width:18px; height:18px; }

.tng-drawer { position:fixed; inset:0; z-index: var(--tng-z-drawer); background: var(--tng-ink-950); color:#fff; display:flex; flex-direction:column; overflow-y:auto;
  opacity:0; transform: translateY(-8px); visibility:hidden; pointer-events:none; transition: opacity var(--tng-dur-3), transform var(--tng-dur-3) var(--tng-ease-out), visibility 0s linear var(--tng-dur-3); }
.tng-drawer.is-open { opacity:1; transform:none; visibility:visible; pointer-events:auto; transition-delay:0s; }
.tng-drawer__head { height:64px; display:flex; align-items:center; justify-content:space-between; padding:0 16px; border-bottom:1px solid rgba(205,184,255,.14); flex:none; }
.tng-drawer__body { padding: 8px 16px 24px; display:flex; flex-direction:column; gap:4px; }
.tng-drawer details { border-bottom:1px solid rgba(205,184,255,.12); }
.tng-drawer summary { list-style:none; min-height:56px; display:flex; align-items:center; justify-content:space-between; font-family: var(--tng-font-display); font-size:1.125rem; font-weight:600; cursor:pointer; }
.tng-drawer summary::-webkit-details-marker { display:none; }
.tng-drawer summary svg { width:20px; height:20px; transition: transform var(--tng-dur-2); }
.tng-drawer details[open] summary svg { transform: rotate(180deg); }
.tng-drawer details a { display:flex; align-items:center; min-height:44px; padding-left:12px; color:#C9C4E3; text-decoration:none; font-size:1rem; }
.tng-drawer details a:hover { color:#fff; }
.tng-drawer__cta { margin-top:auto; padding:16px; display:flex; flex-direction:column; gap:12px; border-top:1px solid rgba(205,184,255,.14); }

/* Header fit: full labels need ≥1280px. 1280–1439: compact (no chevrons, search moves into the Resources mega + drawer). ≤1279 (Elementor "Laptop" breakpoint set to 1279): burger. */
@media (max-width:1439px) { .tng-header__bar { gap: var(--tng-space-4); } .tng-nav__link { padding:0 8px; font-size:.875rem; } .tng-nav__link svg, .tng-header__search { display:none; } .tng-header__logo img { height:22px; } .tng-cta-long { display:none; } }
@media (max-width:1279px) { .tng-nav, .tng-mega { display:none; } .tng-burger { display:grid; } .tng-header__bar { justify-content: space-between; } }

/* Elementor Pro "Menu" widget skin (class `tng-nav` on the widget) */
.tng-nav .e-n-menu-title { font-family: var(--tng-font-display); font-weight:500; border-radius: var(--tng-radius-sm); }
.tng-nav .e-n-menu-content > .e-con { background: var(--tng-ink-900); }

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
.tng-footer { background: var(--tng-ink-950); color:#C9C4E3; padding: var(--tng-space-9) var(--tng-gutter) var(--tng-space-6); }
.tng-footer__inner { max-width: var(--tng-w-wide); margin-inline:auto; display:flex; flex-direction:column; gap: var(--tng-space-8); }
.tng-footer__top { display:flex; gap: var(--tng-space-7); }
.tng-footer__brand { flex: 1.4 1 0; display:flex; flex-direction:column; gap: var(--tng-space-4); max-width: 360px; }
.tng-footer__col { flex:1 1 0; display:flex; flex-direction:column; gap: 2px; }
.tng-footer__col h3 { font-family: var(--tng-font-mono); font-size:.6875rem; letter-spacing:.12em; text-transform:uppercase; color:#A9A3C7; margin:0 0 10px; font-weight:500; }
.tng-footer__col a { color:#fff; text-decoration:none; min-height:36px; display:flex; align-items:center; font-size:.9375rem; }
.tng-footer__col a:hover { color: var(--tng-yellow-400); }
.tng-footer__bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap: 12px 24px; padding-top: var(--tng-space-5); border-top:1px solid rgba(205,184,255,.14); font-size: var(--tng-fs-caption); color:#A9A3C7; }
.tng-footer__bottom a { color:#C9C4E3; }
.tng-footer__legal { display:flex; flex-wrap:wrap; gap: 4px 20px; }

/* --------------------------------------------------------------------------
   9. NAV AIDS: breadcrumbs, TOC, pagination
   -------------------------------------------------------------------------- */
.tng-breadcrumbs, .tng-breadcrumbs ol { display:flex; flex-wrap:wrap; align-items:center; gap:6px; list-style:none; margin:0; padding:0; font-size: var(--tng-fs-caption); color: var(--tng-muted); }
.tng-breadcrumbs li + li::before { content:"/"; margin-right:6px; opacity:.6; }
.tng-breadcrumbs a { color: var(--tng-muted); text-decoration:none; }
.tng-breadcrumbs a:hover { color: var(--tng-link); text-decoration: underline; }
.tng-breadcrumbs [aria-current] { color: var(--tng-heading); }

.tng-toc { position: sticky; top: 96px; display:flex; flex-direction:column; gap:4px; padding: var(--tng-space-4); border:1px solid var(--tng-border); border-radius: var(--tng-radius-md); background: var(--tng-surface); max-height: calc(100vh - 120px); overflow:auto; }
.tng-toc__title { font-family: var(--tng-font-mono); font-size:.6875rem; letter-spacing:.12em; text-transform:uppercase; color: var(--tng-muted); margin:0 0 6px; }
.tng-toc ol { list-style:none; margin:0; padding:0; counter-reset: toc; }
.tng-toc li a { position:relative; display:flex; gap:10px; padding: 7px 8px 7px 12px; border-radius: var(--tng-radius-xs); font-size:.875rem; line-height:1.4; color: var(--tng-text); text-decoration:none; }
.tng-toc li a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--tng-font-mono); font-size:.75rem; color: var(--tng-muted); padding-top:1px; }
.tng-toc li a:hover { background: var(--tng-bg-alt); color: var(--tng-heading); }
.tng-toc li a.is-active { background: var(--tng-tint); color: var(--tng-tint-text); font-weight:600; }
.tng-toc li a.is-active::after { content:""; position:absolute; left:0; top:8px; bottom:8px; width:3px; border-radius:3px; background: var(--tng-brand); }
.tng-toc__progress { height:3px; border-radius:3px; background: var(--tng-border); overflow:hidden; margin-top:8px; }
.tng-toc__progress i { display:block; height:100%; width:0; background: var(--tng-brand); }
.tng-toc--mobile { position: static; max-height:none; }
.tng-toc--mobile summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; font-family: var(--tng-font-display); font-weight:600; cursor:pointer; color: var(--tng-heading); list-style:none; }
.tng-toc--mobile summary::-webkit-details-marker { display:none; }
/* Elementor Pro Table of Contents widget skin (class `tng-toc-el`) */
.tng-toc-el .elementor-toc__header { border:0; padding-bottom:0; }
.tng-toc-el .elementor-toc__header-title { font-family: var(--tng-font-mono); font-size:.6875rem; letter-spacing:.12em; text-transform:uppercase; }
.tng-toc-el .elementor-toc__list-item-text-wrapper a { color: var(--tng-text); font-size:.875rem; }
.tng-toc-el .elementor-item-active { color: var(--tng-tint-text) !important; font-weight:600; }

.tng-pagination, .tng-pagination .elementor-pagination { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap: 6px; }
.tng-pagination a, .tng-pagination span, .tng-pagination .page-numbers { min-width:44px; height:44px; padding:0 12px; display:inline-grid; place-items:center; border-radius: var(--tng-radius-sm);
  border:1px solid var(--tng-border); color: var(--tng-heading); text-decoration:none; font-family: var(--tng-font-mono); font-size:.875rem; font-weight:500; background: var(--tng-surface); }
.tng-pagination a:hover, .tng-pagination .page-numbers:hover { border-color: var(--tng-brand); color: var(--tng-link); }
.tng-pagination [aria-current], .tng-pagination .current { background: var(--tng-brand); color:#fff; border-color: var(--tng-brand); }
.tng-pagination .dots { border-color: transparent; background: none; }

/* --------------------------------------------------------------------------
   10. CONTENT BOXES: Key takeaways · Quick stats · Pros/Cons · Glance
   (usable in Elementor containers AND as Gutenberg Group block class)
   -------------------------------------------------------------------------- */
.tng-box { border-radius: var(--tng-radius-lg); padding: var(--tng-space-5) var(--tng-space-6); margin: var(--tng-space-6) 0; border:1px solid var(--tng-border); background: var(--tng-surface); }
.tng-box__title { display:flex; align-items:center; gap:10px; font-family: var(--tng-font-display); font-size:1.125rem; font-weight:700; color: var(--tng-heading); margin:0 0 var(--tng-space-3); }
.tng-box__title svg { width:20px; height:20px; color: var(--tng-brand); }
.tng-box--takeaways { background: var(--tng-tint); border-color: transparent; }
.tng-box--takeaways ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.tng-box--takeaways li { position:relative; padding-left:30px; line-height:1.55; color: var(--tng-heading); }
.tng-box--takeaways li::before { content:""; position:absolute; left:0; top:3px; width:20px; height:20px; border-radius:50%; background: var(--tng-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.tng-stats { display:flex; flex-wrap:wrap; gap: var(--tng-space-3); margin:0; padding:0; }
.tng-stat { flex: 1 1 150px; display:flex; flex-direction:column; gap:4px; padding: var(--tng-space-4); border-radius: var(--tng-radius-md); background: var(--tng-bg-alt); margin:0; }
.tng-stat dt, .tng-stat__label { order:2; font-size: var(--tng-fs-caption); color: var(--tng-muted); margin:0; }
.tng-stat dd, .tng-stat__value { order:1; margin:0; font-family: var(--tng-font-display); font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); font-weight:700; letter-spacing:-.02em; color: var(--tng-heading); line-height:1.1; font-feature-settings:"tnum" 1; }
.tng-stat__source { order:3; font-family: var(--tng-font-mono); font-size:.6875rem; color: var(--tng-muted); }
.tng-proscons { display:flex; gap: var(--tng-space-4); margin: var(--tng-space-6) 0; }
.tng-proscons > div { flex:1 1 0; border-radius: var(--tng-radius-lg); padding: var(--tng-space-5); border:1px solid var(--tng-border); background: var(--tng-surface); }
.tng-proscons h4 { display:flex; align-items:center; gap:8px; margin:0 0 12px; font-family: var(--tng-font-display); font-size:1rem; font-weight:700; color: var(--tng-heading); }
.tng-proscons ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.tng-proscons li { position:relative; padding-left:24px; line-height:1.5; font-size:.9375rem; }
.tng-proscons__pros li::before { content:"+"; position:absolute; left:0; font-family: var(--tng-font-mono); font-weight:700; color: var(--tng-up); }
.tng-proscons__cons li::before { content:"−"; position:absolute; left:0; font-family: var(--tng-font-mono); font-weight:700; color: var(--tng-down); }
.tng-proscons__pros { border-top: 3px solid var(--tng-up) !important; }
.tng-proscons__cons { border-top: 3px solid var(--tng-down) !important; }

/* Niche at a glance */
.tng-glance { border-radius: var(--tng-radius-xl); padding: var(--tng-space-5); background: var(--tng-ink-900); color:#C9C4E3; border:1px solid rgba(205,184,255,.16); display:flex; flex-direction:column; gap: var(--tng-space-4); position:relative; overflow:hidden; }
.tng-glance::after { content:""; position:absolute; width:260px; height:260px; right:-90px; top:-120px; background: radial-gradient(closest-side, rgba(108,45,255,.55), transparent); pointer-events:none; }
.tng-glance__head { display:flex; align-items:center; justify-content:space-between; gap:12px; position:relative; z-index:1; }
.tng-glance__title { font-family: var(--tng-font-mono); font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; color:#fff; margin:0; }
.tng-glance__grid { display:flex; flex-wrap:wrap; gap: 10px; position:relative; z-index:1; }
.tng-glance__cell { flex: 1 1 calc(50% - 5px); min-width:130px; background: rgba(255,255,255,.04); border:1px solid rgba(205,184,255,.12); border-radius: var(--tng-radius-md); padding: 12px 14px; display:flex; flex-direction:column; gap:6px; }
.tng-glance__cell--wide { flex-basis:100%; }
.tng-glance__label { font-family: var(--tng-font-mono); font-size:.6875rem; letter-spacing:.08em; text-transform:uppercase; color:#A9A3C7; }
.tng-glance__value { font-family: var(--tng-font-display); font-size:1.125rem; font-weight:600; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.tng-glance .tng-meter i { background: rgba(205,184,255,.2); }
.tng-glance .tng-meter[data-level="1"] i:nth-child(-n+1), .tng-glance .tng-meter[data-level="2"] i:nth-child(-n+2),
.tng-glance .tng-meter[data-level="3"] i:nth-child(-n+3), .tng-glance .tng-meter[data-level="4"] i:nth-child(-n+4),
.tng-glance .tng-meter[data-level="5"] i:nth-child(-n+5) { background: var(--tng-yellow-400); }
.tng-glance__foot { font-family: var(--tng-font-mono); font-size:.6875rem; color:#A9A3C7; position:relative; z-index:1; }

/* Sparkline (SVG drawn by tng.js from data-points) */
.tng-spark { display:block; width:100%; height:48px; color: var(--tng-up); overflow:visible; }
.tng-spark--down { color: var(--tng-down); }
.tng-glance .tng-spark { color:#3DDC97; }
.tng-spark path.line { fill:none; stroke: currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.tng-spark path.area { fill: currentColor; opacity:.14; stroke:none; }
.tng-spark.is-draw path.line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: tng-draw 1.2s var(--tng-ease-out) forwards; }
@keyframes tng-draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   11. DATA TABLES — horizontal scroll contained on mobile
   -------------------------------------------------------------------------- */
.tng-table-wrap, .tng-prose .wp-block-table { position:relative; overflow-x:auto; -webkit-overflow-scrolling: touch; margin: var(--tng-space-6) 0; border:1px solid var(--tng-border); border-radius: var(--tng-radius-md); background: var(--tng-surface);
  background-image: linear-gradient(to right, var(--tng-surface), var(--tng-surface)), linear-gradient(to right, var(--tng-surface), var(--tng-surface)),
    linear-gradient(to right, rgba(26,16,64,.12), transparent), linear-gradient(to left, rgba(26,16,64,.12), transparent);
  background-position: left center, right center, left center, right center; background-repeat:no-repeat; background-size: 24px 100%, 24px 100%, 12px 100%, 12px 100%; background-attachment: local, local, scroll, scroll; }
.tng-table, .tng-prose .wp-block-table table { width:100%; min-width: 560px; border-collapse:collapse; font-size:.9375rem; }
.tng-table caption, .tng-prose .wp-block-table figcaption { caption-side: bottom; text-align:left; padding:10px 16px; font-size: var(--tng-fs-caption); color: var(--tng-muted); }
.tng-table th, .tng-table td, .tng-prose .wp-block-table th, .tng-prose .wp-block-table td { padding: 12px 16px; text-align:left; border:0; border-bottom:1px solid var(--tng-border); vertical-align:top; }
.tng-table thead th, .tng-prose .wp-block-table thead th { position: sticky; top:0; background: var(--tng-bg-alt); font-family: var(--tng-font-mono); font-size:.6875rem; letter-spacing:.08em; text-transform:uppercase; color: var(--tng-muted); font-weight:600; white-space:nowrap; }
.tng-table tbody tr:last-child td, .tng-prose .wp-block-table tbody tr:last-child td { border-bottom:0; }
.tng-table tbody tr:hover td { background: color-mix(in srgb, var(--tng-tint) 60%, transparent); }
.tng-table td.num, .tng-table th.num { text-align:right; font-family: var(--tng-font-mono); font-feature-settings:"tnum" 1; }
.tng-table th[scope="row"] { font-weight:600; color: var(--tng-heading); }
.tng-table-hint { display:none; font-family: var(--tng-font-mono); font-size:.6875rem; color: var(--tng-muted); margin: -16px 0 16px; }

/* --------------------------------------------------------------------------
   12. FAQ ACCORDION  (native <details> or Elementor Nested Accordion `tng-faq`)
   -------------------------------------------------------------------------- */
.tng-faq { display:flex; flex-direction:column; gap: var(--tng-space-2); }
.tng-faq details, .tng-faq .e-n-accordion-item { border:1px solid var(--tng-border); border-radius: var(--tng-radius-md); background: var(--tng-surface); transition: border-color var(--tng-dur-2), box-shadow var(--tng-dur-2); }
.tng-faq details[open], .tng-faq .e-n-accordion-item[open] { border-color: color-mix(in srgb, var(--tng-brand) 50%, var(--tng-border)); box-shadow: var(--tng-shadow-md); }
.tng-faq summary, .tng-faq .e-n-accordion-item-title { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:56px; padding: 14px 20px; cursor:pointer;
  font-family: var(--tng-font-display); font-weight:600; font-size:1.0625rem; color: var(--tng-heading); }
.tng-faq summary::-webkit-details-marker { display:none; }
.tng-faq summary::after { content:""; flex:none; width:28px; height:28px; border-radius:50%; background: var(--tng-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236C2DFF' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform var(--tng-dur-2) var(--tng-ease-out); }
.tng-dark .tng-faq summary::after, [data-theme="dark"] .tng-faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CDB8FF' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.tng-faq details[open] summary::after { transform: rotate(45deg); }
.tng-faq__answer, .tng-faq .e-n-accordion-item > .e-con { padding: 0 20px 20px; color: var(--tng-text); line-height:1.65; }
.tng-faq__answer p { margin:0 0 10px; } .tng-faq__answer p:last-child { margin:0; }

/* --------------------------------------------------------------------------
   13. FORMS  (plain HTML or Elementor Pro Form with class `tng-form`)
   -------------------------------------------------------------------------- */
.tng-form { display:flex; flex-direction:column; gap: var(--tng-space-4); }
.tng-field { display:flex; flex-direction:column; gap:6px; }
.tng-field label, .tng-form .elementor-field-label { font-size:.875rem; font-weight:600; color: var(--tng-heading); }
.tng-field__hint { font-size: var(--tng-fs-caption); color: var(--tng-muted); }
.tng-input, .tng-form .elementor-field-textual, .tng-form select, .tng-form textarea {
  min-height:48px; width:100%; padding: 12px 14px; border-radius: var(--tng-radius-sm); border:1.5px solid var(--tng-border-strong); background: var(--tng-surface); color: var(--tng-heading);
  font: inherit; font-size:1rem; transition: border-color var(--tng-dur-1), box-shadow var(--tng-dur-1); }
.tng-input::placeholder, .tng-form .elementor-field-textual::placeholder { color: var(--tng-muted); opacity:1; }
.tng-input:hover { border-color: var(--tng-brand); }
.tng-input:focus, .tng-form .elementor-field-textual:focus { outline:none; border-color: var(--tng-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tng-brand) 30%, transparent); }
.tng-input[aria-invalid="true"] { border-color: var(--tng-down); }
.tng-input:disabled { background: var(--tng-surface-2); color: var(--tng-muted); cursor:not-allowed; }
textarea.tng-input { min-height:140px; resize: vertical; }
.tng-field__error { font-size: var(--tng-fs-caption); color: var(--tng-down); font-weight:600; }
.tng-check { display:flex; gap:10px; align-items:flex-start; font-size:.875rem; line-height:1.45; min-height:44px; padding-top:10px; }
.tng-check input { width:20px; height:20px; accent-color: var(--tng-brand); margin:0; flex:none; }
.tng-form .elementor-button { min-height:48px; border-radius: var(--tng-radius-pill); background: var(--tng-brand); font-family: var(--tng-font-display); font-weight:600; }
.tng-form .elementor-button:hover { background: var(--tng-brand-hover); }

/* Inline newsletter: input + button in one pill */
.tng-inline-form { display:flex; gap: 6px; padding:6px; border-radius: var(--tng-radius-pill); background: var(--tng-surface); border:1.5px solid var(--tng-border-strong); max-width: 520px; width:100%; }
.tng-inline-form:focus-within { border-color: var(--tng-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tng-brand) 30%, transparent); }
.tng-inline-form input { flex:1; min-width:0; border:0; background:transparent; padding: 0 14px; min-height:44px; font: inherit; font-size:1rem; color: var(--tng-heading); }
.tng-inline-form input::placeholder { color: var(--tng-muted); opacity:1; }
.tng-inline-form input:focus { outline:none; }
.tng-dark .tng-inline-form, [data-theme="dark"] .tng-inline-form { background: rgba(255,255,255,.06); border-color: #7C71B0; }
.tng-form-note { font-size: var(--tng-fs-caption); color: var(--tng-muted); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.tng-form-note svg { width:14px; height:14px; }

/* --------------------------------------------------------------------------
   14. AUTHOR (E-E-A-T) · RELATED · STEPS · CTA BAND · EMPTY · COOKIE
   -------------------------------------------------------------------------- */
.tng-author { display:flex; flex-wrap:wrap; align-items:center; gap: 12px 20px; font-size:.875rem; color: var(--tng-muted); }
.tng-author__who { display:flex; align-items:center; gap:10px; }
.tng-author__who strong { color: var(--tng-heading); font-weight:600; }
.tng-author__who a { color: inherit; text-decoration:none; }
.tng-author__who a:hover { color: var(--tng-link); text-decoration: underline; }
.tng-author__item { display:inline-flex; align-items:center; gap:6px; }
.tng-author__item svg { width:16px; height:16px; }
.tng-author-box { display:flex; gap: var(--tng-space-5); padding: var(--tng-space-5); border-radius: var(--tng-radius-lg); background: var(--tng-bg-alt); }
.tng-author-box .tng-avatar { width:72px; height:72px; font-size:1.5rem; }
.tng-author-box h3 { margin:0 0 4px; font-family: var(--tng-font-display); font-size:1.125rem; color: var(--tng-heading); }
.tng-author-box p { margin:0 0 8px; font-size:.9375rem; line-height:1.6; }
.tng-creds { display:flex; flex-wrap:wrap; gap:6px; list-style:none; margin:8px 0 0; padding:0; }

.tng-related { display:flex; flex-wrap:wrap; gap: var(--tng-space-3); }
.tng-related .tng-card { flex: 1 1 220px; padding: var(--tng-space-4); flex-direction:row; align-items:center; gap: var(--tng-space-3); }
.tng-related .tng-card__title { font-size:1rem; }

.tng-steps { display:flex; gap: var(--tng-space-5); counter-reset: step; list-style:none; margin:0; padding:0; }
.tng-step { flex:1 1 0; position:relative; display:flex; flex-direction:column; gap: var(--tng-space-3); padding: var(--tng-space-6) var(--tng-space-5) var(--tng-space-5); border-radius: var(--tng-radius-lg); border:1px solid var(--tng-border); background: var(--tng-surface); }
.tng-step__num { font-family: var(--tng-font-mono); font-size:.75rem; font-weight:600; letter-spacing:.1em; color: var(--tng-tint-text); display:flex; align-items:center; gap:10px; }
.tng-step__num::after { content:""; flex:1; height:1px; background: linear-gradient(90deg, var(--tng-border-strong), transparent); }
.tng-step h3 { margin:0; font-family: var(--tng-font-display); font-size:1.375rem; color: var(--tng-heading); }
.tng-step p { margin:0; line-height:1.6; }
.tng-step ul { margin:0; padding-left:18px; font-size:.9375rem; line-height:1.6; }

.tng-cta-band { border-radius: var(--tng-radius-xl); padding: var(--tng-space-8) var(--tng-space-7); position:relative; overflow:hidden; background: var(--tng-ink-900); color:#C9C4E3; isolation:isolate; }
.tng-cta-band::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(600px 300px at 85% 0%, rgba(108,45,255,.55), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(255,185,45,.18), transparent 70%); }
.tng-partner-band { display:flex; align-items:center; justify-content:space-between; gap: var(--tng-space-5); padding: var(--tng-space-5) var(--tng-space-6); border-radius: var(--tng-radius-lg); border:1px solid var(--tng-border); background: var(--tng-surface); }
.tng-partner-band p { margin:0; }

.tng-empty { display:flex; flex-direction:column; align-items:center; text-align:center; gap: var(--tng-space-4); padding: var(--tng-space-8) var(--tng-space-5); }
.tng-empty__art { width: min(320px, 80%); }
.tng-empty__code { font-family: var(--tng-font-mono); font-size: clamp(4rem, 2rem + 8vw, 8rem); font-weight:700; line-height:1; letter-spacing:-.06em; color: var(--tng-heading); }

.tng-cookie { position:fixed; left:16px; right:16px; bottom:16px; z-index: var(--tng-z-cookie); max-width:560px; margin-left:auto; padding: var(--tng-space-5); border-radius: var(--tng-radius-lg);
  background: var(--tng-ink-900); color:#C9C4E3; border:1px solid rgba(205,184,255,.2); box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); display:flex; flex-direction:column; gap: var(--tng-space-3); }
.tng-cookie[hidden] { display:none; }
.tng-cookie h2 { margin:0; font-family: var(--tng-font-display); font-size:1.0625rem; color:#fff; }
.tng-cookie p { margin:0; font-size:.875rem; line-height:1.55; }
.tng-cookie a { color:#BCA0FF; }
.tng-cookie__actions { display:flex; flex-wrap:wrap; gap: 8px; }
.tng-cookie--inline { position: relative; left:auto; right:auto; bottom:auto; margin:0; }

/* --------------------------------------------------------------------------
   15. HERO BACKGROUND (animated mesh + grid + radar) — HTML widget snippet
   -------------------------------------------------------------------------- */
.tng-hero { position:relative; overflow:hidden; background: var(--tng-ink-950); color:#C9C4E3; isolation:isolate; }
.tng-hero-bg { position:absolute; inset:0; z-index:-1; pointer-events:none; overflow:hidden; }
.tng-hero-bg__mesh { position:absolute; inset:-20%; filter: blur(60px); opacity:.9; }
.tng-hero-bg__mesh i { position:absolute; border-radius:50%; will-change: transform; animation: tng-float 18s var(--tng-ease-inout) infinite alternate; }
.tng-hero-bg__mesh i:nth-child(1) { width:48%; height:55%; left:48%; top:5%; background: radial-gradient(closest-side, rgba(108,45,255,.85), transparent); }
.tng-hero-bg__mesh i:nth-child(2) { width:38%; height:45%; left:8%; top:40%; background: radial-gradient(closest-side, rgba(74,23,194,.8), transparent); animation-duration: 22s; animation-delay:-6s; }
.tng-hero-bg__mesh i:nth-child(3) { width:22%; height:28%; left:70%; top:58%; background: radial-gradient(closest-side, rgba(255,185,45,.35), transparent); animation-duration: 26s; animation-delay:-12s; }
@keyframes tng-float { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-6%,4%,0) scale(1.08); } 100% { transform: translate3d(5%,-3%,0) scale(.96); } }
.tng-hero-bg__grid { position:absolute; inset:0; background-image: radial-gradient(rgba(205,184,255,.22) 1.2px, transparent 1.3px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); }
.tng-hero-bg__radar { position:absolute; width:720px; height:720px; right:-160px; top:50%; margin-top:-360px; border-radius:50%;
  background: repeating-radial-gradient(circle, transparent 0 59px, rgba(205,184,255,.12) 60px 61px); }
.tng-hero-bg__radar::after { content:""; position:absolute; inset:0; border-radius:50%; background: conic-gradient(from 0deg, rgba(108,45,255,.35), transparent 22%); animation: tng-spin 9s linear infinite; }
.tng-hero-bg__radar b { position:absolute; width:10px; height:10px; border-radius:50%; background: var(--tng-yellow-400); box-shadow: 0 0 0 6px rgba(255,185,45,.18); animation: tng-ping 3s ease-out infinite; }
@keyframes tng-spin { to { transform: rotate(360deg); } }
@keyframes tng-ping { 0%,100% { box-shadow: 0 0 0 0 rgba(255,185,45,.35); } 60% { box-shadow: 0 0 0 14px rgba(255,185,45,0); } }
.tng-hero__inner { max-width: var(--tng-w-wide); margin-inline:auto; padding: var(--tng-space-9) var(--tng-gutter) var(--tng-space-9); display:flex; align-items:center; gap: var(--tng-space-8); }
.tng-hero__copy { flex: 1.1 1 0; display:flex; flex-direction:column; gap: var(--tng-space-5); min-width:0; }
.tng-hero__aside { flex: .9 1 0; min-width:0; }

/* --------------------------------------------------------------------------
   16. NICHE FINDER (HTML widget) — search + category filter + reacting cards
   -------------------------------------------------------------------------- */
.tng-finder { border-radius: var(--tng-radius-xl); padding: var(--tng-space-5); display:flex; flex-direction:column; gap: var(--tng-space-4); }
.tng-finder__search { position:relative; }
.tng-finder__search svg { position:absolute; left:16px; top:50%; width:20px; height:20px; margin-top:-10px; color:#A9A3C7; pointer-events:none; }
.tng-finder__search input { width:100%; min-height:52px; padding: 0 16px 0 46px; border-radius: var(--tng-radius-pill); border:1.5px solid #7C71B0; background: rgba(11,8,32,.6); color:#fff; font: inherit; font-size:1rem; }
.tng-finder__search input::placeholder { color:#A9A3C7; opacity:1; }
.tng-finder__search input:focus { outline:none; border-color: var(--tng-yellow-400); box-shadow: 0 0 0 3px rgba(255,185,45,.25); }
.tng-finder__filters { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.tng-finder__filters::-webkit-scrollbar { display:none; }
.tng-finder .tng-chip--filter { color:#C9C4E3; border-color: rgba(205,184,255,.25); flex:none; }
.tng-finder .tng-chip--filter[aria-pressed="true"] { background: var(--tng-yellow-400); color:#1A1A1A; border-color: var(--tng-yellow-400); }
.tng-finder__list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; min-height: 236px; }
.tng-finder__item { display:flex; align-items:center; gap:12px; padding: 10px 12px; border-radius: var(--tng-radius-md); background: rgba(255,255,255,.04); border:1px solid rgba(205,184,255,.12);
  color:#fff; text-decoration:none; transition: transform var(--tng-dur-2) var(--tng-ease-out), background var(--tng-dur-2), border-color var(--tng-dur-2), opacity var(--tng-dur-2); animation: tng-in var(--tng-dur-3) var(--tng-ease-out) both; }
.tng-finder__item:hover, .tng-finder__item:focus-visible { background: rgba(108,45,255,.2); border-color: rgba(205,184,255,.45); transform: translateX(4px); }
.tng-finder__item .tng-icon-tile { width:36px; height:36px; border-radius: var(--tng-radius-sm); background: rgba(108,45,255,.25); color:#CDB8FF; }
.tng-finder__item .tng-icon-tile svg { width:18px; height:18px; }
.tng-finder__name { flex:1; min-width:0; display:flex; flex-direction:column; }
.tng-finder__name strong { font-family: var(--tng-font-display); font-weight:600; font-size:.9375rem; }
.tng-finder__name span { font-size:.75rem; color:#A9A3C7; }
.tng-finder__spark { width:64px; height:24px; flex:none; }
.tng-finder__empty { padding: 24px 12px; text-align:center; color:#A9A3C7; font-size:.875rem; }
.tng-finder__foot { display:flex; justify-content:space-between; align-items:center; gap:12px; font-family: var(--tng-font-mono); font-size:.6875rem; color:#A9A3C7; }
@keyframes tng-in { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform:none; } }

/* Stats bar (credibility counters) — Elementor Counter widget or HTML */
.tng-statbar { display:flex; flex-wrap:wrap; gap: var(--tng-space-5) var(--tng-space-6); align-items:stretch; }
.tng-statbar__item { flex: 1 1 180px; display:flex; flex-direction:column; gap:4px; padding-left: var(--tng-space-4); border-left:1px solid var(--tng-border-strong); }
.tng-statbar__num, .tng-statbar .elementor-counter-number-wrapper { font-family: var(--tng-font-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight:700; letter-spacing:-.03em; color: var(--tng-heading); line-height:1; font-feature-settings:"tnum" 1; }
.tng-statbar__label, .tng-statbar .elementor-counter-title { font-size:.875rem; color: var(--tng-muted); }

/* Loop-grid cell (Elementor Loop Grid does this natively) */
.tng-grid-item { display:flex; }
.tng-grid-item > * { flex:1 1 auto; min-width:0; }

/* Vector cover art for posts (no photos) */
.tng-cover-art { display:block; width:100%; height:auto; background: var(--tng-ink-900); }

/* Scroll reveal (only when JS is present — no content hidden without JS) */
.tng-js .tng-reveal { opacity:0; transform: translateY(16px); transition: opacity var(--tng-dur-4) var(--tng-ease-out), transform var(--tng-dur-4) var(--tng-ease-out); }
.tng-js .tng-reveal.is-in { opacity:1; transform:none; }
.tng-reveal[data-delay="1"] { transition-delay: 80ms; } .tng-reveal[data-delay="2"] { transition-delay: 160ms; } .tng-reveal[data-delay="3"] { transition-delay: 240ms; }

/* --------------------------------------------------------------------------
   17. PROSE — Gutenberg core + Spectra blocks inside Single Post template.
   Add class `tng-prose` to the Post Content widget.
   -------------------------------------------------------------------------- */
.tng-prose { font-family: var(--tng-font-text); font-size: var(--tng-fs-body); line-height:1.75; color: var(--tng-text); max-width: var(--tng-w-prose); }
.tng-prose > * { margin-top:0; margin-bottom: 1.25em; }
.tng-prose h2, .tng-prose h3, .tng-prose h4 { font-family: var(--tng-font-display); color: var(--tng-heading); scroll-margin-top: 96px; text-wrap: balance; }
.tng-prose h2 { font-size: var(--tng-fs-h2); line-height:1.15; letter-spacing:-.025em; font-weight:700; margin: 2em 0 .6em; padding-top: .6em; border-top:1px solid var(--tng-border); }
.tng-prose h3 { font-size: var(--tng-fs-h3); line-height:1.25; letter-spacing:-.015em; font-weight:600; margin: 1.6em 0 .5em; }
.tng-prose h4 { font-size: var(--tng-fs-h4); line-height:1.3; font-weight:600; margin: 1.4em 0 .4em; }
.tng-prose strong { color: var(--tng-heading); font-weight:700; }
.tng-prose ul, .tng-prose ol { padding-left: 1.4em; }
.tng-prose li { margin-bottom: .45em; padding-left: .2em; }
.tng-prose ul li::marker { color: var(--tng-brand); }
.tng-prose ol li::marker { color: var(--tng-tint-text); font-family: var(--tng-font-mono); font-weight:600; font-size:.9em; }
.tng-prose blockquote, .tng-prose .wp-block-quote { margin: 2em 0; padding: 0 0 0 1.25em; border-left: 3px solid var(--tng-accent); font-size:1.125rem; color: var(--tng-heading); }
.tng-prose blockquote cite, .tng-prose .wp-block-quote cite { display:block; margin-top:.6em; font-style:normal; font-size: var(--tng-fs-caption); color: var(--tng-muted); }
.tng-prose .wp-block-pullquote { margin: 2.4em 0; padding: 1.4em 0; border-top:2px solid var(--tng-brand); border-bottom:1px solid var(--tng-border); text-align:left; }
.tng-prose .wp-block-pullquote blockquote { border:0; padding:0; margin:0; }
.tng-prose .wp-block-pullquote p { font-family: var(--tng-font-display); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); line-height:1.3; letter-spacing:-.015em; font-weight:600; color: var(--tng-heading); }
.tng-prose figure, .tng-prose .wp-block-image { margin: 2em 0; }
.tng-prose img { border-radius: var(--tng-radius-md); display:block; }
.tng-prose figcaption, .tng-prose .wp-element-caption { margin-top: 10px; font-size: var(--tng-fs-caption); color: var(--tng-muted); text-align:left; }
.tng-prose hr, .tng-prose .wp-block-separator { border:0; height:1px; background: var(--tng-border); margin: 3em 0; opacity:1; }
.tng-prose .wp-block-separator.is-style-dots { background:none; height:auto; text-align:center; }
.tng-prose .wp-block-separator.is-style-dots::before { color: var(--tng-brand); letter-spacing: 1em; }
.tng-prose .wp-block-buttons { display:flex; flex-wrap:wrap; gap:12px; margin: 1.8em 0; }
.tng-prose .wp-block-button__link { display:inline-flex; align-items:center; min-height:48px; padding: 0 22px; border-radius: var(--tng-radius-pill); background: var(--tng-brand); color:#fff; font-family: var(--tng-font-display); font-weight:600; font-size:1rem; text-decoration:none; transition: background var(--tng-dur-2), box-shadow var(--tng-dur-2); }
.tng-prose .wp-block-button__link:hover { background: var(--tng-brand-hover); box-shadow: var(--tng-glow-brand); color:#fff; }
.tng-prose .is-style-outline .wp-block-button__link { background:transparent; color: var(--tng-heading); border:1.5px solid var(--tng-border-strong); }
.tng-prose code { font-family: var(--tng-font-mono); font-size:.875em; background: var(--tng-bg-alt); padding: .15em .4em; border-radius: 4px; }
.tng-prose mark, .tng-prose .has-inline-color { padding: 0 .15em; }
.tng-prose mark { background: var(--tng-yellow-100); color: var(--tng-gray-900); }
.tng-prose .wp-block-group.tng-box { margin: 2em 0; }
.tng-prose .tng-box ul, .tng-prose .tng-proscons ul, .tng-prose .tng-stats { padding-left:0; list-style:none; }
.tng-prose .tng-box--takeaways li { padding-left:30px; margin:0; }
.tng-prose .tng-proscons li { padding-left:24px; margin:0; }
.tng-prose .tng-box__title, .tng-prose .tng-proscons h4 { margin-top:0; }
.tng-prose .wp-block-details { border:1px solid var(--tng-border); border-radius: var(--tng-radius-md); padding: 14px 20px; }
.tng-prose .wp-block-details summary { font-family: var(--tng-font-display); font-weight:600; cursor:pointer; color: var(--tng-heading); min-height:32px; }
/* Spectra (UAGB) — neutralise its own colours so tokens win */
.tng-prose .wp-block-uagb-info-box, .tng-prose .wp-block-uagb-call-to-action { border-radius: var(--tng-radius-lg); }
.tng-prose .uagb-heading-text { font-family: var(--tng-font-display); color: var(--tng-heading); }
.tng-prose .wp-block-uagb-table-of-contents { border-radius: var(--tng-radius-md); border-color: var(--tng-border); }

/* --------------------------------------------------------------------------
   18. RESPONSIVE — Elementor breakpoints: tablet ≤1024, mobile ≤767
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --tng-section-y: 72px; }
  .tng-hero__inner { flex-direction:column; align-items:stretch; padding-top: var(--tng-space-8); padding-bottom: var(--tng-space-8); gap: var(--tng-space-7); }
  .tng-hero-bg__radar { width:520px; height:520px; right:-220px; top:30%; }
  .tng-footer__top { flex-wrap:wrap; }
  .tng-footer__brand { flex-basis:100%; max-width:none; }
  .tng-steps { flex-direction:column; }
  .tng-hide-tablet { display:none !important; }
}
@media (max-width: 767px) {
  :root { --tng-section-y: 56px; --tng-gutter: 16px; }
  .tng-row--stack-m { flex-direction:column; }
  .tng-header__bar { height:64px; }
  .tng-hide-mobile { display:none !important; }
  .tng-show-mobile { display:revert !important; }
  .tng-card { padding: var(--tng-space-4); border-radius: var(--tng-radius-md); }
  .tng-card--article { padding:0; }
  .tng-card--article .tng-card__body { padding: var(--tng-space-4); }
  .tng-box { padding: var(--tng-space-4); border-radius: var(--tng-radius-md); }
  .tng-proscons { flex-direction:column; }
  .tng-table-hint { display:block; }
  .tng-cta-band { padding: var(--tng-space-7) var(--tng-space-5); border-radius: var(--tng-radius-lg); }
  .tng-partner-band { flex-direction:column; align-items:flex-start; }
  .tng-inline-form { flex-direction:column; border-radius: var(--tng-radius-lg); padding:8px; }
  .tng-inline-form .tng-btn { width:100%; }
  .tng-footer__col { flex-basis: calc(50% - 24px); }
  .tng-author-box { flex-direction:column; }
  .tng-cookie { left:8px; right:8px; bottom:8px; }
  .tng-hero-bg__radar { display:none; }
  .tng-statbar__item { flex-basis: calc(50% - 16px); }
  .tng-finder__spark { display:none; }
}
.tng-show-mobile { display:none; }

/* --------------------------------------------------------------------------
   19. REDUCED MOTION — every animation and transition off
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  [class*="tng-"], [class*="tng-"]::before, [class*="tng-"]::after,
  [class*="tng-"] *, [class*="tng-"] *::before, [class*="tng-"] *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .tng-js .tng-reveal { opacity:1; transform:none; }
  .tng-spark.is-draw path.line { stroke-dashoffset:0; }
  .tng-card:hover, .tng-card:focus-within { transform:none; }
}

/* ==========================================================================
   tng-quiz — Niche Finder quiz (glass card). Uses the design-system tokens
   (--tng-*) with fallbacks, so it also renders if only this snippet is loaded.
   Buttons use the global .tng-btn classes from tng-global.css.
   Responsive by CONTAINER width (the card can sit in any Elementor column).
   ========================================================================== */
.tng-quiz-wrap { container: tngq / inline-size; width: 100%; }
.tng-quiz, .tng-quiz * , .tng-quiz *::before, .tng-quiz *::after { box-sizing: border-box; }
.tng-quiz {
  --q-ease: var(--tng-ease-out, cubic-bezier(.22,1,.36,1));
  --q-yellow: var(--tng-yellow-400, #FFB92D);
  --q-line: #7C71B0;
  --q-soft: #A9A3C7;
  --q-lilac: #CDB8FF;
  position: relative; display: flex; flex-direction: column; gap: 16px;
  min-height: 572px; padding: 24px; border-radius: var(--tng-radius-xl, 28px);
  background: var(--tng-glass, rgba(27,20,66,.55));
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(205,184,255,.2);
  box-shadow: 0 34px 80px -36px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.07);
  color: #C9C4E3; font-family: var(--tng-font-text, "Figtree", system-ui, sans-serif); font-size: 1rem; line-height: 1.5;
  text-align: left;
}
.tng-quiz button { font-family: inherit; }

/* ---- top row + progress ---- */
.tng-quiz__top { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.tng-quiz__back {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: #fff; border: 1.5px solid var(--q-line);
  transition: background .2s, border-color .2s, transform .2s var(--q-ease), opacity .2s;
}
.tng-quiz__back svg { width: 20px; height: 20px; }
.tng-quiz__back:active { transform: scale(.94); }
.tng-quiz__back[hidden] { display: none; }
.tng-quiz__eyebrow {
  margin: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 500 .75rem/1.2 var(--tng-font-mono, "JetBrains Mono", monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--q-lilac);
}
.tng-quiz__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--q-yellow); margin-right: -4px; }
.tng-quiz__eyebrow > span:first-child { flex: 1; }
.tng-quiz__count { color: var(--q-soft); letter-spacing: .08em; }
.tng-quiz__progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tng-quiz__progress i { position: relative; height: 6px; border-radius: 99px; background: rgba(205,184,255,.22); overflow: hidden; }
.tng-quiz__progress i::after { content: ""; position: absolute; inset: 0; background: var(--q-yellow); transform: scaleX(0); transform-origin: left; transition: transform .38s var(--q-ease); }
.tng-quiz__progress i.is-on::after { transform: scaleX(1); }
.tng-quiz:not([data-view="q"]) .tng-quiz__progress { display: none; }

/* ---- stage + panels ---- */
.tng-quiz__stage { position: relative; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tng-quiz__panel { display: flex; flex-direction: column; gap: 16px; flex: 1; animation: tngq-in .34s var(--q-ease) both; }
.tng-quiz__panel.is-back { animation-name: tngq-in-back; }
.tng-quiz__panel.is-still { animation: none; }
@keyframes tngq-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes tngq-in-back { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.tng-quiz__q {
  margin: 0; font-family: var(--tng-font-display, "Space Grotesk", system-ui, sans-serif); font-weight: 700; color: #fff;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.625rem); line-height: 1.18; letter-spacing: -.02em; text-wrap: balance; outline: none;
}
.tng-quiz__hint { margin: 4px 0 0; font: 500 .75rem/1.3 var(--tng-font-mono, "JetBrains Mono", monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--q-soft); }
.tng-quiz__sub { margin: 6px 0 0; font-size: .9375rem; line-height: 1.5; color: #C9C4E3; max-width: 46ch; }

/* ---- step 1: topic chips ---- */
.tng-quiz__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tng-quiz__chip {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 12px; border-radius: 16px; cursor: pointer; text-align: left;
  background: rgba(255,255,255,.04); color: #fff; border: 1.5px solid var(--q-line);
  font: 600 .9375rem/1.15 var(--tng-font-display, "Space Grotesk", system-ui, sans-serif);
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--q-ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.tng-quiz__chip svg { flex: none; width: 22px; height: 22px; color: var(--q-lilac); transition: color .2s; }
.tng-quiz__chip:active { transform: scale(.97); background: rgba(108,45,255,.3); }
@media (hover: hover) { .tng-quiz__chip:hover { background: rgba(108,45,255,.24); border-color: var(--q-lilac); } }
.tng-quiz__chip[aria-pressed="true"] { background: var(--q-yellow); border-color: var(--q-yellow); color: #1A1A1A; }
.tng-quiz__chip[aria-pressed="true"] svg { color: #1A1A1A; }
.tng-quiz__chip[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.tng-quiz__ghost { display: block; height: 56px; border-radius: 16px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: tngq-shimmer 1.6s linear infinite; }
@keyframes tngq-shimmer { to { background-position: -200% 0; } }

/* ---- steps 2-5: single choice ---- */
.tng-quiz__opts { display: flex; flex-direction: column; gap: 10px; }
.tng-quiz__opt {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; border-radius: 16px; cursor: pointer; text-align: left;
  background: rgba(255,255,255,.04); color: #fff; border: 1.5px solid var(--q-line); width: 100%;
  transition: background .2s, border-color .2s, transform .2s var(--q-ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.tng-quiz__opt strong { display: block; font: 600 1.0625rem/1.25 var(--tng-font-display, "Space Grotesk", system-ui, sans-serif); }
.tng-quiz__opt small { display: block; margin-top: 2px; font-size: .875rem; line-height: 1.35; color: var(--q-soft); }
.tng-quiz__opt .tng-quiz__radio { margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--q-line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.tng-quiz__opt .tng-quiz__radio svg { width: 14px; height: 14px; color: #1A1A1A; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .2s var(--q-ease); }
.tng-quiz__opt:active { transform: scale(.985); background: rgba(108,45,255,.3); }
@media (hover: hover) { .tng-quiz__opt:hover { background: rgba(108,45,255,.22); border-color: var(--q-lilac); } }
.tng-quiz__opt[aria-checked="true"] { border-color: var(--q-yellow); background: rgba(255,185,45,.12); }
.tng-quiz__opt[aria-checked="true"] .tng-quiz__radio { background: var(--q-yellow); border-color: var(--q-yellow); }
.tng-quiz__opt[aria-checked="true"] .tng-quiz__radio svg { opacity: 1; transform: none; }

.tng-quiz__actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.tng-quiz .tng-btn { width: 100%; }
.tng-quiz .tng-btn[disabled] { background: rgba(255,255,255,.1); color: #A9A3C7; box-shadow: none; cursor: not-allowed; }
.tng-quiz__foot { display: flex; justify-content: center; min-height: 44px; }
.tng-quiz__alt, .tng-quiz__link {
  background: none; border: 0; padding: 0 8px; min-height: 44px; cursor: pointer; color: #BCA0FF;
  font: 500 .9375rem/1.3 var(--tng-font-text, "Figtree", system-ui, sans-serif); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.tng-quiz__alt:hover, .tng-quiz__link:hover { color: #fff; }
.tng-quiz[data-view="scoring"] .tng-quiz__foot, .tng-quiz[data-view="success"] .tng-quiz__foot, .tng-quiz[data-view="course-success"] .tng-quiz__foot { visibility: hidden; }

/* ---- scoring (loading) ---- */
.tng-quiz__scan { align-items: center; justify-content: center; text-align: center; gap: 14px; }
.tng-quiz__radar { position: relative; width: 132px; height: 132px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 21px, rgba(205,184,255,.18) 22px 23px); border: 1px solid rgba(205,184,255,.25); }
.tng-quiz__radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,185,45,.5), transparent 26%); animation: tngq-spin 1.4s linear infinite; }
.tng-quiz__radar b { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--q-yellow); box-shadow: 0 0 0 5px rgba(255,185,45,.18); }
.tng-quiz__radar b:nth-child(1) { left: 62%; top: 26%; } .tng-quiz__radar b:nth-child(2) { left: 30%; top: 58%; } .tng-quiz__radar b:nth-child(3) { left: 66%; top: 66%; }
@keyframes tngq-spin { to { transform: rotate(360deg); } }

/* ---- result ---- */
.tng-quiz__results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tng-quiz__res { position: relative; border-radius: 18px; border: 1px solid rgba(205,184,255,.16); background: rgba(255,255,255,.045); padding: 14px 16px; display: grid; gap: 12px; }
.tng-quiz__res.is-top { border-color: rgba(255,185,45,.55); background: linear-gradient(160deg, rgba(108,45,255,.28), rgba(255,255,255,.04)); box-shadow: 0 0 0 1px rgba(255,185,45,.15), 0 16px 40px -20px rgba(108,45,255,.7); }
.tng-quiz__res-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tng-quiz__rank { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 .8125rem/1 var(--tng-font-mono, "JetBrains Mono", monospace); background: var(--q-yellow); color: #1A1A1A; }
.tng-quiz__res.is-locked .tng-quiz__rank { background: rgba(205,184,255,.16); color: #fff; }
.tng-quiz__res-name { margin: 0; flex: 1; min-width: 0; font: 600 1.0625rem/1.25 var(--tng-font-display, "Space Grotesk", system-ui, sans-serif); color: #fff; letter-spacing: -.01em; }
.tng-quiz__res .tng-chip { flex: none; }
.tng-quiz__metrics { display: flex; align-items: flex-end; gap: 14px; }
.tng-quiz__metric { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.tng-quiz__metric .lbl { font: 500 .6875rem/1.2 var(--tng-font-mono, "JetBrains Mono", monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--q-soft); white-space: nowrap; }
.tng-quiz__ring { position: relative; width: 60px; height: 60px; }
.tng-quiz__ring svg { width: 100%; height: 100%; display: block; }
.tng-quiz__ring circle { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.tng-quiz__ring .trk { stroke: rgba(205,184,255,.2); }
.tng-quiz__ring .val { stroke: var(--q-yellow); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .95s var(--q-ease); }
.tng-quiz__ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 .9375rem/1 var(--tng-font-mono, "JetBrains Mono", monospace); color: #fff; font-feature-settings: "tnum" 1; }
.tng-quiz__ring.is-lock { filter: blur(3.5px); opacity: .85; }
.tng-quiz__ring.is-lock .val { stroke-dashoffset: 30; transition: none; }
.tng-quiz__spark { margin-left: auto; align-self: center; width: 96px; }
.tng-quiz__spark svg { display: block; width: 100%; height: 34px; overflow: visible; color: #3DDC97; }
.tng-quiz__spark .line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--q-ease); }
.tng-quiz__spark .area { fill: currentColor; opacity: .14; stroke: none; }
.tng-quiz__spark.is-in .line { stroke-dashoffset: 0; }
.tng-quiz__spark small { display: block; margin-top: 2px; text-align: right; font: 500 .625rem/1.2 var(--tng-font-mono, "JetBrains Mono", monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--q-soft); }
.tng-quiz__lock-note { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .8125rem; line-height: 1.3; color: var(--q-lilac); }
.tng-quiz__lock-note svg { width: 14px; height: 14px; flex: none; }
/* locked (blurred) rows: placeholder shapes, real data never in the DOM */
.tng-quiz__res.is-locked { grid-template-columns: 1fr auto; align-items: center; padding: 8px 14px; }
.tng-quiz__res.is-locked .tng-quiz__res-head { grid-column: 1; }
.tng-quiz__blur { filter: blur(6px); user-select: none; pointer-events: none; }
.tng-quiz__blur .tng-quiz__res-name { white-space: nowrap; }
.tng-quiz__blur-bars { display: flex; gap: 6px; align-items: center; }
.tng-quiz__blur-bars i { display: block; height: 10px; border-radius: 6px; background: var(--q-lilac); opacity: .7; }
.tng-quiz__lock { display: inline-flex; align-items: center; gap: 6px; font: 500 .6875rem/1 var(--tng-font-mono, "JetBrains Mono", monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--q-lilac); white-space: nowrap; }
.tng-quiz__lock svg { width: 14px; height: 14px; }

/* ---- form ---- */
.tng-quiz__form { display: flex; flex-direction: column; gap: 10px; }
.tng-quiz__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; }
.tng-quiz__fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tng-quiz__fld label { font-size: .8125rem; font-weight: 600; color: #fff; }
.tng-quiz__fld label em { font-style: normal; font-weight: 400; color: var(--q-soft); }
.tng-quiz__input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 999px; background: rgba(11,8,32,.62); color: #fff;
  border: 1.5px solid var(--q-line); font: 400 1rem/1.2 var(--tng-font-text, "Figtree", system-ui, sans-serif); transition: border-color .2s, box-shadow .2s;
}
.tng-quiz__input::placeholder { color: var(--q-soft); opacity: 1; }
.tng-quiz__input:hover { border-color: var(--q-lilac); }
.tng-quiz__input:focus { outline: none; border-color: var(--q-yellow); box-shadow: 0 0 0 3px rgba(255,185,45,.28); }
.tng-quiz__input[aria-invalid="true"] { border-color: #FF8A80; }
.tng-quiz__input:disabled { opacity: .6; cursor: not-allowed; }
.tng-quiz__ferr { margin: 0; font-size: .8125rem; color: #FF8A80; display: flex; gap: 6px; align-items: center; }
.tng-quiz__ferr[hidden] { display: none; }
.tng-quiz__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tng-quiz__banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255,138,128,.12); border: 1px solid rgba(255,138,128,.55); color: #fff; font-size: .875rem; line-height: 1.45; }
.tng-quiz__banner[hidden] { display: none; }
.tng-quiz__banner svg { flex: none; width: 18px; height: 18px; color: #FF8A80; margin-top: 1px; }
.tng-quiz__fine { margin: 0; font-size: .8125rem; line-height: 1.45; color: var(--q-soft); text-align: center; }
.tng-quiz .tng-btn .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(26,26,26,.25); border-top-color: #1A1A1A; animation: tngq-spin .7s linear infinite; }
.tng-quiz .tng-btn.is-busy .spin { display: inline-block; }
.tng-quiz .tng-btn.is-busy { pointer-events: none; }
.tng-quiz .tng-btn.is-busy svg { display: none; }

/* ---- success ---- */
.tng-quiz__done { align-items: center; justify-content: center; text-align: center; gap: 14px; }
.tng-quiz__tick { width: 84px; height: 84px; }
.tng-quiz__tick circle { fill: rgba(255,185,45,.14); stroke: var(--q-yellow); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tngq-draw .7s var(--q-ease) .05s forwards; }
.tng-quiz__tick path { fill: none; stroke: var(--q-yellow); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tngq-draw .5s var(--q-ease) .55s forwards; }
@keyframes tngq-draw { to { stroke-dashoffset: 0; } }
.tng-quiz__done .tng-quiz__q { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2rem); }
.tng-quiz__more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; color: #fff; text-decoration: none; font: 600 1rem/1 var(--tng-font-display, "Space Grotesk", system-ui, sans-serif); border: 1.5px solid var(--q-line); transition: background .2s, border-color .2s; }
.tng-quiz__more svg { width: 18px; height: 18px; transition: transform .2s var(--q-ease); }
.tng-quiz__more:hover { background: rgba(108,45,255,.28); border-color: var(--q-lilac); }
.tng-quiz__more:hover svg { transform: translateX(3px); }

/* ---- container-driven responsive (card width, not viewport) ---- */
@container tngq (max-width: 460px) {
  .tng-quiz { padding: 20px 16px; gap: 14px; min-height: 0; }
  .tng-quiz__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tng-quiz__chip { min-height: 52px; }
  .tng-quiz__ghost { height: 52px; }
  .tng-quiz__row { grid-template-columns: 1fr; }
  .tng-quiz__metrics { gap: 10px; }
  .tng-quiz__ring { width: 54px; height: 54px; }
  .tng-quiz__spark { width: 72px; }
  .tng-quiz__opt { min-height: 60px; }
}
@container tngq (max-width: 400px) { .tng-quiz__metrics { flex-wrap: wrap; row-gap: 10px; } .tng-quiz__spark { width: 100%; flex-basis: 100%; display: flex; align-items: center; gap: 10px; margin-left: 0; } .tng-quiz__spark svg { height: 26px; flex: 1; } .tng-quiz__spark small { margin: 0; white-space: nowrap; } }

/* ---- reduced motion: everything static and immediately visible ---- */
@media (prefers-reduced-motion: reduce) {
  .tng-quiz *, .tng-quiz *::before, .tng-quiz *::after { animation: none !important; transition: none !important; }
  .tng-quiz__spark .line, .tng-quiz__tick circle, .tng-quiz__tick path { stroke-dashoffset: 0 !important; }
  .tng-quiz__radar::after { display: none; }
}

/* ==========================================================================
   The Niche Guru — tng-home-extra.css  (Home v2 · Sep 2026)
   Goes AFTER tng-global.css (child-theme style.css). Only new pieces:
   nodes canvas, sticky mobile bar, challenge timeline, Playbook 3D mockup,
   lead form states, credibility strip, method micrographics, author photo,
   mobile carousel helper. Same tokens, same tng- prefix.
   ========================================================================== */

/* -- Hero: proof line under the subtitle ---------------------------------- */
.tng-hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: var(--tng-fs-small); color: var(--tng-muted); }
.tng-hero-proof li { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; }
.tng-hero-proof svg { width: 16px; height: 16px; color: var(--tng-yellow-400); flex: none; }

/* -- Niche nodes (canvas, HTML widget, 2nd child of .tng-hero) ------------ */
.tng-nodes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.tng-nodes canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tng-nodes svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* -- Credibility strip (thin, dark) --------------------------------------- */
.tng-strip { background: var(--tng-ink-900); border-top: 1px solid rgba(205,184,255,.12); border-bottom: 1px solid rgba(205,184,255,.12); color: #C9C4E3; }
.tng-strip__in { max-width: var(--tng-w-wide); margin-inline: auto; padding: 22px var(--tng-gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; }
.tng-strip__item { display: flex; align-items: baseline; gap: 12px; min-width: 0; padding-left: 16px; border-left: 1px solid var(--tng-border-strong); }
.tng-strip__num { font-family: var(--tng-font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; letter-spacing: -.03em; color: #fff; font-feature-settings: "tnum" 1; white-space: nowrap; }
.tng-strip__num small { font: 500 .6875rem/1 var(--tng-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tng-yellow-400); margin-right: 6px; vertical-align: .5em; }
.tng-strip__lbl { font-size: .875rem; line-height: 1.3; color: #C9C4E3; }
@media (max-width: 1024px) { .tng-strip__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tng-strip__in { padding: 20px 16px; gap: 18px 16px; } .tng-strip__item { flex-direction: column; gap: 4px; align-items: flex-start; } .tng-strip__num { font-size: 1.5rem; } }

/* -- Mobile horizontal carousel (Loop Grid → scroll-snap ≤767) ------------ */
@media (max-width: 767px) {
  .tng-carousel-m { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 16px; margin-inline: -16px; padding: 4px 16px 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .tng-carousel-m::-webkit-scrollbar { display: none; }
  .tng-carousel-m > * { flex: 0 0 min(300px, 82%) !important; scroll-snap-align: start; scroll-margin-inline: 16px; }
}
.tng-carousel-hint { display: none; }
@media (max-width: 767px) { .tng-carousel-hint { display: flex; align-items: center; gap: 8px; font: 500 .6875rem/1 var(--tng-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tng-muted); } }

/* -- Challenge timeline (HTML widget) ------------------------------------- */
.tng-timeline-wrap { container: tngt / inline-size; width: 100%; }
.tng-timeline { display: flex; flex-direction: column; gap: 18px; }
.tng-timeline__track { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.tng-timeline__track::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--tng-yellow-400), var(--tng-purple-400) 14%, var(--tng-border-strong)); opacity: .55; }
.tng-timeline__node {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--tng-surface); color: var(--tng-heading); border: 1.5px solid var(--tng-border-strong);
  font: 600 .9375rem/1 var(--tng-font-mono); font-feature-settings: "tnum" 1;
  transition: transform var(--tng-dur-2) var(--tng-ease-out), background var(--tng-dur-2), border-color var(--tng-dur-2), color var(--tng-dur-2), box-shadow var(--tng-dur-3);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.tng-timeline__node svg { width: 20px; height: 20px; }
@media (hover: hover) { .tng-timeline__node:hover { border-color: var(--tng-purple-200); background: var(--tng-surface-2); } }
.tng-timeline__node[aria-pressed="true"] { background: var(--tng-accent); color: var(--tng-on-accent); border-color: var(--tng-accent); transform: scale(1.14); box-shadow: var(--tng-glow-accent); }
.tng-timeline__task { display: flex; flex-direction: column; gap: 6px; min-height: 72px; margin: 0; padding: 14px 16px; border-radius: var(--tng-radius-md); background: rgba(255,255,255,.04); border: 1px solid var(--tng-border); }
.tng-timeline__day { font: 500 .75rem/1 var(--tng-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tng-accent-text); }
.tng-timeline__txt { font: 600 1.125rem/1.3 var(--tng-font-display); color: var(--tng-heading); letter-spacing: -.01em; }
@container tngt (max-width: 560px) {
  .tng-timeline__track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); justify-items: center; gap: 12px 0; }
  .tng-timeline__track::before { display: none; }
  .tng-timeline__node { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .tng-timeline__node { transition: none; } .tng-timeline__node[aria-pressed="true"] { transform: none; } }

/* -- Playbook PDF mockup (3D, slow float) --------------------------------- */
.tng-pdf { perspective: 1400px; display: grid; place-items: center; padding: 28px 0 40px; position: relative; }
.tng-pdf::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 220px; height: 26px; margin-left: -110px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(6px); }
.tng-pdf__book { position: relative; width: 264px; height: 348px; transform-style: preserve-3d; transform: rotateY(-26deg) rotateX(5deg) rotateZ(1deg); animation: tng-pdf-float 7s var(--tng-ease-inout) infinite alternate; }
.tng-pdf__cover {
  position: absolute; inset: 0; transform: translateZ(15px); border-radius: 4px 12px 12px 4px; overflow: hidden; padding: 26px 24px 22px 30px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 70% at 100% 0%, rgba(108,45,255,.55), transparent 60%), linear-gradient(165deg, var(--tng-ink-800), var(--tng-ink-950) 80%);
  border: 1px solid rgba(205,184,255,.28); box-shadow: 0 36px 60px -24px rgba(0,0,0,.75), inset 6px 0 0 rgba(255,255,255,.06);
}
.tng-pdf__cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(205,184,255,.28) 1.1px, transparent 1.2px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(200deg, #000 5%, transparent 55%); mask-image: linear-gradient(200deg, #000 5%, transparent 55%); }
.tng-pdf__cover > * { position: relative; }
.tng-pdf__brand { display: flex; align-items: center; gap: 8px; font: 500 .625rem/1 var(--tng-font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--tng-purple-200); }
.tng-pdf__brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--tng-yellow-400); }
.tng-pdf__title { margin: 0; font: 700 1.875rem/1.02 var(--tng-font-display); letter-spacing: -.035em; color: #fff; }
.tng-pdf__title span { display: block; margin-top: 10px; color: var(--tng-yellow-400); }
.tng-pdf__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font: 500 .6875rem/1.3 var(--tng-font-mono); letter-spacing: .1em; text-transform: uppercase; color: #C9C4E3; }
.tng-pdf__dots { display: grid; grid-template-columns: repeat(4, 8px); gap: 6px; }
.tng-pdf__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(174,140,255,.55); }
.tng-pdf__dots i.is-niche { background: var(--tng-yellow-400); }
.tng-pdf__pages { position: absolute; top: 4px; left: 250px; width: 30px; height: calc(100% - 8px); background: repeating-linear-gradient(90deg, #F5F5F5 0 2px, #D3D1E3 2px 3px); transform: rotateY(90deg); border-radius: 2px; }
.tng-pdf__back { position: absolute; inset: 0; transform: translateZ(-15px); border-radius: 4px 12px 12px 4px; background: var(--tng-ink-900); }
@keyframes tng-pdf-float { from { transform: rotateY(-26deg) rotateX(5deg) rotateZ(1deg) translateY(0); } to { transform: rotateY(-22deg) rotateX(3deg) rotateZ(-1deg) translateY(-12px); } }
@media (max-width: 767px) { .tng-pdf { transform: scale(.82); transform-origin: center top; margin-bottom: -40px; } }
@media (prefers-reduced-motion: reduce) { .tng-pdf__book { animation: none; } }
.tng-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: .9375rem; color: var(--tng-text); }
.tng-checklist li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.tng-checklist svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--tng-yellow-400); }
@media (max-width: 767px) { .tng-checklist { grid-template-columns: 1fr; } }

/* -- Lead form (inline, email only; HTML widget) -------------------------- */
.tng-lead { position: relative; }
.tng-lead .tng-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tng-lead .tng-btn .tng-lead__spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(26,26,26,.25); border-top-color: #1A1A1A; animation: tngq-spin .7s linear infinite; }
.tng-lead .tng-btn--primary .tng-lead__spin { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
.tng-lead.is-busy .tng-btn .tng-lead__spin { display: inline-block; }
.tng-lead.is-busy .tng-btn svg { display: none; }
.tng-lead.is-busy .tng-btn { pointer-events: none; }
.tng-lead.is-error { border-color: var(--tng-down); }
@keyframes tngq-spin { to { transform: rotate(360deg); } }
.tng-lead-msg { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 0; padding: 0; font-size: var(--tng-fs-small); line-height: 1.45; color: var(--tng-text); }
.tng-lead-msg:empty { display: none; }
.tng-lead-msg svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.tng-lead-msg.is-error { color: var(--tng-down); }
.tng-lead-done { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--tng-radius-lg); background: var(--tng-up-bg); border: 1px solid color-mix(in srgb, var(--tng-up) 45%, transparent); color: var(--tng-heading); }
.tng-lead-done svg { flex: none; width: 34px; height: 34px; color: var(--tng-up); }
.tng-lead-done strong { display: block; font: 600 1.0625rem/1.25 var(--tng-font-display); }
.tng-lead-done span { display: block; font-size: var(--tng-fs-small); color: var(--tng-text); }
.tng-lead-wrap { container: tngl / inline-size; width: 100%; }
@container tngl (max-width: 520px) {
  .tng-lead.tng-inline-form { flex-direction: column; border-radius: var(--tng-radius-lg); padding: 8px; }
  .tng-lead.tng-inline-form input[type="email"] { min-height: 52px; }
  .tng-lead.tng-inline-form .tng-btn { width: 100%; min-height: 52px; }
}
/* docs only: shows the focus ring in a static frame */
.tng-inline-form.is-focus { border-color: var(--tng-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tng-brand) 30%, transparent); }

/* -- Method (E-E-A-T): micrographics + author ----------------------------- */
.tng-micro { display: block; width: 100%; height: 132px; border-radius: var(--tng-radius-md); background: var(--tng-ink-900); }
.tng-author-photo { position: relative; flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: var(--tng-tint); border: 2px dashed var(--tng-border-strong); color: var(--tng-tint-text); font: 500 .625rem/1.2 var(--tng-font-mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; overflow: hidden; }
.tng-author-photo svg { width: 36px; height: 36px; display: block; margin: 0 auto 4px; }
.tng-author-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* -- Sticky mobile bar: appears after the hero, hides while the quiz is on screen -- */
.tng-stickybar { display: none; }
@media (max-width: 767px) {
  .tng-stickybar {
    display: flex; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px;
    padding: 6px 8px 6px 18px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(11,8,32,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid rgba(205,184,255,.2);
    color: #fff; text-decoration: none; font: 600 1rem/1.2 var(--tng-font-display);
    transform: translateY(110%); transition: transform var(--tng-dur-3) var(--tng-ease-out); visibility: hidden;
  }
  .tng-stickybar.is-on { transform: none; visibility: visible; }
  .tng-stickybar__go { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tng-accent); color: var(--tng-on-accent); }
  .tng-stickybar__go svg { width: 20px; height: 20px; }
  body { --tng-stickybar-space: 56px; }
}
@media (prefers-reduced-motion: reduce) { .tng-stickybar { transition: none; } }


/* ---- WordPress / Elementor / Astra integration (home 2026) ---- */
body.tng-design { margin: 0; }
body.tng-design .elementor-widget-html > .elementor-widget-container,
body.tng-design .elementor-widget-shortcode > .elementor-widget-container,
body.tng-design .elementor-shortcode { margin: 0; padding: 0; }
body.tng-design .e-con, body.tng-design .e-con-inner { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; max-width: none; }
body.tng-design .elementor-element { --widgets-spacing: 0px; --kit-widget-spacing: 0px; }
body.tng-design .elementor-widget:not(:last-child) { margin-block-end: 0; }
body.tng-design main#main { display: block; }
/* Astra/Elementor kit typography must not leak into tng components */
body.tng-design h1, body.tng-design h2, body.tng-design h3, body.tng-design h4 { font-family: var(--tng-font-display); color: inherit; }
body.tng-design p { margin-block-end: 0; }
body.tng-design .tng-section p:not([class]) { margin-block-end: 0; }
body.tng-design a { text-decoration: none; }
body.tng-design button { font-family: inherit; }
/* whole category card clickable */
body.tng-design .tng-card--category { position: relative; }
body.tng-design .tng-card--category .tng-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* header sticky under the WP admin bar */
body.admin-bar.tng-design .tng-header { top: 32px !important; }
@media (max-width: 782px) { body.admin-bar.tng-design .tng-header { top: 46px !important; } }
/* the cookie banner must sit above the mobile sticky bar */
body.tng-design #cookie-law-info-bar { z-index: 100000; }
/* Astra inline heading styles (capitalize, colors) */
body.tng-design h1, body.tng-design h2, body.tng-design h3, body.tng-design h4, body.tng-design h5, body.tng-design h6 { text-transform: none; }
/* sticky header: Elementor wraps the header in its own container, so the wrapper is what sticks */
body.tng-design .tng-sticky-wrap { position: sticky; top: 0; z-index: 1000; }
body.admin-bar.tng-design .tng-sticky-wrap { top: 32px; }
@media (max-width: 782px) { body.admin-bar.tng-design .tng-sticky-wrap { top: 46px; } }
body.tng-design .tng-header { position: relative !important; top: auto !important; }
body.tng-design .ast-scroll-top-icon, body.tng-design #ast-scroll-top { display: none !important; }
/* Elementor's `.elementor img{height:auto}` loads later: pin the logos */
body.tng-design .tng-header__logo img { height: 22px !important; width: auto !important; max-width: none !important; }
body.tng-design .tng-footer__brand img { height: 30px !important; width: auto !important; max-width: none !important; }
/* 3-item nav: more breathing room */
body.tng-design .tng-nav { gap: 12px; }
body.tng-design .tng-nav__link { padding: 0 18px; font-size: .9375rem; }
@media (min-width: 1025px) { body.tng-design .tng-nav__link svg { display: inline-block; } }
/* a11y: links inside text blocks are underlined; bigger tap targets in the footer legal row */
body.tng-design .tng-faq__answer a, body.tng-design .tng-footer__bottom span a { text-decoration: underline; text-underline-offset: 2px; }
body.tng-design .tng-footer__legal a, body.tng-design .tng-footer__bottom span a { display: inline-block; padding-block: 6px; }
/* Astra's global button padding/borders must not reach tng controls */
body.tng-design .tng-timeline__node { padding: 0 !important; min-width: 0; line-height: 1; }
body.tng-design .tng-quiz button, body.tng-design .tng-header button, body.tng-design .tng-drawer button, body.tng-design .tng-faq summary { letter-spacing: normal; text-transform: none; }
body.tng-design .tng-step h3 { font-weight: 600; }
/* Astra styles input[type=email|url|…] with higher specificity: keep tng inputs consistent */
body.tng-design .tng-dark input.tng-input, body.tng-design .tng-dark select.tng-input, body.tng-design .tng-dark textarea.tng-input { background-color: #1B1442 !important; color: #fff !important; border-color: #7C71B0 !important; }
body.tng-design .tng-dark .tng-input::placeholder { color: #A9A3C7; }
/* WooCommerce imprime el visor PhotoSwipe (.pswp) en el pie, pero su CSS no carga en la home: sus botones salían como fichas amarillas bajo el footer */
body.tng-design .pswp:not(.pswp--open) { display: none !important; }
