/* LeanStrategy Guru — shared styles. No external dependencies. */

:root {
  --navy: #0f172a;
  --navy-2: #131c33;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --emerald: #10b981;
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  --blue: #3b82f6;
  --blue-50: #eff6ff;
  --indigo: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-50: #eef2ff;
  --rose: #f43f5e;
  --rose-50: #fff1f2;
  --amber: #f59e0b;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .25), 0 4px 10px -6px rgba(15, 23, 42, .12);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .45);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --max: 1160px;
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-800);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--slate-900); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.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; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--emerald); color: var(--navy); padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 600; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--emerald); color: var(--navy); box-shadow: 0 6px 20px -8px rgba(16, 185, 129, .8); }
.btn-primary:hover { background: #34d399; }
.btn-indigo { background: var(--indigo); color: var(--white); box-shadow: 0 6px 20px -8px rgba(99, 102, 241, .8); }
.btn-indigo:hover { background: #818cf8; }
.btn-ghost { background: transparent; color: var(--slate-800); border-color: var(--slate-300); }
.btn-ghost:hover { border-color: var(--slate-500); background: var(--white); }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .16); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(15, 23, 42, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--slate-200);
}
.nav .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 700; letter-spacing: -.01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: conic-gradient(from 210deg, var(--emerald), var(--indigo), var(--rose), var(--emerald));
  display: grid; place-items: center; color: var(--navy); font-size: 13px; font-weight: 800;
}
.brand-mark span { background: var(--navy); color: var(--white); width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; }
.brand-badge {
  font-size: 11px; font-weight: 600; color: var(--slate-300); border: 1px solid rgba(255, 255, 255, .14);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 14px; color: var(--slate-300); transition: color .15s, background-color .15s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav-cta { padding: 9px 14px; font-size: 14px; }
.nav-toggle {
  display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255, 255, 255, .16);
  color: var(--white); border-radius: 8px; width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1020px) {
  .brand-badge { display: none; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 8px 12px 16px; display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--slate-300);
  background:
    radial-gradient(800px 400px at 15% -10%, rgba(16, 185, 129, .18), transparent 60%),
    radial-gradient(700px 420px at 95% 10%, rgba(99, 102, 241, .22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 88px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--slate-200); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); } 50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, .05); } }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5.2vw, 4rem); max-width: 18ch; font-weight: 800; letter-spacing: -.035em; }
.hero h1 .grad { background: linear-gradient(90deg, var(--emerald), #34d399 30%, #818cf8 70%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 62ch; color: var(--slate-300); margin: 20px 0 28px; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 40px; }
.trust-pills li { font-size: 14px; color: var(--slate-200); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); padding: 7px 12px; border-radius: 999px; }
.trust-pills li::before { content: "✓"; color: var(--emerald); font-weight: 700; margin-right: 6px; }

.jump-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; }
.jump-card {
  display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: var(--slate-300);
  padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.jump-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .07); }
.jump-card.gbp:hover { border-color: rgba(16, 185, 129, .6); }
.jump-card.cp:hover { border-color: rgba(99, 102, 241, .7); }
.jump-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.jump-card p { margin: 0; font-size: 14px; }
.jump-card .go { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; }
.jump-card.gbp .go { color: var(--emerald); }
.jump-card.cp .go { color: #a5b4fc; }
.app-icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 800; color: var(--white); font-size: 18px; }
.app-icon.gbp { background: linear-gradient(135deg, var(--emerald), var(--emerald-600)); box-shadow: 0 8px 20px -8px rgba(16, 185, 129, .8); }
.app-icon.cp { background: linear-gradient(135deg, var(--indigo), var(--rose)); box-shadow: 0 8px 20px -8px rgba(99, 102, 241, .8); }
.app-icon svg { width: 22px; height: 22px; }

