/* ── css/tokens.css ───────────────────────────── */
/* tokens.css — the AgentReady design tokens.
 *
 * Before the migration this :root block was duplicated across ten pages in six
 * apparently-different variants. Diffing them during migration showed the ONLY
 * differences were whitespace and notation:
 *
 *     --bg: #ffffff   vs  --bg: #fff                            (same colour)
 *     linear-gradient(135deg, #6366f1, #8b5cf6)
 *       vs linear-gradient(135deg,#6366f1,#8b5cf6)              (same gradient)
 *     "Plus Jakarta Sans", system-ui, sans-serif
 *       vs "Plus Jakarta Sans",system-ui,sans-serif             (same stack)
 *
 * Plus four tokens that only some pages declared because only those pages used
 * them. Consolidating is therefore visually lossless — there was no real drift.
 */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg2: #f8f9fc;
  --bg3: #f1f3f8;
  --surface: #eef0f6;
  --surface2: #e4e7f0;
  --border: #e2e5ee;
  --border2: #c9cede;

  /* Text */
  --text: #111827;
  --text2: #4b5563;
  --text3: #9ca3af;

  /* Brand */
  --accent: #6366f1;
  --accent2: #4f46e5;
  --accent-g: linear-gradient(135deg, #6366f1, #8b5cf6);

  /* Status. The -dim variants were declared only by index.html, which is the
     only page that renders audit score states. Harmless elsewhere. */
  --green: #059669;
  --green-dim: #d1fae5;
  --teal: #0891b2;
  --teal-dim: #cffafe;
  --amber: #d97706;
  --amber-dim: #fef3c7;
  --red: #dc2626;
  --red-dim: #fee2e2;

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;

  /* Radii */
  --r: 8px;
  --r2: 14px;
  --r3: 20px;

  /* Article measure. Declared only by the three industry-insights pages;
     nothing else references var(--max). */
  --max: 760px;
}


/* ── css/base.css ───────────────────────────── */
/* base.css — the reset every page shared, verbatim.
 *
 * These are the only two rules that were byte-identical on all twelve pages.
 * Everything else that looked shared turned out to be either page-specific or
 * dead nav/footer styling, so this file is deliberately small.
 *
 * `body` is NOT here. There are three legitimate variants and merging them
 * would change rendering:
 *
 *   index, contact, faq              min-height:100vh; overflow-x:hidden
 *   about, how-it-works, pricing,    overflow-x:hidden
 *     privacy, terms, 404
 *   the three article pages          font-size:16px; line-height:1.7
 *
 * Each page keeps its own body rule in assets/css/pages/*.css.
 */

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

html {
  scroll-behavior: smooth;
}

/* Respect a reduced-motion preference for the smooth scroll above. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* ── css/components.css ───────────────────────────── */
/* components.css — the global header and footer.
 *
 * Lifted verbatim from the Webflow Symbols, which the 18 Aug 2026 production
 * capture verified are byte-identical to frontend/src/components/*.html.
 *
 * The --ar-* prefix exists because these styles used to be injected into a
 * Webflow document alongside twelve pages' worth of leaking global selectors
 * (bare `nav`, `footer`, `a`, `button`). Off Webflow that collision is gone
 * and the prefix could be unwound — deliberately left alone here so this
 * migration stays visually lossless. See the post-migration list.
 */
:root {
    --ar-accent: #6366f1;
    --ar-accent-g: linear-gradient(135deg, #6366f1, #8b5cf6);
    --ar-text: #111827;
    --ar-text2: #4b5563;
    --ar-text3: #9ca3af;
    --ar-border: #e2e5ee;
    --ar-bg: #ffffff;
    --ar-surface: #eef0f6;
    --ar-font: "Plus Jakarta Sans", system-ui, sans-serif;
    --ar-mono: "JetBrains Mono", monospace;
    --ar-r2: 14px;
  }

  .ar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 60px;
    border-bottom: 1px solid var(--ar-border);
    background: rgba(255, 255, 255);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--ar-font);
  }

  .ar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: var(--ar-text);
    letter-spacing: -0.3px;
    text-decoration: none;
  }

  .ar-logo:hover {
    text-decoration: none;
    color: var(--ar-text);
  }

  .ar-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--ar-accent-g);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }

  .ar-logo sup {
    font-size: 9px;
    font-family: var(--ar-mono);
    color: var(--ar-text3);
    vertical-align: super;
    font-weight: 400;
  }

  .ar-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ar-nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--ar-text2);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
  }

  .ar-nav-link:hover {
    color: var(--ar-text);
    background: var(--ar-surface);
  }

  .ar-nav-cta {
    background: var(--ar-accent-g);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--ar-r2);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.15s;
  }

  .ar-nav-cta:hover {
    opacity: 0.88;
  }

  /* Burger Menu */
  .ar-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
  }

  .ar-burger span {
    height: 2px;
    width: 100%;
    background: var(--ar-text);
    transition: all 0.3s ease;
  }

  /* Mobile Menu */
  .ar-mobile-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95); /* Solid white like nav */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ar-border);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    z-index: 5;

    /* Animation setup */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .ar-mobile-menu.active {
    max-height: 320px; /* Enough space for all links */
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
  }

  .ar-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
  }

  .ar-mobile-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--ar-text2);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.2s;
  }

  .ar-mobile-link:hover {
    background: var(--ar-surface);
    color: var(--ar-text);
  }

  .ar-mobile-cta {
    margin-top: 12px;
    padding: 0 20px 20px;
  }

  /* Active Burger Animation */
  .ar-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .ar-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .ar-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  @media (max-width: 768px) {
    .ar-nav {
      padding: 0 16px;
      height: 52px;
    }

    .ar-nav-links {
      display: none;
    }

    .ar-burger {
      display: flex;
    }

    .ar-nav-cta {
      font-size: 12px;
      padding: 7px 14px;
    }
  }

