/* ==========================================================================
   EasyLeadCloud — Editorial Luxury Studio Precision: Dual-Theme (v224)
   Display & UI: Plus Jakarta Sans | Accent: Instrument Serif Italic | Data: JetBrains Mono
   Warm Alabaster Light (#F8F6F1) + Graphite Studio Dark (#12141A)
   ========================================================================== */

:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg-canvas: #F8FAFC;
  --bg-stone: #F1F5F9;
  --bg-surface: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-hover: #E2E8F0;
  --bg-topbar: rgba(255, 255, 255, 0.94);
  --bg-code: #16181D;

  --border-hairline: #E2E8F0;
  --border-strong: #CBD5E1;

  --ink-primary: #0F172A;
  --ink-body: #1E293B;
  --ink-secondary: #1E293B;
  --ink-muted: #334155;
  --ink-faint: #475569;

  --cta-bg: #0F172A;
  --cta-ink: #FFFFFF;
  --cta-hover: #1E293B;

  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-tint: rgba(37, 99, 235, 0.09);
  --accent-border: rgba(37, 99, 235, 0.28);

  --emerald: #15803D;
  --emerald-tint: #DCFCE7;
  --emerald-border: rgba(21, 128, 61, 0.28);

  --terracotta: #C25E44;
  --terracotta-tint: #FBECE8;

  --olive-stone: #C7BEAA;
  --olive-ink: #1C1917;

  --amber: #A16207;
  --amber-tint: #FEF3C7;
  --amber-border: rgba(161, 98, 7, 0.24);

  --danger: #B91C1C;
  --danger-tint: #FEE2E2;
  --danger-border: rgba(185, 28, 28, 0.24);

  --toast-bg: #16181D;
  --toast-ink: #F8F6F1;
  --toast-border: rgba(255, 255, 255, 0.12);

  --dot-pattern: rgba(20, 21, 25, 0.06);
  --connector-stroke: #D5CEC2;

  --shadow-xs: 0 1px 2px rgba(20, 21, 25, 0.045);
  --shadow-sm: 0 4px 14px -6px rgba(20, 21, 25, 0.075), 0 1px 2px rgba(20, 21, 25, 0.035);
  --shadow-md: 0 12px 30px -12px rgba(20, 21, 25, 0.105), 0 2px 6px rgba(20, 21, 25, 0.045);
  --shadow-lg: 0 24px 52px -18px rgba(20, 21, 25, 0.145), 0 4px 14px -4px rgba(20, 21, 25, 0.055);
  --shadow-drawer: -14px 0 42px rgba(20, 21, 25, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-editorial: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-height: 68px;
  --row-py: 13px;
  --base-font: 15px;
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C606B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Curated Light Mode Presets (Bright Daylight Studio default + clean variants) */
html[data-theme="light"][data-preset="warm-editorial"],
html[data-theme="light"][data-preset="organic-earth"],
html[data-theme="light"][data-preset="luxe-obsidian"] {
  --bg-canvas: #F8FAFC; --bg-stone: #F1F5F9; --bg-surface: #FFFFFF; --bg-elevated: #FFFFFF; --bg-subtle: #F1F5F9; --bg-hover: #E2E8F0; --bg-topbar: rgba(255, 255, 255, 0.94); --border-hairline: #E2E8F0; --border-strong: #CBD5E1; --ink-primary: #0F172A; --ink-body: #1E293B; --ink-secondary: #1E293B; --ink-muted: #334155; --ink-faint: #475569;
}
html[data-theme="light"][data-preset="modern-midnight"],
html[data-theme="light"][data-preset="antigravity"] {
  --bg-canvas: #F8FAFC; --bg-stone: #F1F5F9; --bg-surface: #FFFFFF; --bg-subtle: #F1F5F9; --bg-hover: #EEF2F7; --border-hairline: #E2E8F0; --border-strong: #CBD5E1; --ink-primary: #0F172A; --ink-body: #1E293B; --ink-secondary: #1E293B;
}
html[data-theme="light"][data-preset="pure-contrast"],
html[data-theme="light"][data-preset="minimal-mono"] {
  --bg-canvas: #FAFAFA; --bg-stone: #F4F4F5; --bg-surface: #FFFFFF; --bg-subtle: #F4F4F5; --bg-hover: #EFEFF1; --border-hairline: #E4E4E7; --border-strong: #D4D4D8; --ink-primary: #09090B; --ink-body: #3F3F46; --ink-secondary: #3F3F46;
}
html[data-theme="light"][data-preset="oceanic-trust"] {
  --bg-canvas: #F3F7FB; --bg-stone: #E8F0F8; --bg-surface: #FFFFFF; --bg-subtle: #E8F0F8; --border-hairline: #D5E2F0; --ink-primary: #0A2540; --ink-body: #3A5068; --ink-secondary: #3A5068;
}
html[data-theme="light"][data-preset="nordic-frost"] {
  --bg-canvas: #F5F7FA; --bg-stone: #EBEEF4; --bg-surface: #FFFFFF; --bg-subtle: #EBEEF4; --border-hairline: #DCE3ED; --ink-primary: #141B29; --ink-body: #475569; --ink-secondary: #475569;
}
html[data-theme="light"][data-preset="matcha-botanical"] {
  --bg-canvas: #F4F7F4; --bg-stone: #E9F0EA; --bg-surface: #FCFDFB; --bg-subtle: #E9F0EA; --border-hairline: #D5E2D6; --ink-primary: #14271E; --ink-body: #3C5347; --ink-secondary: #3C5347;
}
html[data-theme="light"][data-preset="velvet-amethyst"] {
  --bg-canvas: #F8F6FC; --bg-stone: #EFEBF8; --bg-surface: #FFFFFF; --bg-subtle: #EFEBF8; --border-hairline: #E2D9F3; --ink-primary: #1B1330; --ink-body: #4A4064; --ink-secondary: #4A4064;
}
html[data-theme="light"][data-preset="luxe-obsidian"] {
  --bg-canvas: #F8F6F1; --bg-stone: #F1EEE7; --bg-surface: #FFFFFF; --bg-subtle: #F1EEE7; --border-hairline: #E7E2D8; --ink-primary: #0F1117; --ink-body: #232730; --ink-secondary: #232730; --ink-muted: #3A3F4B; --ink-faint: #4D5361;
}
html[data-theme="light"][data-preset="sunset-sand"] {
  --bg-canvas: #FAF5EE; --bg-stone: #F2E8DC; --bg-surface: #FFFDF9; --bg-subtle: #F2E8DC; --border-hairline: #E8DACA; --ink-primary: #291D14; --ink-body: #5C493A; --ink-secondary: #5C493A;
}

/* Graphite Studio Dark Mode (Studio Precision — Deep Obsidian + Electric Cobalt + Luminous Porcelain CTA) */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg-canvas: #12141A;
  --bg-stone: #0E1015;
  --bg-surface: #181B23;
  --bg-elevated: #1F232E;
  --bg-subtle: #111319;
  --bg-hover: #242936;
  --bg-topbar: rgba(14, 16, 21, 0.86);
  --bg-code: #0B0D12;

  --border-hairline: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);

  --ink-primary: #FFFFFF;
  --ink-body: #E8EEF8;
  --ink-secondary: #E8EEF8;
  --ink-muted: #CED8EA;
  --ink-faint: #B8C5DC;

  --cta-bg: #F4F6FA;
  --cta-ink: #13151A;
  --cta-hover: #FFFFFF;

  --accent: #6E8BFF;
  --accent-hover: #839DFF;
  --accent-tint: rgba(110, 139, 255, 0.14);
  --accent-border: rgba(110, 139, 255, 0.34);

  --emerald: #34D399;
  --emerald-tint: rgba(52, 211, 153, 0.12);
  --emerald-border: rgba(52, 211, 153, 0.28);

  --terracotta: #E08A72;
  --terracotta-tint: rgba(224, 138, 114, 0.14);

  --olive-stone: #C7BEAA;
  --olive-ink: #141312;

  --amber: #FBBF24;
  --amber-tint: rgba(251, 191, 36, 0.14);
  --amber-border: rgba(251, 191, 36, 0.30);

  --danger: #F87171;
  --danger-tint: rgba(248, 113, 113, 0.14);
  --danger-border: rgba(248, 113, 113, 0.30);

  --toast-bg: #181B23;
  --toast-ink: #F2F4F8;
  --toast-border: rgba(255, 255, 255, 0.14);

  --dot-pattern: rgba(255, 255, 255, 0.052);
  --connector-stroke: rgba(255, 255, 255, 0.16);

  --shadow-xs: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 3px rgba(0, 0, 0, 0.36);
  --shadow-sm: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px -14px rgba(0, 0, 0, 0.58), 0 2px 6px rgba(0, 0, 0, 0.32);
  --shadow-md: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 36px -18px rgba(0, 0, 0, 0.65), 0 4px 12px -4px rgba(0, 0, 0, 0.36);
  --shadow-lg: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 24px 56px -16px rgba(0, 0, 0, 0.72), 0 6px 18px -6px rgba(0, 0, 0, 0.42);
  --shadow-drawer: inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08), -18px 0 48px rgba(0, 0, 0, 0.68);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A9B5CA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

