/* Gold Standard Local SEO - Calm Light Editorial Interactive GBP Playbook
 * Palette: Alabaster Canvas (#F8FAFC) + Pure White Cards (#FFFFFF) + Deep Slate-Navy (#0F172A) + Understated Antique Gold (#B45309)
 */
:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-warm: #fffbeb;
  --bg-green-soft: #ecfdf5;
  --bg-red-soft: #fef2f2;
  --bg-blue-soft: #eff6ff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-gold: #f59e0b;
  --ink: #0f172a;
  --ink-body: #334155;
  --ink-muted: #64748b;
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --gold: #b45309;
  --gold-bright: #d97706;
  --green: #059669;
  --green-dark: #047857;
  --red: #dc2626;
  --amber: #d97706;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--ink-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin-top: 0;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Navigation Bar (Clean White Header) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-link img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  border: 1.5px solid var(--gold-bright);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-links a {
  color: var(--ink-body);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.16s ease;
}

.top-links a:hover {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 9px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, transform 0.16s ease;
}

.header-cta:hover {
  background: var(--navy-soft);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 20px 0 8px;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.breadcrumb-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-nav a {
  color: var(--ink-muted);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--ink);
}

/* Clean Editorial Hero */
.page-hero {
  padding: 18px 0 32px;
  max-width: 880px;
}

.hero-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-warm);
  border: 1px solid #fde68a;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.track-switch-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.track-switch-link:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.page-hero h1 {
  font-size: clamp(1.95rem, 3.8vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.direct-answer-text {
  font-size: 1.08rem;
  color: var(--ink-body);
  max-width: 760px;
  margin: 0 0 18px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.hero-meta-strip strong {
  color: var(--ink);
}

/* =========================================================
   LAYOUT OPTION 1: CALM TABBED INTERACTIVE STUDIO (TOP)
   Inspired by Gemini Notebook Brain Explorer: Light, Focused
   ========================================================= */
.studio-shell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: 52px;
  overflow: hidden;
}

.studio-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.studio-title-group h2 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.studio-title-group p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.studio-progress-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--border);
}

.ring-mini {
  width: 36px;
  height: 36px;
  position: relative;
  flex-shrink: 0;
}

.ring-mini svg {
  width: 36px;
  height: 36px;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 4;
}

.ring-fill {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s ease, stroke 0.3s ease;
}

.ring-pct-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--ink);
}

.progress-chip-text {
  font-size: 0.82rem;
  line-height: 1.25;
}

.progress-chip-text strong {
  display: block;
  color: var(--ink);
}

.progress-chip-text span {
  color: var(--ink-muted);
  font-size: 0.76rem;
}

/* Unmistakable 5-Tool Interactive Switcher (Visible Grid on Both Desktop & Mobile) */
.studio-tabs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 24px 8px;
  background: var(--bg-subtle);
  border-bottom: none;
}

.studio-tabs-prompt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.live-prompt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
  flex-shrink: 0;
}

.studio-step-pill {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-warm);
  border: 1px solid #fcd34d;
  color: var(--gold);
}

.studio-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 24px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.studio-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  min-height: 76px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.studio-tab:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.studio-tab-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.studio-tab-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  flex-shrink: 0;
}

.studio-tab-arrow {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}

.studio-tab-name {
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.studio-tab-sub {
  font-size: 0.73rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-muted);
}

.studio-tab.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--gold-bright);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
  transform: none;
}

.studio-tab.active .studio-tab-num {
  background: var(--gold-bright);
  color: #ffffff;
}

.studio-tab.active .studio-tab-name {
  color: #ffffff;
}

.studio-tab.active .studio-tab-sub {
  color: #cbd5e1;
}

.studio-tab.active .studio-tab-arrow {
  color: #fcd34d;
}

.tab-count {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.studio-tab.active .tab-count {
  background: rgba(245, 158, 11, 0.22);
  color: #fde68a;
}

.panel-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* Trade Filter Strip Inside Studio */
.trade-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.trade-strip-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-right: 4px;
}

.trade-pill {
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--ink-body);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trade-pill:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.trade-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

/* Tab Panels (Generous Breathing Room, One Tool at a Time) */
.studio-body {
  padding: 28px;
}

.studio-panel {
  display: none;
}

.studio-panel.active {
  display: block;
}

/* Overview Tab: Clean Mastery Dashboard + 4 Soft Pastel Cards */
.overview-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 20px;
  margin-bottom: 24px;
}

.mastery-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-page);
}

.ring-large {
  width: 84px;
  height: 84px;
  position: relative;
  flex-shrink: 0;
}

.ring-large svg {
  width: 84px;
  height: 84px;
  transform: rotate(-90deg);
}