.ar-footer {
    padding: 32px 40px;
    border-top: 1px solid #e2e5ee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: #ffffff;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  }
  .ar-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
    text-decoration: none;
  }
  .ar-footer-brand:hover { text-decoration: none; color: #4b5563; }
  .ar-footer-dot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 5px;
  }
  .ar-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .ar-footer-link {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s;
  }
  .ar-footer-link:hover { color: #4b5563; }
  .ar-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
  }
  .ar-footer-social:hover { color: #0a66c2; background: #f3f4f6; }
  .ar-footer-social svg { width: 16px; height: 16px; display: block; fill: currentColor; }
  .ar-footer-copy {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #9ca3af;
  }
  @media(max-width: 768px) {
    .ar-footer { padding: 20px 16px; flex-direction: column; text-align: center; gap: 12px; }
    .ar-footer-brand { justify-content: center; }
    .ar-footer-links { justify-content: center; }
  }


/* ── css/pages/home.css ───────────────────────────── */
/* home.css — extracted from index.html during the Webflow → Eleventy migration.
   Tokens live in tokens.css, reset in base.css, header/footer in components.css.
   Dead nav/footer rules removed (verified unused: no page referenced them). */

body {
        background: var(--bg);
        color: var(--text);
        font-family: var(--font);
        font-size: 15px;
        line-height: 1.6;
        min-height: 100vh;
        overflow-x: hidden;
      }

button {
        cursor: pointer;
        border: none;
        font-family: inherit;
      }

input {
        font-family: inherit;
      }

.hidden {
        display: none !important;
      }

::-webkit-scrollbar {
        width: 5px;
      }

::-webkit-scrollbar-track {
        background: var(--bg);
      }

::-webkit-scrollbar-thumb {
        background: var(--border2);
        border-radius: 99px;
      }

.orb {
        position: fixed;
        pointer-events: none;
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.06;
        z-index: 0;
      }

.orb-1 {
        width: 700px;
        height: 700px;
        background: #6366f1;
        top: -250px;
        right: -150px;
      }

.orb-2 {
        width: 500px;
        height: 500px;
        background: #8b5cf6;
        bottom: 5%;
        left: -150px;
      }

.page {
        position: relative;
        z-index: 1;
      }

.nav-pill {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--text3);
        border: 1px solid var(--border);
        padding: 4px 12px;
        border-radius: 99px;
        background: var(--bg2);
      }

#home-view {
        min-height: calc(100vh - 60px);
        display: flex;
        flex-direction: column;
      }

.hero {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 80px 24px 56px;
      }

.hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: rgba(99, 102, 241, 0.08);
        border: 1px solid rgba(99, 102, 241, 0.2);
        color: var(--accent2);
        font-size: 12px;
        font-weight: 600;
        padding: 6px 14px;
        border-radius: 99px;
        margin-bottom: 28px;
        animation: fadeUp 0.4s ease both;
      }

.hero-dot {
        width: 6px;
        height: 6px;
        background: var(--accent);
        border-radius: 50%;
        animation: pulse 2s ease-in-out infinite;
      }

.hero h1 {
        font-size: clamp(36px, 5.5vw, 68px);
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: -1.5px;
        color: var(--text);
        max-width: 780px;
        margin-bottom: 20px;
        animation: fadeUp 0.4s 0.07s ease both;
      }

.grad {
        background: linear-gradient(
          135deg,
          var(--accent2) 0%,
          #a78bfa 50%,
          var(--teal) 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

.hero-sub {
        font-size: 17px;
        color: var(--text2);
        max-width: 500px;
        margin-bottom: 44px;
        line-height: 1.65;
        animation: fadeUp 0.4s 0.14s ease both;
      }

/* 640 rather than 580: the approved CTA label is ~280px wide on desktop, and
   at 580 it left the domain field ~200px — too narrow for a typical domain
   such as medifloraorganic.com.au, whose last letters were cut off. */
.input-box {
        width: 100%;
        max-width: 640px;
        margin-bottom: 36px;
        animation: fadeUp 0.4s 0.2s ease both;
      }

.input-inner {
        display: flex;
        gap: 8px;
        align-items: center;
        background: var(--bg3);
        border: 1px solid var(--border2);
        border-radius: var(--r3);
        padding: 6px 6px 6px 18px;
        transition:
          border-color 0.2s,
          box-shadow 0.2s;
      }

.input-inner:focus-within {
        border-color: var(--accent);
        box-shadow:
          0 0 0 3px rgba(99, 102, 241, 0.15),
          0 8px 32px rgba(0, 0, 0, 0.4);
      }

.https-label {
        font-family: var(--mono);
        font-size: 12px;
        color: var(--text3);
        flex-shrink: 0;
      }

/* min-width: 0 lets the field give way to the button. A flex item defaults to
   min-width: auto, which for an <input> is its built-in ~20-character width —
   so the field refused to shrink, the button (flex-shrink: 0, nowrap) could
   not either, and the long CTA spilled out past the right edge of the pill. */
.domain-input {
        flex: 1;
        min-width: 0;
        background: transparent;
        border: none;
        outline: none;
        font-size: 15px;
        color: var(--text);
        font-family: var(--mono);
        padding: 9px 0;
      }

.domain-input::placeholder {
        color: var(--text3);
      }

.run-btn {
        background: var(--accent-g);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        padding: 11px 24px;
        border-radius: 14px;
        transition:
          opacity 0.15s,
          transform 0.1s;
        white-space: nowrap;
        flex-shrink: 0;
      }

.run-btn:hover {
        opacity: 0.88;
      }

.run-btn:active {
        transform: scale(0.97);
      }

.agents {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        animation: fadeUp 0.4s 0.26s ease both;
      }

.agents-label {
        font-size: 12px;
        color: var(--text3);
        margin-right: 4px;
      }

.agent-chip {
        display: flex;
        align-items: center;
        gap: 6px;
        background: var(--bg3);
        border: 1px solid var(--border);
        padding: 5px 12px;
        border-radius: 99px;
        font-size: 12px;
        color: var(--text2);
        font-weight: 500;
      }

.agent-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
      }

.cat-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1px;
        background: var(--border);
        border-top: 1px solid var(--border);
      }

.cat-card {
        background: var(--bg);
        padding: 28px 24px;
        transition: background 0.2s;
        position: relative;
        overflow: hidden;
      }

.cat-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--accent-g);
        opacity: 0;
        transition: opacity 0.2s;
      }

.cat-card:hover {
        background: var(--bg2);
      }

.cat-card:hover::before {
        opacity: 1;
      }

.cat-pts {
        font-family: var(--mono);
        font-size: 11px;
        font-weight: 500;
        color: var(--accent2);
        letter-spacing: 0.06em;
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.2);
        display: inline-block;
        padding: 2px 9px;
        border-radius: 99px;
        margin-bottom: 12px;
      }

.cat-name {
        font-size: 15px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 8px;
      }

.cat-desc {
        font-size: 13px;
        color: var(--text2);
        line-height: 1.55;
      }