html[data-theme="dark"][data-preset="warm-editorial"],
html[data-theme="dark"][data-preset="luxe-obsidian"] {
  --bg-canvas: #12141A;
  --bg-stone: #0E1015;
  --bg-surface: #181B23;
  --bg-elevated: #1F232E;
  --bg-subtle: #111319;
  --bg-hover: #242936;
  --bg-topbar: rgba(14, 16, 21, 0.86);
  --bg-code: #0B0D12;
}
html[data-theme="dark"][data-preset="modern-midnight"],
html[data-theme="dark"][data-preset="antigravity"] {
  --bg-canvas: #12141A; --bg-stone: #0E1015; --bg-surface: #181B23; --bg-elevated: #1F232E; --bg-subtle: #111319; --bg-hover: #242936; --bg-topbar: rgba(14, 16, 21, 0.86);
}
html[data-theme="dark"][data-preset="minimal-mono"],
html[data-theme="dark"][data-preset="pure-contrast"] {
  --bg-canvas: #141519; --bg-stone: #101115; --bg-surface: #1B1D23; --bg-elevated: #22252D;
}
html[data-theme="dark"][data-preset="oceanic-trust"] {
  --bg-canvas: #101927; --bg-stone: #0C131F; --bg-surface: #162235; --bg-elevated: #1D2B42;
}
html[data-theme="dark"][data-preset="nordic-frost"] {
  --bg-canvas: #161B26; --bg-stone: #111620; --bg-surface: #1D2433; --bg-elevated: #242D40;
}
html[data-theme="dark"][data-preset="organic-earth"] {
  --bg-canvas: #191614; --bg-stone: #13110F; --bg-surface: #221E1B; --bg-elevated: #2B2622;
}
html[data-theme="dark"][data-preset="matcha-botanical"] {
  --bg-canvas: #121B17; --bg-stone: #0D1511; --bg-surface: #18251F; --bg-elevated: #1F3028;
}
html[data-theme="dark"][data-preset="velvet-amethyst"] {
  --bg-canvas: #181424; --bg-stone: #120F1C; --bg-surface: #201B30; --bg-elevated: #28223C;
}
html[data-theme="dark"][data-preset="sunset-sand"] {
  --bg-canvas: #1B1613; --bg-stone: #14100E; --bg-surface: #241D19; --bg-elevated: #2E2520;
}

html[data-theme="light"] .topbar {
  background: var(--bg-topbar);
}

html[data-density="compact"] { --row-py: 9px; }
html[data-scale="sm"] { --base-font: 14px; }
html[data-scale="lg"] { --base-font: 16px; }

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}
::selection,
html[data-theme="light"] ::selection {
  background: rgba(59, 91, 219, 0.18);
  color: #0F1117;
}
html[data-theme="dark"] ::selection {
  background: rgba(110, 139, 255, 0.34);
  color: #FFFFFF;
}
body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: var(--base-font);
  font-optical-sizing: auto;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
html[data-theme="dark"] body {
  background-image:
    radial-gradient(960px 440px at 22% 0%, rgba(91, 124, 250, 0.12), transparent 64%),
    radial-gradient(740px 360px at 84% 4%, rgba(52, 211, 153, 0.045), transparent 60%);
  background-repeat: no-repeat;
}
html[data-theme="light"] body {
  background-image: radial-gradient(920px 380px at 20% 0%, rgba(59, 91, 219, 0.055), transparent 62%);
  background-repeat: no-repeat;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-primary);
  font-family: var(--font-display);
  letter-spacing: -0.028em;
  line-height: 1.16;
}
h1, h2 { font-weight: 800; letter-spacing: -0.034em; }
h3, h4 { font-weight: 700; letter-spacing: -0.022em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.serif-accent {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  letter-spacing: -0.008em;
  padding-right: 1px;
  color: #2563EB;
  background: linear-gradient(95deg, #2563EB 0%, #3B5BDB 52%, #0D9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
html[data-theme="dark"] .serif-accent {
  color: #93C5FD;
  background: linear-gradient(95deg, #A5BEFF 0%, #60A5FA 52%, #5EEAD4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.serif-num {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.038em;
  font-variant-numeric: tabular-nums;
}

.tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.contact-email {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}
.contact-phone {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-body);
  font-variant-numeric: tabular-nums;
}
.hidden { display: none !important; }
.micro-muted { font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; }
.card-desc { font-size: 14.5px; color: var(--ink-body); line-height: 1.58; }
.card-top-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pill-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 8px; }
.icon-emerald { color: var(--emerald); }
.icon-accent { color: var(--accent); }
.icon-muted { color: var(--ink-muted); }
.btn-block { width: 100%; }
.icon-close-btn { padding: 0 8px; }

.icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 20px; height: 20px; }

html[data-theme="light"] .theme-sun { display: none; }
html[data-theme="dark"] .theme-moon { display: none; }

/* Scroll Reveal Choreography */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* --------------------------------------------------------------------------
   Minimalist Editorial Topbar
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 45;
  height: var(--nav-height);
  background: var(--bg-topbar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
  overflow-x: clip;
}
.topbar-inner {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--ink-primary);
}
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}
.brand-mark svg {
  display: block;
  width: 28px;
  height: 28px;
}
.site-footer .brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.site-footer .brand-mark svg {
  width: 22px;
  height: 22px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--ink-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 140ms var(--ease), background-color 140ms var(--ease), border-color 140ms var(--ease), box-shadow 140ms var(--ease);
  white-space: nowrap;
}
.nav-btn:hover { color: var(--ink-primary); background: rgba(255, 255, 255, 0.65); }
.nav-btn.active {
  color: var(--ink-primary);
  background: #FFFFFF;
  border-color: var(--border-hairline);
  box-shadow: 0 2px 8px -2px rgba(20, 21, 25, 0.08), 0 1px 2px rgba(20, 21, 25, 0.04);
  font-weight: 600;
}
html[data-theme="dark"] .nav-btn:hover {
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.055);
}
html[data-theme="dark"] .nav-btn.active {
  color: var(--ink-primary);
  background: rgba(110, 139, 255, 0.14);
  border-color: rgba(110, 139, 255, 0.30);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-weight: 600;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.icon-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  color: var(--ink-primary);
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 140ms var(--ease);
}
.icon-toggle-btn:hover,
.icon-toggle-btn.active {
  border-color: var(--border-strong);
  background: var(--bg-hover);
}

.credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-xs);
  color: var(--ink-primary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), color 140ms var(--ease);
}
.credit-pill:hover { border-color: var(--accent-border); background: var(--bg-hover); }
.credit-pill-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px var(--emerald-tint);
  flex-shrink: 0;
}
.credit-pill:not(.is-guest) .credit-pill-dot { display: none; }
.credit-pill.is-guest {
  background: rgba(21, 128, 61, 0.085);
  border-color: rgba(21, 128, 61, 0.25);
  color: #166534;
}
.credit-pill.is-guest:hover {
  background: rgba(21, 128, 61, 0.13);
  border-color: rgba(21, 128, 61, 0.38);
}
html[data-theme="dark"] .credit-pill.is-guest {
  background: rgba(52, 211, 153, 0.10);
  border-color: rgba(52, 211, 153, 0.28);
  color: #6EE7B7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.32);
}
html[data-theme="dark"] .credit-pill.is-guest:hover {
  background: rgba(52, 211, 153, 0.16);
  border-color: rgba(52, 211, 153, 0.42);
}
.pill-sep { color: var(--ink-faint); }

