
:root {
  --primary: #8171D0;
  --primary-hover: #6F5DC4;
  --primary-press: #5D4DAD;
  --primary-soft: #F0EDF9;
  --primary-softer: #F6F4FC;

  --bg: #F8F6FB;
  --bg-card: #FFFFFF;
  --bg-alt: #FAF9FC;
  --text: #0F0F12;
  --text-muted: #54545E;
  --text-subtle: #8A8A93;
  --border: #ECEAF1;
  --border-strong: #DAD7E0;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-card: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 15, 18, 0.04);
  --shadow-card: 0 1px 2px rgba(15, 15, 18, 0.04), 0 12px 32px rgba(89, 75, 162, 0.06);
  --shadow-card-hover: 0 1px 2px rgba(15, 15, 18, 0.04), 0 20px 48px rgba(89, 75, 162, 0.08);

  --container: 1180px;
  --gap-cols: 64px;
  --header-col: 260px;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Connector brand-hint colors (restrained, used only on connector marks) */
  --ga4-a: #F9AB00; --ga4-b: #E37400;
  --gsc-a: #4285F4; --gsc-b: #1A73E8;
  --bq-a:  #669DF6; --bq-b:  #1A73E8;
  --sf-a:  #29B5E8; --sf-b:  #1A88B5;
  --my-a:  #00758F; --my-b:  #4479A1;
  --pg-a:  #4F7CAD; --pg-b:  #336791;
  --sb-a:  #3ECF8E; --sb-b:  #2EA86F;
  --ms-a:  #CC2927; --ms-b:  #A11E1C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ─────────── LAYOUT ─────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-wrap { max-width: var(--container); margin: 0 auto; padding: 12px 24px; }

.card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 56px 56px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); }

.row {
  display: grid;
  grid-template-columns: var(--header-col) 1fr;
  gap: var(--gap-cols);
}
.row-header { position: sticky; top: 88px; align-self: start; }
.row-body { min-width: 0; }

.row-stacked { display: block; }
.row-stacked .row-header {
  position: static;
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.row-stacked .row-header .eyebrow::after {
  content: '';
  width: 24px; height: 1.5px;
  background: linear-gradient(-90deg, var(--primary), transparent);
  border-radius: 2px;
}
.row-stacked .row-header h2 { font-size: clamp(28px, 2.8vw, 36px); }
.row-stacked .row-body { width: 100%; }

/* ─────────── TYPOGRAPHY ─────────── */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(40px, 5vw, 56px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 14px; letter-spacing: -0.025em; line-height: 1.15; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1.5px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}

p { color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
p strong { color: var(--text); font-weight: 600; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-press); }

.row-header h2 { margin-bottom: 12px; }
.row-header .intro { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--primary); }

/* ─────────── NAV ─────────── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 251, 0.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(236, 234, 241, 0.6);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: var(--text); }
.logo-mark {
  width: 24px; height: 24px; border-radius: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-press) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700; font-family: var(--font-serif); font-style: italic;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(129, 113, 208, 0.25);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-cta { display: flex; gap: 6px; align-items: center; }

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(89, 75, 162, 0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(89, 75, 162, 0.25);
}
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: rgba(15, 15, 18, 0.04); }
.btn-outline { background: var(--bg-card); color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--text); transform: translateY(-1px); }
.btn-lg { padding: 13px 22px; font-size: 15px; }

/* ─────────── BREADCRUMB ─────────── */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 12.5px;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.breadcrumb a { color: var(--text-subtle); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ─────────── HERO ─────────── */
.hero {
  padding: 36px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(129, 113, 208, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 560px;
  background: radial-gradient(ellipse at center, rgba(129, 113, 208, 0.18) 0%, rgba(129, 113, 208, 0.05) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; padding: 0 32px; position: relative; z-index: 1; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 22px;
  font-size: 12.5px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.hero-pill .tag {
  color: var(--primary);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--primary-softer);
  padding: 3px 9px;
  border-radius: 999px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--primary); }
.hero .lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 26px;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-trustline {
  font-size: 12.5px;
  color: var(--text-subtle);
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
}
.hero-trustline .sep { opacity: 0.4; }
.hero-trustline .check { color: var(--primary); margin-right: 4px; font-weight: 700; }

/* ─────────── CONNECTION CARD (hero centerpiece) ─────────── */
.connection-wrap {
  max-width: 760px;
  margin: 44px auto 0;
  position: relative;
  z-index: 1;
}
.connection-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 30px 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 1px 2px rgba(15, 15, 18, 0.04), 0 20px 48px rgba(129, 113, 208, 0.12);
  position: relative;
}
.conn-side {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.conn-mark {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}
.conn-mark.ga4 {
  background: linear-gradient(135deg, var(--ga4-a) 0%, var(--ga4-b) 100%);
  box-shadow: 0 6px 16px rgba(227, 116, 0, 0.28);
}
.conn-mark.fb {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-press) 100%);
  font-family: var(--font-serif);
  font-style: italic;
  box-shadow: 0 6px 16px rgba(129, 113, 208, 0.32);
}
.conn-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.conn-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