#loading-view {
        min-height: calc(100vh - 60px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 48px 24px;
      }

.loading-card {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r3);
        padding: 48px 40px;
        max-width: 440px;
        width: 100%;
        text-align: center;
        box-shadow: 0 8px 40px rgba(99, 102, 241, 0.08), 0 1px 3px rgba(0,0,0,0.06);
      }

.spinner-wrap {
        position: relative;
        width: 72px;
        height: 72px;
        margin: 0 auto 32px;
      }

.spinner {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 2px solid transparent;
      }

.sp-1 {
        border-top-color: var(--accent);
        border-right-color: rgba(99, 102, 241, 0.2);
        animation: spin 1.2s linear infinite;
      }

.sp-2 {
        inset: 10px;
        border-top-color: #8b5cf6;
        border-left-color: rgba(139, 92, 246, 0.2);
        animation: spin 1.8s linear infinite reverse;
      }

.sp-3 {
        inset: 22px;
        border-top-color: var(--teal);
        animation: spin 2.4s linear infinite;
      }

.sp-dot {
        position: absolute;
        inset: 34px;
        border-radius: 50%;
        background: var(--accent);
        opacity: 0.3;
        animation: pulse 2s ease-in-out infinite;
      }

@keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }

@keyframes pulse {
        0%,
        100% {
          opacity: 0.15;
          transform: scale(0.85);
        }
        50% {
          opacity: 0.4;
          transform: scale(1.1);
        }
      }

.loading-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 6px;
      }

.loading-url {
        font-family: var(--mono);
        font-size: 13px;
        color: var(--accent2);
        margin-bottom: 32px;
      }

.steps {
        list-style: none;
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

.step {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 9px 14px;
        border-radius: var(--r);
        font-size: 13.5px;
        color: var(--text3);
        transition: all 0.25s ease;
      }

.step.active {
        color: var(--text);
        background: var(--surface);
      }

.step.done {
        color: var(--green);
      }

.step-icon {
        font-family: var(--mono);
        font-size: 13px;
        width: 16px;
        flex-shrink: 0;
        text-align: center;
      }

#error-view {
        min-height: calc(100vh - 60px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 48px;
      }

.error-card {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r3);
        padding: 48px 40px;
        max-width: 400px;
        width: 100%;
        text-align: center;
      }

.error-icon {
        font-size: 40px;
        margin-bottom: 16px;
      }

.error-title {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 10px;
      }

.error-msg {
        font-size: 14px;
        color: var(--text2);
        margin-bottom: 28px;
        line-height: 1.65;
      }

.error-back {
        background: var(--surface2);
        color: var(--text);
        padding: 10px 24px;
        border-radius: var(--r2);
        font-size: 14px;
        font-weight: 600;
        border: 1px solid var(--border2);
        transition: background 0.15s;
      }

.error-back:hover {
        background: var(--border2);
      }

#results-view {
        min-height: calc(100vh - 60px);
      }

.results-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
        height: 52px;
        border-bottom: 1px solid var(--border);
        background: var(--bg);
        flex-wrap: wrap;
        gap: 10px;
      }

.topbar-left {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
      }

.topbar-domain {
        font-family: var(--mono);
        font-size: 13px;
        font-weight: 500;
        color: var(--text);
      }

.topbar-mode {
        font-family: var(--mono);
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 3px 10px;
        border-radius: 99px;
        background: rgba(99, 102, 241, 0.15);
        color: var(--accent2);
        border: 1px solid rgba(99, 102, 241, 0.25);
      }

.topbar-meta {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--text3);
      }

.back-btn {
        font-size: 13px;
        font-weight: 600;
        color: var(--text2);
        background: var(--surface);
        border: 1px solid var(--border);
        padding: 6px 14px;
        border-radius: var(--r2);
        transition: all 0.15s;
      }

.back-btn:hover {
        background: var(--surface2);
        color: var(--text);
      }

.score-hero {
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 40px;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 48px;
        align-items: start;
      }

.score-hero > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }

.score-ring-wrap {
        position: relative;
        width: 160px;
        height: 160px;
        margin-bottom: 20px;
      }

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

.ring-bg {
        fill: none;
        stroke: var(--surface2);
        stroke-width: 10;
      }

.ring-fill {
        fill: none;
        stroke-width: 10;
        stroke-linecap: round;
        stroke-dasharray: 440;
        stroke-dashoffset: 440;
        transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
      }

.ring-text {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }

.score-big {
        font-size: 52px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -2px;
        color: var(--text);
      }

.score-denom {
        font-family: var(--mono);
        font-size: 13px;
        color: var(--text3);
      }

.score-badge {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 6px 14px;
        border-radius: 99px;
        font-size: 13px;
        font-weight: 700;
        border: 1.5px solid;
        margin-bottom: 16px;
      }

.b-green {
        background: #d1fae5;
        color: #065f46;
        border-color: #6ee7b7;
      }

.b-teal {
        background: #cffafe;
        color: #164e63;
        border-color: #67e8f9;
      }

.b-amber {
        background: #fef3c7;
        color: #92400e;
        border-color: #fcd34d;
      }

.b-red {
        background: #fee2e2;
        color: #991b1b;
        border-color: #fca5a5;
      }

.score-desc {
        font-size: 13px;
        color: var(--text2);
        line-height: 1.6;
        max-width: 240px;
      }

.stat-row {
        display: flex;
        gap: 10px;
        margin-top: 20px;
      }

.stat-pill {
        flex: 1;
        text-align: center;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 12px 10px;
      }

.stat-val {
        font-size: 24px;
        font-weight: 800;
        line-height: 1;
      }

.stat-lab {
        font-family: var(--mono);
        font-size: 10px;
        color: var(--text3);
        margin-top: 3px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
      }

.sv-g {
        color: var(--green);
      }

.sv-r {
        color: var(--red);
      }

.sv-t {
        color: var(--text);
      }

.sc-label {
        font-family: var(--mono);
        font-size: 10px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--text3);
        margin-bottom: 14px;
      }

.sc-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
      }

.sc-cell {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 16px;
        position: relative;
        overflow: hidden;
        transition: border-color 0.2s;
      }

.sc-cell:hover {
        border-color: var(--border2);
      }

.sc-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--border);
      }

.sc-fill {
        height: 100%;
        transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
      }

.sc-pts {
        font-size: 26px;
        font-weight: 800;
        line-height: 1;
        color: var(--text);
        margin-bottom: 2px;
      }