.nav-signin-link {
  background: transparent;
  border: none;
  padding: 6px 10px;
  color: var(--ink-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  border-radius: var(--radius-full);
  transition: background-color 140ms var(--ease);
}
.nav-signin-link:hover { background: var(--bg-hover); }

.mobile-nav-bar {
  display: none;
  position: relative;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-stone);
  padding: 7px 26px 7px 14px;
  gap: 5px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 26px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 26px), transparent 100%);
}
.mobile-nav-bar::-webkit-scrollbar { display: none; }
.mobile-nav-bar .nav-btn { flex-shrink: 0; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Buttons, Inputs, Badges & Studio Precision Cards
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 160ms var(--ease);
  white-space: nowrap;
}
.btn-pill { border-radius: var(--radius-full); padding: 0 18px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:disabled { opacity: 0.68; cursor: not-allowed; }
.btn-sm { height: 35px; padding: 0 14px; font-size: 13px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 12.5px; border-radius: var(--radius-full); }
.btn-lg { height: 45px; padding: 0 22px; font-size: 14.5px; }

.btn-primary {
  background: linear-gradient(180deg, #22252E 0%, #14161B 100%);
  color: var(--cta-ink);
  border-color: var(--cta-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 2px 6px rgba(20, 21, 25, 0.16);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #2B2F3B 0%, #1A1D24 100%);
  border-color: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -4px rgba(20, 21, 25, 0.28);
}
html[data-theme="dark"] .btn-primary {
  background: linear-gradient(180deg, #FFFFFF 0%, #EAEFF7 100%);
  color: var(--cta-ink);
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 2px 10px -2px rgba(8, 10, 14, 0.45);
}
html[data-theme="dark"] .btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 100%);
  border-color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 22px -6px rgba(110, 139, 255, 0.30), 0 3px 10px rgba(8, 10, 14, 0.45);
}
.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: #94A3B8;
}
html[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--border-hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065);
}
html[data-theme="dark"] .btn-secondary:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}
.btn-soft {
  background: var(--bg-stone);
  color: var(--ink-primary);
  border-color: var(--border-hairline);
}
.btn-soft:hover:not(:disabled) { border-color: var(--border-strong); background: var(--bg-hover); }
.btn-ghost { background: transparent; color: var(--ink-body); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-hover); color: var(--ink-primary); }
.btn-danger-ghost { background: transparent; color: var(--danger); }
.btn-danger-ghost:hover:not(:disabled) { background: var(--danger-tint); }

.btn-featured-cta {
  background: linear-gradient(180deg, #FFFFFF 0%, #EAEFF7 100%);
  color: #13151A;
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 4px 14px -4px rgba(0, 0, 0, 0.35);
}
.btn-featured-cta:hover:not(:disabled) {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FC 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 22px -6px rgba(110, 139, 255, 0.35);
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 36px -18px rgba(0, 0, 0, 0.65);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3.5px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--bg-stone);
  color: var(--ink-body);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-verified { background: var(--emerald-tint); color: var(--emerald); border-color: var(--emerald-border); }
.badge-accent { background: var(--accent-tint); color: var(--accent); border-color: var(--accent-border); }
.badge-signal { background: var(--terracotta-tint); color: var(--terracotta); border-color: transparent; }
.badge-danger { background: var(--danger-tint); color: var(--danger); border-color: var(--danger-border); }
.badge-mono { font-family: var(--font-mono); font-size: 12px; }
.badge-wrap,
.guarantee-badge,
.pricing-guarantee-badge,
.pricing-ssr-badges .badge,
.pricing-ssr-badges .badge-verified {
  white-space: normal;
  text-align: center;
  justify-content: center;
  line-height: 1.38;
  overflow: visible;
  text-overflow: clip;
  max-width: 100%;
  height: auto;
}

.input-wrap { position: relative; display: flex; align-items: center; width: 100%; }
.input-wrap > .icon { position: absolute; left: 12px; color: var(--ink-muted); pointer-events: none; }
.input-control, .select-control {
  width: 100%;
  height: 41px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  color: var(--ink-primary);
  font-size: 14px;
  padding: 0 12px 0 36px;
  outline: none;
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease), background-color 140ms var(--ease);
}
html[data-theme="dark"] .input-control,
html[data-theme="dark"] .select-control {
  background-color: var(--bg-subtle);
  border-color: var(--border-hairline);
  box-shadow: inset 0 1px 2px rgba(8, 10, 14, 0.44);
}
.input-control:hover, .select-control:hover {
  border-color: var(--border-strong);
}
.input-pill { border-radius: var(--radius-full); padding-left: 16px; padding-right: 16px; }
.input-plain, .select-control { padding-left: 13px; }
.select-control {
  padding-right: 34px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bg-surface);
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 14px 14px;
  cursor: pointer;
}
html[data-theme="dark"] .select-control {
  background-color: var(--bg-subtle);
}
.select-control::-ms-expand { display: none; }
select.select-control::picker-icon { display: none; }
.input-control:focus, .select-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.input-control::placeholder,
input::placeholder,
textarea::placeholder { color: var(--ink-faint); opacity: 1; }

/* Switch (Studio Precision Cobalt Active State) */
.toggle-list { display: flex; flex-direction: column; gap: 11px; }
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-primary);
  cursor: pointer;
}
.switch { position: relative; display: inline-flex; width: 38px; height: 22px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: #CBD5E1;
  border: 1px solid #94A3B8;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
html[data-theme="dark"] .switch-track {
  background: var(--border-strong);
  border-color: rgba(255, 255, 255, 0.14);
}
.switch-track::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: transform 160ms var(--ease);
}
.switch input:checked + .switch-track { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .switch-track::after { transform: translateX(16px); }

/* --------------------------------------------------------------------------
   Views & Containers
   -------------------------------------------------------------------------- */
.view-section { display: none; min-height: calc(100vh - var(--nav-height) - 64px); }
.view-section.active { display: block; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 40px 0 68px; }
.landing-section { padding: 76px 0; }
.landing-section-tight { padding: 20px 0 64px; }
.landing-section-border { border-top: 1px solid var(--border-hairline); }

.section-header { max-width: 680px; margin-bottom: 34px; }
.section-header-flush { margin-bottom: 0; }
.section-header-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.section-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3B5BDB;
  margin-bottom: 10px;
}
html[data-theme="dark"] .section-kicker {
  color: #93B4FF;
}
.section-header h1 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.035em;
}
.section-header h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 10px;
  letter-spacing: -0.032em;
}
.section-header p { font-size: 16px; line-height: 1.62; color: var(--ink-body); }
.section-center-cta { text-align: center; margin-top: 30px; }

