/* ==========================================================================
   Versimple — Brand Stylesheet
   Premium, tech-forward, human + AI. Fully distinct from any client brand.
   ========================================================================== */

:root {
  --ink: #0B0B14;
  --ink-soft: #14141F;
  --ink-card: #1B1B29;
  --violet: #7C5CFF;
  --violet-deep: #5B3DE0;
  --cyan: #2FE0C8;
  --paper: #FAF9F6;
  --paper-soft: #F1EFE9;
  --white: #FFFFFF;
  --slate: #6B6B7A;
  --text-dark: #14141C;
  --amber: #FBBF24;
  --green: #34D399;
  --red: #FB6B6B;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-glow: 0 20px 60px rgba(124, 92, 255, 0.25);
  --shadow-soft: 0 16px 40px rgba(11, 11, 20, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.gradient-text {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow.on-dark {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--cyan);
  backdrop-filter: blur(6px);
}
.eyebrow.on-light {
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.2);
  color: var(--violet-deep);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(90deg, var(--violet), #9B7CFF);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(124,92,255,0.4);
}
.btn-cyan {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(47,224,200,0.35);
}
.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(20,20,28,0.15);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ============ NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,20,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.logo .dot { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: rgba(255,255,255,0.75); font-weight: 500; font-size: 0.94rem; transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; width: 42px; height: 42px; color: #fff; font-size: 1.2rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* light-header variant for content pages */
.site-header.on-light {
  background: rgba(250,249,246,0.85);
  border-bottom: 1px solid rgba(20,20,28,0.08);
}
.site-header.on-light .logo { color: var(--text-dark); }
.site-header.on-light .nav-links a { color: rgba(20,20,28,0.65); }
.site-header.on-light .nav-links a:hover, .site-header.on-light .nav-links a.active { color: var(--text-dark); }
.site-header.on-light .nav-toggle { border-color: rgba(20,20,28,0.2); color: var(--text-dark); }

/* ============ HERO / AURORA ============ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 110px 0 140px;
  overflow: hidden;
}
.aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 700px 500px at 15% 10%, rgba(124,92,255,0.55), transparent 60%),
    radial-gradient(ellipse 600px 500px at 85% 30%, rgba(47,224,200,0.35), transparent 60%),
    radial-gradient(ellipse 800px 600px at 50% 100%, rgba(124,92,255,0.25), transparent 60%);
  filter: blur(40px);
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.hero-copy p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  margin: 22px auto 40px;
}

/* Scanner card */
.scanner-card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-glow);
}
.scanner-input-row {
  display: flex;
  gap: 10px;
  padding: 6px;
}
.scanner-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 16px 22px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
}
.scanner-input-row input::placeholder { color: rgba(255,255,255,0.45); }
.scanner-input-row input:focus { outline: none; border-color: var(--cyan); }
.scanner-note {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.trust-strip span { display: flex; align-items: center; gap: 8px; }

/* ============ SCANNING STATE ============ */
.scanning-state {
  display: none;
  text-align: center;
  padding: 50px 20px;
}
.scanning-state.show { display: block; }
.scan-ring {
  width: 70px; height: 70px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.12);
  border-top-color: var(--cyan);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.scan-lines { color: rgba(255,255,255,0.55); font-size: 0.92rem; margin-top: 16px; text-align: center; }

/* Scan progress + checklist */
.scan-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-bottom: 22px;
}
.scan-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  /* Driven every animation frame from JS (see runScanSequence) for a
     smooth continuous creep — a CSS transition here would fight those
     per-frame updates and make it look laggy/stepped instead. */
}
.scan-checklist { display: flex; flex-direction: column; gap: 8px; }
.scan-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0.4;
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.scan-check-item .check-icon { font-size: 1.1rem; }
.scan-check-item .check-label { flex: 1; text-align: left; font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.scan-check-item .check-status { font-size: 0.85rem; color: rgba(255,255,255,0.5); min-width: 20px; text-align: right; }
.scan-check-item.active {
  opacity: 1;
  border-color: rgba(47,224,200,0.4);
  background: rgba(47,224,200,0.06);
}
.scan-check-item.done {
  opacity: 1;
  border-color: rgba(52,211,153,0.35);
}
.scan-check-item.done .check-status { color: var(--green); font-weight: 700; }
.mini-spin {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(47,224,200,0.25);
  border-top-color: var(--cyan);
  animation: spin 0.7s linear infinite;
}

/* Before / after redesign frames */
.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20,20,28,0.1);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #EDEBE4;
  border-bottom: 1px solid rgba(20,20,28,0.08);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: #D8D5CC; display: block; }