.sc-max {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--text3);
      }

.sc-name {
        font-size: 12px;
        color: var(--text2);
        margin-top: 8px;
        line-height: 1.4;
        font-weight: 500;
      }

.results-body {
        max-width: 1120px;
        margin: 0 auto;
        padding: 36px 40px 80px;
      }

.r-sec {
        margin-bottom: 48px;
      }

.r-sec-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--border);
      }

.r-sec-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--text);
      }

.r-sec-badge {
        font-family: var(--mono);
        font-size: 12px;
        color: var(--text2);
        background: var(--surface);
        border: 1px solid var(--border);
        padding: 4px 12px;
        border-radius: 99px;
      }

.sig-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 8px;
      }

.sig-card {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 14px 16px;
        cursor: pointer;
        transition:
          border-color 0.15s,
          background 0.15s;
      }

.sig-card:hover {
        border-color: var(--border2);
        background: var(--bg3);
      }

.sig-top {
        display: flex;
        align-items: center;
        gap: 10px;
      }

.sig-icon {
        width: 28px;
        height: 28px;
        border-radius: var(--r);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        flex-shrink: 0;
        font-weight: 700;
      }

.si-pass {
        background: #d1fae5;
        color: #065f46;
      }

.si-fail {
        background: #fee2e2;
        color: #dc2626;
      }

.si-partial {
        background: #fef3c7;
        color: #92400e;
      }

.sig-lbl {
        font-size: 13.5px;
        font-weight: 600;
        color: var(--text);
        flex: 1;
        line-height: 1.3;
      }

.sig-pill {
        font-family: var(--mono);
        font-size: 10px;
        font-weight: 500;
        padding: 3px 8px;
        border-radius: 99px;
        flex-shrink: 0;
      }

.pill-p {
        background: #d1fae5;
        color: #065f46;
      }

.pill-f {
        background: #fee2e2;
        color: #dc2626;
      }

.pill-w {
        background: #fef3c7;
        color: #92400e;
      }

/* Not assessed / not applicable are neither passes nor failures, so they
   get neither green nor red. */
.si-na,
.pill-na {
        background: var(--surface2, #e4e7f0);
        color: #4b5563;
      }

.si-nap,
.pill-nap {
        background: transparent;
        color: var(--text3, #9ca3af);
        border: 1px dashed var(--border2, #c9cede);
      }

.sig-found {
        margin: 8px 0 0;
        padding-left: 16px;
        font-family: var(--mono);
        font-size: 11px;
        color: var(--text2);
        line-height: 1.6;
        word-break: break-word;
      }

.sig-detail {
        font-size: 12.5px;
        color: var(--text2);
        line-height: 1.55;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--border);
        display: none;
      }

.sig-card.open .sig-detail {
        display: block;
      }

.table-wrap {
        overflow-x: auto;
        border-radius: var(--r2);
        border: 1px solid var(--border);
      }

.data-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 13px;
      }

.data-table th {
        font-family: var(--mono);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text3);
        background: var(--bg3);
        padding: 11px 16px;
        text-align: left;
        border-bottom: 1px solid var(--border);
        white-space: nowrap;
      }

.data-table td {
        padding: 10px 16px;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
      }

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

.data-table tr:hover td {
        background: var(--bg3);
      }

.page-url {
        font-family: var(--mono);
        font-size: 12px;
        color: var(--text);
      }

.type-tag {
        font-family: var(--mono);
        font-size: 10px;
        font-weight: 500;
        padding: 3px 9px;
        border-radius: 99px;
        display: inline-block;
        letter-spacing: 0.03em;
      }

.t-home {
        background: rgba(99, 102, 241, 0.15);
        color: var(--accent2);
      }

.t-product {
        background: rgba(16, 185, 129, 0.15);
        color: var(--green);
      }

.t-collection {
        background: rgba(16, 185, 129, 0.1);
        color: #6ee7b7;
      }

.t-blog {
        background: rgba(139, 92, 246, 0.15);
        color: #c4b5fd;
      }

.t-service {
        background: rgba(6, 182, 212, 0.15);
        color: var(--teal);
      }

.t-faq {
        background: rgba(245, 158, 11, 0.15);
        color: var(--amber);
      }

.t-about {
        background: rgba(148, 163, 184, 0.15);
        color: #94a3b8;
      }

.t-contact {
        background: rgba(244, 114, 182, 0.15);
        color: #f472b6;
      }

.t-other {
        background: var(--surface);
        color: var(--text3);
      }

.sig-chips {
        display: flex;
        gap: 4px;
        flex-wrap: wrap;
      }

.sig-chip {
        font-family: var(--mono);
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 99px;
        border: 1px solid var(--border);
        color: var(--text3);
      }

.sig-chip.on {
        background: rgba(245, 158, 11, 0.15);
        color: var(--amber);
        border-color: rgba(245, 158, 11, 0.25);
      }

.rec-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

.rec-card {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        overflow: hidden;
      }

.rec-head {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 18px;
        cursor: pointer;
        transition: background 0.12s;
      }

.rec-head:hover {
        background: var(--bg3);
      }

.rec-num {
        font-family: var(--mono);
        font-size: 12px;
        color: var(--text3);
        width: 24px;
        text-align: center;
        flex-shrink: 0;
      }

.rec-imp {
        font-family: var(--mono);
        font-size: 10px;
        font-weight: 600;
        padding: 3px 9px;
        border-radius: 99px;
        flex-shrink: 0;
        letter-spacing: 0.03em;
      }

.imp-High {
        background: #fee2e2;
        color: #dc2626;
      }

.imp-Medium {
        background: #fef3c7;
        color: #d97706;
      }

.imp-Low {
        background: var(--surface);
        color: var(--text3);
        border: 1px solid var(--border);
      }

.rec-ttl {
        font-size: 14px;
        font-weight: 600;
        color: var(--text);
        flex: 1;
      }

.rec-cat {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--text3);
      }

.rec-chev {
        color: var(--text3);
        font-size: 11px;
        transition: transform 0.2s;
        flex-shrink: 0;
      }

.rec-card.open .rec-chev {
        transform: rotate(180deg);
      }

.rec-body {
        display: none;
        padding: 0 18px 18px;
      }

.rec-card.open .rec-body {
        display: block;
      }

.rec-why {
        font-size: 13.5px;
        color: var(--text2);
        line-height: 1.65;
        margin-bottom: 14px;
      }

