/* ============================================================
       Fix-list page – page-specific CSS only.
       Inherits :root tokens and shared components from /css/main.css.
       Palette restated locally so this page works even if main.css fails.
       ============================================================ */

    html { scroll-behavior: smooth; }

    a { color: inherit; text-decoration: none; }
    :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

    /* Replace dark dotted background with a much lighter one (or remove entirely) */
    .bg-dot {
      background-image: radial-gradient(circle, rgba(6,12,25,0.025) 1px, transparent 1px);
      background-size: 28px 28px;
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

    .serif { font-family: 'Instrument Serif', serif; }

    /* ============ NAV (matches searchscore.io homepage) ============ */
    nav
    .nav-cta-button:active { transform: scale(0.98); }

    @media (min-width: 1024px) {
    }

    /* ============ HERO ============ */
    .hero { padding: 48px 0 0; }
    .hero-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--line);
      margin-bottom: 32px;
      gap: 16px;
      flex-wrap: wrap;
    }
    .brand-tag {
      font-family: 'Instrument Serif', serif;
      font-size: 32px;
      letter-spacing: -0.02em;
      color: var(--ink);
      line-height: 1.15;
    }
    .gen-badge { font-size: 12px; color: var(--dim); margin-top: 6px; }
    .url-chip {
      font-size: 12px;
      color: #1d4ed8;
      background: var(--blue-soft);
      border: 1px solid var(--blue-border);
      padding: 6px 14px;
      border-radius: 100px;
      font-family: 'Inter', monospace;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .url-chip::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--blue);
      border-radius: 50%;
      display: inline-block;
      animation: pulse 1.6s infinite;
      flex-shrink: 0;
    }
    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.2); }
      100% { opacity: 1; transform: scale(1); }
    }

    /* ============ THREE SCORE RINGS ============ */
    .trio-scores {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 32px;
    }
    .score-card {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 24px 20px;
      text-align: center;
      box-shadow: 0 1px 3px rgba(6,12,25,0.04);
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .score-card:hover {
      box-shadow: 0 4px 16px rgba(6,12,25,0.06);
      transform: translateY(-1px);
    }
    .score-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--dim);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-bottom: 14px;
    }
    .score-ring {
      position: relative;
      width: 108px;
      height: 108px;
      margin: 0 auto 10px;
    }
    .score-ring svg { transform: rotate(-90deg); }
    .track {
      stroke: rgba(6,12,25,0.08);
      fill: none;
      stroke-width: 9;
    }
    .ring-fill {
      stroke: var(--blue);
      fill: none;
      stroke-width: 9;
      stroke-dasharray: 245;
      stroke-linecap: round;
      transition: stroke-dashoffset 1.5s ease, stroke 0.6s ease;
    }
    .score-num {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .score-big {
      font-family: 'Instrument Serif', serif;
      font-size: 36px;
      line-height: 1;
      font-weight: 400;
      color: var(--ink);
    }
    .score-sub {
      font-size: 9px;
      color: var(--dim);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-top: 4px;
    }
    .tier-badge {
      display: inline-block;
      margin-top: 8px;
      font-size: 10px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 100px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      border: 1px solid transparent;
    }
    .tier-low {
      background: var(--red-soft);
      color: #b91c1c;
      border-color: var(--red-border);
    }
    .tier-mid {
      background: var(--amber-soft);
      color: #b45309;
      border-color: var(--amber-border);
    }
    .tier-high {
      background: var(--green-soft);
      color: #047857;
      border-color: var(--green-border);
    }
    .tier-top {
      background: var(--cyan-soft);
      color: #0e7490;
      border-color: var(--cyan-border);
    }
    .score-note {
      font-size: 12px;
      color: var(--muted);
      margin-top: 10px;
      line-height: 1.5;
    }

    /* ============ THREE CATEGORY BAR SECTIONS ============ */
    .three-cat-sections {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 16px;
      margin-bottom: 36px;
    }
    .cat-card {
      background: var(--paper-2);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 22px 20px;
    }
    .cat-title-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
    }
    .cat-title-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }
    .cat-title-score {
      font-size: 24px;
      font-weight: 400;
      font-family: 'Instrument Serif', serif;
    }
    .seo-color { color: #0e7490; }   /* cyan-dark – readable on white */
    .geo-color { color: #047857; }   /* green-dark – readable on white */
    .cro-color { color: #6d28d9; }   /* purple-dark – readable on white */
    .cat-rows { display: grid; gap: 10px; }
    .cat-row { display: flex; align-items: center; gap: 10px; }
    .cat-name { font-size: 12px; color: var(--muted); width: 130px; flex-shrink: 0; }
    .bar-wrap {
      flex: 1;
      height: 6px;
      background: rgba(6,12,25,0.06);
      border-radius: 4px;
      overflow: hidden;
    }
    .bar-fill {
      height: 100%;
      border-radius: 4px;
      transition: width 0.8s ease;
    }
    .cat-score-num {
      font-size: 12px;
      font-weight: 700;
      width: 32px;
      text-align: right;
      color: var(--muted);
    }

    /* ============ SECTION HEADERS ============ */
    .section-
    .section-title {
      font-family: 'Instrument Serif', serif;
      font-size: 28px;
      letter-spacing: -0.02em;
      color: var(--ink);
      line-height: 1.2;
    }
    .start-here-badge {
      display: inline-block;
      background: var(--blue);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 4px;
      margin-right: 6px;
      vertical-align: middle;
    }
    .discipline-badge {
      display: inline-block;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 4px;
      margin-right: 6px;
      vertical-align: middle;
    }
    .discipline-badge.discipline-seo { background: var(--cyan-soft); color: #0e7490; }
    .discipline-badge.discipline-geo { background: var(--green-soft); color: #047857; }
    .discipline-badge.discipline-cro { background: var(--purple-soft); color: #6d28d9; }
    .section-sub { font-size: 12px; color: var(--dim); margin-bottom: 20px; }

    /* ============ TAB BAR ============ */
    .tab-bar {
      display: flex;
      gap: 2px;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--line);
      overflow-x: auto;
      scrollbar-width: none;
    }
    .tab-bar::-webkit-scrollbar { display: none; }
    .tab-btn {
      font-size: 13px;
      font-weight: 600;
      font-family: inherit;
      padding: 10px 16px;
      background: none;
      border: none;
      color: var(--dim);
      cursor: pointer;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
      transition: color 0.15s, border-color 0.15s;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .tab-btn:hover { color: var(--ink); }
    .tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
    .tab-btn.active-seo { color: #0e7490; border-bottom-color: var(--cyan); }
    .tab-btn.active-geo { color: #047857; border-bottom-color: var(--green); }
    .tab-btn.active-cro { color: #6d28d9; border-bottom-color: var(--purple); }
    .tab-count { color: var(--dim); font-weight: 500; }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }

    /* ============ ISSUE CARDS ============ */
    .issue-group { margin-bottom: 28px; }
    .issue-group-title {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--dim);
      margin-bottom: 12px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--line);
    }

    .issue-card {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 18px 20px;
      margin-bottom: 12px;
      border-left: 4px solid var(--line);
      box-shadow: 0 1px 2px rgba(6,12,25,0.03);
      transition: box-shadow 0.15s;
    }
    .issue-card:hover { box-shadow: 0 2px 8px rgba(6,12,25,0.06); }
    .issue-card.is-high   { border-left-color: var(--red); }
    .issue-card.is-medium { border-left-color: var(--amber); }
    .issue-card.is-low    { border-left-color: #16a34a; }

    .issue-card-
    .issue-cat-badge {
      font-size: 9px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding: 3px 8px;
      border-radius: 6px;
      flex-shrink: 0;
      border: 1px solid transparent;
    }
    .issue-cat-badge.cat-seo  { background: var(--cyan-soft);   color: #0e7490; border-color: var(--cyan-border); }
    .issue-cat-badge.cat-geo  { background: var(--green-soft);  color: #047857; border-color: var(--green-border); }
    .issue-cat-badge.cat-cro  { background: var(--purple-soft); color: #6d28d9; border-color: var(--purple-border); }
    .issue-cat-badge.cat-gen  { background: var(--paper-2);     color: var(--muted); border-color: var(--line-strong); }

    .issue-title {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.4;
      color: var(--ink);
      flex: 1;
      min-width: 0;
    }

    .issue-
    .issue-row {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 13px;
    }
    .issue-row-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }
    .issue-row-icon.why  { color: var(--red); }
    .issue-row-icon.fix  { color: #16a34a; }
    .issue-row-icon.desc { color: var(--amber); }
    .issue-row-label { font-weight: 600; color: var(--ink); flex-shrink: 0; }
    .issue-row-text { color: var(--muted); line-height: 1.6; }

    /* Effort badge */
    .effort-badge {
      margin-left: auto;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
      color: var(--muted);
      background: var(--paper-2);
      border: 1px solid var(--line);
      padding: 4px 10px;
      border-radius: 100px;
      white-space: nowrap;
    }

    /* How steps */
    .how-steps {
      list-style: none;
      padding: 0;
      margin: 4px 0 0 0;
    }
    .how-steps li {
      font-size: 12px;
      color: var(--muted);
      padding: 2px 0;
      line-height: 1.55;
    }
    .how-steps li::before {
      content: "\b7";
      margin-right: 6px;
      color: var(--dim);
    }
    .issue-row-icon.how { color: var(--amber); }
    .how-text-wrap { display: flex; flex-direction: column; flex: 1; min-width: 0; }

    /* Impact row */
    .issue-impact {
      margin-top: 12px;
      padding-top: 10px;
      border-top: 1px dashed var(--line-dashed);
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
    }
    .impact-points {
      font-weight: 700;
      color: #047857;
    }
    .impact-arrow { color: var(--dim); }
    .impact-pct { color: var(--muted); }

    /* ============ P1-P4 CHECKLIST ============ */
    .py-16 { padding: 48px 0; }
    .priority-section { margin-bottom: 36px; }
    .priority-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
    .priority-head .dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
    .priority-head h2 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; }
    .p1 .dot, .p1 { --c: #EF4444; --bg: rgba(239,68,68,0.06); --bd: rgba(239,68,68,0.25); }
    .p2 .dot, .p2 { --c: #F59E0B; --bg: rgba(245,158,11,0.06); --bd: rgba(245,158,11,0.25); }
    .p3 .dot, .p3 { --c: #2f80ff; --bg: rgba(47,128,255,0.06); --bd: rgba(47,128,255,0.25); }
    .p4 .dot, .p4 { --c: #64748B; --bg: rgba(100,116,139,0.06); --bd: rgba(100,116,139,0.20); }
    .priority-head .dot { background: var(--c); }
    .priority-head h2 { color: var(--c); }

    .fix-ul {
      list-style: none;
      border-radius: 12px;
      background: var(--paper);
      border: 1px solid var(--bd);
      padding: 4px 16px;
    }
    .fix-li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 4px;
      border-bottom: 1px solid var(--line);
    }
    .fix-li:last-child { border-bottom: none; }
    .fix-num {
      font-weight: 600;
      color: var(--c);
      min-width: 28px;
      font-size: 0.9rem;
      padding-top: 2px;
    }
    .fix-text { flex: 1; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
    .fix-text strong { color: var(--ink); font-weight: 600; }
    .fix-text code, .fix-li code { background: var(--surface-alt, #f3f4f6); padding: 1px 5px; border-radius: 3px; font-size: 0.85em; color: var(--code-color, #be185d); font-family: 'SF Mono', 'Fira Code', monospace; }
    .fix-dash { color: var(--dim); margin: 0 4px; }

    .cb {
      width: 20px;
      height: 20px;
      border: 2px solid var(--c);
      border-radius: 5px;
      flex-shrink: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 2px;
      transition: background 0.15s;
    }
    .cb:hover { background: var(--bg); }
    .cb::after {
      content: '';
      display: none;
      width: 10px;
      height: 6px;
      border-left: 2px solid #fff;
      border-bottom: 2px solid #fff;
      transform: rotate(-45deg) translateY(-1px);
    }
    input[type=checkbox] { display: none; }
    input[type=checkbox]:checked + .cb { background: var(--c); border-color: var(--c); }
    input[type=checkbox]:checked + .cb::after { display: block; }
    input[type=checkbox]:checked ~ .fix-text { text-decoration: line-through; opacity: 0.45; }

    /* ============ QUICK WINS ============ */
    .quick-wins-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 36px;
    }
    .qw-card {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 22px 20px;
      box-shadow: 0 1px 3px rgba(6,12,25,0.04);
    }
    .qw-icon { font-size: 24px; margin-bottom: 10px; }
    .qw-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.4; }
    .qw-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }
    .qw-impact {
      display: inline-block;
      margin-top: 12px;
      font-size: 10px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 100px;
      background: var(--green-soft);
      color: #047857;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      border: 1px solid var(--green-border);
    }

    /* ============ ACTION PLAN ============ */
    .action-plan {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 32px;
      margin-bottom: 48px;
      box-shadow: 0 1px 3px rgba(6,12,25,0.04);
    }
    .action-title {
      font-family: 'Instrument Serif', serif;
      font-size: 24px;
      letter-spacing: -0.02em;
      color: var(--ink);
      margin-bottom: 4px;
    }
    .action-sub { font-size: 12px; color: var(--dim); margin-bottom: 24px; }
    .action-steps { display: grid; gap: 10px; }
    .action-step {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      background: var(--paper-2);
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 16px 18px;
    }
    .step-num {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--blue);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .step-
    .step-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
    .step-desc { font-size: 12px; color: var(--muted); line-height: 1.55; }

    /* ============ STICKY CTA BAR (light frosted glass) ============ */
    .sticky-cta-wrap {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 200;
      background: rgba(255,255,255,0.96);
      border-top: 1px solid var(--line);
      backdrop-filter: saturate(180%) blur(12px);
      -webkit-backdrop-filter: saturate(180%) blur(12px);
      padding: 12px 16px;
      box-shadow: 0 -4px 24px rgba(6,12,25,0.06);
      transform: translateY(100%);
      transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
      display: none;
      will-change: transform;
    }
    @media (min-width: 600px) {
      .sticky-cta-wrap {
        max-width: 720px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(100%);
        border-radius: 12px 12px 0 0;
        border: 1px solid var(--line);
        border-bottom: none;
        margin-bottom: 0;
      }
    }
    .sticky-cta-wrap.visible {
      transform: translateY(0);
      display: block;
    }
    @media (min-width: 600px) {
      .sticky-cta-wrap.visible {
        transform: translateX(-50%) translateY(0);
      }
    }
    @media (max-width: 599px) {
      .sticky-cta-wrap.visible {
        display: flex !important;
      }
    }
    .sticky-cta-inner {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    @media (min-width: 600px) {
      .sticky-cta-inner {
        flex-direction: row;
        align-items: center;
        gap: 16px;
      }
    }
    .sticky-cta-text { flex: 1; }
    .sticky-cta-headline { font-size: 13px; font-weight: 700; color: var(--ink); }
    .sticky-cta-subline { font-size: 11px; color: var(--muted); }
    .sticky-cta-btn {
      display: inline-block;
      background: var(--blue);
      color: #fff;
      border-radius: 8px;
      padding: 10px 20px;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      transition: filter 0.15s, transform 0.1s, box-shadow 0.2s;
      box-shadow: 0 2px 8px rgba(47,128,255,0.3);
    }
    .sticky-cta-btn:hover { filter: brightness(1.06); }
    .sticky-cta-btn:active { transform: scale(0.98); }
    .sticky-cta-close {
      position: absolute;
      top: 8px;
      right: 8px;
      background: none;
      border: none;
      color: var(--dim);
      cursor: pointer;
      font-size: 18px;
      padding: 4px;
      line-height: 1;
      transition: color 0.15s;
    }
    .sticky-cta-close:hover { color: var(--ink); }

    /* ============ EXIT POPUP (white card on dark overlay) ============ */
    .exit-overlay {
      position: fixed;
      inset: 0;
      background: rgba(6,12,25,0.45);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      z-index: 300;
      display: none;
      align-items: center;
      justify-content: center;
    }
    .exit-overlay.active { display: flex; }
    @media (max-width: 599px) {
      .exit-overlay.active { display: flex !important; }
    }
    .exit-card {
      position: relative;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 36px 32px 28px;
      max-width: 500px;
      width: 94%;
      text-align: center;
      box-shadow: 0 24px 64px rgba(6,12,25,0.18);
    }
    @media (min-width: 600px) { .exit-card { padding: 40px 36px 32px; } }
    .exit-close {
      position: absolute;
      top: 12px;
      right: 12px;
      background: none;
      border: none;
      color: var(--dim);
      cursor: pointer;
      font-size: 22px;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.15s;
    }
    .exit-close:hover { color: var(--ink); }
    .exit-card h3 {
      font-family: 'Instrument Serif', serif;
      font-size: 26px;
      color: var(--ink);
      margin-bottom: 8px;
      font-weight: 400;
      line-height: 1.2;
    }
    .exit-card .exit-
    .exit-card .exit-email {
      width: 100%;
      padding: 12px 16px;
      border-radius: 8px;
      border: 1px solid var(--line-strong);
      background: var(--paper);
      color: var(--ink);
      font-size: 14px;
      font-family: inherit;
      margin-bottom: 12px;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .exit-card .exit-email::placeholder { color: var(--dim); }
    .exit-card .exit-email:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px var(--blue-soft);
    }
    .exit-card .exit-submit {
      display: block;
      width: 100%;
      background: var(--blue);
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 13px 24px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      transition: filter 0.15s, transform 0.1s, box-shadow 0.2s;
      box-shadow: 0 2px 8px rgba(47,128,255,0.3);
    }
    .exit-card .exit-submit:hover { filter: brightness(1.06); }
    .exit-card .exit-submit:active { transform: scale(0.98); }
    .exit-card .exit-trust { font-size: 12px; color: var(--dim); margin-top: 10px; }
    .exit-card .exit-divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 18px 0;
      color: var(--dim);
      font-size: 12px;
    }
    .exit-card .exit-divider::before,
    .exit-card .exit-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--line);
    }
    .exit-card .exit-secondary {
      display: block;
      color: var(--blue);
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: color 0.15s;
    }
    .exit-card .exit-secondary:hover { filter: brightness(1.06); text-decoration: underline; }
    .exit-bullets { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }
    .exit-bullets li { font-size: 14px; color: var(--muted); line-height: 1.6; padding: 3px 0 3px 24px; position: relative; }
    .exit-bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
    .exit-success { display: none; }
    .exit-success.active { display: block; }
    .exit-success p { font-size: 15px; color: #047857; margin: 20px 0; }

    /* ============ INLINE CTA BLOCKS ============ */
    .inline-cta-block {
      background: var(--blue-soft);
      border: 1px solid var(--blue-border);
      border-radius: 12px;
      padding: 28px 24px;
      margin: 28px 0;
      text-align: center;
    }
    .inline-cta-block p {
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 12px;
      line-height: 1.6;
    }
    .inline-cta-block p strong { color: var(--ink); }
    .inline-cta-block a {
      display: inline-block;
      background: var(--blue);
      color: #fff;
      border-radius: 8px;
      padding: 11px 24px;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      transition: filter 0.15s, transform 0.1s, box-shadow 0.2s;
      box-shadow: 0 2px 8px rgba(47,128,255,0.3);
    }
    .inline-cta-block a:hover { filter: brightness(1.06); }
    .inline-cta-block a:active { transform: scale(0.98); }
    .inline-cta-options {
      text-align: left;
      padding-left: 0;
      list-style: none;
      max-width: 480px;
      margin: 0 auto 16px;
    }
    .inline-cta-options li {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.6;
      margin-bottom: 8px;
      padding-left: 22px;
      position: relative;
    }
    .inline-cta-options li::before {
      content: counter(list-item) '.';
      position: absolute;
      left: 0;
      color: var(--blue);
      font-weight: 700;
    }
    .inline-cta-btns {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 18px;
    }
    .inline-cta-btns a { font-size: 13px; padding: 10px 20px; }
    .inline-cta-btns .btn-secondary {
      background: var(--paper);
      color: var(--blue);
      border: 1px solid var(--blue-border);
      box-shadow: none;
    }
    body.sticky-visible { padding-bottom: 80px; }

    /* ============ STATE SCREENS ============ */
    .state-screen { text-align: center; padding: 100px 24px; }
    .state-screen h2 {
      font-family: 'Instrument Serif', serif;
      font-size: 26px;
      font-weight: 400;
      margin-bottom: 10px;
      color: var(--ink);
    }
    .state-screen p {
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 24px;
      max-width: 420px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }
    .spinner {
      width: 40px;
      height: 40px;
      border: 3px solid rgba(6,12,25,0.08);
      border-top-color: var(--blue);
      border-radius: 50%;
      margin: 0 auto 28px;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .state-screen .icon { font-size: 48px; margin-bottom: 16px; }
    .btn {
      display: inline-block;
      background: var(--blue);
      color: #fff;
      border-radius: 8px;
      padding: 12px 24px;
      font-size: 15px;
      font-weight: 700;
      text-decoration: none;
      box-shadow: 0 2px 8px rgba(47,128,255,0.3);
      transition: filter 0.15s, transform 0.1s;
    }
    .btn:hover { filter: brightness(1.06); }
    .btn:active { transform: scale(0.98); }

    /* ============ FOOTER (matches searchscore.io homepage) ============ */
    .footer {
      background: var(--ink);
      color: rgba(255,255,255,0.7);
      padding: 56px 24px 32px;
      margin-top: 64px;
    }
    .footer-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-brand-block p {
      font-size: 13px;
      line-height: 1.6;
      color: rgba(255,255,255,0.6);
      margin: 14px 0 6px;
      max-width: 320px;
    }
    .footer-logo img {
      height: 24px;
      width: auto;
    }
    .footer-col h5 {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
      margin-bottom: 14px;
    }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 8px; }
    .footer-col a {
      color: rgba(255,255,255,0.75);
      font-size: 13px;
      transition: color 0.15s;
    }
    .footer-col a:hover { color: #fff; }
    .footer-featured { max-width: 1100px; margin: 0 auto 24px; }
    .footer-featured-label {
      font-size: 11px;
      color: rgba(255,255,255,0.5);
      margin: 0 0 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .footer-featured-row {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .footer-featured-row a {
      display: inline-block;
      opacity: 0.6;
      transition: opacity 0.2s;
    }
    .footer-featured-row a:hover { opacity: 1; }
    .footer-bottom {
      max-width: 1100px;
      margin: 0 auto;
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 12px;
      color: rgba(255,255,255,0.5);
    }
    .footer-bottom a {
      color: rgba(255,255,255,0.6);
      font-size: 12px;
      transition: color 0.15s;
    }
    .footer-bottom a:hover { color: #fff; }
    .footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

    /* ============ PRINT ============ */
    @media print {
      .nav, .footer, .sticky-cta-wrap, .exit-overlay { display: none !important; }
      .bg-dot { display: none; }
      .tab-bar { display: none; }
      .tab-panel { display: block !important; }
      .fix-ul, .issue-card { background: #fff; border-color: #ddd; }
      .fix-text, .issue-title { color: #1a1a1a; }
      .fix-text strong, .issue-row-label { color: #000; }
      .action-plan, .cat-card, .score-card, .qw-card { background: #fff; border-color: #ccc; }
    }

    /* ============ RESPONSIVE ============ */
    @media (max-width: 768px) {
      .trio-scores, .three-cat-sections, .quick-wins-grid { grid-template-columns: 1fr; }
      .hero { padding: 32px 0 0; }
      .hero-top { flex-direction: column; align-items: flex-start; gap: 16px; }
      .brand-tag { font-size: 28px; }
      .score-ring { width: 88px; height: 88px; }
      .score-ring svg { width: 88px; height: 88px; }
      .score-big { font-size: 30px; }
      .section-title { font-size: 24px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
      .footer-brand-block { grid-column: 1 / -1; }
    }

    @media (prefers-reduced-motion: reduce) {
      .sticky-cta-wrap, .exit-overlay, .exit-card, .ring-fill, .bar-fill, .url-chip::before { transition: none !important; animation: none !important; }
    }

    /* Skip link for accessibility */
    .skip-link {
      position: absolute;
      left: -9999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }
    .skip-link:focus {
      position: fixed;
      top: 12px;
      left: 12px;
      width: auto;
      height: auto;
      padding: 10px 16px;
      background: var(--ink);
      color: #fff;
      border-radius: 8px;
      z-index: 1000;
    }