.browser-url {
  flex: 1;
  background: var(--white);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--slate);
  border: 1px solid rgba(20,20,28,0.06);
}
.frame-launch-btn {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  background: var(--white);
  border: 1px solid rgba(20,20,28,0.12);
  border-radius: 999px;
  padding: 5px 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.frame-launch-btn:hover { border-color: var(--violet); color: var(--violet-deep); }
.frame-launch-btn--after {
  color: var(--white);
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-color: transparent;
}
.frame-launch-btn--after:hover { filter: brightness(1.08); color: var(--white); }
.frame-note { font-size: 0.78rem; color: var(--slate); margin-top: 8px; }

/* Mobile mode: drop the desktop browser chrome around the phone frame —
   the phone bezel itself (see .frame-viewport rules below) supplies the
   device look, so the toolbar collapses to just the launch link. */
.compare-wrap[data-device="mobile"] .browser-frame {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.compare-wrap[data-device="mobile"] .browser-toolbar {
  background: transparent;
  border: none;
  justify-content: center;
  padding: 0 0 16px;
}
.compare-wrap[data-device="mobile"] .browser-dots,
.compare-wrap[data-device="mobile"] .browser-url { display: none; }
.frame-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.frame-tag.before { background: rgba(20,20,28,0.06); color: var(--slate); }
.frame-tag.after { background: linear-gradient(90deg, var(--violet), var(--cyan)); color: var(--white); }

.mini-site { min-height: 280px; padding: 30px 26px; display: flex; flex-direction: column; justify-content: center; }
.mini-site.before-site { background: #F2F0EA; }
.mini-site.before-site .mini-nav { font-family: Georgia, serif; font-size: 0.8rem; color: #7A7669; margin-bottom: 18px; }
.mini-site.before-site h4 { font-family: Georgia, serif; font-weight: 400; font-size: 1.3rem; color: #4A473E; margin-bottom: 10px; }
.mini-site.before-site p { font-family: Georgia, serif; font-size: 0.82rem; color: #8A8677; max-width: 320px; margin-bottom: 16px; }
.mini-site.before-site .mini-btn { display: inline-block; background: #C9C6BB; color: #5A5748; font-size: 0.78rem; padding: 8px 16px; border-radius: 3px; width: fit-content; }

.mini-site.after-site {
  background:
    radial-gradient(ellipse 300px 200px at 20% 0%, rgba(124,92,255,0.5), transparent 60%),
    radial-gradient(ellipse 260px 200px at 90% 100%, rgba(47,224,200,0.35), transparent 60%),
    var(--ink);
  align-items: flex-start;
}
.mini-site.after-site .mini-nav { font-family: var(--font-display); font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; font-weight: 600; }
.mini-site.after-site h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--white); margin-bottom: 10px; letter-spacing: -0.01em; }
.mini-site.after-site p { font-size: 0.85rem; color: rgba(255,255,255,0.65); max-width: 320px; margin-bottom: 18px; }
.mini-site.after-site .mini-btn {
  display: inline-block; background: linear-gradient(90deg, var(--violet), var(--cyan));
  color: var(--white); font-size: 0.8rem; font-weight: 700; padding: 10px 20px; border-radius: 999px; width: fit-content;
}
.mini-site.after-site .mini-chips { display: flex; gap: 8px; margin-top: 16px; }
.mini-site.after-site .mini-chips span { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.7); font-size: 0.68rem; padding: 4px 10px; border-radius: 999px; }

/* Device-aware frame viewport (before screenshots + live after iframe) —
   renders content at a real desktop/mobile width, then scales it to fit
   the panel, so the layout never looks squished or triggers a broken
   in-between responsive state. In mobile mode the viewport becomes an
   actual iPhone-shaped device frame (bezel, Dynamic Island, home
   indicator, side buttons) rather than just a narrow rectangle. */
.frame-viewport {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--white);
}
.phone-screen { position: relative; width: 100%; height: 100%; }
.phone-island, .phone-home-indicator, .phone-buttons, .phone-buttons::before, .phone-buttons::after { display: none; }

.compare-wrap[data-device="mobile"] .frame-viewport {
  height: 660px;
  width: 300px;
  margin: 0 auto;
  padding: 14px;
  box-sizing: border-box;
  background: linear-gradient(160deg, #35353d, #0c0c10 60%);
  border-radius: 48px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.32), inset 0 0 0 2px rgba(255,255,255,0.06);
  overflow: visible;
}
.compare-wrap[data-device="mobile"] .phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 34px;
  overflow: hidden;
}
.compare-wrap[data-device="mobile"] .phone-island {
  display: block;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  background: #0c0c10;
  border-radius: 14px;
  z-index: 5;
}
.compare-wrap[data-device="mobile"] .phone-home-indicator {
  display: block;
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 4px;
  background: rgba(0,0,0,0.28);
  border-radius: 2px;
  z-index: 5;
}
/* Side buttons — mute switch + volume rocker on the left, power on the right */
.compare-wrap[data-device="mobile"] .phone-buttons { display: block; }
.compare-wrap[data-device="mobile"] .phone-buttons::before {
  content: "";
  display: block;
  position: absolute;
  left: -3px;
  top: 118px;
  width: 3px;
  height: 60px;
  background: #232328;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 74px 0 -6px #232328, 0 108px 0 -6px #232328;
}
.compare-wrap[data-device="mobile"] .phone-buttons::after {
  content: "";
  display: block;
  position: absolute;
  right: -3px;
  top: 150px;
  width: 3px;
  height: 84px;
  background: #232328;
  border-radius: 0 2px 2px 0;
}

.before-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.compare-wrap[data-device="mobile"] .before-shot--mobile {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: top;
}

.live-frame-scaler { transform-origin: top left; }
.live-frame-scaler iframe { border: 0; display: block; background: var(--white); }
.compare-wrap[data-device="mobile"] .live-frame-scaler { transform-origin: top left; }
.example-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(52,211,153,0.1); color: #0F9D6C;
  border: 1px solid rgba(52,211,153,0.3);
  font-size: 0.75rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}

/* Build console (countdown + live log) */
.build-console {
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.build-console::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 350px at 10% 0%, rgba(124,92,255,0.4), transparent 60%),
    radial-gradient(ellipse 400px 350px at 100% 100%, rgba(47,224,200,0.3), transparent 60%);
  filter: blur(30px);
}
.build-console > * { position: relative; z-index: 1; }

.build-start-btn { margin: 6px auto 0; }

.build-active { display: none; }
.build-active.show { display: block; }