.rec-code {
        background: var(--bg3);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 14px 16px;
        font-family: var(--mono);
        font-size: 12px;
        color: var(--text2);
        line-height: 1.7;
        white-space: pre-wrap;
        word-break: break-word;
      }

.footer-meta {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--text3);
      }

@keyframes fadeUp {
        from {
          opacity: 0;
          transform: translateY(16px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

/* TIER LOCK SYSTEM */
      .section-content {
        transition: filter 0.3s;
      }

.section-content.locked {
        filter: blur(4px);
        pointer-events: none;
        user-select: none;
        max-height: 180px;
        overflow: hidden;
      }

.lock-gate {
        background: linear-gradient(
          135deg,
          rgba(248, 249, 252, 1),
          rgba(238, 240, 246, 1)
        );
        border: 1px solid var(--border2);
        border-radius: var(--r3);
        padding: 32px 28px;
        margin-top: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
      }

.lock-gate-left {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        flex: 1;
      }

.lock-gate-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: linear-gradient(
          135deg,
          rgba(99, 102, 241, 0.12),
          rgba(139, 92, 246, 0.12)
        );
        border: 1px solid rgba(99, 102, 241, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
      }

.lock-gate-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 4px;
      }

.lock-gate-sub {
        font-size: 13px;
        color: var(--text2);
        line-height: 1.5;
        max-width: 380px;
      }

.lock-gate-price {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--accent2);
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.2);
        padding: 2px 9px;
        border-radius: 99px;
        display: inline-block;
        margin-top: 6px;
      }

.lock-gate-btn {
        background: var(--accent-g);
        color: #fff;
        font-family: var(--font);
        font-size: 13px;
        font-weight: 700;
        padding: 12px 24px;
        border-radius: var(--r2);
        border: none;
        cursor: pointer;
        transition:
          opacity 0.15s,
          transform 0.1s;
        white-space: nowrap;
        flex-shrink: 0;
      }

.lock-gate-btn:hover {
        opacity: 0.88;
      }

.lock-gate-btn:active {
        transform: scale(0.97);
      }

.tier-badge {
        font-family: var(--mono);
        font-size: 10px;
        padding: 3px 9px;
        border-radius: 99px;
        background: rgba(99, 102, 241, 0.08);
        color: var(--accent2);
        border: 1px solid rgba(99, 102, 241, 0.15);
      }

/* UPGRADE MODAL */
      .modal-bg {
        position: fixed;
        inset: 0;
        background: rgba(99, 102, 241, 0.15);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        backdrop-filter: blur(8px);
        overflow-y: auto;
      }

.modal-bg.hidden {
        display: none !important;
      }

.modal-card {
        background: var(--bg2);
        border: 1px solid var(--border2);
        border-radius: var(--r3);
        padding: 40px;
        /* Sized to the content, not to a layout that no longer exists. This
           was 890px, from when the modal held a multi-column .plan-grid; it
           now holds a single card the markup caps at 400px, so the panel was
           ~490px wider than anything in it. 400 + the 40px padding each side
           wraps it exactly, and width:100% above keeps it responsive. */
        max-width: 480px;
        width: 100%;
        box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12), 0 4px 16px rgba(0,0,0,0.08);
        position: relative;
        margin: auto;
      }

.modal-close {
        position: absolute;
        top: 16px;
        right: 20px;
        background: none;
        border: none;
        color: var(--text3);
        font-size: 20px;
        cursor: pointer;
        line-height: 1;
        padding: 4px;
      }

.modal-close:hover {
        color: var(--text);
      }

.modal-title {
        font-size: 22px;
        font-weight: 800;
        color: var(--text);
        margin-bottom: 6px;
        letter-spacing: -0.3px;
      }

.modal-sub {
        font-size: 14px;
        color: var(--text2);
        margin-bottom: 32px;
        line-height: 1.5;
      }

.plan-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
      }

.plan-card {
        background: var(--bg3);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 20px;
        position: relative;
        transition: border-color 0.2s;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }

.plan-card.popular {
        border-color: var(--accent);
        background: rgba(99, 102, 241, 0.06);
      }

.popular-tag {
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--accent-g);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 3px 12px;
        border-radius: 99px;
        white-space: nowrap;
        font-family: var(--mono);
      }

.plan-price {
        font-size: 28px;
        font-weight: 800;
        color: var(--text);
        letter-spacing: -1px;
        margin-bottom: 2px;
      }

.plan-price span {
        font-size: 13px;
        font-weight: 400;
        color: var(--text3);
        font-family: var(--mono);
      }

.plan-name {
        font-size: 13px;
        font-weight: 700;
        color: var(--text2);
        margin-bottom: 14px;
        font-family: var(--mono);
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }

.plan-features {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 18px;
      }

.plan-features li {
        font-size: 12.5px;
        color: var(--text2);
        display: flex;
        align-items: center;
        gap: 7px;
      }

.plan-features li.locked-feat {
        color: var(--text3);
      }

.plan-features li::before {
        content: "✓";
        color: var(--green);
        font-family: var(--mono);
        font-size: 11px;
        flex-shrink: 0;
      }

.plan-features li.locked-feat::before {
        content: "—";
        color: var(--text3);
      }

.plan-btn {
        width: 100%;
        padding: 11px;
        border-radius: var(--r2);
        font-size: 13px;
        font-weight: 700;
        font-family: var(--font);
        cursor: pointer;
        border: none;
        transition: opacity 0.15s;
      }

.plan-btn-primary {
        background: var(--accent-g);
        color: #fff;
      }

.plan-btn-secondary {
        background: var(--surface);
        color: var(--text2);
        border: 1px solid var(--border2);
      }

.plan-btn:hover {
        opacity: 0.85;
      }

.plan-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

.impact-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 12px;
      }

.impact-cell {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 12px;
        position: relative;
      }

.impact-cell.quick-win {
        border-color: var(--green);
        background: rgba(16, 185, 129, 0.05);
      }

.qw-tag {
        font-family: var(--mono);
        font-size: 10px;
        color: var(--green);
        position: absolute;
        top: 8px;
        right: 8px;
      }

.impact-cell-title {
        font-size: 13px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 6px;
      }

.impact-tags {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
      }

.template-card {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        overflow: hidden;
        margin-bottom: 10px;
      }

.template-head {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        cursor: pointer;
      }

.template-head:hover {
        background: var(--bg3);
      }