@media (max-width: 720px) {
  .hero { padding: 56px 0 64px; }
  .jump-cards { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-light { background: var(--white); }
.section-tint { background: var(--slate-50); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-head p { font-size: 1.1rem; color: var(--slate-600); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; margin-bottom: 16px; }
.tag-emerald { color: var(--emerald-600); background: var(--emerald-50); }
.tag-indigo { color: var(--indigo-600); background: var(--indigo-50); }
.tag-slate { color: var(--slate-600); background: var(--slate-100); }
.pitch { font-size: 1.15rem; color: var(--slate-600); max-width: 68ch; }
.section-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 520px) { .section-ctas .btn { flex: 1 1 100%; justify-content: center; } }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.products-intro { padding: 72px 0 0; background: var(--white); }
.products-intro .section-head { margin-bottom: 0; }

/* ---------- Feature tabs + mockup ---------- */
.feature-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; margin-top: 40px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-tabs { display: flex; flex-direction: column; gap: 12px; }
.feature-tab {
  text-align: left; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 18px 20px; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start;
  transition: border-color .2s, box-shadow .2s, background-color .2s; color: var(--slate-700);
}
.feature-tab:hover { border-color: var(--slate-300); }
.feature-tab .num { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--slate-100); color: var(--slate-600); transition: background-color .2s, color .2s; }
.feature-tab .ft-title { display: block; font-size: 1.02rem; margin: 6px 0 4px; color: var(--slate-900); line-height: 1.3; letter-spacing: -.01em; }
.feature-tab .ft-desc { display: block; font-size: 14px; margin: 0; color: var(--slate-600); }
.feature-tab .free-flag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-left: 6px; padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.gbp-theme .feature-tab[aria-selected="true"] { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16, 185, 129, .15), var(--shadow-sm); }
.gbp-theme .feature-tab[aria-selected="true"] .num { background: var(--emerald); color: var(--white); }
.gbp-theme .free-flag { background: var(--emerald-50); color: var(--emerald-600); }
.cp-theme .feature-tab[aria-selected="true"] { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99, 102, 241, .15), var(--shadow-sm); }
.cp-theme .feature-tab[aria-selected="true"] .num { background: var(--indigo); color: var(--white); }
.cp-theme .free-flag { background: var(--indigo-50); color: var(--indigo-600); }