/* --------------------------------------------------------------------------
   Style 1A + 1B Asymmetric Editorial Hero + GPU Parallax Contact Flow
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 6.2vh, 72px) 0 clamp(54px, 6.6vh, 76px);
}
@media (min-width: 1141px) {
  .hero {
    min-height: clamp(540px, calc(100vh - var(--nav-height) - 148px), 844px);
    display: flex;
    align-items: center;
    padding: clamp(44px, 5.4vh, 68px) 0 clamp(48px, 5.8vh, 74px);
  }
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot-pattern) 1.15px, transparent 1.15px);
  background-size: 22px 22px;
}
html[data-theme="dark"] .hero-backdrop {
  background-image:
    radial-gradient(ellipse 64% 52% at 22% 6%, rgba(110, 139, 255, 0.14), transparent 68%),
    radial-gradient(ellipse 56% 52% at 76% 42%, rgba(110, 139, 255, 0.10), transparent 64%),
    radial-gradient(ellipse 46% 42% at 80% 18%, rgba(52, 211, 153, 0.06), transparent 62%),
    radial-gradient(circle, var(--dot-pattern) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 24px 24px;
}
.hero-container { position: relative; z-index: 1; }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 54px;
  align-items: center;
}
.hero-copy h1,
.hero-copy h2.hero-title {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink-body);
  max-width: 510px;
  margin-bottom: 28px;
}
.hero-sub strong { color: var(--ink-primary); font-weight: 600; }

.hero-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 500px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
html[data-theme="dark"] .hero-search-form {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 2px rgba(8, 10, 14, 0.44), var(--shadow-md);
}
.hero-search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint), var(--shadow-lg);
}
.hero-search-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink-primary);
  font-size: 15px;
  min-width: 0;
  height: 40px;
}
.hero-search-form input::placeholder { color: var(--ink-muted); }
.hero-submit-btn { height: 42px; padding: 0 24px; font-size: 14.5px; }
.hero-proof-line {
  font-size: 13.5px;
  color: var(--ink-muted);
  padding-left: 6px;
}
html[data-theme="dark"] .hero-proof-line {
  color: #B4C0D4;
}

/* Right Refined Concept 2 Dotted World Map + Live Floating Card */
.hero-flow-stage {
  position: relative;
  min-height: 468px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2px;
}
.world-net-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 6px;
  z-index: 4;
}
html[data-theme="dark"] .world-net-pill {
  background: rgba(24, 27, 35, 0.90);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-sm);
}
.world-map-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  user-select: none;
}
.world-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.world-dots-path { color: #C5BEB2; }
html[data-theme="dark"] .world-dots-path { color: #4A536A; }

.world-arc-base {
  fill: none;
  stroke-width: 1.35;
  opacity: 0.34;
  transition: opacity 220ms var(--ease), stroke-width 220ms var(--ease);
}
.world-arc-base.active { opacity: 0.88; stroke-width: 1.7; }
.world-arc-pulse {
  fill: none;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-dasharray: 18 82;
  opacity: 0;
  transition: opacity 180ms var(--ease);
}
.world-arc-pulse.active {
  opacity: 1;
  filter: drop-shadow(0 0 4px currentColor);
  animation: worldArcFlow 2.1s linear infinite;
}
.arc-emerald { stroke: #0D9488; }
.arc-amber { stroke: #C26B4A; }
html[data-theme="dark"] .arc-emerald { stroke: #10B981; }
html[data-theme="dark"] .arc-amber { stroke: #F59E0B; }

@keyframes worldArcFlow {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

.hub-beacon {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hub-beacon:focus-visible { outline: 2px solid var(--accent); border-radius: 50%; outline-offset: 2px; }
.hub-dot {
  width: 8.5px;
  height: 8.5px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.hub-beacon.active .hub-dot,
.hub-beacon:hover .hub-dot { transform: scale(1.28); }
.hub-pulse {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  opacity: 0.6;
  animation: hubPulseRing 2.5s ease-out infinite;
}
.hub-beacon.active .hub-pulse { opacity: 0.95; inset: -6px; }
.hub-emerald .hub-dot {
  background: #0D9488;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.2), 0 0 12px rgba(13, 148, 136, 0.6);
}
.hub-emerald .hub-pulse { border: 1.5px solid #0D9488; background: rgba(13, 148, 136, 0.16); }
.hub-amber .hub-dot {
  background: #C26B4A;
  box-shadow: 0 0 0 4px rgba(194, 107, 74, 0.2), 0 0 12px rgba(194, 107, 74, 0.55);
}
.hub-amber .hub-pulse { border: 1.5px solid #C26B4A; background: rgba(194, 107, 74, 0.16); }
html[data-theme="dark"] .hub-emerald .hub-dot {
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.24), 0 0 16px rgba(16, 185, 129, 0.85);
}
html[data-theme="dark"] .hub-emerald .hub-pulse { border-color: #10B981; background: rgba(16, 185, 129, 0.22); }
html[data-theme="dark"] .hub-amber .hub-dot {
  background: #F59E0B;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.24), 0 0 16px rgba(245, 158, 11, 0.85);
}
html[data-theme="dark"] .hub-amber .hub-pulse { border-color: #F59E0B; background: rgba(245, 158, 11, 0.22); }

@keyframes hubPulseRing {
  0% { transform: scale(0.75); opacity: 0.9; }
  75%, 100% { transform: scale(2.05); opacity: 0; }
}

.hub-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 2.5px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.88;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}
.hub-label-left .hub-label { left: auto; right: 16px; }
html[data-theme="dark"] .hub-label {
  background: rgba(21, 23, 27, 0.92);
  border-color: var(--border-strong);
  color: var(--ink-primary);
}
.hub-beacon.active .hub-label,
.hub-beacon:hover .hub-label {
  opacity: 1;
  box-shadow: var(--shadow-xs);
}

.hero-contact-card {
  position: absolute;
  right: 24px;
  bottom: 0;
  z-index: 4;
  width: min(358px, 100%);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 15px 18px 13px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
html[data-theme="dark"] .hero-contact-card {
  background: rgba(24, 27, 35, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 22px 48px -16px rgba(0, 0, 0, 0.72);
}
.hero-contact-card:hover { border-color: var(--accent-border); }

.hcc-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 10px;
}
.hcc-company-wrap { width: 100%; min-width: 0; }
.hcc-company {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hcc-location { display: block; font-size: 13px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.hcc-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-start; flex-shrink: 0; }
.hcc-signal-pill,
.signal-pill {
  display: inline-flex;
  align-items: center;
  padding: 3.5px 9.5px;
  border-radius: var(--radius-full);
  background: rgba(59, 91, 219, 0.085);
  border: 1px solid rgba(59, 91, 219, 0.24);
  color: #2F4BC4;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
html[data-theme="dark"] .hcc-signal-pill,
html[data-theme="dark"] .signal-pill {
  background: rgba(110, 139, 255, 0.14);
  border: 1px solid rgba(110, 139, 255, 0.30);
  color: #B4C6FF;
}

.mx-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3.5px 9.5px;
  border-radius: var(--radius-full);
  background: #E6F4EA;
  border: 1px solid rgba(21, 128, 61, 0.26);
  color: #15803D;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  flex-shrink: 0;
  white-space: nowrap;
}
html[data-theme="dark"] .mx-pill {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #34D399;
}
.mx-pill.mx-pill-warn {
  background: var(--amber-tint);
  border-color: var(--amber-border);
  color: var(--amber);
}
.mx-pill.mx-pill-warn .mx-dot {
  background: var(--amber);
}
.mx-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  flex-shrink: 0;
}

.hcc-rows {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.hcc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 13.5px;
}
.hcc-row:last-child { border-bottom: none; }
.hcc-label { color: var(--ink-muted); flex-shrink: 0; }
.hcc-value {
  color: var(--ink-primary);
  font-size: 13px;
  font-weight: 500;
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hcc-verified-val {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}
.hcc-verified-val > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.verified-check-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hcc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
}
.hcc-action-link {
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 140ms var(--ease);
}
.hcc-action-link:hover { color: var(--accent); }
.hcc-export-btn { font-size: 12.5px; padding: 0 13px; height: 31px; }

.hcc-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: var(--accent-tint);
}
.hcc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--emerald));
  animation: hccCycle 5s linear infinite;
}
.hero-flow-stage:hover .hcc-progress-bar { animation-play-state: paused; }
@keyframes hccCycle {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* --------------------------------------------------------------------------
   Warm Stone 4-Col Editorial Metrics Band (Style 1B)
   -------------------------------------------------------------------------- */
.stone-stats-band {
  background: var(--bg-stone);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: clamp(32px, 4.2vh, 46px) 0;
}
#templates-section.landing-section {
  padding-top: 84px;
}
.editorial-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.editorial-metric-val {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink-primary);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
html[data-theme="dark"] .editorial-metric-val {
  background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.editorial-metric-lbl {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-body);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Ready-to-Use B2B Lead & Outreach Templates Section
   -------------------------------------------------------------------------- */
.template-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.stone-tab {
  padding: 7.5px 15px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  color: var(--ink-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 140ms var(--ease);
  white-space: nowrap;
}
.stone-tab:hover { border-color: var(--border-strong); color: var(--ink-primary); }
.stone-tab.active {
  background: var(--cta-bg);
  border-color: var(--cta-bg);
  color: var(--cta-ink);
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.template-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.template-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tpl-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tpl-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tpl-cat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}
.template-card h3 { font-size: 17px; font-weight: 700; line-height: 1.28; }
.tpl-filter-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: #1E293B;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
}
html[data-theme="dark"] .tpl-filter-meta {
  background: rgba(110, 139, 255, 0.085);
  border-color: rgba(110, 139, 255, 0.24);
  color: #D2E0FA;
}
.tpl-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-hairline);
  flex-wrap: wrap;
}
.tpl-script-link {
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-body);
  cursor: pointer;
}
.tpl-script-link:hover { color: var(--ink-primary); text-decoration: underline; }
.tpl-load-link {
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  transition: color 140ms var(--ease);
}
.tpl-load-link:hover { color: var(--accent-hover); }

.script-preview-box {
  padding: 15px;
  border-radius: var(--radius-md);
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  font-size: 14px;
  line-height: 1.64;
  color: var(--ink-primary);
  white-space: pre-wrap;
}

/* --------------------------------------------------------------------------
   Style 1D Editorial 3-Col Industry Verticals (Zero Badge Spam!)
   -------------------------------------------------------------------------- */
.editorial-verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.editorial-v-card {
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.editorial-v-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.editorial-v-icon {
  width: 34px;
  height: 34px;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.editorial-v-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.editorial-v-head h3 { font-size: 17px; font-weight: 700; }
.editorial-v-scale {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-body);
  flex-shrink: 0;
}
.editorial-v-desc {
  font-size: 14.5px;
  color: var(--ink-body);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.editorial-v-cta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: color 140ms var(--ease);
}
.editorial-v-card:hover .editorial-v-cta { color: var(--accent-hover); }

/* Starter Magnet Banner */
.starter-magnet-card {
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bg-surface);
}
.starter-magnet-left h2 { font-size: 26px; margin-bottom: 6px; }
.starter-desc { font-size: 15px; color: var(--ink-body); max-width: 560px; }
.starter-magnet-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.starter-magnet-form input { width: 255px; }
.starter-result-slot { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Style 1D Warm Stone Pricing Band (Jet-Charcoal Featured Growth Pro)
   -------------------------------------------------------------------------- */
.stone-pricing-band {
  background: var(--bg-stone);
  border-top: 1px solid var(--border-hairline);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 1020px;
  margin: 0 auto;
}
/* Studio Precision Featured Card (Obsidian Light / Cobalt-Rimmed Graphite Dark) */
.price-card {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border-radius: 18px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.price-tier-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-primary);
}
.price-amount {
  line-height: 1;
  margin: 4px 0 2px;
}
.price-amount .serif-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--ink-primary);
}
html[data-theme="dark"] .price-amount .serif-num {
  background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-amount .period {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 3px;
}
.price-sub { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 10px; }

.price-features {
  list-style: none;
  margin: 4px 0 20px;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
  text-align: left;
  color: var(--ink-body);
}
.price-features li { display: flex; align-items: center; gap: 10px; }
.price-cta { margin-top: auto; width: 100%; }

.price-card-featured {
  position: relative;
  background: linear-gradient(180deg, #1E2129 0%, #15171D 100%);
  border-color: #2A2E3A;
  color: #F2F4F8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 24px 54px -16px rgba(20, 21, 25, 0.38);
}
.price-card-featured:hover {
  border-color: #3D4456;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 28px 60px -16px rgba(20, 21, 25, 0.44);
}
html[data-theme="dark"] .price-card-featured {
  background: linear-gradient(180deg, #212636 0%, #171A24 100%);
  border-color: var(--accent-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 56px -16px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(110, 139, 255, 0.16);
}
html[data-theme="dark"] .price-card-featured:hover {
  border-color: var(--accent);
}
.price-card-featured .price-tier-name,
.price-card-featured .price-amount .serif-num,
.price-card-featured .price-features { color: #FFFFFF; }
.price-card-featured .price-amount .period,
.price-card-featured .price-sub { color: #B4C0D4; }

.popular-floating-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4.5px 15px;
  border-radius: var(--radius-full);
  background: #3B5BDB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(59, 91, 219, 0.34);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
html[data-theme="dark"] .popular-floating-badge {
  background: #6E8BFF;
  color: #10131C;
  box-shadow: 0 4px 16px rgba(110, 139, 255, 0.38);
}

.credit-packs-wrap { max-width: 1020px; margin: 36px auto 0; }
.credit-packs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.credit-packs-header h2,
.credit-packs-header h3 { font-size: 19px; }
.credit-packs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.credit-pack-card {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}
.credit-pack-card > div:first-child { min-width: 0; flex: 1 1 auto; }
.credit-pack-card h3,
.credit-pack-card h4 { font-size: 16px; margin-bottom: 3px; }
.credit-pack-action { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-shrink: 0; }
.credit-pack-action .btn { white-space: nowrap; flex-shrink: 0; min-width: 156px; justify-content: center; }
.pack-price { font-size: 30px; font-weight: 800; color: var(--ink-primary); }

/* --------------------------------------------------------------------------
   Style 1C Warm Editorial Live Explorer (/explorer)
   -------------------------------------------------------------------------- */
.explorer-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: calc(100vh - var(--nav-height));
  background: var(--bg-canvas);
}
.mobile-filter-bar,
.rail-mobile-head { display: none; }

.explorer-rail {
  border-right: 1px solid var(--border-hairline);
  background: var(--bg-stone);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rail-field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-body);
  margin-bottom: 5px;
}
.rail-section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.rail-divider { height: 1px; background: var(--border-hairline); margin: 2px 0; }
.rail-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-hairline); }

.rail-date-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}
.rail-ctx-card {
  padding: 11px 12px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rail-ctx-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.rail-ctx-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.rail-accordion {
  border-top: 1px solid var(--border-hairline);
  padding-top: 10px;
}
.rail-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  user-select: none;
  padding: 2px 0;
}
.rail-accordion-summary::-webkit-details-marker { display: none; }
.rail-accordion-summary:hover { color: var(--ink-primary); }
.rail-acc-chevron {
  transition: transform 160ms var(--ease);
  font-size: 12px;
}
.rail-accordion[open] .rail-acc-chevron { transform: rotate(180deg); }
.rail-accordion-body { margin-top: 10px; }
.rail-adv-stack { display: flex; flex-direction: column; gap: 11px; }
.rail-date-input {
  height: 34px;
  padding: 0 7px;
  font-size: 12px;
  min-width: 0;
}
.cell-address {
  max-width: 145px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12.5px;
}
.reg-date-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.explorer-main { padding: 18px 18px 80px; min-width: 0; }
.explorer-card-shell {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.explorer-toolbar {
  padding: 16px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-hairline);
}
.explorer-serif-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
  line-height: 1.2;
}
.toolbar-sub { font-size: 13px; color: var(--ink-body); margin-top: 3px; }
.toolbar-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sort-select { width: 148px; height: 34px; font-size: 12.5px; border-radius: var(--radius-full); }

.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-canvas);
}

.mobile-scroll-hint {
  display: none;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-xs);
}
.explorer-table-scroll { border: none; border-radius: 0; box-shadow: none; }
.table-scroll-sticky { max-height: calc(100vh - 235px); overflow-y: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: left;
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-hairline);
  white-space: nowrap;
}
html[data-theme="dark"] .data-table th {
  background: #1B1E28;
}
.data-table td {
  padding: var(--row-py) 8px;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: middle;
}
html[data-theme="dark"] .data-table td {
  border-bottom-color: rgba(255, 255, 255, 0.065);
}
.data-table tbody tr { cursor: pointer; transition: background-color 130ms var(--ease), box-shadow 130ms var(--ease); }
.data-table tbody tr:hover { background: #F1F5F9; }
html[data-theme="dark"] .data-table tbody tr:hover {
  background: rgba(110, 139, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.col-check { width: 34px; text-align: center; }
.col-action { width: 76px; text-align: right; }

.table-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-surface);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease);
}
html[data-theme="dark"] .table-checkbox {
  background: var(--bg-subtle);
}
.table-checkbox:hover:not(:disabled) { border-color: var(--accent); }
.table-checkbox:checked {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.table-checkbox:disabled { opacity: 0.4; cursor: not-allowed; }

.company-cell { display: flex; align-items: center; gap: 8px; min-width: 145px; max-width: 196px; }
.company-cell > div { min-width: 0; max-width: 152px; }
.company-cell .cell-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}
.co-avatar-tone-0 { background: #2546B8; border-color: rgba(37, 70, 184, 0.25); color: #FFFFFF; }
.co-avatar-tone-1 { background: #136F49; border-color: rgba(19, 111, 73, 0.25); color: #FFFFFF; }
.co-avatar-tone-2 { background: #3F3D9E; border-color: rgba(63, 61, 158, 0.25); color: #FFFFFF; }
.co-avatar-tone-3 { background: #1E293B; border-color: rgba(30, 41, 59, 0.25); color: #FFFFFF; }
.co-avatar-tone-4 { background: #0F6E6E; border-color: rgba(15, 110, 110, 0.25); color: #FFFFFF; }
.co-avatar-tone-5 { background: #1E4D7B; border-color: rgba(30, 77, 123, 0.25); color: #FFFFFF; }
html[data-theme="dark"] .co-avatar {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .co-avatar-tone-0 { background: rgba(59, 130, 246, 0.16); border-color: rgba(96, 165, 250, 0.30); color: #93C5FD; }
html[data-theme="dark"] .co-avatar-tone-1 { background: rgba(16, 185, 129, 0.15); border-color: rgba(52, 211, 153, 0.28); color: #6EE7B7; }
html[data-theme="dark"] .co-avatar-tone-2 { background: rgba(99, 102, 241, 0.17); border-color: rgba(129, 140, 248, 0.32); color: #A5B4FC; }
html[data-theme="dark"] .co-avatar-tone-3 { background: rgba(148, 163, 184, 0.14); border-color: rgba(148, 163, 184, 0.26); color: #CBD5E1; }
html[data-theme="dark"] .co-avatar-tone-4 { background: rgba(20, 184, 166, 0.15); border-color: rgba(45, 212, 191, 0.28); color: #5EEAD4; }
html[data-theme="dark"] .co-avatar-tone-5 { background: rgba(14, 165, 233, 0.15); border-color: rgba(56, 189, 248, 0.28); color: #7DD3FC; }
.cell-title { font-size: 13.5px; font-weight: 600; color: var(--ink-primary); line-height: 1.32; letter-spacing: -0.01em; }
.cell-founder { font-size: 13px; font-weight: 500; color: var(--ink-primary); line-height: 1.32; }
.cell-location { font-size: 13px; font-weight: 400; color: var(--ink-body); line-height: 1.32; }
.cell-sub { font-size: 12.5px; font-weight: 400; color: var(--ink-muted); margin-top: 2px; line-height: 1.38; }
.deliverability-pills {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.deliverability-pill {
  padding: 2.5px 8px;
  font-size: 12px;
}
.reg-date-meta {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  white-space: nowrap;
}
.deliverability-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-primary);
  white-space: nowrap;
}
.quiet-signal-note {
  display: block;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-body);
  margin-top: 3px;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 215px;
  min-width: 0;
  white-space: nowrap;
}
.contact-stack .contact-email {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.015em;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 185px;
}
.contact-stack .contact-phone {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-body);
  letter-spacing: -0.01em;
}
.inline-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--border-hairline);
  background: var(--bg-stone);
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.inline-copy-btn:hover { border-color: var(--ink-primary); color: var(--ink-primary); }

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.explorer-pagination-bar {
  margin-top: 0;
  padding: 14px 24px;
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}
.empty-state { padding: 48px 20px; text-align: center; color: var(--ink-muted); }

@keyframes shimmer {
  0% { background-position: -240px 0; }
  100% { background-position: 240px 0; }
}
.skeleton-bar {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bg-stone) 25%, var(--bg-hover) 50%, var(--bg-stone) 75%);
  background-size: 480px 100%;
  animation: shimmer 1.25s infinite linear;
}
.skeleton-sub { height: 9px; margin-top: 6px; width: 65%; }

.bulk-dock {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: calc(100vw - 28px);
  flex-wrap: wrap;
}
.bulk-dock-count { font-size: 13px; font-weight: 700; color: var(--ink-primary); white-space: nowrap; }
.bulk-dock-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Directory Index & Niche Detail (Style 1D)
   -------------------------------------------------------------------------- */
.template-tab, .niche-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  color: var(--ink-primary);
  cursor: pointer;
  transition: all 140ms var(--ease);
  text-decoration: none;
}
.template-tab:hover, .niche-pill-btn:hover { border-color: var(--border-strong); background: var(--bg-stone); }
.template-tab.active, .niche-pill-btn.active { background: var(--cta-bg); border-color: var(--cta-bg); color: var(--cta-ink); font-weight: 600; }

.dir-index-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}
.dir-index-header h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 8px;
}
.dir-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 210px 200px;
  gap: 10px;
  padding: 12px;
  margin-bottom: 26px;
  border-radius: var(--radius-lg);
}
.dir-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dir-niche-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.dir-niche-card:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dir-niche-card h3 { font-size: 16px; line-height: 1.3; font-weight: 700; }
.dir-niche-summary {
  font-size: 13px;
  color: var(--ink-body);
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dir-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}
.dir-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--ink-muted);
}
.dir-breadcrumb-sep { color: var(--ink-faint); }

.dir-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.dir-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.dir-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.niche-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.metric-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  min-width: 0;
}
.metric-val { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink-primary); }
.metric-lbl { font-size: 12.5px; font-weight: 500; color: var(--ink-muted); margin-top: 3px; }