.template-body {
        display: none;
        padding: 0 16px 16px;
      }

.template-card.open .template-body {
        display: block;
      }

.template-instr {
        font-size: 13px;
        color: var(--text2);
        line-height: 1.6;
        margin-bottom: 12px;
        padding: 10px 14px;
        background: var(--bg3);
        border-radius: var(--r);
        border-left: 3px solid var(--accent);
      }

.fix-card {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 16px;
        margin-bottom: 8px;
        display: grid;
        grid-template-columns: 36px 1fr auto;
        gap: 12px;
        align-items: start;
      }

.fix-step {
        width: 32px;
        height: 32px;
        border-radius: var(--r);
        background: var(--accent-g);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--mono);
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        flex-shrink: 0;
      }

.fix-lift {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--green);
        background: var(--green-dim);
        padding: 3px 9px;
        border-radius: 99px;
        white-space: nowrap;
      }

.issues-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
      }

.issue-row {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 12px 16px;
      }

.issue-num {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--text3);
        flex-shrink: 0;
        width: 20px;
      }

.issue-content {
        flex: 1;
      }

.issue-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 3px;
      }

.issue-why {
        font-size: 12.5px;
        color: var(--text2);
        line-height: 1.55;
      }

.issue-tags {
        display: flex;
        gap: 6px;
        margin-top: 6px;
        flex-wrap: wrap;
      }

.impact-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 20px;
      }

.impact-stat {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 16px;
        text-align: center;
      }

.impact-stat-num {
        font-size: 32px;
        font-weight: 800;
        color: var(--red);
      }

.impact-stat-lab {
        font-family: var(--mono);
        font-size: 10px;
        color: var(--text3);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-top: 4px;
      }

@media (max-width: 768px) {
.nav-pill {
          display: none;
        }
.hero {
          padding: 40px 16px 32px;
        }
.hero h1 {
          font-size: 30px;
          letter-spacing: -0.8px;
        }
.hero-sub {
          font-size: 15px;
          margin-bottom: 32px;
        }
.input-inner {
          padding: 5px 5px 5px 14px;
          border-radius: 16px;
        }
.https-label {
          display: none;
        }
.domain-input {
          font-size: 14px;
        }
.run-btn {
          font-size: 13px;
          padding: 10px 16px;
        }
.agents {
          gap: 6px;
        }
.agent-chip {
          font-size: 11px;
          padding: 4px 10px;
        }
.cat-grid {
          grid-template-columns: 1fr;
        }
.cat-card {
          padding: 20px 16px;
        }
.results-topbar {
          padding: 10px 16px;
          height: auto;
          min-height: 48px;
          gap: 8px;
        }
.topbar-left {
          gap: 8px;
        }
.topbar-domain {
          font-size: 12px;
        }
.topbar-meta {
          display: none;
        }
.back-btn {
          font-size: 12px;
          padding: 5px 12px;
        }
.score-hero {
          grid-template-columns: 1fr;
          gap: 24px;
          padding: 24px 16px;
        }
.score-hero > div:first-child {
          align-items: center;
          text-align: center;
        }
.score-desc {
          text-align: left;
        }
#score-positioning {
          text-align: left;
          max-width: 100%;
        }
.stat-row {
          width: 100%;
          gap: 8px;
        }
.stat-pill {
          padding: 10px 8px;
        }
.stat-val {
          font-size: 20px;
        }
.sc-label {
          text-align: center;
        }
.sc-grid {
          grid-template-columns: 1fr 1fr;
          gap: 8px;
        }
.sc-cell {
          padding: 12px;
        }
.sc-pts {
          font-size: 22px;
        }
.sc-name {
          font-size: 11px;
        }
.results-body {
          padding: 20px 16px 60px;
        }
.r-sec {
          margin-bottom: 32px;
        }
.r-sec-head {
          flex-wrap: wrap;
          gap: 8px;
        }
.r-sec-title {
          font-size: 15px;
        }
.sig-grid {
          grid-template-columns: 1fr;
        }
.rec-head {
          padding: 12px 14px;
          gap: 8px;
          flex-wrap: wrap;
        }
.rec-num {
          display: none;
        }
.rec-cat {
          display: none;
        }
.rec-body {
          padding: 0 14px 14px;
        }
.fix-card {
          grid-template-columns: 32px 1fr;
          gap: 10px;
        }
.fix-lift {
          display: none;
        }
.impact-stats {
          grid-template-columns: 1fr;
          gap: 8px;
        }
.impact-stat-num {
          font-size: 26px;
        }
.impact-grid {
          grid-template-columns: 1fr;
        }
.lock-gate {
          flex-direction: column;
          padding: 20px 16px;
          gap: 16px;
          align-items: flex-start;
        }
.lock-gate-btn {
          width: 100%;
          text-align: center;
          padding: 13px;
        }
.modal-bg {
          padding: 12px;
          align-items: flex-start;
        }
.modal-card {
          padding: 20px 16px;
          border-radius: var(--r2);
        }
.modal-title {
          font-size: 17px;
        }
.modal-sub {
          font-size: 13px;
          margin-bottom: 20px;
        }
.plan-grid {
          grid-template-columns: 1fr;
          gap: 10px;
        }
.plan-card {
          padding: 16px;
        }
.popular-tag {
          font-size: 9px;
        }
.table-wrap {
          overflow-x: auto;
          -webkit-overflow-scrolling: touch;
        }
.data-table {
          min-width: 480px;
        }
.issue-row {
          padding: 10px 12px;
        }
.issue-tags {
          gap: 4px;
        }
.template-head {
          flex-wrap: wrap;
          gap: 8px;
        }
.orb-1 {
          width: 300px;
          height: 300px;
          top: -100px;
          right: -80px;
        }
.orb-2 {
          width: 250px;
          height: 250px;
        }
}

@media (max-width: 400px) {
.hero h1 {
          font-size: 26px;
        }
.sc-grid {
          grid-template-columns: 1fr;
        }
.run-btn {
          padding: 9px 12px;
          font-size: 12px;
        }
.score-big {
          font-size: 36px;
        }
}

.score-audited {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--text3);
  margin-top: 8px;
}