/* Browser frame */
.browser {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--slate-100); border-bottom: 1px solid var(--slate-200); }
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; display: block; }
.browser-dots i:nth-child(2) { background: #fbbf24; }
.browser-dots i:nth-child(3) { background: #34d399; }
.browser-url { flex: 1; min-width: 0; background: var(--white); border: 1px solid var(--slate-200); border-radius: 8px; padding: 5px 12px; font-size: 12.5px; color: var(--slate-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url b { color: var(--slate-700); font-weight: 600; }
.browser-ext { width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center; color: var(--white); font-size: 11px; font-weight: 800; }
.browser-ext.gbp { background: var(--emerald); }
.browser-ext.cp { background: linear-gradient(135deg, var(--indigo), var(--rose)); }
.browser-body { position: relative; min-height: 420px; background: var(--slate-50); }
.panel[hidden] { display: none; }
.panel { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* GBP Spy — Maps mock */
.maps { display: grid; grid-template-columns: minmax(0, 1fr) 34%; min-height: 420px; }
.maps-list { padding: 14px; background: var(--white); border-right: 1px solid var(--slate-200); }
.maps-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--slate-200); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--slate-700); box-shadow: var(--shadow-sm); margin-bottom: 10px; }
.maps-search svg { width: 14px; height: 14px; color: var(--slate-400); flex: none; }
.spy-strip { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--emerald-600); background: var(--emerald-50); border: 1px solid #a7f3d0; border-radius: 8px; padding: 6px 10px; margin-bottom: 10px; }
.spy-strip .browser-ext { width: 18px; height: 18px; font-size: 9px; border-radius: 5px; }
.listing { padding: 12px 4px; border-bottom: 1px solid var(--slate-100); }
.listing:last-child { border-bottom: 0; }
.listing h4 { font-size: 14.5px; margin: 0 0 2px; color: #1a0dab; letter-spacing: 0; }
.listing .meta { font-size: 12.5px; color: var(--slate-500); margin-bottom: 8px; }
.listing .stars { color: var(--amber); letter-spacing: 1px; }
.listing .ad { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--slate-700); border: 1px solid var(--slate-300); border-radius: 4px; padding: 0 4px; margin-right: 4px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pill { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; line-height: 1.5; }
.pill-primary { background: var(--emerald); color: var(--white); }
.pill-secondary { background: var(--blue-50); color: #1d4ed8; border: 1px solid #bfdbfe; }
.pill-more { background: var(--slate-100); color: var(--slate-600); }
.compare-badge {
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px dashed var(--emerald);
  color: var(--emerald-600); background: var(--white); line-height: 1.5; transition: background-color .15s, color .15s;
}
.compare-badge:hover { background: var(--emerald); color: var(--white); border-style: solid; }
.maps-map {
  position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 48%, #fde68a 48%, #fde68a 52%, transparent 52%) 0 0 / 120px 100%,
    linear-gradient(0deg, transparent 47%, #ffffff 47%, #ffffff 53%, transparent 53%) 0 0 / 100% 90px,
    linear-gradient(35deg, transparent 49%, #ffffff 49%, #ffffff 51%, transparent 51%),
    #e5efe3;
}
.maps-map .water { position: absolute; right: -30px; bottom: -20px; width: 140px; height: 120px; background: #aadaff; border-radius: 50% 40% 0 50%; }
.pin { position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #ea4335; box-shadow: var(--shadow-sm); }
.pin::after { content: ""; position: absolute; width: 8px; height: 8px; background: #fff; border-radius: 50%; top: 7px; left: 7px; }
.pin.p1 { top: 22%; left: 30%; } .pin.p2 { top: 48%; left: 58%; } .pin.p3 { top: 70%; left: 24%; }
.pin.you { background: var(--emerald); top: 36%; left: 70%; }

/* Compare panel */
.compare { padding: 20px; }
.compare-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.compare-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--slate-100); }
.compare-card header h4 { margin: 0; font-size: 14px; letter-spacing: 0; }
.compare-card header small { color: var(--slate-500); font-size: 12px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mini-table th, .mini-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--slate-100); white-space: nowrap; }
.mini-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); font-weight: 700; background: var(--slate-50); }
.mini-table td.num { font-variant-numeric: tabular-nums; }
.gap-neg { color: #dc2626; font-weight: 700; }
.gap-pos { color: var(--emerald-600); font-weight: 700; }
.opps { padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--slate-600); }
.opps strong { color: var(--slate-800); margin-right: 4px; }
.compare-actions { display: flex; gap: 8px; padding: 0 16px 16px; flex-wrap: wrap; }
.mini-btn { font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--slate-200); background: var(--white); color: var(--slate-700); }
.mini-btn.solid-emerald { background: var(--emerald); color: var(--white); border-color: var(--emerald); }
.mini-btn.solid-indigo { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.row-ad td:first-child::after { content: "Ad"; margin-left: 6px; font-size: 10px; font-weight: 700; border: 1px solid var(--slate-300); border-radius: 4px; padding: 0 4px; color: var(--slate-600); }
.csv-file { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--slate-600); padding: 12px 16px; border-top: 1px solid var(--slate-100); }
.csv-file .ok { color: var(--emerald-600); font-weight: 700; font-family: var(--font); }

@media (max-width: 560px) {
  .maps { grid-template-columns: 1fr; }
  .maps-map { display: none; }
}

/* Video */
.video-wrap { margin-top: 56px; }
.video-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.video-head h3 { font-size: 1.35rem; margin: 0; }
.video-head p { margin: 0; color: var(--slate-600); font-size: 14px; }
.video-facade {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; display: block;
  background:
    radial-gradient(500px 260px at 20% 20%, rgba(16, 185, 129, .35), transparent 60%),
    radial-gradient(500px 260px at 85% 80%, rgba(59, 130, 246, .3), transparent 60%),
    linear-gradient(135deg, #0b1324, #13203a);
  color: var(--white); overflow: hidden;
}
.video-facade .vf-title { position: absolute; left: 28px; top: 24px; right: 28px; text-align: left; font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: -.01em; }
.video-facade .vf-title small { display: block; font-weight: 500; font-size: 13px; color: var(--slate-300); margin-top: 6px; }
.video-facade .vf-pills { position: absolute; left: 28px; bottom: 24px; display: flex; gap: 6px; flex-wrap: wrap; }
.play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--emerald); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(16, 185, 129, .2), 0 20px 40px -10px rgba(0, 0, 0, .6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.play svg { width: 30px; height: 30px; margin-left: 4px; color: var(--navy); }
.video-facade:hover .play { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(16, 185, 129, .18), 0 20px 40px -10px rgba(0, 0, 0, .6); }
.video-note { font-size: 12.5px; color: var(--slate-500); margin-top: 10px; }

.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 6, 23, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fadeIn .2s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-inner { position: relative; width: min(1040px, 100%); }
.modal-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: var(--white); font-size: 22px; line-height: 1; display: grid; place-items: center; }
.modal-close:hover { background: rgba(255, 255, 255, .18); }

/* CleanPrint — article mock */
.article-mock { position: relative; padding: 22px 26px 80px; background: var(--white); min-height: 420px; }
.article-mock .site-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--slate-500); border-bottom: 1px solid var(--slate-100); padding-bottom: 10px; margin-bottom: 14px; }
.article-mock .site-head b { color: var(--slate-800); font-size: 14px; }
.article-mock h4 { font-size: 1.25rem; margin-bottom: 6px; letter-spacing: -.01em; }
.article-mock .byline { font-size: 12px; color: var(--slate-500); margin-bottom: 14px; }
.line { height: 9px; border-radius: 5px; background: var(--slate-200); margin-bottom: 9px; }
.line.w90 { width: 90%; } .line.w80 { width: 80%; } .line.w95 { width: 95%; } .line.w70 { width: 70%; } .line.w60 { width: 60%; }
.removable {
  position: relative; display: block; width: 100%; text-align: left; margin: 14px 0; padding: 14px 16px; border-radius: 10px;
  border: 2px dashed transparent; cursor: crosshair; transition: border-color .15s, background-color .15s, opacity .25s, transform .25s, max-height .3s, margin .3s, padding .3s;
  max-height: 200px; overflow: visible;
}
.removable.ad-banner { background: linear-gradient(90deg, #fef3c7, #fde68a); color: #92400e; font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.removable.ad-banner small { font-weight: 600; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.removable.popup { background: var(--slate-800); color: var(--slate-100); font-size: 12.5px; }
.removable:hover, .removable:focus-visible, .removable.demo-hover { border-color: #ef4444; background-color: rgba(239, 68, 68, .06); outline: none; }
.removable.ad-banner:hover, .removable.ad-banner.demo-hover { background: linear-gradient(90deg, #fee2e2, #fecaca); }
.remove-tip {
  position: absolute; left: 10px; top: -14px; transform: translateY(-100%); background: #ef4444; color: var(--white);
  font-size: 11.5px; font-weight: 600; font-family: var(--mono); padding: 4px 8px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.removable:hover .remove-tip, .removable:focus-visible .remove-tip, .removable.demo-hover .remove-tip { opacity: 1; }
.removable.removed { opacity: 0; transform: scale(.97); max-height: 0; margin: 0; padding-top: 0; padding-bottom: 0; border-width: 0; pointer-events: none; overflow: hidden; }

.cp-toolbar {
  position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; padding: 6px;
  background: var(--slate-900); border-radius: 12px; box-shadow: var(--shadow-lg); color: var(--slate-200); font-size: 12px;
}
.cp-toolbar .tb-logo { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--indigo), var(--rose)); display: grid; place-items: center; font-weight: 800; color: var(--white); font-size: 11px; margin-right: 2px; }
.cp-toolbar button { background: transparent; border: 0; color: var(--slate-200); padding: 6px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.cp-toolbar button:hover { background: rgba(255, 255, 255, .1); }
.cp-toolbar button.active { background: rgba(244, 63, 94, .18); color: #fda4af; }
.cp-toolbar button:disabled { opacity: .4; cursor: default; }
.cp-toolbar .sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .15); margin: 0 2px; }
.removed-count { position: absolute; left: 26px; bottom: 24px; font-size: 12px; color: var(--slate-500); }
.removed-count b { color: var(--rose); }

.rules { padding: 20px; }
.rule { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.favicon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--white); }
.rule h5 { margin: 0; font-size: 13.5px; color: var(--slate-800); }
.rule code { font-family: var(--mono); font-size: 11.5px; color: var(--slate-500); }
.switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--indigo); border: 0; padding: 0; flex: none; transition: background-color .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); transition: left .2s; }
.switch[aria-checked="false"] { background: var(--slate-300); }
.switch[aria-checked="false"]::after { left: 3px; }
.rules-foot { font-size: 12.5px; color: var(--slate-500); margin-top: 6px; }

.export { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; padding: 20px; }
.pdf-page { background: var(--white); border: 1px solid var(--slate-200); border-radius: 6px; box-shadow: var(--shadow); padding: 16px 18px; min-height: 340px; }
.pdf-stamp { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 2px solid var(--indigo); padding-bottom: 8px; margin-bottom: 14px; font-size: 11px; color: var(--slate-500); }
.pdf-stamp b { color: var(--indigo-600); font-size: 12.5px; }
.pdf-page h6 { font-size: 13.5px; margin: 0 0 10px; color: var(--slate-900); }
.md-box { background: var(--slate-900); color: #c7d2fe; border-radius: 10px; padding: 14px; font-family: var(--mono); font-size: 11.5px; line-height: 1.7; overflow: hidden; white-space: pre-wrap; word-break: break-word; }
.md-box .k { color: #fda4af; }
.md-box .c { color: var(--slate-400); }
@media (max-width: 560px) { .export { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-block { margin-top: 64px; }
.pricing-block > h3 { font-size: 1.5rem; margin-bottom: 6px; }
.pricing-block > p { color: var(--slate-600); margin-bottom: 24px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; } }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.price-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price .amt { font-size: 2.4rem; font-weight: 800; color: var(--slate-900); letter-spacing: -.03em; }
.price .per { color: var(--slate-500); font-size: 14px; }
.price-sub { font-size: 13.5px; color: var(--slate-500); margin-bottom: 18px; min-height: 2.6em; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.price-card li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 14.5px; color: var(--slate-700); }
.price-card li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--slate-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ribbon { position: absolute; top: -12px; right: 20px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: var(--white); }
.gbp-theme .price-card.featured { border: 2px solid var(--emerald); box-shadow: 0 20px 50px -24px rgba(16, 185, 129, .55); }
.gbp-theme .price-card.featured .ribbon { background: var(--emerald); }
.gbp-theme .price-card li::before { background-color: var(--emerald-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cp-theme .price-card.featured { border: 2px solid var(--indigo); box-shadow: 0 20px 50px -24px rgba(99, 102, 241, .55); }
.cp-theme .price-card.featured .ribbon { background: linear-gradient(90deg, var(--indigo), var(--rose)); }
.cp-theme .price-card li::before { background-color: var(--indigo-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%234f46e5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.price-note { font-size: 13px; color: var(--slate-500); margin-top: 16px; }

/* Pricing overview */
.switcher { display: inline-flex; padding: 4px; background: var(--slate-100); border-radius: 12px; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.switcher button { border: 0; background: transparent; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--slate-600); display: inline-flex; align-items: center; gap: 8px; }
.switcher button .sw-dot { width: 8px; height: 8px; border-radius: 50%; }
.switcher button[aria-selected="true"] { background: var(--white); color: var(--slate-900); box-shadow: var(--shadow-sm); }
.overview-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; }
.overview-table th, .overview-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--slate-100); vertical-align: top; }
.overview-table tr:last-child td { border-bottom: 0; }
.overview-table thead th { background: var(--slate-50); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500); }
.overview-table td strong { font-size: 1.15rem; color: var(--slate-900); display: block; }
.overview-table td span { font-size: 13px; color: var(--slate-500); }

/* ---------- Comparison table ---------- */
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); box-shadow: var(--shadow); background: var(--white); }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--slate-100); font-size: 15px; vertical-align: top; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500); background: var(--slate-50); }
.compare-table thead th.us { color: var(--white); background: var(--navy); }
.compare-table td:first-child { font-weight: 600; color: var(--slate-800); width: 22%; }
.compare-table td.them { color: var(--slate-500); }
.compare-table td.them::before { content: "✕"; color: #ef4444; font-weight: 700; margin-right: 8px; }
.compare-table td.us { background: rgba(16, 185, 129, .05); color: var(--slate-800); font-weight: 500; }
.compare-table td.us::before { content: "✓"; color: var(--emerald-600); font-weight: 800; margin-right: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--slate-300); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--slate-900); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--slate-400); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 18px; color: var(--slate-600); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Support CTA ---------- */
.support-cta { background: linear-gradient(135deg, var(--navy), #1e1b4b); color: var(--slate-300); border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.support-cta h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.support-cta p { margin: 0; }
.support-cta .actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.support-email { font-family: var(--mono); font-size: 15px; color: #6ee7b7; word-break: break-all; }
@media (max-width: 820px) { .support-cta { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--slate-400); padding: 56px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--slate-300); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer .brand { margin-bottom: 12px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.footer-legal p { margin: 0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--slate-900); color: var(--white); padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 95; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal-hero { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: var(--slate-300); padding: 64px 0 48px; }
.legal-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-hero p { margin: 0; }
.legal { max-width: 800px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; padding-top: .4em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--slate-700); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .toc { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 8px; }
.legal .toc h2 { margin: 0 0 8px; font-size: 1rem; padding: 0; }
.legal .toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.legal .toc a { color: var(--indigo-600); }
@media (max-width: 560px) { .legal .toc ol { columns: 1; } }
.callout { border-left: 4px solid var(--emerald); background: var(--emerald-50); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0; }
.callout p:last-child { margin-bottom: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14.5px; }
.legal th, .legal td { border: 1px solid var(--slate-200); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--slate-100); }
.legal code { font-family: var(--mono); font-size: .9em; background: var(--slate-100); padding: 1px 5px; border-radius: 4px; }
.legal a { color: var(--indigo-600); }