.conn-flow {
  position: relative;
  width: 160px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-line {
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary-soft) 0 6px, transparent 6px 10px);
  border-radius: 2px;
  position: relative;
}
.flow-line .pulse {
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-softer);
  animation: flowRight 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.flow-line .pulse.p2 { animation-delay: 0.85s; }
.flow-line .pulse.p3 { animation-delay: 1.7s; }
@keyframes flowRight {
  0% { left: 0; opacity: 0; transform: scale(0.4); }
  15% { opacity: 1; transform: scale(1); }
  85% { opacity: 1; transform: scale(1); }
  100% { left: 100%; opacity: 0; transform: scale(0.4); }
}
.flow-label {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--bg-card);
  padding: 0 8px;
}

.conn-status-pill {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 5px 14px 5px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px rgba(15,15,18,0.05);
  white-space: nowrap;
}
.conn-status-pill .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.18);
  animation: livePulse 2.4s ease-in-out infinite;
}
.conn-status-pill strong { color: var(--text); font-weight: 600; }
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.06); }
}

/* Query preview below connection card */
.query-preview {
  margin-top: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.query-input-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.query-input-mock .q-prefix {
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
.query-input-mock .q-text {
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.query-input-mock .q-typed-caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--primary);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.query-input-mock .q-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.query-input-mock .q-time::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

.query-response { padding: 18px; display: flex; gap: 14px; text-align: left; }
.query-response-avatar {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-press) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(129, 113, 208, 0.25);
}
.query-response-body { flex: 1; min-width: 0; }
.query-response-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 12px;
}
.query-response-text strong {
  font-weight: 600;
  color: var(--primary);
}
.query-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.qstat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 11px;
  background: var(--primary-softer);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
}
.qstat strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--primary);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ─────────── PILLAR TRIO (Quick setup / Secure / Real-time) ─────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pillar {
  padding: 26px 22px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.pillar:hover { background: var(--primary-softer); transform: translateY(-2px); }
.pillar-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-press) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic;
  font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 3px 8px rgba(129, 113, 208, 0.25);
}
.pillar h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.pillar p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 0; }

/* ─────────── ANALYZE CATEGORIES (What you can analyze) ─────────── */
.analyze-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.analyze-card {
  padding: 26px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.analyze-card:hover { background: var(--primary-softer); transform: translateY(-2px); }
.analyze-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.analyze-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-press) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic;
  font-size: 18px;
  box-shadow: 0 3px 8px rgba(129, 113, 208, 0.25);
  flex-shrink: 0;
}
.analyze-card h3 { font-size: 16px; font-weight: 600; margin: 0; letter-spacing: -0.015em; }
.query-list { display: flex; flex-direction: column; gap: 7px; }
.query-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: -0.005em;
}
.query-pill:hover {
  border-color: var(--primary);
  background: #fff;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(89, 75, 162, 0.08);
}
.query-pill .q-icon {
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}
.query-pill .q-text { flex: 1; }
.query-pill .q-go {
  font-size: 11px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.15s;
}
.query-pill:hover .q-go { opacity: 1; color: var(--primary); }

/* ─────────── SETUP STEPS ─────────── */
.steps {
  position: relative;
  display: flex; flex-direction: column;
  gap: 26px;
}
.steps::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 16px;
  bottom: 16px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-soft) 100%);
  opacity: 0.25;
  border-radius: 2px;
}
.step { display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: flex-start; position: relative; }
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-card);
  transition: all 0.2s;
}
.step:hover .step-num {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.015em; padding-top: 4px; }
.step p { margin-bottom: 0; font-size: 14.5px; line-height: 1.6; }
.step .step-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.step .step-meta::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