.widened-notice {
  padding: 12px 15px;
  border-radius: var(--radius-md);
  background: var(--amber-tint);
  border: 1px solid var(--amber-border);
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 500;
}

.unlock-box {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-stone);
  border: 1px solid var(--border-strong);
}
.unlock-form-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.unlock-form-row input { flex: 1; min-width: 210px; }

/* --------------------------------------------------------------------------
   Blog, Lookup, Workspace & Editorial Magazine Reader
   -------------------------------------------------------------------------- */
.reading-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  background: transparent;
  pointer-events: none;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--emerald));
  transition: width 80ms linear;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 24px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.blog-featured-card:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-featured-media {
  position: relative;
  aspect-ratio: 16 / 9;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
  background: var(--bg-stone);
}
.blog-featured-media img,
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 360ms var(--ease);
}
.blog-featured-card:hover .blog-featured-media img,
.blog-card:hover .blog-card-media img {
  transform: scale(1.03);
}
.blog-featured-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.blog-featured-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.blog-featured-deck {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-body);
}

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-width: 0;
  transition: border-color 150ms var(--ease), transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.blog-card:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-card-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--bg-stone);
  border-bottom: 1px solid var(--border-hairline);
}
.blog-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-reader-topbar {
  max-width: 1056px;
  margin: 0 auto 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.blog-reader-hero {
  max-width: 820px;
  margin: 0 auto 26px;
  text-align: center;
}
.blog-reader-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
}
.blog-reader-subtitle {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-body);
  max-width: 660px;
  margin: 0 auto 14px;
}
.blog-byline {
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-cover-figure {
  max-width: 960px;
  margin: 0 auto 32px;
}
.blog-cover-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-md);
}
.blog-cover-caption {
  margin-top: 9px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.blog-reader-layout {
  max-width: 1056px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  gap: 36px;
  align-items: start;
}
.blog-reader-layout > * { min-width: 0; }
.blog-article-body { padding: 34px 36px; display: flex; flex-direction: column; gap: 24px; min-width: 0; max-width: 100%; }
.blog-article-body > * { min-width: 0; max-width: 100%; }
.blog-stats-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.blog-takeaways-box {
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.blog-takeaways-list {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-body);
}
.blog-section-block { scroll-margin-top: calc(var(--nav-height) + 22px); }
.blog-section-block h2 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.3vw, 26px);
  line-height: 1.24;
  margin-bottom: 12px;
}
.blog-section-block p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.74;
  color: var(--ink-body);
  margin-bottom: 15px;
  max-width: 66ch;
}
.blog-section-block p:last-child { margin-bottom: 0; }
.blog-pull-quote {
  margin: 4px 0;
  padding: 18px 24px;
  border-left: 3px solid var(--terracotta);
  background: var(--bg-stone);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.blog-pull-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}