.countdown-ring { position: relative; width: 180px; height: 180px; margin: 0 auto 26px; }
.countdown-ring svg { transform: rotate(-90deg); }
.countdown-ring .track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 10; }
.countdown-ring .fill { fill: none; stroke: url(#countdownGrad); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.countdown-ring .value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.countdown-ring .value strong { font-family: var(--font-display); font-size: 2.4rem; }
.countdown-ring .value span { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }

.build-log { max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.build-log-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}
.build-log-item.visible { opacity: 1; transform: translateY(0); color: rgba(255,255,255,0.9); }
.build-log-item.visible.active { border-color: rgba(47,224,200,0.4); background: rgba(47,224,200,0.06); }
.build-log-item .log-check { width: 16px; text-align: center; }

.build-reveal { display: none; }
.build-reveal.show { display: block; animation: fadeUp 0.6s ease; }

/* Compare layout toggle */
.compare-controls { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; align-items: center; margin-bottom: 28px; }
.compare-toggle { display: flex; gap: 10px; }
.layout-btn {
  background: var(--white);
  border: 1.5px solid rgba(20,20,28,0.15);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.15s ease;
}
.layout-btn:hover { border-color: var(--violet); color: var(--violet-deep); }
.layout-btn.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.compare-wrap.layout-stacked { display: flex; flex-direction: column; gap: 32px; }
.compare-wrap.layout-side { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .compare-wrap.layout-side { grid-template-columns: 1fr; } }
.compare-panel { animation: fadeUp 0.4s ease; }
@media (max-width: 560px) {
  .frame-viewport { height: 400px; }
  .compare-wrap[data-device="mobile"] .frame-viewport { width: 240px; height: 528px; padding: 11px; border-radius: 38px; }
  .compare-wrap[data-device="mobile"] .phone-screen { border-radius: 27px; }
  .browser-url { display: none; }
}

/* ============ SCORE REPORT ============ */
.score-report { display: none; }
.score-report.show { display: block; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.score-hero-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 10px 10px;
}
.score-gauge { position: relative; width: 168px; height: 168px; flex-shrink: 0; }
.score-gauge svg { transform: rotate(-90deg); }
.score-gauge .track { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 12; }
.score-gauge .fill { fill: none; stroke: url(#scoreGrad); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1); }
.score-gauge .value {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.score-gauge .value strong { font-family: var(--font-display); font-size: 2.6rem; color: var(--white); }
.score-gauge .value span { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }

.score-cats { display: flex; flex-direction: column; gap: 14px; min-width: 300px; flex: 1; max-width: 420px; }
.score-cat-row { display: flex; align-items: center; gap: 14px; }
.score-cat-row .cat-name { width: 150px; font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.85); text-align: left; }
.score-cat-row .bar-track { flex: 1; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
.score-cat-row .bar-fill { height: 100%; border-radius: 999px; width: 0%; transition: width 1s cubic-bezier(.4,0,.2,1); }
.score-cat-row .cat-val { width: 34px; text-align: right; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.badge-new {
  background: var(--cyan); color: var(--ink); font-size: 0.6rem; font-weight: 800;
  padding: 2px 6px; border-radius: 6px; margin-left: 6px; vertical-align: middle;
}

.findings-row { display: flex; flex-direction: column; gap: 10px; max-width: 620px; margin: 34px auto 0; text-align: left; }
.finding-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.finding-item .icon { flex-shrink: 0; }

/* Locked preview */
.locked-preview {
  max-width: 620px;
  margin: 36px auto 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
}
.locked-preview .preview-img {
  filter: blur(9px) saturate(0.6) brightness(0.6);
  height: 220px;
  background: linear-gradient(135deg, #2a1f5c, #123a3f, #3a1f5c);
}
.locked-preview .lock-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  background: rgba(11,11,20,0.35);
}
.locked-preview .lock-overlay .lock-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.locked-preview .lock-overlay strong { color: var(--white); font-size: 0.95rem; }
.locked-preview .lock-overlay span { color: rgba(255,255,255,0.6); font-size: 0.82rem; }

/* Gate form */
.gate-intro {
  max-width: 460px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.gate-form {
  max-width: 480px;
  margin: 14px auto 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gate-form input {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 15px 20px;
  color: var(--white);
  font-family: var(--font-body);
}
.gate-form input::placeholder { color: rgba(255,255,255,0.4); }
.gate-form input:focus { outline: none; border-color: var(--cyan); }

.unlock-success {
  display: none;
  position: relative;
  max-width: 520px;
  margin: 24px auto 0;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  text-align: center;
  color: var(--white);
}
.unlock-success.show { display: block; }
.unlock-success a { color: var(--cyan); font-weight: 700; text-decoration: underline; }

/* ============ REPORT REVEAL ("opening a gift") ============ */
.reveal-stage { position: relative; }

.reveal-loading { text-align: center; padding: 70px 20px; }
.reveal-gift { font-size: 3.6rem; display: inline-block; animation: giftBounce 1.1s ease-in-out infinite; }
@keyframes giftBounce {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}
.reveal-loading p { margin-top: 18px; color: var(--slate); font-weight: 600; }

.reveal-content { display: none; }
.reveal-content.show { display: block; animation: revealPop 0.55s cubic-bezier(.2,.9,.3,1.3); }
@keyframes revealPop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.burst-particle {
  position: absolute;
  font-size: 1.5rem;
  pointer-events: none;
  z-index: 5;
  animation: burstOut 0.85s ease-out forwards;
}
@keyframes burstOut {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.15); opacity: 0; }
}

.personal-greeting {
  display: none;
  font-weight: 700;
  color: var(--violet-deep);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.report-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.cat-score-pill { font-family: var(--font-display); color: var(--violet-deep); }
.not-confident-tag {
  display: none;
  margin-left: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(251,191,36,0.15);
  color: #9A6B0C;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
}
.cat-issues { margin: 12px 0 16px; display: flex; flex-direction: column; gap: 7px; }
.cat-issues li {
  font-size: 0.85rem;
  color: var(--text-dark);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.cat-issues li::before { content: "—"; position: absolute; left: 0; color: var(--violet); font-weight: 700; }
.cat-fix {
  background: rgba(47,224,200,0.08);
  border: 1px solid rgba(47,224,200,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.45;
}
.cat-fix strong {
  display: block;
  color: #0F9D6C;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

/* Score status flags — 90+ excellent, 50-89 needs improvement, <50 urgent */
.status-flag {
  display: none;
  margin-left: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}
.status-flag.show { display: inline-block; }
.status-flag--excellent { background: rgba(37,99,235,0.12); color: #1D4ED8; }
.status-flag--warn { background: rgba(251,191,36,0.16); color: #9A6B0C; }
.status-flag--urgent { background: rgba(251,107,107,0.16); color: #C23B3B; }

/* Download PDF — pulsing button + pointing arrow to make it impossible to miss */
.download-cta-wrap { position: relative; display: inline-flex; }
/* ============ NEXT-STEP CTA SYSTEM ============
   Reusable "this is what to click next" language — a pulsing glow ring plus a
   red hand-drawn pointing arrow. Used at every hand-off point in the funnel:
   Grade My Site -> Unlock Report -> Download PDF -> See Redesign -> Build It. */
.pulse-cta, .download-btn-pulse {
  animation: downloadPulse 1.8s ease-in-out infinite;
}
@keyframes downloadPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,92,255,0.45); }
  50% { box-shadow: 0 0 0 12px rgba(124,92,255,0); }
}
.cta-pulse-wrap { position: relative; display: inline-flex; }
.pointer-arrow, .download-arrow {
  position: absolute;
  width: 76px;
  height: 50px;
  top: -46px;
  right: -66px;
  pointer-events: none;
  animation: arrowNudge 1.3s ease-in-out infinite;
  z-index: 5;
}
.pointer-arrow--sm { width: 56px; height: 38px; top: -34px; right: -48px; }
.pointer-arrow--box { top: -40px; right: 10px; }
@keyframes arrowNudge {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(-5px, 5px) rotate(-5deg); }
}
@media (max-width: 640px) {
  .pointer-arrow, .download-arrow { display: none; }
}

/* Bigger box-level pulse (for the unlock-success panel, not just buttons) */
.box-pulse {
  animation: boxPulse 1.8s ease-in-out infinite;
}
@keyframes boxPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  50% { box-shadow: 0 0 0 16px rgba(52,211,153,0); }
}

/* Firework celebration particles (bigger moment than the report-reveal burst) */
.firework-particle {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: fireworkBurst 1.15s ease-out forwards;
}
@keyframes fireworkBurst {
  0% { transform: translate(0,0) scale(1); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0.4); opacity: 0; }
}

.post-download-nudge {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  margin: 20px auto 0;
  background: rgba(47,224,200,0.1);
  border: 1px solid rgba(47,224,200,0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
}
.post-download-nudge.show { display: flex; animation: fadeUp 0.5s ease; }
.post-download-nudge span { font-weight: 700; color: var(--text-dark); font-size: 0.92rem; }

.print-only { display: none; }
@media print {
  body * { visibility: hidden; }
  #report-print, #report-print * { visibility: visible; }
  #report-print { position: absolute; left: 0; top: 0; width: 100%; padding: 20px 0; }
  .print-only { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; }
  .report-actions { display: none !important; }
  .post-download-nudge { display: none !important; }
  .feature-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}

/* ============ SECTIONS (light) ============ */
section { padding: 90px 0; }
.bg-paper { background: var(--paper); }
.bg-paper-soft { background: var(--paper-soft); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }

.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.05rem; color: var(--slate); }

/* ============ CATEGORY / FEATURE GRID ============ */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid rgba(20,20,28,0.08);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.feature-card p { font-size: 0.92rem; color: var(--slate); }

/* Step cards (process) */
.step-row { display: flex; flex-direction: column; gap: 0; max-width: 780px; margin: 0 auto; }
.step-item {
  display: flex; gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(20,20,28,0.08);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}
.step-item h3 { margin-bottom: 6px; }
.step-item p { color: var(--slate); font-size: 0.95rem; }
.step-item .tag-ai { display: inline-block; margin-top: 8px; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-ai.ai { background: rgba(124,92,255,0.1); color: var(--violet-deep); }
.tag-ai.human { background: rgba(52,211,153,0.12); color: #0F9D6C; }

/* Pricing */
.price-card {
  background: var(--white);
  border: 1.5px solid rgba(20,20,28,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.price-card.featured {
  border-color: var(--violet);
  box-shadow: 0 20px 50px rgba(124,92,255,0.2);
  transform: scale(1.03);
}
.price-card .ribbon {
  position: absolute; top: -14px; left: 30px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  color: var(--white); font-size: 0.72rem; font-weight: 800;
  padding: 6px 14px; border-radius: 999px;
}
.price-card .amount { font-family: var(--font-display); font-size: 2.3rem; }
.price-card .amount small { font-size: 0.9rem; font-weight: 500; color: var(--slate); }
.price-card ul { display: flex; flex-direction: column; gap: 10px; }
.price-card ul li { font-size: 0.9rem; display: flex; gap: 8px; color: var(--text-dark); }

/* Portfolio */
.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(20,20,28,0.08);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.portfolio-thumb {
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
  padding: 20px;
}
.portfolio-body { padding: 20px; }
.portfolio-body h3 { font-size: 1rem; margin-bottom: 6px; }
.portfolio-body p { font-size: 0.85rem; color: var(--slate); }

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cta-path {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 30px;
  max-width: 320px;
  text-align: left;
}
.cta-path h3 { margin-bottom: 8px; }
.cta-path p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 18px; }

/* FAQ */
.faq-item {
  border: 1px solid rgba(20,20,28,0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--violet); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-body { padding: 0 22px 20px; font-size: 0.92rem; color: var(--slate); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid li a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; opacity: 0.6; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.two-col > * { min-width: 0; } /* stop wide children (compare frames) forcing horizontal scroll on phones */

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.pill { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.7); font-size: 0.78rem; padding: 6px 14px; border-radius: 999px; }

/* ============ LIVE AI BUILD (real rebuild progress) ============ */
.build-log { max-height: 300px; overflow-y: auto; scroll-behavior: smooth; }
.build-elapsed { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.build-error { color: #FFB4B4; background: rgba(251,107,107,0.12); border: 1px solid rgba(251,107,107,0.35); border-radius: 10px; padding: 10px 14px; max-width: 460px; margin: 0 auto 18px !important; font-size: 0.9rem; }
.shot-fallback { display: grid; place-content: center; text-align: center; gap: 8px; min-height: 260px; padding: 30px; color: var(--slate); font-size: 0.92rem; background: var(--paper-soft); }
.shot-fallback a { color: var(--violet-deep); font-weight: 700; }

/* ============ BUILD BEFORE/AFTER SCORE ============ */
.build-score { max-width: 520px; margin: 22px auto 0; text-align: left; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 20px 22px; }
.build-score-loading { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.bs-head { display: flex; align-items: center; justify-content: center; gap: 26px; text-align: center; margin-bottom: 14px; }
.bs-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.bs-big { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1.05; }
.bs-arrow { color: rgba(255,255,255,0.4); }
.bs-arrow-big { font-size: 2rem; }
.bs-rows { display: grid; gap: 2px; }
.bs-row { display: grid; grid-template-columns: 1fr 52px 24px 52px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.bs-row span:not(:first-child) { text-align: center; font-family: var(--font-display); font-weight: 700; }
.bs-row small { font-size: 0.65rem; font-weight: 500; opacity: 0.7; }
.bs-good { color: var(--green); } .bs-warn { color: var(--amber); } .bs-bad { color: var(--red); }
.build-score-note { margin-top: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* designer's notes link under the finished build */
.notes-cta{margin-top:16px;display:inline-flex}
.notes-cta-sub{margin:10px auto 0;max-width:460px;color:rgba(255,255,255,.7);font-size:.9rem}

/* ==========================================================================
   Redesign preview card (K2) + example gallery
   ========================================================================== */
.cc { display: grid; grid-template-columns: 1.15fr 1fr; background: #0B0B14; color: #E3E3EA; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(11,11,20,.28); text-align: left; }
.cc-shot-link { display: block; position: relative; min-height: 440px; background: #fff; }
.cc-shot { position: absolute; inset: 0; overflow: hidden; }
.cc-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 62%, #0B0B14); pointer-events: none; }
.cc-scaler { width: 1280px; height: 1600px; transform-origin: 0 0; pointer-events: none; }
.cc-scaler iframe { width: 1280px; height: 1600px; border: 0; display: block; }
.cc-body { padding: 40px 40px 34px; display: flex; flex-direction: column; }
.cc-eb { font: 700 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.cc-title { color: #fff; margin: 12px 0 0; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
.cc-hl { margin: 14px 0 0; color: #fff; font-weight: 600; padding-left: 14px; border-left: 3px solid var(--violet); }
.cc-hl.cc-loading { color: rgba(255,255,255,.55); font-weight: 500; }
.cc-score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 12px; margin: 20px 0 0; min-height: 36px; }
.cc-score b { font: 700 2rem var(--font-display); color: #fff; }
.cc-score b.cc-up { color: var(--green); }
.cc-score span { color: #9C9CAB; font-size: .85rem; }
.cc-score i { font-style: normal; color: var(--green); font-weight: 700; }
.cc-notes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.cc-notes li { display: flex; gap: 10px; align-items: center; background: #15151F; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 10px 12px; font-size: .9rem; color: #E3E3EA; }
.cc-notes em { font-style: normal; width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 .75rem var(--font-display); color: #0B0B14; }
.cc-notes li.cc-skel { height: 44px; background: linear-gradient(100deg, #15151F 30%, #1D1D2A 50%, #15151F 70%); background-size: 300% 100%; animation: ccShim 1.4s linear infinite; }
@keyframes ccShim { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.cc-btn { align-self: flex-start; display: inline-flex; margin-top: 24px; background: linear-gradient(135deg, var(--violet), var(--violet-deep)); color: #fff; border-radius: 999px; padding: 14px 24px; font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px rgba(124,92,255,.35); transition: transform .15s, box-shadow .15s; }
.cc-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(124,92,255,.45); }
.cc-sub { margin: 10px 0 0; color: #9C9CAB; font-size: .82rem; }
.cc-wrap { margin-top: 10px; }
.cc-wrap:empty { display: none; }

/* compact cards for the example gallery */
.ex-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.ex-gallery:empty { display: none; }
.cc.cc-compact { grid-template-columns: 1fr; border-radius: 22px; }
.cc-compact .cc-shot-link { min-height: 230px; }
.cc-compact .cc-shot::after { background: linear-gradient(180deg, transparent 55%, #0B0B14); }
.cc-compact .cc-body { padding: 18px 22px 24px; }
.cc-compact .cc-title { font-size: 1.3rem; }
.cc-compact .cc-hl { font-size: .9rem; }
.cc-compact .cc-score b { font-size: 1.5rem; }
.cc-compact .cc-notes li { font-size: .82rem; padding: 8px 10px; }
.cc-compact .cc-btn { padding: 11px 18px; font-size: .9rem; }
.ex-note { margin: 18px 0 0; color: var(--slate); font-size: .85rem; text-align: center; }

@media (max-width: 1000px) { .ex-gallery { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
@media (max-width: 900px) {
  .cc { grid-template-columns: 1fr; }
  .cc-shot-link { min-height: 260px; }
  .cc-shot::after { background: linear-gradient(180deg, transparent 55%, #0B0B14); }
  .cc-body { padding: 22px 20px 26px; }
  .cc-btn { align-self: stretch; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .cc-notes li.cc-skel { animation: none; } }

/* ============ REDESIGN GALLERY (SITE-007) ============
   Snap-scrolling carousel of redesign cards: arrows, dots, business-type
   filters and a "see all" grid. Cards are the compact concept cards. */
.vg { margin-top: 10px; position: relative; }
.vg-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.vg-title { width: 100%; margin: 0 0 2px; font-size: 1.35rem; }
.vg-filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.vg-filters[hidden] { display: none; }
.vg-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid rgba(11,11,20,.12); color: var(--ink, #0B0B14); border-radius: 999px; padding: 8px 14px; font: 600 .86rem var(--font-body); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.vg-chip em { font-style: normal; color: #6B6B7A; font-weight: 500; }
.vg-chip:hover { border-color: var(--violet); }
.vg-chip.on { background: #0B0B14; border-color: #0B0B14; color: #fff; }
.vg-chip.on em { color: rgba(255,255,255,.6); }
.vg-ctrls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.vg-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(11,11,20,.14); background: #fff; color: #0B0B14; font: 600 1.5rem/1 var(--font-body); display: grid; place-items: center; cursor: pointer; padding: 0 0 3px; box-shadow: 0 6px 18px rgba(11,11,20,.08); transition: transform .15s, background .15s, opacity .15s; }
.vg-arrow:hover:not(:disabled) { background: #0B0B14; color: #fff; transform: translateY(-1px); }
.vg-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.vg-all { background: none; border: 0; color: var(--violet-deep, #5B3DE0); font: 700 .9rem var(--font-body); cursor: pointer; padding: 10px 6px 10px 10px; white-space: nowrap; }
.vg-all:hover { text-decoration: underline; }
.vg-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0; padding: 10px 0 44px; scrollbar-width: none; }
.vg-track::-webkit-scrollbar { display: none; }
.vg-track:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 14px; }
.vg-slide { scroll-snap-align: start; min-width: 0; display: flex; }
.vg-slide > .cc { width: 100%; box-shadow: 0 14px 30px rgba(11,11,20,.2); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.vg-slide > .cc:hover { transform: translateY(-4px); box-shadow: 0 20px 36px rgba(11,11,20,.26); }
.vg-slide .cc-body { flex: 1; }
.vg-slide .cc-btn { margin-top: auto; }
.vg-slide .cc-notes { margin-bottom: 20px; }
.cc-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(11,11,20,.86); color: #fff; font: 700 .68rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.vg-dots { display: flex; justify-content: center; gap: 8px; margin-top: -18px; }
.vg-dot { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(11,11,20,.2); cursor: pointer; transition: width .25s, background .25s; }
.vg-dot.on { width: 26px; background: var(--violet); }
.vg-empty { text-align: center; color: var(--slate); margin: 30px 0; }
.vg-empty[hidden] { display: none; }
.vg.vg-fits .vg-arrow, .vg.vg-fits .vg-dots { display: none; }
/* See all: the same cards as a grid */
.vg.vg-grid .vg-track { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-columns: unset; overflow: visible; scroll-snap-type: none; }
.vg.vg-grid .vg-arrow, .vg.vg-grid .vg-dots { display: none; }
@media (max-width: 1000px) { .vg-track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 640px) {
  .vg-head { gap: 10px; }
  .vg-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -28px; padding: 0 28px; flex: 1 1 100%; order: 2; }
  .vg-filters::-webkit-scrollbar { display: none; }
  .vg-chip { white-space: nowrap; }
  .vg-ctrls { width: 100%; justify-content: flex-end; order: 1; }
  .vg-arrow { width: 40px; height: 40px; }
  .vg-track { grid-auto-columns: 84%; gap: 14px; margin: 0 -28px; padding-left: 28px; padding-right: 28px; scroll-padding: 0 28px; }
}
@media (prefers-reduced-motion: reduce) { .vg-slide > .cc, .vg-dot, .vg-arrow { transition: none; } .vg-slide > .cc:hover { transform: none; } }

/* ============ WHILE WE BUILD (SITE-010) + NOTIFY ME (SITE-011) ============
   Dark, report-style stepper with live detail from the build stream. */
.build-console.bl-console { max-width: 880px; text-align: left; padding: 34px 34px 28px; }
.build-active.bl-mode .countdown-ring, .build-active.bl-mode .build-log { display: none; }
.bl { --bl-line: rgba(255,255,255,.09); --bl-card: rgba(255,255,255,.035); color: #E3E3EA; }
.bl-head { position: relative; padding-bottom: 20px; border-bottom: 1px solid var(--bl-line); }
.bl-live { display: inline-flex; align-items: center; gap: 8px; font: 700 .7rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); background: rgba(47,224,200,.08); border: 1px solid rgba(47,224,200,.3); padding: 6px 10px; border-radius: 999px; }
.bl-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: blPing 1.4s ease-out infinite; }
.bl-done .bl-live { color: var(--green); border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.08); }
.bl-done .bl-live i { background: var(--green); animation: none; }
.bl-failed .bl-live { color: var(--red); border-color: rgba(251,107,107,.4); } .bl-failed .bl-live i { background: var(--red); animation: none; }
@keyframes blPing { 0% { box-shadow: 0 0 0 0 rgba(47,224,200,.7); } 100% { box-shadow: 0 0 0 9px rgba(47,224,200,0); } }
.bl-title { color: #fff; font: 700 clamp(1.35rem, 3vw, 1.8rem)/1.15 var(--font-display); margin: 14px 0 6px; word-break: break-word; }
.bl-meta { font-size: .86rem; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.bl-elapsed { color: #fff; font: 700 1rem var(--font-display); font-variant-numeric: tabular-nums; }
.bl-sep { opacity: .4; }
.bl-bar { margin-top: 16px; height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.bl-bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--violet), var(--cyan)); transition: width 1s linear; position: relative; }
.bl-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: blShine 1.8s linear infinite; }
.bl-done .bl-bar i::after { display: none; }
@keyframes blShine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.bl-bar-label { display: flex; gap: 12px; margin-top: 8px; font-size: .8rem; color: rgba(255,255,255,.55); }
.bl-bar-label b { color: #fff; font-variant-numeric: tabular-nums; }
.bl-ticker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.bl-steps { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.bl-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--bl-line); position: relative; }
.bl-step:last-child { border-bottom: 0; }
.bl-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.45); font: 700 .82rem var(--font-display); position: relative; }
.bl-step.on .bl-dot { border-color: var(--cyan); color: var(--cyan); }
.bl-step.on .bl-dot::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--cyan); animation: blSpin .9s linear infinite; }
.bl-step.ok .bl-dot { background: var(--green); border-color: var(--green); color: #0B0B14; }
.bl-step.ok .bl-dot b { display: none; } .bl-step.ok .bl-dot::after { content: "✓"; font-weight: 800; }
@keyframes blSpin { to { transform: rotate(360deg); } }
.bl-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bl-top strong { color: rgba(255,255,255,.55); font: 600 1rem var(--font-display); }
.bl-step.on .bl-top strong, .bl-step.ok .bl-top strong { color: #fff; }
.bl-state { margin-left: auto; font-size: .76rem; color: rgba(255,255,255,.45); font-variant-numeric: tabular-nums; }
.bl-step.on .bl-state { color: var(--cyan); } .bl-step.ok .bl-state { color: var(--green); }
.bl-sub { margin: 3px 0 0; font-size: .82rem; color: rgba(255,255,255,.42); }
.bl-step.on .bl-sub, .bl-step.ok .bl-sub { color: rgba(255,255,255,.6); }
.bl-detail:empty { display: none; }
.bl-detail { margin-top: 12px; display: grid; gap: 10px; animation: fadeUp .4s ease; }
.bl-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-facts span { background: var(--bl-card); border: 1px solid var(--bl-line); border-radius: 10px; padding: 7px 11px; font-size: .8rem; color: rgba(255,255,255,.7); }
.bl-facts b { color: #fff; font-family: var(--font-display); }
.bl-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.bl-sw { display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; column-gap: 9px; align-items: center; background: var(--bl-card); border: 1px solid var(--bl-line); border-radius: 12px; padding: 7px 12px 7px 7px; animation: blPop .4s cubic-bezier(.2,.8,.2,1) both; }
.bl-sw i { grid-row: span 2; width: 34px; height: 34px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.bl-sw b { font: 600 .76rem var(--font-body); color: #fff; letter-spacing: .02em; }
.bl-sw em { font-style: normal; font-size: .7rem; color: rgba(255,255,255,.5); text-transform: capitalize; }
@keyframes blPop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.bl-k { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.bl-lines { display: grid; gap: 6px; }
.bl-lines q { display: block; font: 600 1rem/1.35 var(--font-display); color: #fff; padding-left: 12px; border-left: 3px solid var(--violet); quotes: "“" "”"; }
.bl-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.bl-chip { background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.35); color: #E3DCFF; border-radius: 999px; padding: 6px 11px; font-size: .78rem; font-weight: 600; animation: blPop .35s cubic-bezier(.2,.8,.2,1) both; }
.bl-plan .bl-chip { background: var(--bl-card); border-color: var(--bl-line); color: rgba(255,255,255,.75); }
.bl-built .bl-chip { background: rgba(47,224,200,.1); border-color: rgba(47,224,200,.35); color: #BFF7EE; }
.bl-built .bl-chip::before { content: "✓ "; }
.bl-note { margin: 0; font-size: .74rem; color: rgba(255,255,255,.42); }
.bl-ticks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: rgba(255,255,255,.4); }
.bl-ticks span::before { content: "○ "; }
.bl-ticks span.ok { color: rgba(255,255,255,.85); } .bl-ticks span.ok::before { content: "✓ "; color: var(--green); }
.bl-qa { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.bl-qa li { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: start; font-size: .8rem; color: rgba(255,255,255,.8); animation: blPop .3s ease both; }
.bl-qa i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #0B0B14; font-size: .66rem; font-weight: 800; margin-top: 1px; }
.bl-qa em { font-style: normal; font-size: .7rem; color: var(--cyan); }
.bl-qa-fail i { background: var(--amber); } .bl-qa-fail em { color: var(--amber); }
.bl-score { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bl-score b { font: 700 2rem var(--font-display); color: #fff; }
.bl-score b.bl-after { color: var(--green); }
.bl-score i { font-style: normal; color: var(--green); font-weight: 700; }
.bl-score span { font-size: .8rem; color: rgba(255,255,255,.55); }
.bl-quote { margin: 0; color: #fff; font-weight: 600; padding-left: 12px; border-left: 3px solid var(--violet); }
.bl-foot { margin: 16px 0 0; font-size: .8rem; color: rgba(255,255,255,.5); }

/* notify me */
.bl-notify { margin: 20px 0 6px; }
.bl-nf { background: linear-gradient(150deg, rgba(124,92,255,.2), rgba(47,224,200,.06) 70%), rgba(255,255,255,.03); border: 1px solid rgba(124,92,255,.4); border-radius: 18px; padding: 18px 20px; }
.bl-nf.bl-nf-keep { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.5); }
.bl-nf-keep strong { color: #FBD86B; }
.bl-nf-head { display: flex; gap: 14px; align-items: flex-start; }
.bl-nf-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 1.1rem; }
.bl-nf-head strong { display: block; color: #fff; font: 700 1.05rem var(--font-display); }
.bl-nf-lede { display: block; margin-top: 3px; color: rgba(255,255,255,.72); font-size: .9rem; }
.bl-nf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 16px; }
.bl-f { display: grid; gap: 6px; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.75); }
.bl-f em { font-style: normal; font-weight: 500; color: rgba(255,255,255,.45); }
.bl-f input { width: 100%; background: rgba(11,11,20,.7); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 12px; padding: 12px 13px; font: 500 .95rem var(--font-body); }
.bl-f input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47,224,200,.18); }
.bl-c { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: rgba(255,255,255,.82); cursor: pointer; }
.bl-c input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--violet); flex: none; }
.bl-c em { font-style: normal; color: rgba(255,255,255,.45); }
.bl-bad input { border-color: var(--red) !important; } .bl-c.bl-bad span { color: #FFB4B4; }
.bl-nf-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bl-nf-btn { background: linear-gradient(135deg, var(--cyan), #22B8A4); color: #0B0B14; border: 0; border-radius: 999px; padding: 12px 20px; font: 700 .92rem var(--font-body); cursor: pointer; box-shadow: 0 10px 26px rgba(47,224,200,.25); }
.bl-nf-msg { font-size: .84rem; color: rgba(255,255,255,.7); } .bl-nf-msg.bl-err { color: #FFB4B4; }
.bl-nf-small { grid-column: 1 / -1; margin: 0; font-size: .74rem; color: rgba(255,255,255,.45); }
.bl-nf-done .bl-nf-form { display: none; }
.bl-nf-ok { display: none; margin-top: 14px; font-size: .9rem; color: rgba(255,255,255,.8); }
.bl-nf-done .bl-nf-ok { display: block; }
.bl-nf-ok b { color: var(--green); }
.bl-nf-edit { background: none; border: 0; color: var(--cyan); text-decoration: underline; cursor: pointer; font-size: .82rem; margin-left: 6px; }
@media (max-width: 640px) {
  .build-console.bl-console { padding: 22px 16px 20px; border-radius: 22px; }
  .bl-nf-form { grid-template-columns: 1fr; }
  .bl-qa { grid-template-columns: 1fr; }
  .bl-step { grid-template-columns: 28px 1fr; gap: 12px; }
  .bl-dot { width: 28px; height: 28px; font-size: .74rem; }
  .bl-state { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bl-live i, .bl-bar i::after, .bl-step.on .bl-dot::before, .bl-sw, .bl-chip, .bl-qa li { animation: none; } .bl-bar i { transition: none; } }

/* Helper arrow on the visitor's own redesign card (27 Sep) */
.cc-btn.cc-cued { position: relative; animation: ccRing 1.6s ease-out infinite; }
.cc-cue { position: absolute; right: -18px; top: -28px; display: flex; align-items: flex-start; pointer-events: none; }
.cc-cue svg { width: 46px; height: 30px; margin: 10px -4px -14px 0; fill: none; stroke: #FB6B6B; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; animation: ccNudge 1.3s ease-in-out infinite; }
.cc-cue i { font-style: normal; background: #FB6B6B; color: #fff; font: 800 .74rem/1 Inter, system-ui, sans-serif; letter-spacing: .02em; padding: 7px 11px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.3); white-space: nowrap; }
@keyframes ccRing { 0% { box-shadow: 0 12px 30px rgba(124,92,255,.35), 0 0 0 0 rgba(251,107,107,.6); } 100% { box-shadow: 0 12px 30px rgba(124,92,255,.35), 0 0 0 14px rgba(251,107,107,0); } }
@keyframes ccNudge { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-4px,4px); } }
@media (max-width: 760px) { .cc-cue { right: 6px; } }
@media (prefers-reduced-motion: reduce) { .cc-btn.cc-cued, .cc-cue svg { animation: none; } }

.cc-title { overflow-wrap: anywhere; } /* long site names (www.thebellinnpurtonstoke.co.uk) pushed the card off a phone screen */
.cc-body { min-width: 0; }

/* ============ SITE-022: wordmark, New Website pill, phone menu, hero line ============ */
.logo .wm { white-space: nowrap; }
.btn-newsite { border-color: rgba(255,255,255,.32); }
.btn-newsite:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-newsite[aria-current="page"] { border-color: var(--cyan); color: var(--cyan); }
.nav-links .nav-menu-only { display: none; }
@media (max-width: 1060px) { .nav-links { gap: 22px; } }
@media (max-width: 900px) {
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(11,11,20,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08); padding: 8px 20px 18px;
  }
  .nav-links.open a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1rem; }
  .nav-links.open .nav-menu-only { display: block; }
  .nav-links.open a.nav-menu-only.newsite { color: var(--cyan); font-weight: 600; }
  .site-header .nav-wrap { position: relative; }
}
@media (max-width: 640px) {
  .nav-cta > .btn-newsite { display: none; }
}

/* ---------- hero line under the scanner ---------- */
.nw-hero-line { margin-top: 14px; text-align: center; font-size: .92rem; color: #C9C9D4; }
.nw-hero-line a { color: var(--cyan); font-weight: 600; border-bottom: 1px solid rgba(47,224,200,.4); padding-bottom: 1px; }
.nw-hero-line a:hover { border-bottom-color: var(--cyan); }

.jr-mode .btn-newsite { display: none; }