.score-audited .stale {
  color: var(--amber, #b45309);
}

.engine-banner {
  margin-top: 10px;
  max-width: 280px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.55;
  background: var(--amber-dim, #fef3c7);
  color: #78350f;
}

@media print {
nav,
        #upgrade-modal,
        .lock-gate,
        #download-report-btn,
        #access-expiry-msg,
        .back-btn,
        .error-back,
        footer,
        #restore-panel,
        .orb,
        .results-topbar,
        #section-advisory,
        #section-newsletter {
          display: none !important;
        }
body,
        html {
          background: #fff !important;
          color: #000 !important;
        }
.page,
        #results-view,
        .results-body,
        .score-hero {
          background: #fff !important;
          color: #000 !important;
        }
.score-audited,
        .score-audited .stale {
          color: #000 !important;
        }
.section-content.locked {
          filter: none !important;
          max-height: none !important;
          overflow: visible !important;
        }
.r-sec,
        .sig-card,
        .rec-card,
        .fix-card,
        .issue-row,
        .impact-stat,
        .impact-cell,
        .sc-cell,
        .template-card {
          background: #f9f9f9 !important;
          border-color: #ccc !important;
          color: #000 !important;
          box-shadow: none !important;
        }
.score-hero {
          border: 1px solid #ccc;
          padding: 24px;
        }
a {
          color: #000;
        }
@page {
          margin: 20mm;
        }
}

/* ── HOMEPAGE SECTIONS ── */
    .stat-bar{display:flex;justify-content:center;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--bg2);}

.stat-bar-item{flex:1;max-width:300px;text-align:center;padding:24px 16px;border-right:1px solid var(--border);}

.stat-bar-item:last-child{border-right:none;}

.stat-bar-num{font-size:32px;font-weight:800;color:var(--text);letter-spacing:-1px;}

.stat-bar-label{font-size:12px;color:var(--text3);margin-top:4px;font-family:var(--mono);line-height:1.4;}

.home-section{padding:72px 24px;max-width:1100px;margin:0 auto;}

.section-label{font-family:var(--mono);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.1em;color:var(--accent2);margin-bottom:12px;}

.section-h2{font-size:clamp(26px,3.5vw,38px);font-weight:800;letter-spacing:-.8px;color:var(--text);margin-bottom:16px;line-height:1.15;}

.section-sub{font-size:16px;color:var(--text2);line-height:1.7;max-width:600px;margin-bottom:44px;}

.problem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}

.problem-card{background:var(--bg2);border:1px solid var(--border);border-radius:var(--r2);padding:24px 20px;}

.problem-num{font-size:32px;font-weight:800;color:var(--red);letter-spacing:-1px;margin-bottom:8px;}

.problem-desc{font-size:13px;color:var(--text2);line-height:1.6;}

.how-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}

.how-step{background:var(--bg2);border:1px solid var(--border);border-radius:var(--r2);padding:28px 24px;}

.how-step-num{font-family:var(--mono);font-size:11px;font-weight:700;color:var(--accent2);background:rgba(99,102,241,.08);border:1px solid rgba(99,102,241,.2);padding:3px 10px;border-radius:99px;display:inline-block;margin-bottom:14px;}

.how-step h3{font-size:16px;font-weight:700;color:var(--text);margin-bottom:8px;}

.how-step p{font-size:13px;color:var(--text2);line-height:1.6;}

.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}

.pricing-card{background:var(--bg2);border:1px solid var(--border);border-radius:var(--r2);padding:28px 24px;display:flex;flex-direction:column;position:relative;}

.pricing-card.popular{border-color:var(--accent);background:rgba(99,102,241,.04);}

.pricing-popular-tag{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:var(--accent-g);color:#fff;font-size:10px;font-weight:700;padding:3px 14px;border-radius:99px;white-space:nowrap;font-family:var(--mono);}

.pricing-price{font-size:38px;font-weight:800;color:var(--text);letter-spacing:-2px;margin-bottom:2px;}

.pricing-price span{font-size:13px;font-weight:400;color:var(--text3);font-family:var(--mono);}

.pricing-name{font-size:11px;font-weight:700;color:var(--text2);font-family:var(--mono);text-transform:uppercase;letter-spacing:.08em;margin-bottom:20px;}

.pricing-features{list-style:none;display:flex;flex-direction:column;gap:8px;margin-bottom:24px;flex:1;}

.pricing-features li{font-size:13px;color:var(--text2);display:flex;align-items:flex-start;gap:8px;line-height:1.45;}

.pricing-features li::before{content:"✓";color:var(--green);font-family:var(--mono);font-size:11px;flex-shrink:0;margin-top:2px;}

.pricing-features li.dim::before{content:"—";color:var(--text3);}

.pricing-features li.dim{color:var(--text3);}

.pricing-btn{width:100%;padding:12px;border-radius:var(--r2);font-size:14px;font-weight:700;font-family:var(--font);cursor:pointer;border:none;transition:opacity .15s;}

.pricing-btn-primary{background:var(--accent-g);color:#fff;}

.pricing-btn-secondary{background:var(--surface);color:var(--text2);border:1px solid var(--border2);}

.pricing-btn:hover{opacity:.85;}

.faq-list{display:flex;flex-direction:column;gap:4px;}

.faq-item{background:var(--bg2);border:1px solid var(--border);border-radius:var(--r2);overflow:hidden;}

.faq-q{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;cursor:pointer;font-size:15px;font-weight:600;color:var(--text);gap:12px;transition:background .15s;}

.faq-q:hover{background:var(--bg3);}

.faq-chev{color:var(--text3);font-size:12px;transition:transform .2s;flex-shrink:0;}

.faq-item.open .faq-chev{transform:rotate(180deg);}

.faq-a{display:none;padding:0 20px 18px;font-size:14px;color:var(--text2);line-height:1.75;}

.faq-item.open .faq-a{display:block;}

.insights-strip{background:var(--bg2);border-top:1px solid var(--border);padding:64px 24px;}

.insights-inner{max-width:1100px;margin:0 auto;}

.insights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px;}

.insight-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r2);padding:24px 20px;text-decoration:none;transition:border-color .15s,box-shadow .15s;display:block;}

.insight-card:hover{border-color:var(--border2);box-shadow:0 4px 16px rgba(99,102,241,.08);}

.insight-cat{font-family:var(--mono);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--accent2);margin-bottom:10px;}

.insight-title{font-size:15px;font-weight:700;color:var(--text);margin-bottom:8px;line-height:1.4;}

.insight-desc{font-size:13px;color:var(--text2);line-height:1.55;}

.insight-more{display:inline-flex;align-items:center;gap:6px;margin-top:28px;font-size:13px;font-weight:600;color:var(--accent2);text-decoration:none;transition:gap .15s;}