.blog-pull-quote figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}
.blog-script-box {
  background: var(--bg-stone);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.blog-script-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.blog-script-pre {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-primary);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.blog-mid-cta {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-stone);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-table-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
}
.blog-table-card .table-scroll {
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.blog-table-card .data-table th,
.blog-table-card .data-table td {
  padding: 10px 10px;
  font-size: 13px;
  white-space: normal;
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  .blog-table-card .data-table { min-width: 560px; }
}
.blog-table-title {
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-stone);
  color: var(--ink-primary);
}
.blog-faq-list { display: grid; gap: 10px; margin-top: 10px; }
.blog-faq-item {
  padding: 15px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: var(--bg-canvas);
}
.blog-faq-item strong { display: block; font-size: 14.5px; color: var(--ink-primary); margin-bottom: 5px; }
.blog-faq-item p { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.6; color: var(--ink-body); margin: 0; }

.blog-sticky-aside {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-toc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.blog-toc-btn {
  border: none;
  background: transparent;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-body);
  cursor: pointer;
  transition: background-color 140ms var(--ease), color 140ms var(--ease);
}
.blog-toc-btn:hover { background: var(--bg-stone); color: var(--ink-primary); }

.blog-search-input { width: 250px; max-width: 100%; }
.vertical-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-hairline);
}

.lookup-wrap { padding: 40px 28px 68px; }
.lookup-hero { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.lookup-hero h1,
.lookup-hero h2.lookup-hero-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.lookup-sub { font-size: 15px; color: var(--ink-body); }
.lookup-search-box { position: relative; margin-top: 20px; }
.lookup-input { height: 48px; padding-left: 40px; font-size: 14.5px; box-shadow: var(--shadow-sm); }
.lookup-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  z-index: 30;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  max-height: 320px;
  overflow-y: auto;
}
.lookup-dropdown.open { display: block; }
.lookup-drop-item { padding: 11px 16px; border-bottom: 1px solid var(--border-hairline); cursor: pointer; text-align: left; }
.lookup-drop-item:hover { background: var(--bg-hover); }
.lookup-drop-item:last-child { border-bottom: none; }
.sample-entities-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.sample-entity-btn {
  padding: 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.sample-entity-btn.active { border-color: var(--accent); background: var(--accent-tint); }
.lookup-metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lookup-card-wrap { padding: 24px; overflow: hidden; }
.lookup-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lookup-card-title { min-width: 0; flex: 1 1 240px; }
.lookup-card-title h2 { font-size: 23px; overflow-wrap: anywhere; }
.lookup-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lookup-metric-val { margin-top: 5px; font-weight: 600; color: var(--ink-primary); overflow-wrap: anywhere; font-size: 13px; }

.workspace-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.workspace-header h1,
.workspace-header h2 { font-size: clamp(24px, 3vw, 34px); }
.workspace-kpi-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.subtabs-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-stone);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hairline);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.subtabs-bar::-webkit-scrollbar { display: none; }
.subtab-btn {
  padding: 7px 14px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--ink-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.subtab-btn.active { background: var(--bg-elevated); color: var(--ink-primary); box-shadow: var(--shadow-xs); }

.retention-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 18px; }
.email-preview-card { padding: 20px; }
.email-render-box { margin-top: 10px; padding: 16px; border-radius: var(--radius-md); background: var(--bg-canvas); border: 1px solid var(--border-hairline); font-size: 13.5px; }
.list-item-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-primary);
}
.list-item-chip-open { cursor: pointer; }
.list-item-chip-open:hover { text-decoration: underline; }
.list-item-chip-del { background: none; border: none; color: var(--ink-muted); cursor: pointer; padding: 0 2px; font-size: 13px; line-height: 1; }
.list-item-chip-del:hover { color: var(--danger); }