/* ─────────── CONNECTOR GRID (Other connectors) ─────────── */
.connector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.connector-card {
  padding: 22px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.connector-card:hover {
  background: var(--bg-card);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(89, 75, 162, 0.08);
  color: inherit;
}
.connector-card .c-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.c-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.c-mark.gsc { background: linear-gradient(135deg, var(--gsc-a) 0%, var(--gsc-b) 100%); box-shadow: 0 3px 8px rgba(26, 115, 232, 0.22); }
.c-mark.bq  { background: linear-gradient(135deg, var(--bq-a) 0%, var(--bq-b) 100%);   box-shadow: 0 3px 8px rgba(26, 115, 232, 0.22); }
.c-mark.sf  { background: linear-gradient(135deg, var(--sf-a) 0%, var(--sf-b) 100%);   box-shadow: 0 3px 8px rgba(41, 181, 232, 0.22); }
.c-mark.my  { background: linear-gradient(135deg, var(--my-a) 0%, var(--my-b) 100%);   box-shadow: 0 3px 8px rgba(0, 117, 143, 0.22); }
.c-mark.pg  { background: linear-gradient(135deg, var(--pg-a) 0%, var(--pg-b) 100%);   box-shadow: 0 3px 8px rgba(51, 103, 145, 0.22); }
.c-mark.sb  { background: linear-gradient(135deg, var(--sb-a) 0%, var(--sb-b) 100%);   box-shadow: 0 3px 8px rgba(62, 207, 142, 0.22); }
.c-mark.ms  { background: linear-gradient(135deg, var(--ms-a) 0%, var(--ms-b) 100%);   box-shadow: 0 3px 8px rgba(204, 41, 39, 0.22); }
.connector-card h4 { font-size: 14.5px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.connector-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}
.connector-card .c-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.connector-card .c-link {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}
.connector-card:hover .c-link { gap: 8px; }
.connector-card .c-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 3px 7px;
  background: var(--bg-alt);
  border-radius: 4px;
}
.connector-card:hover .c-tag { background: var(--primary-softer); color: var(--primary); }

/* ─────────── FAQ ─────────── */
.faq-list {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0 22px;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--primary); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 20px; font-weight: 300;
  color: var(--text-subtle);
  transition: all 0.2s;
  line-height: 1;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
details[open] .faq-q { color: var(--primary); }
details[open] .faq-q::after { content: '−'; color: var(--primary); background: var(--primary-softer); }
.faq-a {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 620px;
}

/* ─────────── FINAL CTA ─────────── */
.final-cta-wrap { padding: 12px 24px 36px; max-width: var(--container); margin: 0 auto; }
.final-cta {
  text-align: center;
  padding: 72px 32px;
  background:
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(129, 113, 208, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(129, 113, 208, 0.14) 0%, transparent 60%),
    linear-gradient(135deg, #FAF8FE 0%, #F2EFFA 100%);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(129, 113, 208, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.final-cta h2 .accent { font-family: var(--font-serif); font-style: italic; color: var(--primary); font-weight: 400; }
.final-cta p { font-size: 15.5px; max-width: 480px; margin: 0 auto 26px; }
.final-cta .btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.final-cta .ga-mini-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ga4-a) 0%, var(--ga4-b) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px rgba(227, 116, 0, 0.28);
}

/* ─────────── FOOTER ─────────── */
footer { background: var(--bg); padding: 48px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: var(--text-muted); max-width: 300px; }
.footer-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { font-size: 13.5px; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-subtle);
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 940px) {
  :root { --gap-cols: 40px; --header-col: 200px; }
  .card { padding: 40px 36px; }
  .nav-links { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .analyze-grid { grid-template-columns: 1fr; }
  .connector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .card { padding: 32px 24px; border-radius: 20px; }
  .row { grid-template-columns: 1fr; gap: 24px; }
  .row-header { position: static; margin-bottom: 4px; }
  .row-stacked .row-header { margin-bottom: 28px; }
  .connection-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 22px 32px;
  }
  .conn-flow {
    width: 60px;
    height: 80px;
    transform: rotate(90deg);
    margin: 0 auto;
  }
  .conn-flow .flow-label { transform: translateX(-50%) rotate(-90deg); top: 50%; margin-top: -8px; }
  .connector-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .final-cta { padding: 56px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 24px 0 36px; }
  .query-stats { gap: 4px; }
  .qstat { font-size: 11.5px; padding: 4px 9px; }
}