.insight-more:hover{gap:10px;}

.bottom-cta-strip{text-align:center;padding:80px 24px;border-top:1px solid var(--border);}

.bottom-cta-strip h2{font-size:clamp(26px,4vw,42px);font-weight:800;letter-spacing:-1px;color:var(--text);margin-bottom:12px;}

.bottom-cta-strip p{font-size:16px;color:var(--text2);margin-bottom:32px;}

.trust-line{font-size:12px;color:var(--text3);margin-bottom:20px;}

@media(max-width:768px){
.stat-bar{flex-direction:column;}
.stat-bar-item{border-right:none;border-bottom:1px solid var(--border);max-width:none;}
.stat-bar-item:last-child{border-bottom:none;}
.problem-grid,.how-steps,.pricing-grid,.insights-grid{grid-template-columns:1fr;}
.home-section{padding:48px 16px;}
.insights-strip{padding:40px 16px;}
.bottom-cta-strip{padding:48px 16px;}
}

@keyframes slideUp {
      from { opacity:0; transform:translateY(20px); }
      to   { opacity:1; transform:translateY(0); }
    }

#upsell-popup input:focus, #upsell-popup select:focus, #upsell-popup textarea:focus {
      border-color: var(--accent) !important;
    }

@media(max-width:768px) {
#upsell-popup { width:calc(100vw - 32px); right:16px; bottom:16px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Homepage copy update — Aug 2026
   ("AgentReady Homepage — Current vs Replacement Copy")

   Copy change only. These rules exist solely to let the approved wording sit
   cleanly in the EXISTING layout — no redesign, no new sections.
   ══════════════════════════════════════════════════════════════════════════ */

/* Research attribution beneath the proof statistics. Deliberately secondary. */
.stat-source {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--text3);
  padding: 0 24px 8px;
  margin: -8px auto 0;
  max-width: 720px;
}
.stat-source em {
  font-style: italic;
}

/* Closing CTA: the approved copy is a longer sentence than the old one, so it
   needs a measure and a separate meta line for "Free · No signup · …". */
.cta-lead {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 10px;
}
.cta-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 28px;
}

/* The approved hero CTA — "Run Your Free AI Readiness Audit →" — is roughly
   three times the width of the old "Run Audit →". In the 640px input row it
   would squeeze the domain field to nothing, and below ~560px it would
   overflow the viewport entirely.

   Rather than shorten the approved wording, the input row stacks on narrow
   screens: field on top, full-width button beneath. Desktop is unchanged
   apart from slightly tighter button padding. */
@media (max-width: 560px) {
  .input-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }
  .input-inner .https-label {
    display: none;
  }
  .domain-input {
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
  }
  .run-btn {
    width: 100%;
    white-space: normal;
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ── Post-payment order view ($499 / $999) ─────────────────────────────────
   Shown while the buyer's own audit is generated. Deliberately shaped like
   .error-card so the page has one "single centred card" idiom rather than
   two. */
.order-card {
  max-width: 520px;
  margin: 60px auto;
  padding: 40px 32px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r3);
  text-align: center;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.order-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-g);
}

.order-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.order-msg {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0 0 8px;
}

.order-note {
  font-size: 12.5px;
  color: var(--text3);
  line-height: 1.6;
  margin: 18px 0 0;
}

.order-spinner {
  width: 26px;
  height: 26px;
  margin: 20px auto 0;
  border: 2px solid var(--border2);
  border-top-color: var(--accent, #6366f1);
  border-radius: 50%;
  animation: order-spin 0.8s linear infinite;
}

@keyframes order-spin {
  to { transform: rotate(360deg); }
}

/* Honour a reduced-motion preference: the spinner is decoration, and the
   text above it already says what is happening. */
@media (prefers-reduced-motion: reduce) {
  .order-spinner { animation: none; opacity: 0.4; }
}

/* ── Higher-tier upsell at the end of a paid report ────────────────────────
   Sits inside .results-body, after the last report section. Styled as part of
   the report rather than as an ad: same card language as .lock-gate, which is
   the other in-report offer the customer has already seen. */
.tier-upsell {
  /* Sits outside .results-body, so it has to reproduce that container itself.
     .results-body is max-width 1120 with 40px side padding, i.e. a 1040px
     content column; these values keep the upsell the same width as the report
     sections above it. */
  max-width: 1040px;
  margin: 40px auto 80px;
  padding: 32px 28px;
  background: linear-gradient(
    135deg,
    rgba(248, 249, 252, 1),
    rgba(238, 240, 246, 1)
  );
  border: 1px solid var(--border2);
  border-radius: var(--r3);
}

.tier-upsell-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
  margin-bottom: 8px;
}

.tier-upsell-h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

.tier-upsell-lead {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 620px;
}

.tier-upsell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tier-upsell-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
}

.tier-upsell-card.popular {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.tier-upsell-tag {
  position: absolute;
  top: -9px;
  left: 22px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent-g);
  padding: 3px 9px;
  border-radius: 99px;
}

.tier-upsell-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 4px;
}

.tier-upsell-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.tier-upsell-price span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: 0;
}

.tier-upsell-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0 0 14px;
}

.tier-upsell-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  /* Pushes every button onto the same baseline regardless of list length. */
  flex: 1;
}

.tier-upsell-features li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 7px;
}

.tier-upsell-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green, #10b981);
  font-weight: 700;
}

.tier-upsell-btn {
  display: block;
  padding: 12px 18px;
  border-radius: var(--r2);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: var(--bg3);
  border: 1px solid var(--border2);
  transition: opacity 0.15s, transform 0.1s;
}

.tier-upsell-btn.primary {
  color: #fff;
  background: var(--accent-g);
  border-color: transparent;
}

.tier-upsell-btn:hover { opacity: 0.88; }
.tier-upsell-btn:active { transform: scale(0.99); }

@media (max-width: 700px) {
  /* Matches .results-body's 16px mobile gutter, so the upsell lines up with
     the report sections rather than running edge to edge. */
  .tier-upsell { padding: 24px 18px; margin: 32px 16px 60px; max-width: none; }
  .tier-upsell-grid { grid-template-columns: 1fr; gap: 20px; }
  .tier-upsell-h3 { font-size: 18px; }
  /* The tag would clip against the card above it once stacked. */
  .tier-upsell-card.popular { margin-top: 10px; }
  .order-card { margin: 32px auto; padding: 32px 20px; }
}