.settings-panel { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.settings-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Billing & Account View (/billing) */
.billing-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-bottom: 36px;
}
.billing-summary-card {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.billing-export-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.billing-format-btn {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-hairline);
  background: var(--bg-canvas);
  color: var(--ink-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease);
}
.billing-format-btn:hover { border-color: var(--border-strong); color: var(--ink-primary); }
.billing-format-btn.active {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--ink-primary);
}
.billing-section-block { margin-bottom: 36px; }
.billing-history-card { padding: 24px; }
.billing-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.billing-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: var(--bg-stone);
}

/* --------------------------------------------------------------------------
   Drawer, Modals, Auth, Checkout, Admin & Footer
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 13, 18, 0.54);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(500px, 100vw);
  z-index: 65;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform 240ms var(--ease), visibility 240ms var(--ease);
  display: flex;
  flex-direction: column;
}
#company-drawer:not(.open),
.drawer:not(.open) {
  visibility: hidden;
  pointer-events: none;
}
.drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.drawer-header { padding: 18px 22px; border-bottom: 1px solid var(--border-hairline); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.drawer-body { padding: 18px 22px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(11, 13, 18, 0.60);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal-card {
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.modal-card.modal-lg { width: min(680px, 100%); }
.modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg-surface);
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.modal-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-full);
}
.modal-tab-btn {
  padding: 8px 12px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--ink-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.modal-tab-btn.active { background: var(--bg-elevated); color: var(--ink-primary); box-shadow: var(--shadow-xs); }

.plan-picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan-option-card {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-hairline);
  background: var(--bg-canvas);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease);
}
.plan-option-card.active { border-color: var(--accent); background: var(--accent-tint); }
.bank-info-box {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bank-info-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; flex-wrap: wrap; }
.custom-slice-card {
  max-width: 600px;
  margin: 16px auto;
  padding: 24px;
  text-align: left;
  background: var(--bg-stone);
}
.form-error-box { padding: 10px 12px; border-radius: var(--radius-md); font-size: 12.5px; font-weight: 500; background: var(--danger-tint); color: var(--danger); border: 1px solid var(--danger-border); }
.form-success-box { padding: 10px 12px; border-radius: var(--radius-md); font-size: 12.5px; font-weight: 500; background: var(--emerald-tint); color: var(--emerald); border: 1px solid var(--emerald-border); }

.admin-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.admin-table-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.admin-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-primary); margin-bottom: 5px; }

.toast-container { position: fixed; bottom: 76px; right: 22px; z-index: 90; display: flex; flex-direction: column; gap: 8px; max-width: calc(100vw - 32px); }

/* --------------------------------------------------------------------------
   Floating AI Help Assistant Widget (Warm Editorial + Obsidian Studio)
   -------------------------------------------------------------------------- */
.ai-widget-wrap {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 62;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transition: bottom 180ms var(--ease);
}
body.has-bulk-dock .ai-widget-wrap { bottom: 84px; }

.ai-fab {
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, #22252E 0%, #14161B 100%);
  color: var(--cta-ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease);
}
.ai-fab:hover { background: linear-gradient(180deg, #2B2F3B 0%, #1A1D24 100%); transform: translateY(-1px); }
html[data-theme="dark"] .ai-fab {
  background: linear-gradient(180deg, #FFFFFF 0%, #EAEFF7 100%);
  color: var(--cta-ink);
  border-color: rgba(255, 255, 255, 0.9);
}
html[data-theme="dark"] .ai-fab:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 100%);
}
.ai-fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ai-chat-drawer {
  width: min(380px, calc(100vw - 24px));
  height: min(560px, 78vh);
  margin-bottom: 10px;
  border-radius: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-chat-header {
  padding: 13px 16px;
  background: var(--bg-stone);
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ai-chat-title-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ai-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; }
.ai-chat-title { display: block; font-size: 14px; color: var(--ink-primary); line-height: 1.2; }
.ai-chat-sub { display: block; font-size: 12.5px; color: var(--ink-muted); }
.ai-chat-head-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-canvas);
}
.ai-msg-row { display: flex; flex-direction: column; gap: 6px; }
.ai-msg-user {
  align-self: flex-end;
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--cta-bg);
  color: var(--cta-ink);
  font-size: 13.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ai-msg-assistant {
  align-self: flex-start;
  max-width: 92%;
  padding: 11px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--ink-body);
  font-size: 13.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  box-shadow: var(--shadow-xs);
}
.ai-msg-assistant strong { color: var(--ink-primary); }
.ai-chips-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ai-quick-chip {
  padding: 7px 11px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  color: var(--ink-primary);
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease);
}
.ai-quick-chip:hover { border-color: var(--border-strong); background: var(--bg-stone); }
.ai-actions-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-typing { display: inline-flex; align-items: center; gap: 4px; padding: 12px 16px; }
.ai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-muted);
  animation: aiDotPulse 1s infinite ease-in-out;
}
.ai-typing span:nth-child(2) { animation-delay: 0.16s; }
.ai-typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes aiDotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.ai-chat-form {
  padding: 10px 12px;
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-chat-input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hairline);
  background: var(--bg-subtle);
  color: var(--ink-primary);
  padding: 0 14px;
  font-size: 13.5px;
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.ai-chat-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: var(--radius-full);
  background: var(--toast-bg);
  color: var(--toast-ink);
  border: 1px solid var(--toast-border);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}

.site-footer {
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-canvas);
  padding: 24px 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-brand-col, .footer-links-col { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-brand-title { color: var(--ink-primary); font-family: var(--font-display); }
.footer-links-col a:hover { color: var(--ink-primary); }

/* --------------------------------------------------------------------------
   Responsive Breakpoints (1220px, 1140px, 1060px, 980px, 720px, 560px) + Reduced Motion
   -------------------------------------------------------------------------- */
@media (max-width: 1380px) {
  .topbar-inner { padding: 0 18px; gap: 10px; }
  .nav-links { gap: 2px; min-width: 0; }
  .nav-btn { padding: 6px 10px; font-size: 13px; }
  .topbar-actions { gap: 7px; }
  .credit-pill { padding: 0 10px; font-size: 12px; }
  .nav-signin-link { padding: 6px 7px; font-size: 12.5px; }
  #topbar-open-crm-btn { padding: 0 11px; font-size: 12px; }
  #topbar-open-explorer { padding: 0 12px; font-size: 12px; }
  .explorer-shell { grid-template-columns: 222px minmax(0, 1fr); }
  .explorer-rail { padding: 16px 12px; }
  .explorer-main { padding: 14px 14px 80px; }
}

@media (max-width: 1220px) {
  .topbar-inner { padding: 0 16px; gap: 8px; }
  .nav-btn { padding: 6px 8px; font-size: 12.5px; }
}

@media (max-width: 1140px) {
  .topbar-inner { padding: 0 14px; gap: 8px; }
  .brand-name { font-size: 14.5px; }
  .nav-btn { padding: 5px 7px; font-size: 12px; }
  .credit-pill { padding: 0 10px; font-size: 12px; }
  .nav-signin-link { padding: 5px 6px; font-size: 12px; }
  #topbar-open-explorer { padding: 0 11px; font-size: 12px; }
  .hero-split { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { text-align: center; }
  .hero-sub, .hero-search-form { margin-left: auto; margin-right: auto; }
  .hero-flow-stage { min-height: 455px; max-width: 640px; width: 100%; margin: 0 auto; }
  .templates-grid, .editorial-verticals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
  .blog-reader-layout { grid-template-columns: minmax(0, 1fr); }
  .blog-sticky-aside { position: static; }
  .credit-pack-card { flex-direction: column; align-items: flex-start; }
  .credit-pack-action { width: 100%; justify-content: space-between; }
}

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

@media (max-width: 980px) {
  #topbar-open-explorer { display: none; }

  .editorial-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid, .credit-packs-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .dir-layout, .retention-grid, .billing-top-grid, .blog-featured-card { grid-template-columns: minmax(0, 1fr); }
  .blog-featured-media { min-height: 210px; }
  .blog-article-body { padding: 26px 24px; }
  .dir-filter-bar { grid-template-columns: minmax(0, 1fr); }
  .blog-grid, .dir-cards-grid, .sample-entities-grid, .lookup-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .explorer-shell { grid-template-columns: minmax(0, 1fr); }
  .mobile-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-stone);
    border-bottom: 1px solid var(--border-hairline);
  }
  .mobile-quick-search { flex: 1; min-width: 0; }
  .explorer-rail { display: none; border-right: none; border-bottom: 1px solid var(--border-hairline); }
  .explorer-rail.mobile-open { display: flex; }
  .rail-mobile-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--border-hairline); color: var(--ink-primary); }
  .explorer-main { padding: 16px 16px 80px; }
  .explorer-toolbar { padding: 16px; }
  .table-scroll-sticky { max-height: none; }
}