.ring-large .ring-track { stroke-width: 7; }
.ring-large .ring-fill { stroke-width: 7; }
.ring-large .ring-pct-label { font-size: 1.05rem; }

.bottleneck-pill-card {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid #fde68a;
  background: var(--bg-warm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.eyebrow-xs {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.topic-cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.topic-card {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  background: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.topic-card.tint-blue { background: #f0f9ff; border-color: #bae6fd; }
.topic-card.tint-green { background: #ecfdf5; border-color: #a7f3d0; }
.topic-card.tint-amber { background: #fffbeb; border-color: #fde68a; }
.topic-card.tint-slate { background: #f8fafc; border-color: #cbd5e1; }

.topic-card-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.topic-card-score {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* Checklist Grid (Clean & Calm) */
.checklist-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.check-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #ffffff;
}

.check-group-head {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.check-list {
  display: grid;
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  font-size: 0.86rem;
  color: var(--ink-body);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.check-item:hover {
  border-color: var(--border-strong);
}

.check-item.checked {
  background: var(--bg-green-soft);
  border-color: #a7f3d0;
  color: #065f46;
}

.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}

/* Tab 2: Setup & Categories Lab */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.light-box {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.big-cat-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin: 6px 0 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  padding: 4px 10px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--ink-body);
  font-size: 0.8rem;
  font-weight: 600;
}

.rule-row {
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.rule-row.pass {
  background: var(--bg-green-soft);
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.rule-row.fail {
  background: var(--bg-red-soft);
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Tab 3: Clean Light 25-Pin Geo-Grid Simulator */
.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.segmented {
  display: inline-flex;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  gap: 4px;
}

.seg-btn {
  min-height: 40px;
  padding: 7px 15px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.seg-btn.active-red {
  background: #ffffff;
  color: var(--red);
  box-shadow: var(--shadow-sm);
}

.seg-btn.active-green {
  background: #ffffff;
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
}

.geogrid-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
}

.map-board {
  background:
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.03), rgba(241, 245, 249, 0.95) 75%),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.14) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.14) 0 1px, transparent 1px 42px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.map-board-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.pin-grid-5x5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 330px;
  margin: 0 auto;
}

.geo-pin {
  aspect-ratio: 1 / 1;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.15);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.geo-pin:hover,
.geo-pin.selected {
  transform: scale(1.12);
  box-shadow: 0 0 0 3px var(--navy);
}

.geo-pin.rank-top { background: #10b981; }
.geo-pin.rank-mid { background: #f59e0b; color: #0f172a; }
.geo-pin.rank-low { background: #ef4444; }
.geo-pin.pin-hq { box-shadow: 0 0 0 3px var(--gold-bright), 0 4px 12px rgba(15, 23, 42, 0.2); }

.kpi-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.kpi-tile {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.kpi-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.kpi-lbl {
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.inspector-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--gold-bright);
  border-radius: 10px;
  padding: 16px 18px;
}

/* Tab 4: Photo Drag-Slider */
.ba-stage {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0f172a;
  user-select: none;
  touch-action: pan-y;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}

.ba-tag {
  position: absolute;
  top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 4;
}

.ba-tag-before { left: 12px; background: rgba(220, 38, 38, 0.9); color: #ffffff; }
.ba-tag-after { right: 12px; background: rgba(5, 150, 105, 0.92); color: #ffffff; }

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(15, 23, 42, 0.55);
  z-index: 5;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.35);
  border: 2px solid var(--navy);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.hotspot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 780px;
  margin: 14px auto 0;
}

.hotspot-btn {
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--ink-body);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.hotspot-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.hotspot-detail {
  max-width: 780px;
  margin: 12px auto 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-page);
  border-left: 3px solid var(--navy);
  font-size: 0.9rem;
}

/* Tab 5: Reviews + 5-Second Call Simulator */
.slider-field {
  margin-bottom: 14px;
}

.slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

input[type="range"].clean-range {
  width: 100%;
  accent-color: var(--navy);
  cursor: pointer;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-pill {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink-body);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.mini-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 4px;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.bar-fill.comp { background: #94a3b8; }
.bar-fill.you { background: var(--green); }

.sms-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}

.clean-input {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.88rem;
}

.sms-bubble {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 12px 12px 12px 4px;
  padding: 13px 15px;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.btn-navy {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 9px;
  border: none;
  background: var(--navy);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-navy:hover { background: var(--navy-soft); color: #ffffff; }

.btn-green {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 9px;
  border: none;
  background: var(--green);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-green:disabled,
.btn-outline:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-outline {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover { background: var(--bg-subtle); }

.timer-badge {
  width: 96px;
  height: 96px;
  margin: 10px auto 14px;
  border-radius: 50%;
  border: 4px solid var(--border-strong);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timer-badge.ringing {
  border-color: var(--green);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.15);
}

.timer-badge.missed {
  border-color: var(--red);
  box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.12);
}

.timer-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.timer-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.rescue-note {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-green-soft);
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.84rem;
  text-align: left;
}

.rescue-note.show { display: block; }

.leak-strip {
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-red-soft);
  border: 1px solid #fecaca;
  text-align: center;
}

.leak-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--red);
}

/* =========================================================
   CLEAN AIRY EDITORIAL PLAYBOOK BELOW STUDIO (PAA H2 / PASF H3)
   ========================================================= */
.editorial-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin-bottom: 56px;
}

.toc-rail {
  position: sticky;
  top: 90px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.toc-title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.toc-rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.toc-rail a {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-body);
  text-decoration: none;
  line-height: 1.38;
}

.toc-rail a:hover {
  color: var(--gold);
}

.editorial-article {
  min-width: 0;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  overflow-wrap: break-word;
}

.editorial-section {
  min-width: 0;
  max-width: 100%;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.editorial-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.editorial-article h2 {
  font-size: clamp(1.42rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 12px;
  scroll-margin-top: 92px;
}

.paa-direct-answer {
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 500;
  padding: 14px 18px;
  border-left: 3px solid var(--gold-bright);
  background: var(--bg-warm);
  border-radius: 0 10px 10px 0;
  margin: 0 0 22px;
}

.editorial-article h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 8px;
}

.editorial-article p {
  margin: 0 0 14px;
}

.editorial-article ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.editorial-article li {
  margin-bottom: 6px;
}

.inline-tool-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.inline-tool-jump:hover {
  border-color: var(--navy);
  background: var(--bg-subtle);
}

/* Clean Light Authority Tables */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 18px 0;
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 560px;
  background: #ffffff;
}

.clean-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--bg-page);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

.clean-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-body);
  vertical-align: top;
}

.clean-table tr:last-child td {
  border-bottom: none;
}

/* Option A Plans Grid (Clean Light Cards) */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 12px;
}

.plan-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.plan-card.featured {
  background: #ffffff;
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-md);
}

.plan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  margin: 4px 0;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
}

.plan-list li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 800;
}

.footnote {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Clean Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 36px 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

.sr-only-price-ref {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Dedicated dark slate card wrapper for the 3D AI Orb on the light page */
#gs-ai-guide-mount {
  background: linear-gradient(180deg, #0b1324 0%, #0f172a 100%);
  border: 1px solid #1e293b;
  border-radius: var(--radius-xl);
  padding: 14px 16px 8px;
  margin-bottom: 52px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

#gs-ai-guide-mount .gs-space-stage {
  margin: 0 auto;
}

#free-audit-section .gs-audit-wrap {
  padding: 0;
  margin: 0;
}

#free-audit-section .gs-audit-card {
  box-shadow: var(--shadow-md);
}

.studio-shell,
.overview-top > *,
.two-col > *,
.geogrid-split > *,
.plans-grid > *,
.checklist-columns > * {
  min-width: 0;
}

@media (max-width: 1024px) {
  .editorial-layout { grid-template-columns: minmax(0, 1fr); }
  .toc-rail { display: none; }
  .overview-top,
  .geogrid-split,
  .two-col,
  .plans-grid { grid-template-columns: minmax(0, 1fr); }
  .topic-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-links { display: none; }
  .studio-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .nav-wrapper { gap: 10px; }
  .brand-link img { width: 34px; height: 34px; }
  .brand-name { font-size: 0.86rem; }
  .brand-sub { font-size: 0.62rem; letter-spacing: 0.05em; }
  .header-cta { padding: 8px 12px; font-size: 0.8rem; min-height: 38px; }
  .studio-topbar, .trade-strip, .studio-body { padding: 16px 14px; }
  .studio-tabs-header { padding: 12px 14px 6px; }
  .studio-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 14px 14px;
  }
  .studio-tab {
    min-height: 70px;
    padding: 10px 10px;
  }
  .studio-tab:nth-child(5) {
    grid-column: 1 / -1;
  }
  .editorial-article { padding: 22px 16px; border-radius: 16px; }
  .editorial-article h2 { font-size: 1.32rem; }
  .editorial-article h3 { font-size: 1.04rem; }
  .paa-direct-answer { padding: 12px 14px; font-size: 0.95rem; }
  .clean-table { min-width: 480px; font-size: 0.82rem; }
  .clean-table th, .clean-table td { padding: 9px 10px; }
  .mastery-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .checklist-columns, .sms-inputs { grid-template-columns: minmax(0, 1fr); }
  .hotspot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pin-grid-5x5 { gap: 6px; }
  .geo-pin { min-width: 40px; min-height: 40px; font-size: 0.82rem; }
  .panel-nav-footer .btn-navy,
  .panel-nav-footer .btn-outline { width: 100%; }
}
