/* ============================================================
   StoreConnect Site Analyser — Design System
   Extracted from Praxis branded report template
   ============================================================ */

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: #1a1a1a;
  background: #1a1a1a;
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100vh;
}

/* ── NAV ─────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: #1a1a1a; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topnav-brand {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #facc15;
}
.topnav-links { display: flex; overflow-x: auto; }
.topnav-links a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.78rem; padding: 0 0.85rem; height: 52px;
  display: flex; align-items: center; white-space: nowrap;
  transition: color 0.15s;
}
.topnav-links a:hover { color: #fff; }
.topnav-meta {
  font-size: 0.68rem; color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: #1a1a1a; color: #fff;
  padding: 4rem 2rem 3.5rem; text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-tag {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: #facc15; margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.08; margin-bottom: 0.75rem;
}
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.55);
  max-width: 500px; margin: 0 auto 1.75rem; line-height: 1.6;
}
.hero-meta {
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
  margin-bottom: 2.25rem;
}
.hero-meta strong { color: rgba(255,255,255,0.65); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.page {
  max-width: 800px; margin: 0 auto;
  padding: 0 2rem 6rem;
}
.section {
  padding: 2.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.section:last-of-type { border-bottom: none; }
.section-tag {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #facc15; background: #1a1a1a;
  padding: 0.2rem 0.6rem; border-radius: 2px;
  margin-bottom: 0.8rem;
}
h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 0.35rem;
}
.section-intro {
  font-size: 0.92rem; color: #6b7280;
  margin: 0 0 1.5rem; line-height: 1.6;
}
strong { font-weight: 700; }

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 700;
  padding: 0.18rem 0.6rem; border-radius: 999px;
  white-space: nowrap;
}
.badge-red    { background: #fef2f2; color: #991b1b; }
.badge-amber  { background: #fef9c3; color: #92400e; }
.badge-green  { background: #dcfce7; color: #166534; }
.badge-dark   { background: #1a1a1a; color: #facc15; }

/* ── URL INPUT FORM ──────────────────────────────────────── */
.url-form {
  max-width: 560px; margin: 0 auto;
}
.contact-fields {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem; margin-bottom: 0.75rem;
}
.contact-input {
  padding: 0.7rem 1rem;
  font-size: 0.92rem; font-family: inherit;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px; background: rgba(255,255,255,0.06);
  color: #fff; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-input::placeholder { color: rgba(255,255,255,0.3); }
.contact-input:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 3px rgba(250,204,21,0.15);
}
.contact-input.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}
.url-row {
  display: flex; gap: 0.5rem;
}
.url-row .url-input {
  flex: 1; padding: 0.85rem 1.25rem;
  font-size: 1rem; font-family: inherit;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px; background: rgba(255,255,255,0.06);
  color: #fff; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.url-input::placeholder { color: rgba(255,255,255,0.3); }
.url-input:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 3px rgba(250,204,21,0.15);
}
.url-input.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}
.url-input.shake {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

.btn-analyse {
  padding: 0.85rem 1.75rem;
  background: #facc15; color: #1a1a1a;
  font-weight: 700; font-size: 0.92rem;
  border: none; border-radius: 8px;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
}
.btn-analyse:hover { background: #fde047; }
.btn-analyse:active { transform: scale(0.97); }
.btn-analyse:disabled {
  opacity: 0.85; cursor: not-allowed;
  transform: none;
}
.btn-analyse-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  vertical-align: middle;
  border: 2px solid rgba(26,26,26,0.2);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: loader-spin 0.7s linear infinite;
}
.btn-analyse-spinner.hidden { display: none !important; }
.btn-analyse-spinner { margin-left: 0.5rem; }

.form-error {
  color: #fca5a5; font-size: 0.82rem;
  margin-top: 0.6rem; text-align: center;
  min-height: 1.4em;
}

.form-warning {
  background: rgba(250,204,21,0.1);
  border: 1px solid rgba(250,204,21,0.25);
  border-radius: 8px; padding: 1rem 1.25rem;
  margin-top: 1rem; max-width: 560px;
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.form-warning p {
  color: rgba(255,255,255,0.7); font-size: 0.88rem;
  margin-bottom: 0.75rem; line-height: 1.5;
}
.form-warning-actions {
  display: flex; gap: 0.5rem; justify-content: center;
}
.btn-secondary {
  padding: 0.5rem 1.25rem;
  background: transparent; color: rgba(255,255,255,0.5);
  font-weight: 600; font-size: 0.82rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.btn-secondary:hover {
  color: #fff; border-color: rgba(255,255,255,0.35);
}
.btn-sm {
  padding: 0.5rem 1.25rem;
  background: #facc15; color: #1a1a1a;
  font-weight: 700; font-size: 0.82rem;
  border: none; border-radius: 6px;
  cursor: pointer; font-family: inherit;
}

/* ── PROGRESS VIEW ───────────────────────────────────────── */
.progress-container {
  max-width: 560px; margin: 0 auto;
  text-align: left;
}
.progress-steps { list-style: none; padding: 0; }
.progress-step {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: opacity 0.3s;
}
.progress-step:last-child { border-bottom: none; }

.step-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
  transition: all 0.3s;
}
.step-icon.pending {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.25);
}
.step-icon.active {
  background: rgba(250,204,21,0.15);
  color: #facc15;
  animation: pulse 1.5s ease-in-out infinite;
}
.step-icon.done {
  background: rgba(16,185,129,0.15);
  color: #10b981;
}
.step-icon.error {
  background: rgba(220,38,38,0.15);
  color: #dc2626;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250,204,21,0.3); }
  50%      { box-shadow: 0 0 0 6px rgba(250,204,21,0); }
}

.step-text {
  flex: 1; padding-top: 0.1rem;
}
.step-label {
  font-size: 0.88rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.step-label.active { color: #fff; }
.step-label.done { color: rgba(255,255,255,0.45); }
.step-detail {
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
  margin-top: 0.15rem;
}

.progress-bar-track {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px; margin-top: 1.5rem;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%; background: #facc15;
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-footer {
  display: flex; justify-content: space-between;
  align-items: center; margin-top: 1rem;
}
.progress-time {
  font-size: 0.75rem; color: rgba(255,255,255,0.25);
}
.btn-cancel {
  padding: 0.45rem 1rem;
  background: transparent;
  color: rgba(255,255,255,0.35);
  font-weight: 600; font-size: 0.78rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.btn-cancel:hover {
  color: #fff; border-color: rgba(255,255,255,0.3);
}

.progress-reassurance {
  text-align: center; font-size: 0.8rem;
  color: rgba(255,255,255,0.3); margin-top: 1.25rem;
}

/* ── REPORT VIEW ─────────────────────────────────────────── */
.report-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.65rem 2rem;
  background: #f9fafb; border-bottom: 1px solid #e5e7eb;
}
.report-toolbar-left {
  display: flex; align-items: center; gap: 0.5rem;
}
.report-toolbar-left span {
  font-size: 0.82rem; color: #6b7280;
}
.report-email-sent {
  font-size: 0.75rem; color: #166534;
  margin-left: 0.5rem; padding-left: 0.5rem;
  border-left: 1px solid #a7f3d0;
}
.report-toolbar-actions {
  display: flex; gap: 0.5rem;
}
.btn-toolbar {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.78rem; font-weight: 600;
  border-radius: 6px; cursor: pointer;
  transition: all 0.15s; font-family: inherit;
  border: 1px solid #e5e7eb; background: #fff; color: #374151;
}
.btn-toolbar:hover {
  background: #f3f4f6; border-color: #d1d5db;
}
.btn-toolbar.primary {
  background: #1a1a1a; color: #facc15;
  border-color: #1a1a1a;
}
.btn-toolbar.primary:hover { background: #2a2a2a; }

.btn-toolbar svg {
  width: 14px; height: 14px;
}

.report-frame {
  width: 100%; border: none;
  min-height: calc(100vh - 52px - 48px);
}

/* Share modal */
.modal-overlay {
  display: none; position: fixed;
  inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5);
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff; border-radius: 12px;
  padding: 2rem; max-width: 440px; width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal h3 {
  font-size: 1.15rem; font-weight: 800;
  margin-bottom: 0.5rem;
}
.modal p {
  font-size: 0.88rem; color: #6b7280;
  line-height: 1.5; margin-bottom: 1.25rem;
}
.share-link-row {
  display: flex; gap: 0.5rem;
}
.share-link-input {
  flex: 1; padding: 0.6rem 0.85rem;
  font-size: 0.85rem; font-family: monospace;
  border: 1px solid #e5e7eb; border-radius: 6px;
  background: #f9fafb; color: #374151;
  outline: none;
}
.share-link-input:focus {
  border-color: #facc15;
}
.btn-copy {
  padding: 0.6rem 1rem;
  background: #1a1a1a; color: #facc15;
  font-weight: 700; font-size: 0.82rem;
  border: none; border-radius: 6px;
  cursor: pointer; white-space: nowrap;
  font-family: inherit;
}
.btn-copy.copied {
  background: #166534; color: #fff;
}
.share-meta {
  font-size: 0.75rem; color: #9ca3af;
  margin-top: 0.75rem;
}
.modal-close {
  margin-top: 1rem; text-align: right;
}
.modal-close button {
  background: none; border: none;
  font-size: 0.82rem; color: #6b7280;
  cursor: pointer; font-family: inherit;
}
.modal-close button:hover { color: #1a1a1a; }

/* ── ERROR / INFO BANNERS ────────────────────────────────── */
.banner {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem; line-height: 1.5;
  border-radius: 8px; margin: 1rem auto;
  max-width: 560px;
}
.banner-error {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.2);
  color: #fca5a5;
}
.banner-warning {
  background: rgba(250,204,21,0.1);
  border: 1px solid rgba(250,204,21,0.2);
  color: #fde68a;
}
.banner-info {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: #93c5fd;
}
.banner a {
  color: inherit; font-weight: 600;
  text-decoration: underline;
}

/* ── LANDING VIEW ─────────────────────────────────────────── */
.landing-view .hero { min-height: 85vh; }

.hero-scroll-hint {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.hero-scroll-hint:hover { color: #facc15; }

/* ── PAMPHLET (exact match to dba-ai-main /storeconnect) ───── */
.pamphlet { background: #fff; }
.pamphlet-hero {
  background: #000; color: #fff;
  padding: 5rem 2rem 6rem;
}
.pamphlet-container {
  max-width: 896px; margin: 0 auto;
  padding: 0 2rem;
}
.pamphlet-label {
  font-size: 0.875rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: #facc15; margin-bottom: 1.5rem;
}
.pamphlet-display {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400; line-height: 0.95;
  letter-spacing: 0.02em; margin-bottom: 1.5rem;
}
.pamphlet-lead {
  font-family: Inter, sans-serif;
  font-size: 1.125rem; color: rgba(255,255,255,0.7);
  max-width: 42rem; line-height: 1.6;
}
.pamphlet-section {
  padding: 4rem 0; border-bottom: 4px solid #000;
  background: #fff; color: #000;
  font-family: Inter, sans-serif;
}
.pamphlet-section.pamphlet-inverted {
  background: #000; color: #fff;
}
.pamphlet-section.pamphlet-quickref {
  background: #f5f5f5; color: #000;
}
.pamphlet-section.pamphlet-cta {
  background: #000; color: #fff;
  padding: 5rem 2rem; text-align: center;
  border-bottom: none;
}
.pamphlet-sectag {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: #666; margin-bottom: 1rem;
}
.pamphlet-sectag-dark { color: #facc15; }
.pamphlet-headline {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400; line-height: 1;
  margin-bottom: 1rem;
}
.pamphlet-headline-sm {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin: 1.5rem 0 0.75rem;
}
.pamphlet-section p {
  font-size: 1rem; font-weight: 500;
  line-height: 1.6; margin-bottom: 0.5rem;
  color: inherit;
}
.pamphlet-inverted p { opacity: 0.9; }
.pamphlet-section .pamphlet-small {
  font-size: 0.875rem; color: #666;
  margin-top: 0.5rem;
}
.pamphlet-inverted .pamphlet-small { color: rgba(255,255,255,0.6); }
.pamphlet-small a {
  color: inherit; font-weight: 700;
  text-decoration: underline;
}
.pamphlet-grid2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin: 1rem 0 1.5rem;
}
.pamphlet-box {
  border: 2px solid #000;
  padding: 1.25rem; font-size: 0.9rem;
  font-weight: 500; line-height: 1.5;
}
.pamphlet-inverted .pamphlet-box { border-color: #fff; }
.pamphlet-table-wrap {
  border: 2px solid #000;
  overflow-x: auto; margin: 1rem 0 1.5rem;
}
.pamphlet-inverted .pamphlet-table-wrap { border-color: rgba(255,255,255,0.3); }
.pamphlet-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.875rem; text-align: left;
}
.pamphlet-table th, .pamphlet-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.pamphlet-inverted .pamphlet-table th,
.pamphlet-inverted .pamphlet-table td {
  border-color: rgba(255,255,255,0.2);
}
.pamphlet-table thead tr {
  background: #facc15; color: #000;
}
.pamphlet-table thead th {
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 0.7rem;
}
.pamphlet-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.03);
}
.pamphlet-inverted .pamphlet-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.05);
}
.pamphlet-table tbody td:first-child { font-weight: 700; }
.pamphlet-table:not(.pamphlet-table-2col) tbody td:nth-child(2) { font-weight: 700; }
.pamphlet-table-2col thead tr {
  background: #000; color: #fff;
}
.pamphlet-table-2col tbody td:first-child {
  border-right: 1px solid rgba(0,0,0,0.1);
  width: 25%; font-weight: 700;
}
.pamphlet-inverted .pamphlet-table-2col tbody td:first-child {
  border-color: rgba(255,255,255,0.1);
}
.pamphlet-list {
  list-style: none; padding: 0; margin: 0.75rem 0 0;
}
.pamphlet-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  padding: 0.35rem 0;
}
.pamphlet-list li::before {
  content: "—"; color: #facc15;
  font-weight: 700; flex-shrink: 0;
}
.pamphlet-checklist {
  border: 4px solid #000;
  padding: 1.5rem 2rem; margin: 1rem 0 1.5rem;
}
.pamphlet-inverted .pamphlet-checklist { border-color: #fff; }
.pamphlet-checklist-large { padding: 1.5rem 2rem; }
.pamphlet-checklist-title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.5rem; font-weight: 400;
  margin-bottom: 1rem;
}
.pamphlet-checklist ul { list-style: none; padding: 0; margin: 0; }
.pamphlet-checklist li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; padding: 0.25rem 0;
}
.pamphlet-checklist li::before {
  content: "✓"; color: #facc15;
  font-weight: 700; flex-shrink: 0;
}
.pamphlet-checklist-accent {
  border: 2px solid #facc15;
  background: rgba(250,204,21,0.05);
}
.pamphlet-diagram {
  border: 2px solid #000; margin: 1.5rem 0;
}
.pamphlet-inverted .pamphlet-diagram { border-color: #fff; }
.pamphlet-diagram-header {
  background: #000; color: #fff;
  padding: 0.5rem 1rem;
  display: flex; justify-content: space-between;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pamphlet-diagram-header span:last-child { color: #facc15; }
.pamphlet-diagram-body { padding: 1rem 1.5rem; }
.pamphlet-diagram-caption {
  border-top: 1px solid #000;
  padding: 0.5rem 1rem;
  font-size: 0.75rem; color: #666;
  font-style: italic;
}
.pamphlet-inverted .pamphlet-diagram-caption {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.6);
}
.pamphlet-relationship {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 1rem 1.5rem; padding: 1.5rem;
}
.pamphlet-rel-box {
  border: 4px solid #000;
  padding: 1rem 1.25rem;
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; text-align: center;
  min-width: 120px;
}
.pamphlet-inverted .pamphlet-rel-box { border-color: #fff; }
.pamphlet-rel-arrows {
  display: flex; flex-direction: column;
  gap: 0.25rem; font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: #666;
}
.pamphlet-inverted .pamphlet-rel-arrows { color: rgba(255,255,255,0.5); }
.pamphlet-rel-title { font-size: 0.85rem; margin-bottom: 0.5rem; text-align: center; }
.pamphlet-rel-lead {
  background: #facc15; color: #000;
  padding: 0.35rem 0.75rem; font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase;
  text-align: center; margin-bottom: 0.5rem;
}
.pamphlet-rel-roles {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}
.pamphlet-rel-roles span {
  border: 2px solid #000;
  padding: 0.35rem; font-size: 0.65rem;
  font-weight: 700; text-transform: uppercase;
  text-align: center;
}
.pamphlet-inverted .pamphlet-rel-roles span { border-color: #fff; }
.pamphlet-feedback-loop {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 0.5rem 1rem; padding: 1.5rem;
}
.pamphlet-fb-step {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase;
}
.pamphlet-fb-num {
  width: 2.25rem; height: 2.25rem;
  background: #facc15; color: #000;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700;
}
.pamphlet-fb-arrow {
  color: #999; font-size: 1rem;
}
.pamphlet-inverted .pamphlet-fb-arrow { color: rgba(255,255,255,0.4); }
.pamphlet-subsection { margin: 2rem 0; }
.pamphlet-subsection h4 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0 0 0.5rem;
}
.pamphlet-subsection p {
  font-size: 0.9rem; color: #666;
  margin: 0.25rem 0 0;
}
.pamphlet-inverted .pamphlet-subsection p { color: rgba(255,255,255,0.7); }
.pamphlet-responsibilities {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; padding: 1rem;
}
.pamphlet-resp-item {
  border: 2px solid #000; padding: 1rem;
}
.pamphlet-inverted .pamphlet-resp-item { border-color: #fff; }
.pamphlet-resp-area {
  display: inline-block;
  background: #facc15; color: #000;
  padding: 0.2rem 0.5rem; font-size: 0.65rem;
  font-weight: 700; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.pamphlet-resp-item p {
  font-size: 0.75rem; margin: 0.25rem 0;
  color: inherit;
}
.pamphlet-inverted .pamphlet-resp-item p { opacity: 0.9; }
.pamphlet-callout {
  border-left: 4px solid #facc15;
  padding-left: 1.5rem; margin: 1.5rem 0;
}
.pamphlet-callout h4 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0 0 0.5rem;
}
.pamphlet-callout blockquote {
  font-size: 1.125rem; font-weight: 700;
  font-style: italic; margin: 0.75rem 0 0;
}
.pamphlet-flow {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
  padding: 1.5rem;
}
.pamphlet-flow-step {
  border: 2px solid #000;
  padding: 0.6rem 1rem; font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase;
  text-align: center;
}
.pamphlet-inverted .pamphlet-flow-step { border-color: #fff; }
.pamphlet-flow-accent {
  border-color: #facc15 !important;
  background: rgba(250,204,21,0.1);
}
.pamphlet-flow-small { padding: 0.35rem 0.75rem; font-size: 0.7rem; }
.pamphlet-flow-arrow { color: #999; font-size: 1rem; }
.pamphlet-inverted .pamphlet-flow-arrow { color: rgba(255,255,255,0.4); }
.pamphlet-flow-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #666; margin: 0.5rem 0;
}
.pamphlet-inverted .pamphlet-flow-label { color: rgba(255,255,255,0.6); }
.pamphlet-flow-branch {
  display: flex; gap: 2rem; margin-top: 0.5rem;
}
.pamphlet-flow-yes { color: #facc15; font-size: 0.7rem; font-weight: 700; margin-bottom: 0.35rem; }
.pamphlet-flow-no { color: #999; font-size: 0.7rem; font-weight: 700; margin-bottom: 0.35rem; }
.pamphlet-inverted .pamphlet-flow-no { color: rgba(255,255,255,0.5); }
.pamphlet-timeline-bar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; border: 2px solid rgba(255,255,255,0.3);
  margin: 1rem 0 1.5rem;
}
.pamphlet-tl-item {
  padding: 0.75rem 0.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}
.pamphlet-tl-item:last-child { border-right: none; }
.pamphlet-tl-num {
  display: block;
  width: 2rem; height: 2rem;
  background: #facc15; color: #000;
  margin: 0 auto 0.35rem;
  font-weight: 700; font-size: 0.85rem;
  line-height: 2rem;
}
.pamphlet-process-steps { margin-top: 1rem; }
.pamphlet-ps-item {
  display: flex; gap: 1.25rem;
  margin-bottom: 2rem; align-items: flex-start;
}
.pamphlet-ps-num {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  background: #facc15; color: #000;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.25rem; font-weight: 400;
}
.pamphlet-ps-item h4 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  margin: 0 0 0.25rem;
}
.pamphlet-ps-item p {
  font-size: 0.875rem; margin: 0.25rem 0;
  opacity: 0.8;
}
.pamphlet-ps-outcome {
  font-weight: 700 !important;
  opacity: 1 !important;
  margin-top: 0.5rem !important;
}
.pamphlet-layers { padding: 0; }
.pamphlet-layer {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid rgba(0,0,0,0.15);
  font-size: 0.875rem;
}
.pamphlet-layer:last-child { border-bottom: none; }
.pamphlet-layer span:first-child {
  font-weight: 700; min-width: 4rem;
}
.pamphlet-layer-highlight {
  border-color: #facc15 !important;
  background: rgba(250,204,21,0.05);
}
.pamphlet-layer-highlight span:first-child { color: #facc15; }
.pamphlet-layer-tag {
  margin-left: auto; font-size: 0.65rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: #facc15;
}
.pamphlet-expect-list { margin-top: 1rem; }
.pamphlet-expect-item {
  border-left: 4px solid #000;
  padding-left: 1.5rem; padding: 0.5rem 0 0.5rem 1.5rem;
  margin-bottom: 1rem;
}
.pamphlet-expect-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.pamphlet-expect-item p:last-child {
  font-size: 0.875rem; color: #666;
}
.pamphlet-quickref .pamphlet-expect-item { border-color: #000; }
.pamphlet-quickref-list { margin: 1rem 0; }
.pamphlet-quickref-row {
  display: flex; gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #000;
  font-size: 0.875rem;
}
.pamphlet-quickref-row span:first-child {
  width: 12rem; flex-shrink: 0;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #666;
}
.pamphlet-quickref-row span:last-child { font-weight: 700; }
.pamphlet-cta-inner { max-width: 672px; margin: 0 auto; }
.pamphlet-cta .pamphlet-headline { margin-bottom: 1.5rem; }
.pamphlet-cta p {
  font-size: 1.125rem; opacity: 0.8;
  margin-bottom: 2.5rem;
}
.pamphlet-cta-btn {
  display: inline-block;
  background: #facc15; color: #000;
  padding: 1rem 2.5rem;
  font-weight: 700; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.15s;
}
.pamphlet-cta-btn:hover { background: #fde047; }

/* ── CTA BLOCK ───────────────────────────────────────────── */
.cta-block {
  background: #1a1a1a; border-radius: 10px;
  padding: 2.5rem 2rem; margin: 2rem 0;
  text-align: center;
}
.cta-block h3 {
  font-size: 1.4rem; font-weight: 900;
  letter-spacing: -0.03em; color: #fff;
  margin: 0 0 0.6rem;
}
.cta-block p {
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
  max-width: 420px; margin: 0 auto 1.5rem;
}
.cta-pill {
  display: inline-block; background: #facc15;
  color: #1a1a1a; font-weight: 700; font-size: 0.88rem;
  padding: 0.65rem 1.75rem; border-radius: 999px;
  text-decoration: none;
}

/* ── UTILITY ─────────────────────────────────────────────── */
/* ── Loader overlay (Pipedrive lead) ───────────────────────── */
.loader-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26,26,26,0.85);
  display: flex; align-items: center; justify-content: center;
}
.loader-content {
  text-align: center; color: #fff;
}
.loader-spinner {
  width: 40px; height: 40px;
  margin: 0 auto 1rem;
  border: 3px solid rgba(250,204,21,0.3);
  border-top-color: #facc15;
  border-radius: 50%;
  animation: loader-spin 0.8s linear infinite;
}
@keyframes loader-spin {
  to { transform: rotate(360deg); }
}
.loader-text {
  font-size: 0.95rem; color: rgba(255,255,255,0.9);
}

.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .topnav-links { display: none; }
  .contact-fields { grid-template-columns: 1fr; }
  .pamphlet-hero { padding: 3rem 1.25rem 4rem; }
  .pamphlet-container { padding: 0 1.25rem; }
  .pamphlet-section { padding: 3rem 0; }
  .url-row { flex-direction: column; }
  .url-row .btn-analyse { width: 100%; }
  .report-toolbar {
    flex-direction: column; gap: 0.5rem;
    padding: 0.65rem 1rem;
  }
  .share-link-row { flex-direction: column; }
  .pamphlet-grid2 { grid-template-columns: 1fr; }
  .pamphlet-relationship { flex-direction: column; }
  .pamphlet-feedback-loop { flex-direction: column; }
  .pamphlet-fb-arrow { transform: rotate(90deg); }
  .pamphlet-responsibilities { grid-template-columns: 1fr; }
  .pamphlet-timeline-bar { grid-template-columns: 1fr; }
  .pamphlet-tl-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .pamphlet-tl-item:last-child { border-bottom: none; }
  .pamphlet-flow-branch { flex-direction: column; }
  .pamphlet-quickref-row { flex-direction: column; gap: 0.25rem; }
  .pamphlet-quickref-row span:first-child { width: auto; }
}

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topnav, .report-toolbar { display: none; }
  .report-frame { min-height: auto; }
}