@media (max-width: 768px) {
  .mobile-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-muted);
    background: var(--bg-stone);
    border-bottom: 1px solid var(--border-hairline);
    letter-spacing: 0.01em;
  }
}

@media (max-width: 720px) {
  .container, .lookup-wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 40px 0 48px; }
  .hero-flow-stage { min-height: auto; gap: 12px; }
  .hero-contact-card { position: static; width: 100%; }
  .hub-label { display: none; }
  .hub-beacon.active .hub-label { display: inline-block; font-size: 12px; }
  .starter-magnet-form { width: 100%; }
  .starter-magnet-form input { width: 100%; flex: 1 1 200px; }
  .templates-grid, .editorial-verticals-grid, .blog-grid, .dir-cards-grid, .plan-picker-grid, .admin-settings-grid, .blog-stats-strip, .niche-stats-grid, .settings-two-col, .workspace-kpi-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-article-body { padding: 20px 18px; overflow-wrap: anywhere; }
  .blog-article-body .btn,
  .blog-reader-topbar .btn,
  .unlock-box .btn {
    white-space: normal;
    max-width: 100%;
    height: auto;
    min-height: 36px;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
    line-height: 1.35;
  }
  .blog-section-block p { font-size: 15.5px; line-height: 1.7; }
  .blog-featured-body { padding: 20px 18px; }
  .blog-search-input { width: 100%; }
}

@media (max-width: 640px) {
  .badge-wrap,
  .guarantee-badge,
  .pricing-guarantee-badge,
  .pricing-ssr-badges .badge,
  .pricing-ssr-badges .badge-verified,
  .starter-magnet-left .badge-verified,
  .section-header .badge-verified,
  #billing-root .badge-verified,
  #affiliates-root .badge-verified {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
    overflow: visible;
    text-overflow: clip;
    height: auto;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12.5px;
  }
  td .badge,
  th .badge {
    white-space: nowrap;
    border-radius: var(--radius-full);
    padding: 3px 10px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pricing-ssr-badges .btn,
  .starter-magnet-left .btn {
    white-space: normal;
    height: auto;
    min-height: 34px;
    padding: 7px 14px;
    text-align: center;
    line-height: 1.3;
  }
  .mobile-filter-bar { padding: 8px 12px; gap: 6px; }
  .explorer-main { padding: 10px 12px 84px; }
  .explorer-toolbar { padding: 12px 12px 10px; gap: 8px; }
  .explorer-serif-title { font-size: 17px; }
  .toolbar-sub { font-size: 12px; margin-top: 2px; }
  .toolbar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-items: center;
  }
  .toolbar-actions .sort-select {
    width: 100%;
    height: 32px;
    font-size: 12px;
    padding: 0 26px 0 10px;
  }
  .toolbar-actions > label {
    grid-column: 1 / -1;
    padding: 2px 0;
    font-size: 12.5px;
  }
  .toolbar-actions .btn {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    font-size: 12.5px;
  }
  .toolbar-actions #btn-push-crm { grid-column: 1 / -1; }
  .table-wrap,
  .explorer-table-scroll { padding-bottom: 56px; }
  .ai-widget-wrap { right: 12px; bottom: 12px; }
  .ai-fab {
    height: auto;
    padding: 8px 12px;
    font-size: 12px;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .topbar-inner { padding: 0 12px; gap: 6px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 14.5px; }
  .topbar-actions { gap: 6px; }
  .icon-toggle-btn { width: 32px; height: 32px; }
  .credit-pill { height: 32px; padding: 0 10px; font-size: 12px; }
  .nav-signin-link { padding: 5px 7px; font-size: 12.5px; }
  #topbar-open-crm-btn { display: none; }
  .hero-search-form { padding: 5px 5px 5px 14px; }
  .hero-submit-btn { padding: 0 16px; height: 38px; font-size: 13px; }
  .sample-entities-grid, .lookup-metrics-grid { grid-template-columns: minmax(0, 1fr); }
  .credit-pack-card { flex-direction: column; align-items: flex-start; }
  .credit-pack-action { width: 100%; justify-content: space-between; }
  .bulk-dock { bottom: 12px; padding: 10px 14px; gap: 8px; border-radius: var(--radius-lg); }
  .ai-widget-wrap { right: 12px; bottom: 12px; }
  body.has-bulk-dock .ai-widget-wrap { bottom: 96px; }
  .ai-chat-drawer { width: calc(100vw - 24px); height: min(500px, 74vh); }
  .toast-container { right: 12px; bottom: 72px; }
}

@media (max-width: 420px) {
  .topbar-inner { padding: 0 10px; gap: 5px; }
  .brand-name { font-size: 13.5px; }
  .topbar-actions { gap: 5px; }
  .credit-pill { padding: 0 9px; font-size: 12px; gap: 5px; }
  .nav-signin-link { padding: 4px 5px; font-size: 12px; }
}

/* --------------------------------------------------------------------------
   Visible Editorial SSR Content (/leads/{slug}, /blog, /blog/{slug}, /directory)
   -------------------------------------------------------------------------- */
.ssr-seo-content {
  background: var(--bg-canvas);
  color: var(--ink-primary);
  padding: 36px 0 64px;
  min-height: calc(100vh - var(--nav-height) - 64px);
}
.ssr-seo-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ssr-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
}
.ssr-breadcrumb a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 500;
}
.ssr-breadcrumb a:hover { color: var(--ink-primary); text-decoration: underline; }
.ssr-hero-card,
.ssr-section,
.ssr-article-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: var(--shadow-xs);
}
.ssr-kicker {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.ssr-hero-card h1,
.ssr-article-shell h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
  margin: 0 0 12px;
}
.ssr-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0 0 18px;
  max-width: 78ch;
}
.ssr-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ssr-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.ssr-kpi-card {
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 16px 18px;
}
.ssr-kpi-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink-primary);
}
.ssr-kpi-lbl {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 4px;
}
.ssr-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink-primary);
  margin: 0 0 12px;
}
.ssr-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin: 0 0 12px;
}
.ssr-section p:last-child { margin-bottom: 0; }
.ssr-geo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.ssr-geo-card {
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 16px 18px;
}
.ssr-geo-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0 0 10px;
}
.ssr-stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ssr-stat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-hairline);
}
.ssr-stat-list li:last-child { border-bottom: none; padding-bottom: 0; }
.ssr-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  margin-top: 14px;
}
.ssr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ssr-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-stone);
  border-bottom: 1px solid var(--border-hairline);
  white-space: nowrap;
}
.ssr-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  vertical-align: top;
}
.ssr-table tbody tr:last-child td { border-bottom: none; }
.ssr-bullet-list {
  margin: 12px 0 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}
.ssr-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.ssr-faq-item {
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 16px 18px;
}
.ssr-faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0 0 6px;
}
.ssr-faq-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0;
}
.ssr-pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.ssr-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  background: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.ssr-pill-link:hover { border-color: var(--accent); color: var(--accent); }
.ssr-blog-links {
  margin: 14px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-secondary);
}
.ssr-blog-links a {
  color: var(--ink-primary);
  font-weight: 600;
  text-decoration: none;
}
.ssr-blog-links a:hover { text-decoration: underline; }

/* Dedicated /pricing SSR Page Layout (Studio Precision Variables) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pricing-ssr-main {
  background: var(--bg-canvas);
  color: var(--ink-primary);
}
.pricing-ssr-hero {
  background: var(--bg-stone);
  border-bottom: 1px solid var(--border-hairline);
  padding: 36px 0 64px;
}
.pricing-ssr-crumb {
  justify-content: center;
  margin-bottom: 18px;
}
.pricing-ssr-badges {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.pricing-ssr-badges .badge-verified {
  padding: 6px 14px;
  font-size: 12.5px;
}
.pricing-ssr-section {
  padding: 48px 0 72px;
}
.pricing-diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.pricing-diff-grid .ssr-geo-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

@media (max-width: 720px) {
  .ssr-seo-container { padding: 0 16px; }
  .ssr-hero-card, .ssr-section, .ssr-article-shell { padding: 20px 18px; }
  .ssr-geo-grid { grid-template-columns: minmax(0, 1fr); }
  .credit-pack-card { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
  [data-parallax], .hero-flow-stage { transform: none !important; transition: none !important; }
}
