/* ==========================================================================
   AEO Go: site look (December 2026 redesign)
   Loaded after app.css. Marketing pages use the "ag-" components below;
   the scan overlays and reports pick up the new palette from app.css tokens
   and the overrides at the end of this file.
   ========================================================================== */

html { scroll-behavior: smooth; overflow-x: clip; }
/* app.css floats every div; the new components lay themselves out with flex and grid */
[class^="ag-"], [class*=" ag-"] { float: none; }
body {
    background: var(--brand-background) linear-gradient(90deg, #ebe5e0 0%, #f2efec 45%, #f8f8f7 100%);
    overflow-x: clip;
    color: var(--brand-ink);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; }

/* ---------- Logo (text, so it always renders in Inter) ---------- */
.ag-logo {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -0.057em;
    color: var(--brand-ink);
    text-decoration: none;
    white-space: nowrap;
}
.ag-logo span { color: var(--brand-orange); }

/* ---------- Header: floating pill ---------- */
.ag-header {
    position: fixed;
    top: 25px;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    margin: 0;
    height: auto;
    float: none;
    pointer-events: none;
}
.ag-header .ag-nav {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
    max-width: 100%;
    float: none;
    background: #fff;
    border-radius: 999px;
    padding: 9px 10px 9px 24px;
    box-shadow: 0 10px 30px rgba(60, 40, 30, 0.10);
}
.ag-nav .ag-logo { margin: 0 14px 0 0; font-size: 26px; }
.ag-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; height: auto; list-style: none; }
.ag-nav ul li { list-style: none; display: block; padding: 0; font-size: 14px; }
.ag-nav ul li a {
    display: block;
    padding: 8px 10px;
    color: var(--brand-ink);
    opacity: 1;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
}
.ag-nav ul li a:hover, .ag-nav ul li a[aria-current="page"] { color: var(--brand-orange-deep); }
.ag-nav .ag-btn { margin: 0 0 0 10px; }
.ag-menu-btn {
    display: none;
    width: 42px; height: 42px;
    border: 0; border-radius: 50%;
    background: var(--brand-surface-2);
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
}
.ag-menu-btn span { position: absolute; left: 12px; width: 18px; height: 2px; border-radius: 2px; background: var(--brand-ink); }
.ag-menu-btn span:first-child { top: 16px; }
.ag-menu-btn span:last-child { top: 23px; }
@media screen and (max-width: 940px) {
    .ag-nav ul, .ag-nav .ag-btn { display: none; }
    .ag-menu-btn { display: block; }
    .ag-header .ag-nav { width: 100%; justify-content: space-between; padding: 8px 8px 8px 20px; }
}
@media screen and (min-width: 941px) and (max-width: 1060px) {
    .ag-nav ul li a { padding: 8px 7px; font-size: 13.5px; }
    .ag-nav .ag-logo { margin-right: 6px; }
}

/* Mobile menu */
section.mobile-menu {
    background: rgba(243, 240, 237, 0.98);
    backdrop-filter: blur(6px);
    padding: 24px;
}
section.mobile-menu .ag-logo { float: left; width: auto; margin: 8px 0 0 4px; }
section.mobile-menu ul { clear: both; padding: 40px 4px 0 4px; }
section.mobile-menu ul li { margin: 0 0 18px 0; }
section.mobile-menu ul li a { color: var(--brand-ink); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
section.mobile-menu .ag-btn { width: 100%; height: 54px; font-size: 16px; }

/* ---------- Buttons ---------- */
.ag-btn, a.ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    height: 46px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-gradient);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    float: none;
    box-shadow: 0 10px 24px rgba(255, 85, 18, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.ag-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 85, 18, 0.34); filter: brightness(1.04); }
.ag-btn.small { height: 40px; padding: 0 20px; font-size: 14px; box-shadow: 0 6px 16px rgba(255, 85, 18, 0.25); }
.ag-btn.large { height: 54px; padding: 0 32px; font-size: 16px; }
.ag-btn-outline, a.ag-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 40px;
    padding: 0 20px;
    border: 1.5px solid var(--brand-ink);
    border-radius: 999px;
    background: #fff;
    color: var(--brand-ink);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    float: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.ag-btn-outline:hover { background: var(--brand-ink); color: #fff; }
.ag-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; width: auto; float: none; }

/* ---------- Type ---------- */
.ag-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: auto;
    margin: 0 0 18px 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--brand-ink);
    float: none;
}
.ag-eyebrow::before, .ag-dot::before {
    content: "";
    flex: 0 0 auto;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand-orange);
}
.ag-h1, .ag-h2, .ag-h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    color: var(--brand-ink);
    letter-spacing: -0.035em;
    margin: 0 0 20px 0;
    padding: 0;
    float: none;
}
.ag-h1 { font-size: clamp(36px, 4.4vw, 55px); line-height: 1.0909; } /* 55px / 60px at full width */
.ag-h2 { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.1; }
.ag-h3 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.025em; }
.ag-text p, p.ag-text {
    float: none;
    width: auto;
    margin: 0 0 18px 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--brand-ink-2);
}
.ag-text p.ag-lead, p.ag-lead {
    font-size: 18.5px;
    line-height: 1.6;
    font-weight: 500;
    color: #3d3838;
    letter-spacing: -0.01em;
    margin-bottom: 26px;
}
.ag-text strong { color: var(--brand-ink); }
.ag-text a { color: var(--brand-ink); text-decoration-color: var(--brand-orange); text-underline-offset: 3px; }
.ag-text a:hover { color: var(--brand-orange-deep); }
.ag-text h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--brand-ink); margin: 6px 0 8px 0; }
.ag-text ul.ag-bullets { list-style: none; margin: 0 0 18px 0; padding: 0; float: none; }
.ag-text ul.ag-bullets li { position: relative; padding: 0 0 0 18px; margin: 0 0 8px 0; font-size: 15px; line-height: 1.65; color: var(--brand-ink-2); }
.ag-text ul.ag-bullets li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange); }
.ag-center { text-align: center; }
.ag-center .ag-eyebrow { justify-content: center; }
.ag-note { display: flex; align-items: center; gap: 9px; margin: 22px 0 0 0; font-size: 13.5px; color: var(--brand-ink-2); float: none; width: auto; }
.ag-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange); flex: 0 0 auto; }
.ag-note a { color: var(--brand-ink); text-underline-offset: 3px; }

/* ---------- Layout ---------- */
.ag-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; float: none; }
.ag-section { padding: 110px 0 0 0; float: none; width: 100%; clear: both; }
.ag-section.tight { padding-top: 70px; }
.ag-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ag-split.center { align-items: center; }
.ag-split > * { min-width: 0; }
.ag-head { max-width: 860px; margin: 0 auto 50px auto; }
.ag-head .ag-h2 { margin-bottom: 14px; }
.ag-head p { font-size: 15px; color: var(--brand-ink-2); margin: 0; float: none; width: auto; }
.ag-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 40px 0; }
.ag-row-head .ag-h2 { margin: 0; }
@media screen and (max-width: 900px) {
    .ag-wrap { padding: 0 20px; }
    .ag-section { padding-top: 80px; }
    .ag-split { grid-template-columns: 1fr; gap: 36px; }
    .ag-row-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero ---------- */
.ag-hero { position: relative; padding: 120px 0 170px 0; float: none; width: 100%; }
.ag-hero .ag-wrap { position: relative; }
.ag-hero-copy { position: relative; z-index: 2; max-width: 680px; }
.ag-hero-copy.wide { max-width: 700px; }
.ag-hero-copy > p:not(.ag-note) { font-size: 15.5px; line-height: 1.7; color: var(--brand-ink-2); margin: 0 0 30px 0; float: none; width: auto; max-width: 600px; }
.ag-hero-art {
    position: absolute;
    z-index: 1;
    top: 30px;
    left: 56%;
    width: 660px;
    height: 660px;
    pointer-events: none;
}
.ag-ring { position: absolute; border-radius: 50%; border: 1px solid #cbc7c4; width: auto; float: none; }
.ag-ring.r1 { inset: 0; }
.ag-ring.r2 { inset: 54px; }
.ag-hero-art .ag-bubble { position: absolute; }
.ag-hero-art .b1 { top: 160px; left: 182px; opacity: 0.55; }
.ag-hero-art .b2 { top: 285px; left: -30px; }
.ag-hero-art .b3 { top: 400px; left: 310px; opacity: 0.55; }
.ag-hero-art .ag-cursor-only { position: absolute; top: 312px; left: 330px; }
@media screen and (max-width: 1100px) {
    .ag-hero-art { left: 62%; transform: scale(0.85); transform-origin: top left; }
}
@media screen and (max-width: 900px) {
    .ag-hero { padding: 60px 0 40px 0; }
    .ag-hero-art { display: none; }
}

/* Query bubble with a blinking cursor */
.ag-bubble {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 100%;
    height: 70px;
    padding: 0 40px 0 30px;
    float: none;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(60, 40, 30, 0.08);
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-ink);
    white-space: nowrap;
}
.ag-bubble.dark { background: #464444; color: #ececec; border: 2px solid var(--brand-orange); box-shadow: 0 18px 40px rgba(60, 40, 30, 0.12); }
.ag-bubble.small { height: 56px; font-size: 12px; padding: 0 26px 0 24px; }
.ag-cursor { display: inline-block; width: 2px; height: 1.25em; margin: 0 0 0 4px; background: var(--brand-orange); animation: agBlink 1.1s steps(1) infinite; vertical-align: middle; }
.ag-cursor-only .ag-cursor { height: 19px; width: 3px; }
@keyframes agBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ag-cursor { animation: none; } }
@media screen and (max-width: 600px) {
    .ag-bubble { white-space: normal; height: auto; min-height: 60px; padding: 14px 24px; font-size: 14px; }
}

/* Scan box */
.ag-tabs { display: inline-flex; gap: 0; padding: 4px; margin: 0 0 26px 0; border-radius: 999px; background: #e9e4e0; width: auto; float: none; }
.ag-tabs button {
    border: 0; background: transparent; cursor: pointer;
    height: 36px; padding: 0 18px; border-radius: 999px;
    font-family: inherit; font-size: 14px; font-weight: 500; color: var(--brand-ink);
}
.ag-tabs button[aria-selected="true"] { background: #fff; font-weight: 700; box-shadow: 0 2px 8px rgba(60, 40, 30, 0.06); }
.ag-scan {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 560px;
    height: 68px;
    padding: 0 6px 0 28px;
    float: none !important;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(60, 40, 30, 0.08);
}
.ag-scan input[type="text"], .cta .inner .ag-scan input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 56px;
    margin: 0;
    padding: 0;
    float: none;
    border: 0;
    background: transparent;
    color: var(--brand-ink);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    box-shadow: none;
}
.ag-scan input::placeholder { color: #a39d9b; font-weight: 600; }
.ag-scan input:focus { outline: none; }
.ag-scan .ag-btn { flex: 0 0 auto; height: 52px; padding: 0 40px; font-size: 15px; }
.ag-scan:focus-within { box-shadow: 0 14px 34px rgba(60, 40, 30, 0.08), 0 0 0 2px rgba(253, 111, 48, 0.35); }
@media screen and (max-width: 520px) {
    .ag-scan { height: 60px; padding-left: 20px; }
    .ag-scan .ag-btn { height: 48px; padding: 0 22px; }
}

/* ---------- Media boxes (screenshots) ---------- */
.ag-media {
    position: relative;
    width: 100%;
    float: none;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--brand-shadow);
    overflow: hidden;
}
.ag-media img { display: block; width: 100%; height: auto; }
.ag-media.bleed { width: calc(100% + 40px + max(0px, (100vw - 1320px) / 2)); border-radius: 16px 0 0 16px; }
.ag-media.bleed img { width: 100%; }
.ag-media-wrap { position: relative; float: none; width: 100%; }
.ag-media-wrap .ag-bubble { position: absolute; left: 32px; bottom: 32px; z-index: 2; max-width: calc(100% - 64px); }
.ag-media.tall img { object-fit: cover; object-position: top left; height: 520px; }
.ag-hero-media { margin: 0 auto; max-width: 1240px; }
@media screen and (max-width: 900px) {
    .ag-media.bleed { width: 100%; border-radius: 16px; }
    .ag-media.tall img { height: auto; }
    .ag-media-wrap .ag-bubble { position: relative; left: auto; bottom: auto; margin: -36px 0 0 16px; }
}

/* ---------- Orange feature cards (scrolling row) ---------- */
.ag-cards-row {
    display: flex !important;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 40px 40px 0;
    margin: 0 0 -40px 0;
    float: none !important;
    scrollbar-width: none;
    width: auto !important;
    cursor: grab;
}
.ag-cards-row.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ag-cards-row::-webkit-scrollbar { display: none; }
.ag-cards-bleed { margin-right: calc(-40px - max(0px, (100vw - 1320px) / 2)); }
.ag-cards-full { margin-left: calc(-40px - max(0px, (100vw - 1320px) / 2)); margin-right: calc(-40px - max(0px, (100vw - 1320px) / 2)); padding-left: calc(40px + max(0px, (100vw - 1320px) / 2)); scroll-padding-left: calc(40px + max(0px, (100vw - 1320px) / 2)); }
.ag-fcard {
    flex: 0 0 440px;
    max-width: 82vw;
    min-height: 430px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    float: none !important;
    padding: 26px 34px 40px 34px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ff7135 0%, #ff6e33 70%, #ff5614 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(255, 85, 18, 0.18);
    scroll-snap-align: start;
}
.ag-fcard .ag-eyebrow { align-self: flex-start; color: #fff; font-size: 12px; margin: 0; }
.ag-fcard .ag-eyebrow::before { background: #fff; }
.ag-fcard .ag-orb {
    width: 170px; height: 170px; flex: 0 0 auto;
    margin: 34px 0 34px 0;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 120, 60, 0.9) 0%, #ff5410 100%);
    box-shadow: inset 0 -10px 30px rgba(255, 70, 0, 0.35);
    display: flex !important; align-items: center; justify-content: center;
}
.ag-fcard .ag-orb svg { width: 54px; height: 54px; opacity: 0.95; }
.ag-fcard h3 { margin: auto 0 12px 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; float: none; width: auto; }
.ag-fcard p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #fff; opacity: 0.95; float: none; width: auto; }
@media screen and (max-width: 900px) {
    .ag-cards-row { padding-right: 20px; }
    .ag-cards-bleed { margin-right: -20px; }
    .ag-cards-full { margin-left: -20px; margin-right: -20px; padding-left: 20px; scroll-padding-left: 20px; }
    .ag-fcard { flex-basis: 300px; min-height: 380px; padding: 22px 24px 32px 24px; }
    .ag-fcard .ag-orb { width: 130px; height: 130px; margin: 26px 0; }
}

/* ---------- Pricing ---------- */
.ag-pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 40px; justify-content: center; }
.ag-price {
    display: flex !important;
    flex-direction: column;
    float: none !important;
    background: #fff;
    border-radius: 14px;
    padding: 34px 30px 36px 30px;
    box-shadow: var(--brand-shadow);
}
.ag-price h3 { margin: 0 0 22px 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; float: none; width: auto; }
.ag-price ul { list-style: none; margin: 0 0 28px 0; padding: 0; float: none; }
.ag-price li { position: relative; padding: 0 0 0 20px; margin: 0 0 17px 0; font-size: 13.5px; line-height: 1.6; color: #2b2626; }
.ag-price li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); }
.ag-price li.no { color: #9c9695; }
.ag-price li.no::before { content: "×"; width: auto; height: auto; top: 0; left: 1px; background: none; border-radius: 0; color: var(--brand-ink); font-weight: 700; font-size: 13px; line-height: 1.6; }
.ag-price .ag-actions { margin-top: auto; }
@media screen and (max-width: 900px) {
    .ag-pricing { grid-template-columns: 1fr; gap: 24px; }
    .ag-pricing .ag-price.paid { order: -1; }
}

/* ---------- FAQs ---------- */
section.faqs { float: none; width: 100%; padding: 120px 0 0 0; }
section.faqs article { display: block !important; }
section.faqs .inner { max-width: 760px; margin: 0 auto; padding: 0 20px; float: none; }
section.faqs h4 { display: block !important; text-align: center; font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 40px 0; }
section.faqs .spacer { display: none; }
.faqs .inner .question { border-bottom: 1.5px solid #b8b2ae; padding: 0; float: none; }
.faqs .inner .question .q { display: flex !important; justify-content: flex-start !important; flex-direction: row-reverse; align-items: center; gap: 18px; padding: 24px 0; float: none; }
.faqs .inner .question .q p {
    flex: 1 1 auto;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: clamp(17px, 1.6vw, 21px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--brand-ink);
    float: none;
}
.faqs .inner .question .q div {
    flex: 0 0 22px;
    width: 22px !important;
    height: 22px !important;
    background: none !important;
    position: relative;
    float: none;
}
.faqs .inner .question .q div::before, .faqs .inner .question .q div::after {
    content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 4px; border-radius: 1px; background: var(--brand-ink);
    transition: transform 0.2s ease;
}
.faqs .inner .question .q div::after { transform: rotate(90deg); }
.faqs .inner .question.is-open .q div::after { transform: rotate(0deg); }
.faqs .inner .question .answer { float: none; padding: 0 0 26px 40px; }
.faqs .inner .question .answer p { padding: 0 !important; margin: 0 0 10px 0; font-size: 14.5px; line-height: 1.75; color: var(--brand-ink-2); font-weight: 400; float: none; }
.faqs .inner .question .answer a { color: var(--brand-ink); text-decoration-color: var(--brand-orange); }

/* ---------- Footer ---------- */
footer.ag-footer { float: none; width: 100%; padding: 110px 20px 70px 20px; text-align: center; }
footer.ag-footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; list-style: none; margin: 0 auto 22px auto; padding: 0; max-width: 1100px; float: none; }
footer.ag-footer ul li { margin: 0; font-size: 13.5px; }
footer.ag-footer ul li a { color: var(--brand-ink-2); text-decoration: none; }
footer.ag-footer ul li a:hover { color: var(--brand-orange-deep); }
footer.ag-footer .ag-logo { font-size: 26px; }
footer.ag-footer .ag-small { margin: 18px 0 0 0; font-size: 12.5px; color: var(--brand-muted); float: none; width: auto; }

/* ---------- Blog index ---------- */
.ag-posts { max-width: 1010px; margin: 0 auto; padding: 0 20px; float: none; }
.ag-post { display: grid !important; grid-template-columns: 330px 1fr; gap: 38px; align-items: center; margin: 0 0 46px 0; float: none; }
.ag-post-thumb { display: block; aspect-ratio: 330 / 210; width: 100%; border-radius: 12px; background: #fff; box-shadow: var(--brand-shadow); overflow: hidden; }
.ag-post-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ag-post h2 { margin: 0 0 12px 0; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.025em; }
.ag-post h2 a { text-decoration: none; }
.ag-post h2 a:hover { color: var(--brand-orange-deep); }
.ag-post p { margin: 0 0 18px 0; font-size: 14px; line-height: 1.75; color: var(--brand-ink-2); float: none; width: auto; }
.ag-more { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--brand-ink); text-decoration: none; padding: 0 0 7px 0; border-bottom: 1.5px solid var(--brand-orange); }
.ag-more:hover { color: var(--brand-orange-deep); }
@media screen and (max-width: 760px) {
    .ag-post { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Content pages (terms, privacy, help) ---------- */
.ag-page { max-width: 820px; margin: 0 auto; padding: 0 20px; float: none; }
.ag-page h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; margin: 40px 0 12px 0; }
.ag-page h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin: 28px 0 10px 0; }
.ag-page p, .ag-page li { font-size: 15px; line-height: 1.75; color: var(--brand-ink-2); }
.ag-page p { margin: 0 0 16px 0; float: none; width: auto; }
.ag-page ul, .ag-page ol { margin: 0 0 18px 22px; padding: 0; float: none; }
.ag-page li { margin: 0 0 8px 0; }
.ag-page a { color: var(--brand-ink); text-decoration-color: var(--brand-orange); text-underline-offset: 3px; }
.ag-card { float: none; width: 100%; background: #fff; border-radius: 14px; box-shadow: var(--brand-shadow); padding: 30px; }
.ag-steps { counter-reset: agstep; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ag-steps > li { counter-increment: agstep; position: relative; margin: 0; padding: 26px 26px 22px 78px; background: #fff; border-radius: 14px; box-shadow: var(--brand-shadow-sm); }
.ag-steps > li::before { content: counter(agstep); position: absolute; left: 24px; top: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-gradient); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ag-steps > li h3 { margin: 4px 0 8px 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--brand-ink); }
.ag-steps > li p { margin: 0 0 8px 0; font-size: 14.5px; }
.ag-steps > li ul { margin: 6px 0 0 18px; }
.ag-steps > li ul li { font-size: 14.5px; margin: 0 0 6px 0; }
.ag-callout { float: none; width: 100%; display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px; border-radius: 16px; background: #fff; box-shadow: var(--brand-shadow); }
.ag-callout > div { width: auto; flex: 1 1 360px; float: none; }
.ag-callout h3 { margin: 0 0 6px 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.ag-callout p { margin: 0; font-size: 14.5px; color: var(--brand-ink-2); }
.ag-callout.urgent { border-left: 4px solid var(--brand-red); }
.ag-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ag-grid-3 .ag-card h3 { margin: 0 0 8px 0; font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.ag-grid-3 .ag-card p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--brand-ink-2); }
@media screen and (max-width: 900px) { .ag-grid-3 { grid-template-columns: 1fr; } .ag-steps > li { padding: 22px 20px 18px 66px; } .ag-steps > li::before { left: 18px; top: 20px; } }

/* ==========================================================================
   App screens: scan overlay, reports, prompts (new palette + layout)
   ========================================================================== */
input[type="text" i], input[type="email" i], input:not([type]), select, textarea {
    font-family: inherit;
    background: #fff;
    color: var(--brand-ink);
    border: 1px solid var(--brand-border-colour);
    border-radius: 10px;
}
.button { border-radius: 999px; font-family: inherit; font-weight: 700; letter-spacing: -0.01em; box-shadow: 0 8px 20px rgba(255, 85, 18, 0.22); }
.button.secondary, .sec-cta .button.secondary, .sec-share .button.secondary, .sec-report-actions .button.secondary {
    background: transparent !important; color: var(--brand-ink) !important; border: 1.5px solid var(--brand-ink) !important; box-shadow: none;
}
.button.linear { background: transparent; color: var(--brand-ink); border: 1.5px solid var(--brand-ink); box-shadow: none; }
.button img { filter: brightness(0) invert(1); }
.card { background: #fff; border: 1px solid #ece8e5; box-shadow: var(--brand-shadow-sm); }
.score-bar { height: 9px; background: #efebe8; border-radius: 9px; }
.score-bar .inner { height: 9px; border-radius: 9px; background: var(--brand-gradient); }
code, pre, .copy-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* Full-screen overlay behind the scan results */
.overlay { background: linear-gradient(90deg, #ebe5e0 0%, #f2efec 45%, #f8f8f7 100%); }
@media screen and (min-width: 768px) { .overlay { padding: 36px 30px 30px 30px; } }
.overlay > .output { max-width: 960px; margin: 0 auto; float: none; display: block; padding: 0 !important; }
.overlay .output .report-top { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 30px; background: #fff; border-radius: 14px 14px 0 0; border-bottom: 1px solid #eeeae7; float: none; }
.overlay .output .report-top .ag-logo { font-size: 26px; }
.overlay .output .report-top .report-for { width: auto; font-size: 13.5px; font-weight: 700; text-align: right; word-break: break-all; float: none; }
.overlay .output-inner { background: #fff; border-radius: 0 0 14px 14px; padding: 26px 30px 30px 30px; box-shadow: var(--brand-shadow); min-height: 260px; }
.overlay .output-inner .web-address { border-bottom: 1px solid #eeeae7; padding: 0 0 18px 0; }
@media screen and (max-width: 767px) {
    .overlay .output .report-top { border-radius: 0; padding: 16px 20px; }
    .overlay .output-inner { border-radius: 0; padding: 20px; }
}
.audit-loader { padding: 50px 0; }
.audit-loader .loader div { background: var(--brand-gradient); box-shadow: 0 8px 20px rgba(255, 85, 18, 0.3); }
.scan-progress-bar { background: #efebe8; }
.scan-progress-bar .scan-progress-fill { background: var(--brand-gradient); }

/* Score summary and stats */
.summary { border-bottom: 1px solid #eeeae7; }
.summary div span:first-child, .summary .score { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.final-score .score-label, .sec-score-main .score-label {
    display: inline-block; width: auto !important; background: transparent !important;
    border: 1px solid currentColor; border-radius: 4px; padding: 2px 9px 3px 9px; font-weight: 500; font-size: 12.5px;
}
.final-score .score-label.very-poor, .sec-score-main .score-label.very-poor { color: var(--brand-red) !important; }
.final-score .score-label.poor, .sec-score-main .score-label.poor { color: var(--brand-orange-deep) !important; }
.final-score .score-label.good, .sec-score-main .score-label.good { color: #2f9a4f !important; }
.final-score .score-label.very-good, .sec-score-main .score-label.very-good { color: #1f8a3f !important; }
.stat { background: var(--brand-surface-2); border: 0; border-radius: 10px; }
.crawler-access { box-shadow: none; border: 0; border-bottom: 1px solid #eeeae7; border-radius: 0; }

/* Page cards in reports */
.page.card { border-radius: 0; border: 0; border-bottom: 1px solid #eeeae7; box-shadow: none; margin: 0; }
.page.card.open { border: 0; border-bottom: 1px solid #eeeae7; background: #fcfbfa; }
.page.card .details .table .table-title { background: var(--brand-surface-2); border-color: #eeeae7; }
.page.card .scrape-summary span { border-color: var(--brand-ink); border-radius: 999px; }

/* Fix list (GEO report and security report) */
.fix { background: #fff; border: 0; border-left: 4px solid #e6e1dd; border-radius: 0; border-bottom: 1px solid #eeeae7; padding: 22px 24px; margin: 0; box-shadow: none; }
.fix-num { background: var(--brand-ink); }
.fix-title { font-size: 16px; letter-spacing: -0.015em; }
.fix-badge { border-radius: 4px; border-color: transparent; opacity: 1; color: var(--brand-ink-2); padding: 2px 6px; }
.fix-badge.impact-high, .fix-badge.sec-badge-critical { border-color: var(--brand-red); color: var(--brand-red); }
.fix-badge.impact-medium { border-color: var(--brand-orange); color: var(--brand-orange-deep); }
.fix-label { text-transform: none; letter-spacing: 0; font-size: 13px; opacity: 1; color: var(--brand-ink); }
.fix-how { background: var(--brand-surface-2); border-radius: 6px; padding: 16px 18px; }
.fixes { padding: 26px 0 0 0; }
.fix-list { border-top: 1px solid #eeeae7; }

/* Bottom prompt after a free scan ("Want a hand fixing these?") */
.prompt {
    left: 50%; right: auto; bottom: 22px; transform: translateX(-50%);
    width: calc(100% - 32px); max-width: 640px;
    border: 0; border-radius: 16px; background: #fff;
    box-shadow: 0 20px 60px rgba(60, 40, 30, 0.18);
    padding: 22px 24px; text-align: left;
}
.prompt.bulge { animation: none; }
.prompt .inner h1 { font-size: 18px; letter-spacing: -0.02em; }
.prompt .inner p { color: var(--brand-ink-2); }
.prompt .inner .button { background: var(--brand-gradient); }
.prompt .inner .sample-link, .prompt .inner .sample-link:visited, p.sample-link a, p.sample-link a:visited { color: var(--brand-ink); text-decoration-color: var(--brand-orange); }

/* Security report */
.sec-report .card { border-radius: 0; box-shadow: none; border: 0; border-bottom: 1px solid #eeeae7; margin: 0; }
.sec-summary { padding: 24px 0; }
.sec-score-facts > div { border: 0; background: transparent; text-align: left; padding: 0; }
.sec-big { font-size: 34px; letter-spacing: -0.03em; }
.sec-cta { position: sticky; bottom: 18px; z-index: 5; border: 0 !important; border-radius: 16px !important; background: #fff; box-shadow: 0 20px 60px rgba(60, 40, 30, 0.18) !important; margin: 20px auto !important; max-width: 640px; }
.sec-report .fix.sec-fix-critical, .sec-report .fix.impact-high { border-left-color: var(--brand-red); }
.sec-unlock { border-color: var(--brand-orange); background: #fff8f4; }
.sec-teaser { border-color: var(--brand-orange); background: #fff8f4; }
.sec-teaser-label, .sec-locked-note { color: var(--brand-orange-deep); }
.sec-history-bars .bar { background: var(--brand-gradient); border-radius: 3px 3px 0 0; }
.sec-history-bars li.best .bar { background: var(--brand-green); }
.sec-copy pre { background: var(--brand-surface-2); }
.sec-close { background: #fff; border-color: #e3dfdc; color: var(--brand-ink); box-shadow: var(--brand-shadow-sm); }
.sec-error { border-color: var(--brand-red); background: #fff; border-radius: 14px; }
.site-problem-reason { background: var(--brand-surface-2); }
.cta.sec-hero .inner .welcome a, .sec-content a, .sec-content a:visited, .sec-report a:not(.button), .faqs a { color: var(--brand-ink); text-decoration-color: var(--brand-orange); }

/* Drawers and modals */
.drawer { background: rgba(20, 16, 16, 0.35); }
.drawer .inner { background: #fff; border-left: 0; box-shadow: -20px 0 60px rgba(20, 16, 16, 0.12); }
.drawer .inner .tabs .card .code-button { background: var(--brand-surface-2); }
.overlay.email { background: rgba(20, 16, 16, 0.45); }
.card.form { background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(20, 16, 16, 0.2); border: 0; }
.card.form .button { background: var(--brand-gradient); }
.alert { border-radius: 999px; }

/* Print: keep reports clean on paper */
@media print {
    body { background: #fff !important; }
    .ag-header, .ag-footer, .prompt, .floating-cta { display: none !important; }
}

/* Rings beside a section (What is GEO: "How we make it happen") */
.ag-hero-art.ag-side-rings { top: -60px; left: 52%; width: 520px; height: 520px; }
.ag-hero-art.ag-side-rings .ag-ring.r2 { inset: 44px; }
.ag-hero-copy > p a { color: var(--brand-ink); text-decoration-color: var(--brand-orange); text-underline-offset: 3px; }

/* Free scan details */
.text-button { color: var(--brand-ink); text-decoration: underline; text-decoration-color: var(--brand-orange); text-underline-offset: 3px; }
.crawler-access .stat { background: transparent; text-align: center; padding: 14px 10px; }
.crawler-access .stat > div:first-child::before { content: ""; display: block; width: 36px; height: 36px; margin: 0 auto 10px auto; border-radius: 50%; background: #efebe8; }
.crawler-access .stat.ok > div:first-child::before, .crawler-access .ok > div:first-child::before { background: #e3f4e8; }
.fix .dfy-one, .dfy-one a, .dfy-one span { color: var(--brand-orange-deep); }
.warning { background: #fff; border-color: #eeeae7; }

/* ---------- Standalone status cards (buy, payment, unsubscribe, errors) ---------- */
body > section.flex.center:has(> .card.form) { min-height: 100vh; align-items: center; padding: 40px 20px !important; }
.card.form {
    background: #fff; border: 0; border-radius: 20px; box-shadow: var(--brand-shadow);
    padding: 36px 36px 32px 36px; max-width: 560px; float: none;
}
.card.form img { display: block; height: 30px; width: auto; max-width: none; margin: 0 0 22px 0; }
.card.form h1 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 14px 0; color: var(--brand-ink); word-break: break-word; }
.card.form p { font-size: 15px; line-height: 1.65; color: var(--brand-ink-2); margin: 0 0 16px 0; }
.card.form p strong { color: var(--brand-ink); }
.card.form a:not(.button) { color: var(--brand-ink); text-decoration: underline; text-decoration-color: var(--brand-orange); text-underline-offset: 3px; }
.card.form input { height: 50px; border-radius: 999px; border: 1px solid #e6e1dd; background: #faf8f7; padding: 0 20px; font-size: 15px; }
.card.form input:focus { outline: none; border-color: var(--brand-orange); background: #fff; }
.card.form .button { height: 50px; border-radius: 999px; background: var(--brand-gradient); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 10px 24px rgba(255, 85, 18, 0.28); }
.card.form .button[style*="background:none"] { box-shadow: none; color: var(--brand-ink-2); }
.test-note { background: #fff4e5; color: var(--brand-ink); border-radius: 10px; }
@media screen and (max-width: 600px) { .card.form { padding: 26px 22px; } .card.form h1 { font-size: 22px; } }

/* ---------- Legal pages (terms, privacy) ---------- */
body > section > article.flex.center:has(.panel) { padding: 40px 20px 80px 20px; }
.panel:has(> h1) {
    background: #fff; border-radius: 20px; box-shadow: var(--brand-shadow-sm);
    max-width: 860px; padding: 48px 56px; float: none; margin: 0 auto;
}
.panel:has(> h1) h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; margin: 0 0 14px 0; }
.panel:has(> h1) h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 30px 0 10px 0; }
.panel:has(> h1) p, .panel:has(> h1) li { font-size: 15px; line-height: 1.7; color: var(--brand-ink-2); }
@media screen and (max-width: 600px) { .panel:has(> h1) { padding: 28px 22px; } }
footer.ag-footer { clear: both; }

/* ---------- Security report page header ---------- */
.sec-report-page { background: var(--brand-bg, #f3f0ed); }
.sec-report-header {
    max-width: 1000px; margin: 16px auto 0 auto; float: none;
    background: #fff; border: 0 !important; border-radius: 999px; box-shadow: var(--brand-shadow-sm);
    padding: 12px 14px 12px 28px !important;
}
.sec-report-header .button { height: 42px; border-radius: 999px; padding: 0 20px; width: auto; font-weight: 700; }
.sec-report-header .button:not(.secondary) { background: var(--brand-gradient); color: #fff; }
.sec-report-header .button.secondary { background: #fff; color: var(--brand-ink); border: 1px solid #e6e1dd; }
.sec-report-wrap .sec-inner { background: #fff; border-radius: 20px; box-shadow: var(--brand-shadow); max-width: 1000px; padding: 36px 40px; margin: 0 auto; float: none; }
.sec-report-wrap .sec-inner > .card.form { box-shadow: none; padding: 0; }
.sec-report-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; font-weight: 700; }
@media screen and (max-width: 600px) {
    .sec-report-header { border-radius: 18px; margin: 10px 10px 0 10px; padding: 12px 14px !important; }
    .sec-report-wrap { padding: 16px 10px 40px 10px; }
    .sec-report-wrap .sec-inner { padding: 22px 18px; }
}
@media print { .sec-report-wrap .sec-inner { box-shadow: none; padding: 0; } }
.card.fix-teaser { padding: 22px 24px; border-radius: 14px; border: 1px solid #eeeae7; background: #fff; box-shadow: none; }
.card.fix-teaser p { margin: 0 0 6px 0; }
.fix-teaser .button { height: 44px; border-radius: 999px; padding: 0 22px; width: auto; background: var(--brand-gradient); color: #fff; font-weight: 700; }

/* Content pages: section headings and step lists inside .ag-page */
.ag-page .ag-h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.035em; margin: 10px 0 14px 0; }
.ag-page ol.ag-steps { margin: 22px 0 0 0; }
.ag-page .ag-eyebrow + .ag-h2 { margin-top: 12px; }
.card.fixes:not(.fix-teaser) > p { padding: 0 24px; }
.card.fixes:not(.fix-teaser) > .dfy-cta { margin-left: 24px; margin-right: 24px; width: auto; }

/* Fixed nav (25px from the top): keep page content clear of it */
body:has(> .ag-header) { padding-top: 83px; }
html { scroll-padding-top: 110px; }

/* Inputs stay white: cancel the browser's pale blue autofill / active tint */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active,
textarea:-webkit-autofill, select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: var(--brand-ink) !important;
    caret-color: var(--brand-ink);
    transition: background-color 600000s 0s, color 600000s 0s;
}
input:autofill { background-color: #fff !important; }
.ag-scan input[type="text"]:focus, .ag-scan input[type="text"]:active { background: #fff; }
.card.form input, .card.form input:focus { background: #fff; }
.cta .inner input:focus { background: #fff; }

/* ---------- Typography: Poppins body text (14px / 25px), Inter headings ---------- */
body { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 25px; font-weight: 400; }
h1, h2, h3, h4, h5, h6, .ag-h1, .ag-h2, .ag-h3, .ag-logo, .ag-fcard h3, .faqs h4,
.post-content h1, .post-content h2, .post-content h3 { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.ag-text p, p.ag-text, .ag-text ul.ag-bullets li,
.ag-hero-copy > p:not(.ag-note), .ag-head p,
.ag-fcard p, .ag-price li, .faqs .inner .question .answer p,
.ag-post p, .ag-page p, .ag-page li, .ag-grid-3 .ag-card p, .ag-steps > li p, .ag-steps > li ul li, .ag-callout p,
.card.form p, .panel:has(> h1) p, .panel:has(> h1) li,
.post-content p, .post-content li {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 25px;
    font-weight: 400;
}
.ag-price li.no::before { line-height: 25px; }
.post-content #introduction p { font-size: 17px; line-height: 30px; font-weight: 400; }
.post-content #introduction p strong { font-weight: 500; }

/* ==========================================================================
   Report body matched to the GEO Scan design (free scan, paid report, sample)
   Each block is a full-width row separated by a hairline.
   ========================================================================== */
.overlay .output-inner { padding: 0; }
.output-inner > .web-address { display: none; }
.output-inner > .summary, .output-inner > .fixes-wrap, .output-inner > .crawler-access,
.output-inner > div[style*="margin:0 0 20px"], .output-inner > .page.card, .output-inner > .warning {
    float: none; width: 100%; margin: 0 !important; padding: 26px 30px; border: 0; border-top: 1px solid #eeeae7; border-radius: 0; box-shadow: none; background: #fff;
}
.output-inner > .summary { border-top: 0; }
.output-inner > .progress-wrap:empty { display: none; }
.output-inner p, .output-inner li { font-size: 13px; line-height: 20px; }

/* Score row */
.summary.sum-designed { display: grid !important; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); column-gap: 55px; align-items: start; padding: 22px 30px 24px 30px; }
.summary.sum-designed > div { float: none; width: auto; }
.summary .sum-label { font-size: 13px; line-height: 20px; color: var(--brand-ink); margin: 0 0 4px 0; }
.summary .sum-row { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
.summary.sum-designed .score { font-family: "Inter", sans-serif; font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; width: auto; }
.summary.sum-designed .score-label { margin: 0; font-size: 12.5px; font-weight: 400; padding: 2px 12px 3px; border-radius: 4px; }
.summary.sum-designed .score-bar { margin: 14px 0 0 0; height: 10px; border-radius: 999px; background: #efebe8; overflow: hidden; width: 100%; }
.summary.sum-designed .score-bar .inner { height: 100%; border-radius: 999px; background: var(--brand-gradient); }
.summary .sum-stats { display: grid !important; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 20px; }
.summary .sum-stats > div { float: none; width: auto; }
.summary .sum-stats span { display: block; font-size: 13px; line-height: 20px; color: var(--brand-ink); margin: 0 0 8px 0; font-weight: 400; letter-spacing: 0; }
.summary .sum-stats strong { display: block; font-family: "Inter", sans-serif; font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; color: var(--brand-ink); }

/* Fix summary + "looks strange?" note */
.output-inner > .fixes-wrap { padding: 0; }
.fixes-wrap .card.fixes { border: 0 !important; border-radius: 0; box-shadow: none; padding: 0 !important; margin: 0; background: transparent; }
.fixes-intro { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 55px; padding: 26px 30px; float: none; width: 100%; }
.fixes-intro > div { float: none; width: auto; }
.fixes-intro-main > p { padding: 0 !important; margin: 0 0 8px 0; }
.fixes-intro-main > p:first-child { font-size: 15px; line-height: 22px; margin-bottom: 10px; }
.fixes-intro-main .button { margin-top: 10px; }
.fixes-intro-main .dfy-cta { margin: 14px 0 0 0 !important; width: 100%; }
.fixes-intro .warning { background: transparent; border: 0; padding: 0; margin: 0; display: block !important; }
.fixes-intro .warning > div { width: auto; float: none; }
.fixes-intro .warning p, .fixes-intro .warning li { font-size: 13px; line-height: 20px; margin: 0; color: var(--brand-ink); }
.fixes-intro .warning ul { margin: 0; padding: 0 0 0 0; list-style: none; }
.fixes-intro .warning ul li::before { content: "• "; }
.fixes-intro .warning .text-button { display: inline; padding: 0; margin: 0; font-size: 13px; text-decoration: underline; color: var(--brand-ink); font-weight: 400; cursor: pointer; }
.fixes-wrap .fix-list { border-top: 1px solid #eeeae7; margin: 0; }
.fixes-wrap .fix { padding: 24px 30px; }
.fixes-wrap .copy-fixes { border-top: 1px solid #eeeae7 !important; padding: 26px 30px !important; }
.fixes-wrap .copy-fixes > p { padding: 0 !important; }
.card.fix-teaser { border: 0 !important; padding: 0 !important; }

/* AI crawler access */
.output-inner > .crawler-access .address { padding: 0 !important; }
.output-inner > .crawler-access .address p:first-child, .output-inner > div[style*="margin:0 0 20px"] p { font-size: 15px; line-height: 22px; margin: 0 0 6px 0; }
.output-inner > .crawler-access .table { margin: 0; padding: 0; border: 0; }
.output-inner > .crawler-access .result { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 30px; padding: 40px 0 16px 0; }
.output-inner > .crawler-access .row { width: auto !important; float: none; margin: 0; padding: 0; }
.output-inner > .crawler-access .stat { position: relative; background: transparent; border: 0; padding: 0; text-align: center; font-size: 13px; line-height: 19px; }
.output-inner > .crawler-access .stat > div:first-child { font-weight: 600; color: var(--brand-ink); font-size: 13px; }
.output-inner > .crawler-access .stat > div:first-child::before { width: 44px; height: 44px; margin: 0 auto 16px auto; background: #f1edea; }
.output-inner > .crawler-access .stat .spacer { height: 4px; }
.output-inner > .crawler-access .stat .flex.center { display: block !important; color: var(--brand-ink); }
.output-inner > .crawler-access .stat .status-icon { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; margin: 0; }
.output-inner > .crawler-access .stat .status-icon img { width: 20px; height: 20px; filter: none; }
.output-inner > .crawler-access .stat.ok > div:first-child::before { background: #e3f4e8; }
.output-inner > .crawler-access .stat.error > div:first-child::before { background: #fdecea; }

/* Breakdown by page */
.output-inner > div[style*="margin:0 0 20px"] { padding-bottom: 0; }
.output-inner > div[style*="margin:0 0 20px"] + .page.card { border-top: 0; }
.output-inner > .page.card { display: grid !important; grid-template-columns: minmax(0, 36fr) minmax(0, 47fr) minmax(0, 17fr); grid-auto-rows: auto; align-items: start; padding: 20px 30px; }
.output-inner > .page.card.open { background: #fcfbfa; }
.page.card > .preview, .page.card > .preview > .status { display: contents !important; }
.page.card .address { grid-column: 1; grid-row: 1; padding: 0 20px 0 0 !important; float: none; width: auto; display: block !important; }
.page.card .address span { display: block; float: none; width: auto; font-size: 13px; line-height: 20px; }
.page.card .address span:first-child { font-weight: 600; color: var(--brand-ink); }
.page.card .address a { margin-left: 16px; color: var(--brand-ink); text-decoration: underline; }
.page.card .status > .six-columns:first-child { grid-column: 1; grid-row: 2; width: auto !important; float: none; padding: 18px 0 0 0; font-size: 13px; line-height: 20px; }
.page.card .page-score { grid-column: 2; grid-row: 1 / span 2; width: auto !important; float: none; padding: 0; }
.page.card .page-score .score, .page.card .page-score .score span { font-size: 12.5px; line-height: 18px; font-weight: 600; color: var(--brand-ink); letter-spacing: 0; }
.page.card .page-score .spacer { height: 4px; }
.page.card .page-score .score-bar { max-width: 300px; height: 8px; border-radius: 999px; background: #efebe8; overflow: hidden; }
.page.card .page-score .score-bar .inner { height: 100%; border-radius: 999px; background: var(--brand-gradient) !important; }
.page.card .page-score .rating, .page.card .page-score .rating * { font-size: 12.5px; line-height: 18px; font-weight: 600; color: var(--brand-ink); margin-top: 4px; }
.page.card .scrape-summary { grid-column: 3; grid-row: 1 / span 2; align-self: start; justify-content: flex-end !important; width: auto !important; float: none; padding: 14px 0 0 0; }
.page.card .scrape-summary span { border: 0 !important; padding: 0 !important; height: auto; font-size: 13px; font-weight: 400; color: var(--brand-ink); background: transparent; white-space: nowrap; }
.page.card .scrape-summary span:hover { text-decoration: underline; }
.page.card > .accordion { grid-column: 1 / -1; grid-row: 3; margin-top: 20px; }

@media screen and (max-width: 767px) {
    .output-inner > .summary, .output-inner > .crawler-access, .output-inner > div[style*="margin:0 0 20px"], .output-inner > .page.card, .fixes-intro, .fixes-wrap .fix, .fixes-wrap .copy-fixes { padding-left: 20px !important; padding-right: 20px !important; }
    .summary.sum-designed { grid-template-columns: 1fr; row-gap: 22px; }
    .summary .sum-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .summary .sum-stats strong { font-size: 28px; }
    .fixes-intro { grid-template-columns: 1fr; row-gap: 18px; }
    .output-inner > .crawler-access .result { grid-template-columns: 1fr; }
    .output-inner > .page.card { grid-template-columns: 1fr; row-gap: 12px; }
    .page.card .address, .page.card .status > .six-columns:first-child, .page.card .page-score, .page.card .scrape-summary { grid-column: 1; grid-row: auto; padding: 0 !important; justify-content: flex-start !important; }
}
/* Report layout fixes: undo the old 3-column summary rules */
.summary.sum-designed { margin: 0 !important; }
.summary.sum-designed div:not(.inner) { width: auto !important; float: none !important; }
.summary.sum-designed span { float: none !important; width: auto !important; margin: 0; font-size: inherit; font-weight: inherit; }
.summary.sum-designed .sum-score { display: block !important; }
.summary.sum-designed .sum-score .sum-label { display: block !important; }
.summary.sum-designed .score-label { white-space: nowrap; }
.summary.sum-designed .sum-stats span { display: block; font-size: 13px !important; line-height: 20px; font-weight: 400 !important; margin: 0 0 8px 0 !important; letter-spacing: 0; }
.summary.sum-designed .score-bar { width: 100% !important; }
.fixes-intro p { border: 0 !important; }
.fixes-intro:not(:has(.warning)) { grid-template-columns: 1fr; }
.fixes-wrap .card.fixes.copy-fixes { border-top: 1px solid #eeeae7 !important; padding: 26px 30px !important; }
.page.card .address span:last-child { overflow-wrap: anywhere; }
.output-inner > * { float: none !important; clear: both; }
.summary .score-label { display: inline-block; width: auto !important; background: transparent !important; border: 1px solid currentColor; border-radius: 4px; }
.summary .score-label.very-poor { color: var(--brand-red) !important; }
.summary .score-label.poor { color: var(--brand-orange-deep) !important; }
.summary .score-label.good { color: #2f9a4f !important; }
.summary .score-label.very-good { color: #1f8a3f !important; }
.fixes-intro .warning p { font-weight: 400 !important; }

/* Nav (Ronnie, 2 Dec): 14px links, 95px-wide logo, 12px CTA */
.ag-nav .ag-logo-img { display: block; width: 95px; line-height: 0; font-size: 0; }
.ag-nav .ag-logo-img img { display: block; width: 95px; height: auto; max-width: none; }
.ag-nav ul li, .ag-nav ul li a { font-size: 14px !important; }
.ag-nav .ag-btn, .ag-nav .ag-btn.small { font-size: 12px !important; }

/* Orange glow only on the main scan input's button (Ronnie, 2 Dec) */
.ag-btn, .ag-btn:hover, .ag-btn.small, .ag-btn.large, .button, .button:hover, .card.form .button, a.button, .ag-nav .ag-btn { box-shadow: none !important; }
.ag-scan .ag-btn, .ag-scan .ag-btn:hover { box-shadow: 0 10px 24px rgba(255, 85, 18, 0.28) !important; }

/* Page background: horizontal warm-to-neutral gradient sampled from the design files */
:root { --brand-bg-gradient: linear-gradient(90deg, #ece5df 0%, #ece6e0 6.25%, #ede7e2 12.5%, #efeae5 25%, #f1eeeb 50%, #f4f2f0 75%, #f5f4f3 87.5%, #f6f5f5 93.75%, #f7f7f7 100%); }
body, .overlay, .sec-report-page { background: #f1eeeb var(--brand-bg-gradient) !important; }

/* Logo everywhere = the design's SVG file (img/aeogo-logo.svg) */
.ag-logo-img { display: inline-block; line-height: 0; font-size: 0; }
.ag-logo-img img { display: block; width: 95px; height: auto; max-width: none; }
footer.ag-footer .ag-logo-img img { margin: 0 auto; }

/* Non-hero headlines a few sizes smaller (Ronnie, 2 Dec) */
.ag-h2 { font-size: clamp(26px, 2.8vw, 40px); }
.ag-page .ag-h2 { font-size: clamp(26px, 2.8vw, 36px); }
section.faqs h4 { font-size: clamp(26px, 2.8vw, 40px) !important; }

/* Double the space between sections */
.ag-section { padding-top: 220px; }
.ag-section.tight { padding-top: 140px; }
section.faqs { padding-top: 240px; }
@media screen and (max-width: 900px) {
    .ag-section { padding-top: 160px; }
    .ag-section.tight { padding-top: 110px; }
    section.faqs { padding-top: 160px; }
}

/* Hero art sits behind everything that follows it */
.ag-hero { z-index: 0; }
.ag-hero .ag-hero-art { z-index: -1; pointer-events: none; }
main > *:not(.ag-hero), footer.ag-footer { position: relative; z-index: 1; }

/* Report section order (Update 69): score, fix summary, crawler access, fixes, pages */
.output-inner > .fix-summary { float: none; width: 100%; margin: 0; border-top: 1px solid #eeeae7; background: #fff; }
.fix-summary-main > p:first-child { font-size: 15px !important; line-height: 22px !important; margin: 0 0 10px 0; color: var(--brand-ink); }
.fix-summary-main > p { margin: 0; color: var(--brand-ink); }
.fix-summary-main .dfy-cta { margin: 16px 0 0 0 !important; }
.fixes-wrap .card.fixes:not(.fix-teaser):not(.copy-fixes) > p { padding: 0 30px !important; }
.fixes-wrap .card.fixes:not(.fix-teaser):not(.copy-fixes) > p:first-child { padding-top: 26px !important; font-size: 15px; line-height: 22px; }
.fixes-wrap .card.fixes:not(.fix-teaser):not(.copy-fixes) > p.fix-muted { padding-bottom: 20px !important; }
@media screen and (max-width: 767px) {
    .fixes-wrap .card.fixes:not(.fix-teaser):not(.copy-fixes) > p { padding-left: 20px !important; padding-right: 20px !important; }
}

/* Fix numbers as in the design: "1. Title", plain text, everything flush left */
.fix-head { gap: 0; align-items: baseline; }
.fix-num, .fix-num:not(:empty) {
    flex: 0 0 auto; display: inline; width: auto; height: auto; border-radius: 0; border: 0 !important;
    background: none !important; color: var(--brand-ink) !important;
    font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 600; line-height: 22px; margin: 0 5px 0 0; padding: 0;
}
.fix-num::after { content: "."; }
.fix-title { font-family: "Poppins", sans-serif; font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: 0; margin: 0; }
.fix-badges, .fix-body, .fix .dfy-one { margin-left: 0 !important; }
.fix-badges { margin-top: 14px; gap: 10px 20px; align-items: center; }
.fix-badge { font-size: 13px; padding: 0; }
.fix-badge.impact-high, .fix-badge.impact-medium, .fix-badge.sec-badge-critical, .fix-badge[class*="sec-badge-"] { padding: 3px 12px; border: 1px solid currentColor; border-radius: 4px; }
.fix-body { margin-top: 20px; }
.fix-label { font-size: 12.5px; font-weight: 600; }
.fix-how { padding: 20px; }
@media print { .fix-num { border: 0 !important; } }

/* Hero bubbles: only the foreground (dark) prompt's caret blinks */
.ag-hero-art .ag-bubble:not(.dark) .ag-cursor { animation: none; }

/* Main input: orange caret that blinks, even before the visitor clicks in */
.ag-scan { position: relative; }
.ag-scan input { caret-color: var(--brand-orange); }
.ag-scan:has(input:placeholder-shown):not(:focus-within)::before {
    content: ""; position: absolute; left: 28px; top: 50%; width: 2px; height: 20px; margin-top: -10px;
    background: var(--brand-orange); animation: agBlink 1.1s steps(1) infinite; pointer-events: none;
}
.ag-scan:not(:focus-within) input:placeholder-shown { text-indent: 8px; }
@media screen and (max-width: 520px) { .ag-scan:has(input:placeholder-shown):not(:focus-within)::before { left: 20px; } }
@media (prefers-reduced-motion: reduce) { .ag-scan::before { animation: none !important; } }

/* Update 69: no snapping on the orange card rows; scroll moves freely */
.ag-cards-row, .ag-cards-row.is-dragging { scroll-snap-type: none !important; scroll-behavior: auto; }
.ag-cards-row .ag-fcard { scroll-snap-align: none !important; }

/* ===== Update 70 ===== */

/* Severity colours: score bars and ratings by band, low-impact fixes too */
.score-bar .inner.band-very-poor, .page.card .page-score .score-bar .inner.band-very-poor { background: var(--brand-red) !important; }
.score-bar .inner.band-poor, .page.card .page-score .score-bar .inner.band-poor { background: var(--brand-gradient) !important; }
.score-bar .inner.band-good, .page.card .page-score .score-bar .inner.band-good { background: #3fae5f !important; }
.score-bar .inner.band-very-good, .page.card .page-score .score-bar .inner.band-very-good { background: #1f8a3f !important; }
.page.card .page-score .rating.band-very-poor, .page.card .page-score .rating.band-very-poor * { color: var(--brand-red) !important; }
.page.card .page-score .rating.band-poor, .page.card .page-score .rating.band-poor * { color: var(--brand-orange-deep) !important; }
.page.card .page-score .rating.band-good, .page.card .page-score .rating.band-good * { color: #2f9a4f !important; }
.page.card .page-score .rating.band-very-good, .page.card .page-score .rating.band-very-good * { color: #1f8a3f !important; }
.fix.impact-low { border-left-color: #c9bfb9 !important; }
.fix-badge.impact-low { border: 1px solid #c9bfb9; color: var(--brand-ink-2); padding: 3px 12px; border-radius: 4px; }

/* Floating "Want a hand fixing these?" card on the GEO report */
.fixes-wrap .card.fixes > .geo-cta { margin: 24px auto 24px auto !important; width: calc(100% - 60px) !important; float: none; }
.geo-cta .sec-cta-buttons .button { cursor: pointer; }
.geo-cta p { font-size: 14px; line-height: 22px; }
@media screen and (max-width: 600px) { .fixes-wrap .card.fixes > .geo-cta { width: calc(100% - 32px) !important; bottom: 10px; } }

/* Page breakdown: tidier rows */
.output-inner > .page.card { grid-template-columns: minmax(0, 40fr) minmax(0, 40fr) minmax(0, 20fr); padding: 22px 30px; }
.page.card .address span:first-child { font-size: 14px; line-height: 21px; margin-bottom: 2px; }
.page.card .address span:last-child { color: var(--brand-ink-2); font-size: 12.5px; }
.page.card .address a { margin-left: 10px; white-space: nowrap; }
.page.card .status > .six-columns:first-child { padding-top: 6px; font-size: 12px; color: var(--brand-muted); }
.page.card .page-score .score-bar { margin-top: 6px; }
.page.card .scrape-summary { padding-top: 0; }
.page.card .scrape-summary span { border: 1px solid var(--brand-ink) !important; border-radius: 999px; padding: 7px 16px !important; font-size: 12px; font-weight: 600; background: #fff; }
.page.card .scrape-summary span:hover { background: var(--brand-ink); color: #fff; text-decoration: none; }
.output-inner > .page.card.open { background: #fff; }

/* Page breakdown: the expanded per-page checks */
.page.card > .accordion { margin-top: 18px; }
.page.card .details .table { float: none; width: 100%; }
.page.card .details .table .table-title { background: transparent !important; border: 0 !important; border-top: 1px solid #eeeae7 !important; padding: 18px 0 10px 0 !important; font-size: 13px; }
.page.card .details .table .table-title span { height: auto; font-family: Inter, sans-serif; font-weight: 600; font-size: 13px; color: var(--brand-ink); }
.page.card .details .table > .spacer { display: none; }
.page.card .details .result { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 0 18px 0 !important; float: none; }
.page.card .details .result > .row { width: auto !important; padding: 0 !important; float: none; }
.page.card .details .stat { height: 100%; background: #fff !important; border: 1px solid #eeeae7 !important; border-left: 3px solid #eeeae7 !important; border-radius: 8px; padding: 12px 14px !important; text-align: left; font-size: 12.5px; line-height: 19px; display: flex !important; flex-direction: column; }
.page.card .details .stat.ok { border-left-color: #3fae5f !important; }
.page.card .details .stat.error { border-left-color: var(--brand-orange) !important; }
.page.card .details .stat > div:first-child { text-align: left; font-size: 13px; font-weight: 600; color: var(--brand-ink); }
.page.card .details .stat .spacer { height: 4px; }
.page.card .details .stat .flex.center { justify-content: flex-start !important; align-items: flex-start; color: var(--brand-ink-2); }
.page.card .details .stat .status-icon { flex: 0 0 auto; width: 14px; height: 14px; margin: 3px 8px 0 0; }
.page.card .details .stat .status-icon img { width: 14px; height: 14px; }
.page.card .details .stat .button.further-information { margin: auto 0 0 0; padding: 10px 0 0 0; width: auto !important; height: auto; background: none !important; border: 0 !important; box-shadow: none !important; justify-content: flex-start !important; font-size: 12px; font-weight: 600; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.page.card .details .stat.error .button.further-information { color: var(--brand-orange-deep); }
@media screen and (max-width: 900px) {
    .page.card .details .result { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 520px) {
    .page.card .details .result { grid-template-columns: 1fr; }
    .page.card .scrape-summary { justify-content: flex-start !important; }
}

/* AI crawler access: 12px text, 19px line height */
.output-inner > .crawler-access, .output-inner > .crawler-access p, .output-inner > .crawler-access .stat,
.output-inner > .crawler-access .stat > div:first-child, .output-inner > .crawler-access .stat .flex.center,
.output-inner > .crawler-access .stat span { font-size: 12px !important; line-height: 19px !important; }

/* Orange cards: smaller text */
.ag-fcard h3 { font-size: 18px; line-height: 1.25; margin-bottom: 10px; }
.ag-fcard p { font-size: 12.5px !important; line-height: 20px !important; }
.ag-fcard .ag-eyebrow { font-size: 11px; }

/* Orange cards run edge to edge on phones */
@media screen and (max-width: 900px) {
    .ag-cards-row.ag-cards-bleed, .ag-cards-row.ag-cards-full { margin-left: -20px !important; margin-right: -20px !important; padding-left: 20px !important; padding-right: 20px !important; scroll-padding-left: 20px; }
}

/* Outline buttons: dark with white text on hover */
.ag-btn-outline:hover, a.ag-btn-outline:hover, a.ag-btn-outline:visited:hover { background: var(--brand-ink) !important; color: #fff !important; border-color: var(--brand-ink) !important; }

/* Report preview placeholders: plain white containers, as in the design */
.ag-media-blank { background: #fff; border-radius: 16px; aspect-ratio: 1240 / 780; width: 100%; }
.ag-media.bleed.ag-media-blank { border-radius: 16px 0 0 16px; }
.ag-media.tall.ag-media-blank { aspect-ratio: auto; height: 520px; }
@media screen and (max-width: 900px) {
    .ag-media.bleed.ag-media-blank { border-radius: 16px; }
    .ag-media.tall.ag-media-blank { height: 340px; }
}
.output-inner > .crawler-access strong, .output-inner > .crawler-access b { font-size: 15px !important; line-height: 22px !important; }
.sec-cta .button, .geo-cta .button { border-radius: 999px !important; height: 42px; padding: 0 22px; font-size: 13px; }
.report-shell { overflow: clip !important; } /* hidden would stop the help card sticking */

/* ===== Update 71 ===== */
/* FAQ plus / minus at half size */
.faqs .inner .question .q div { flex: 0 0 11px; width: 11px !important; height: 11px !important; }
.faqs .inner .question .q div::before, .faqs .inner .question .q div::after { top: 4.5px; width: 11px; height: 2px; }

/* Pricing card lists: tighter */
.ag-price li { margin: 0 0 6px 0; }

/* Larger intro paragraphs: 18px / 31px */
.ag-text p.ag-lead, p.ag-lead, .ag-page p.ag-lead, .post-content #introduction p { font-size: 18px !important; line-height: 31px !important; }

/* Scroll-in animation (only when JS has switched it on) */
html.ag-reveal-on .ag-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
html.ag-reveal-on .ag-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.ag-reveal-on .ag-reveal { opacity: 1; transform: none; transition: none; }
}
@media print { html.ag-reveal-on .ag-reveal { opacity: 1 !important; transform: none !important; } }

/* ===== Update 72 ===== */
/* Input graphic beside section headings runs the full column width */
.ag-split > div > .ag-bubble { display: flex; width: 100%; max-width: 100%; }

/* Pricing cards: tighter around the Get started button */
.ag-price { padding-bottom: 26px !important; }
.ag-price ul { margin-bottom: 14px !important; }

/* Buttons: instant hover, no movement */
.ag-btn, .ag-btn-outline, a.ag-btn, a.ag-btn-outline, .button, .ag-nav .ag-btn, .ag-scan .ag-btn { transition: none !important; }
.ag-btn:hover, a.ag-btn:hover, .ag-scan .ag-btn:hover, .button:hover { transform: none !important; }

/* ===== Update 83: the design gradient (no timed animation) that slides as you scroll ===== */
/* A layer twice the screen width: the design gradient, then the same in reverse.
   At the top of the page it shows exactly the design. scripts/app.js sets --ag-bg-shift
   from how far down the page you are, so the light and warm sides trade places by the bottom. */
body:has(> .ag-header)::before {
    content: "";
    position: fixed;
    top: 0; bottom: 0; left: 0;
    width: 200vw;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, #ece5df 0%, #ece6e0 3.125%, #ede7e2 6.25%, #efeae5 12.5%, #f1eeeb 25%, #f4f2f0 37.5%, #f5f4f3 43.75%, #f6f5f5 46.875%, #f7f7f7 50%,
        #f6f5f5 53.125%, #f5f4f3 56.25%, #f4f2f0 62.5%, #f1eeeb 75%, #efeae5 87.5%, #ede7e2 93.75%, #ece6e0 96.875%, #ece5df 100%);
    transform: translate3d(calc(var(--ag-bg-shift, 0) * -100vw), 0, 0);
    will-change: transform;
}
@media print { body:has(> .ag-header)::before { display: none; } }

/* Update 75: "Got questions?" eyebrow above the FAQs */
section.faqs .faq-eyebrow { display: flex; justify-content: center; width: 100%; margin: 0 0 16px 0; float: none; }
section.faqs .faq-eyebrow + h4 { margin-top: 0; }

/* ===== Update 76: every orange button and bar uses the brand gradient (#fd6f30 to #fd5108) ===== */
.card.form .button, .cta .inner .button, section.mobile-menu .button, .prompt .inner .button, .pricing-table .button-wrapper .button,
.fix-teaser .button, .copy-btn, .sec-cta .button:not(.secondary), .sec-prompt .button, .sec-unlock .button, .sec-copy .button,
.sec-report-actions .button:not(.secondary), .sec-share .button:not(.secondary), .ag-btn, a.ag-btn, .ag-scan .ag-btn {
    background-image: var(--brand-gradient);
    background-color: #fd5108;
}
/* Horizontal bars: the same colours, left to right */
.score-bar .inner, .summary.sum-designed .score-bar .inner, .scan-progress-bar .scan-progress-fill,
.score-bar .inner.band-poor, .page.card .page-score .score-bar .inner.band-poor { background: var(--brand-gradient-x) !important; }
.page.card .page-score .score-bar .inner:not([class*="band-"]) { background: var(--brand-gradient-x) !important; }
.audit-loader .loader div { background: var(--brand-gradient); }

/* Update 76: the "Want a hand fixing these?" card is on screen from the start, pinned to the bottom */
.sec-cta, .fixes-wrap .card.fixes > .geo-cta {
    position: fixed !important; left: 50%; bottom: 18px; top: auto; transform: translateX(-50%);
    width: min(640px, calc(100vw - 32px)) !important; max-width: none; margin: 0 !important; z-index: 50;
}
body:has(.sec-cta) { padding-bottom: 210px !important; }
@media screen and (max-width: 600px) {
    .sec-cta, .fixes-wrap .card.fixes > .geo-cta { bottom: 10px; padding: 14px 16px !important; gap: 10px; }
    .sec-cta > div:first-child p:not(:first-child) { display: none; }
    .sec-cta .button, .geo-cta .button { height: 38px; padding: 0 14px; font-size: 12px; }
    body:has(.sec-cta) { padding-bottom: 150px !important; }
}
@media print { .sec-cta { display: none !important; } }

/* Update 78: centred button under a card grid (Website hacked page) */
.ag-center-actions { justify-content: center; width: 100%; margin-top: 36px; }

/* Update 82: orange buttons always have white text, even inside content areas that colour links */
a.ag-btn, a.ag-btn:visited, a.ag-btn:hover, .ag-page a.ag-btn, .ag-callout a.ag-btn { color: #fff !important; text-decoration: none !important; }

/* Update 84: "How we make it happen" artwork (What is GEO page) */
.ag-how { align-items: center; }
.ag-how-art { float: none; width: 100%; }
.ag-how-art svg { display: block; width: 100%; max-width: 620px; height: auto; margin-left: auto; overflow: visible; }
@media screen and (max-width: 900px) { .ag-how-art svg { margin: 30px auto 0 auto; } }

/* Update 85: bigger "How we make it happen" artwork; smaller pricing card text */
@media screen and (min-width: 901px) {
    .ag-split.ag-how { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
    .ag-how-art svg { max-width: none; width: calc(100% + 40px); margin-right: -40px; }
}
.ag-price h3 { font-size: 18px !important; margin-bottom: 18px !important; }
.ag-price li, .ag-price li.no { font-size: 13px !important; line-height: 22px !important; }
.ag-price li.no::before { line-height: 22px !important; }
.ag-price li::before { top: 0.6em; }

/* Update 86: homepage report screenshot, shown exactly as supplied */
.ag-media-shot { background: #fff; }
.ag-media-shot img { display: block; width: 100%; height: auto; }

/* U89: AI security audit hero art (Ronnie's SVG, 682x654, draws its own rings).
   The SVG's outer ring starts 28px in, so shift left 28px to sit where the CSS rings did. */
.ag-hero-art.ag-hero-svg { width: 682px; height: 654px; margin-left: -28px; left: max(56%, 750px); }
/* keep the address pill clear of the hero note on mid-size screens */
.ag-hero-art.ag-hero-svg svg { display: block; width: 100%; height: 100%; overflow: visible; }
@media screen and (max-width: 1100px) { .ag-hero-art.ag-hero-svg { left: 62%; margin-left: 24px; } }


/* U94: blog pagination */
.ag-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 50px 0 20px 0; float: none; width: 100%; clear: both; }
.ag-pager a, .ag-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--brand-ink); background: #fff; border: 1px solid #e6e1dd; transition: none; }
.ag-pager a:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.ag-pager .is-current { background: var(--brand-gradient); border-color: transparent; color: #fff; }

/* U100: orange cards without the circle; eyebrow centred, content sits under it */
.ag-fcard .ag-orb { display: none !important; }
.ag-fcard .ag-eyebrow { align-self: center; }
.ag-fcard h3 { margin-top: 18px !important; }
.ag-fcard, .ag-cards-row .ag-fcard { min-height: 0 !important; }
/* U101: eyebrow-to-title gap doubled (18 -> 36px); bottom padding matches the top */
.ag-fcard h3 { margin-top: 36px !important; }
.ag-fcard { padding-bottom: 26px !important; }
@media screen and (max-width: 900px) { .ag-fcard { padding-bottom: 22px !important; } }

/* U102: paid GEO report was blank below the toolbar. .report-shell uses overflow:clip (U70),
   which unlike overflow:hidden does not contain floats, so the floated report body had zero
   height and was clipped away. Contain the floats explicitly. */
.report-shell, .report-shell > section.tabs, .report-shell > section.output, .report-shell > section.ai, .report-shell > section.general { display: flow-root !important; }
.report-shell > section.t.hide { display: none !important; }

/* U103: AI security report restyled to Ronnie's design (same top layout as the AEO Go report) */
.sec-report .sec-summary.card { padding: 0 !important; border-bottom: 1px solid #eeeae7; }
.sec-report .sec-sum { margin: 0 !important; }
.sec-report .sec-sum .sum-label strong { font-weight: 600; word-break: break-word; }
.sec-report .sec-sum .sec-critical-text { color: var(--brand-red); }
.sec-report .sec-block { padding: 22px 30px; border-top: 1px solid #eeeae7; }
.sec-report .sec-block > p, .sec-report .sec-block .sec-teaser p { margin: 0 0 4px 0; font-size: 12.5px; line-height: 20px; color: var(--brand-ink); }
.sec-report .sec-block .sec-alert { margin: 0 0 8px 0; }
.sec-report .sec-fixes-intro { border-top: 0; border-bottom: 1px solid #eeeae7; padding-top: 26px; }
.sec-report .sec-h { margin: 0 0 12px 0; font-size: 15px; line-height: 22px; font-weight: 700; letter-spacing: 0; text-align: left; }
.sec-report .sec-fixes-intro .sec-share { margin: 14px 0 0 0; }
.sec-report .sec-fixes-intro .sec-unlock { margin: 14px 0 0 0 !important; }
.sec-report .card.fixes { padding-top: 0 !important; }
/* Score over time */
.sec-report .sec-history { margin: 0; }
.sec-history-head { display: flex !important; align-items: center; gap: 12px; margin: 0 0 18px 0 !important; font-size: 13px !important; }
.sec-history-head strong { font-size: 14px; }
.sec-history-head .sec-up, .sec-history-head .sec-down, .sec-history-head .sec-flat { font-size: 12px; color: var(--brand-ink); font-weight: 400; }
.sec-history-head .sec-up::before { content: ""; display: inline-block; margin-right: 6px; border: 6px solid transparent; border-bottom: 10px solid var(--brand-green, #5cb85c); border-top: 0; vertical-align: 1px; }
.sec-history-head .sec-down::before { content: ""; display: inline-block; margin-right: 6px; border: 6px solid transparent; border-top: 10px solid var(--brand-red); border-bottom: 0; vertical-align: 1px; }
.sec-history-bars { height: 120px !important; gap: 4px !important; padding: 0 0 18px 0 !important; background: linear-gradient(#c9c9c9, #c9c9c9) left bottom 18px / 100% 1px no-repeat; }
.sec-history-bars li { position: relative; flex: 0 0 35px !important; max-width: 35px !important; font-size: 10.5px !important; }
.sec-history-bars .bar { border-radius: 3px 3px 0 0 !important; background: var(--brand-gradient-x) !important; }
.sec-history-bars li.band-very-poor .bar { background: var(--brand-red) !important; }
.sec-history-bars li.band-good .bar { background: #e9bb43 !important; }
.sec-history-bars li.band-very-good .bar { background: #5cb85c !important; }
.sec-history-bars .val { font-weight: 400 !important; margin-bottom: 4px !important; }
.sec-history-bars .day { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); margin: 0 !important; opacity: 1 !important; font-size: 9.5px; }
/* Paid report page: title on the page, report in one white card */
.sec-report-wrap .sec-inner { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
.sec-report-wrap .sec-inner > .sec-report-title, .sec-report-wrap .sec-inner > p.fix-muted { padding: 0 4px; }
.sec-report-wrap .sec-inner > p.fix-muted { margin: 0 0 22px 0; }
.sec-report-page .sec-report { background: #fff; border-radius: 20px; box-shadow: var(--brand-shadow); overflow: clip; display: flow-root; }
.sec-report-wrap .sec-inner > .card.form { background: #fff; border-radius: 20px; box-shadow: var(--brand-shadow); padding: 30px !important; }
@media screen and (max-width: 900px) {
    .sec-report .sec-block { padding: 20px 18px; }
    .sec-report .sec-sum { padding: 20px 18px !important; }
}
@media print { .sec-report-page .sec-report { box-shadow: none; border-radius: 0; } }
.sec-report .sec-fixes-intro + .card.fixes { border-top: 0 !important; margin-top: 0 !important; }
@media screen and (max-width: 900px) { .sec-report-header { width: auto !important; box-sizing: border-box; } }

/* U103: buy box after a free scan (GEO and security): full-width bar, text left, buttons right */
.overlay > .prompt {
    left: 0 !important; right: 0 !important; bottom: 0 !important; transform: none !important;
    width: 100% !important; max-width: none !important; box-sizing: border-box;
    border-radius: 18px 18px 0 0 !important; padding: 20px 40px !important;
    background: #fff; box-shadow: 0 -12px 40px rgba(60, 40, 30, 0.14);
}
.overlay > .prompt .inner { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; max-width: 1240px; width: 100%; margin: 0 auto; float: none; text-align: left; }
.overlay > .prompt .prompt-text, .overlay > .prompt .prompt-actions { float: none !important; width: auto !important; }
.overlay > .prompt .prompt-text h1 { margin: 0 0 6px 0 !important; font-size: 17px !important; line-height: 1.3; text-align: left; }
.overlay > .prompt .prompt-text p { margin: 0 !important; font-size: 12.5px !important; line-height: 20px !important; max-width: 820px; }
.overlay > .prompt .prompt-actions { display: flex !important; align-items: center; gap: 22px; flex-wrap: nowrap; }
.overlay > .prompt .prompt-actions .button { width: auto !important; max-width: none !important; height: 46px !important; padding: 0 26px !important; margin: 0 !important; font-size: 14px !important; white-space: nowrap; border-radius: 999px; }
.overlay > .prompt .prompt-actions .no-thanks { margin: 0 !important; width: auto !important; font-size: 13px; white-space: nowrap; }
@keyframes agPromptPulse {
    0%, 100% { box-shadow: 0 -12px 40px rgba(60, 40, 30, 0.14), 0 0 0 0 rgba(253, 111, 48, 0); background: #fff; }
    50% { box-shadow: 0 -12px 40px rgba(60, 40, 30, 0.14), 0 0 0 5px rgba(253, 111, 48, 0.7); background: #fff3ec; }
}
@keyframes agPromptBtnPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.overlay > .prompt.bulge { animation: agPromptPulse 0.9s ease-in-out 3 !important; }
.overlay > .prompt.bulge .prompt-actions .button { animation: agPromptBtnPulse 0.9s ease-in-out 3; }
@media screen and (max-width: 1000px) {
    .overlay > .prompt { padding: 16px 18px !important; }
    .overlay > .prompt .inner { grid-template-columns: 1fr; row-gap: 12px; }
    .overlay > .prompt .prompt-actions { flex-wrap: wrap; gap: 10px 18px; }
}
/* U106: buy box text shows on every screen; the results get room to scroll clear of the box */
.overlay .output-inner { padding-bottom: calc(var(--ag-prompt-h, 0px) + 24px) !important; }
@media print { .overlay > .prompt { display: none !important; } .overlay .output-inner { padding-bottom: 0 !important; } }
/* U104: history bars scale to their score (the % label above no longer squashes tall bars); more room above the dates */
.sec-history-bars { height: 150px !important; padding-bottom: 26px !important; background: linear-gradient(#c9c9c9, #c9c9c9) left bottom 26px / 100% 1px no-repeat !important; }
.sec-history-bars .bar { flex: 0 0 auto !important; height: calc((100% - 20px) * var(--s, 0.5)) !important; min-height: 2px; }
.sec-history-bars .val { line-height: 16px; height: 16px; }
.sec-history-bars .day { bottom: -24px !important; }
/* U104: tidy the security report PDF (print) */
@media print {
    html, body.sec-report-page { background: #fff !important; }
    body.sec-report-page::before { display: none !important; }
    .sec-report-wrap { padding: 0 !important; }
    .sec-report-wrap .sec-inner > .sec-report-title, .sec-report-wrap .sec-inner > p.fix-muted { display: none !important; }
    .sec-print-head { margin: 0 0 14px 0 !important; }
    .sec-report-page .sec-report { box-shadow: none !important; border-radius: 0 !important; border: 1px solid #e6e1dd; overflow: visible !important; }
    .sec-report .sec-sum { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 28px !important; padding: 18px 20px !important; }
    .sec-report .sec-sum .score { font-size: 36px !important; }
    .sec-report .sec-sum .sum-stats { gap: 12px !important; }
    .sec-report .sec-sum .sum-stats span { font-size: 10.5px !important; line-height: 14px !important; white-space: nowrap; }
    .sec-report .sec-sum .sum-stats strong { font-size: 26px !important; white-space: nowrap; }
    .sec-report .sec-block { padding: 16px 20px !important; break-inside: avoid; }
    .sec-report .sec-history-bars { height: 120px !important; }
    .sec-report .fix { break-inside: auto !important; }
    .sec-report .fix-head, .sec-report .fix-badges, .sec-report .fix-body h4, .sec-report .fix-body strong { break-after: avoid; }
    .sec-report .score-bar .inner, .sec-report .score-label, .sec-history-bars .bar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media print {
    .sec-report .card.fixes, .sec-report .fix-list { break-inside: auto !important; }
    .sec-report .score-bar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* U106: "Want a hand fixing these?" bar styled like the buy box: full width, text left, buttons right, text shown on every screen */
.sec-cta, .fixes-wrap .card.fixes > .geo-cta {
    display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; row-gap: 12px;
    left: 0 !important; right: 0 !important; bottom: 0 !important; transform: none !important;
    width: 100% !important; max-width: none !important; box-sizing: border-box; margin: 0 !important;
    border-radius: 18px 18px 0 0 !important; padding: 20px max(40px, calc((100vw - 1240px) / 2)) !important;
    background: #fff !important; box-shadow: 0 -12px 40px rgba(60, 40, 30, 0.14) !important;
}
.sec-cta > div:first-child { width: auto !important; float: none !important; flex: none; }
.sec-cta > div:first-child p { margin: 0 !important; font-size: 12.5px !important; line-height: 20px !important; max-width: 820px; }
.sec-cta > div:first-child p:first-child { margin: 0 0 6px 0 !important; font-size: 17px !important; line-height: 1.3 !important; }
.sec-cta > div:first-child p:not(:first-child) { display: block !important; }
.sec-cta .sec-cta-buttons { display: flex !important; align-items: center; gap: 22px; flex-wrap: nowrap; float: none !important; width: auto !important; }
.sec-cta .sec-cta-buttons .button { width: auto !important; max-width: none !important; height: 46px !important; padding: 0 26px !important; margin: 0 !important; font-size: 14px !important; white-space: nowrap; border-radius: 999px !important; }
body:has(.sec-cta) { padding-bottom: 150px !important; }
@media screen and (max-width: 1000px) {
    .sec-cta, .fixes-wrap .card.fixes > .geo-cta { grid-template-columns: 1fr; padding: 16px 18px !important; }
    .sec-cta .sec-cta-buttons { flex-wrap: wrap; gap: 10px 12px; }
    body:has(.sec-cta) { padding-bottom: 260px !important; }
}
@media screen and (max-width: 600px) {
    .sec-cta .sec-cta-buttons .button { height: 42px !important; padding: 0 18px !important; font-size: 13px !important; }
    body:has(.sec-cta) { padding-bottom: 300px !important; }
}
@media print { .sec-cta, .fixes-wrap .card.fixes > .geo-cta { display: none !important; } body:has(.sec-cta) { padding-bottom: 0 !important; } }

/* U107: white-label reports show the agency's logo (or name) in place of AEO Go's */
.agency-logo { display: inline-flex !important; align-items: center; width: auto !important; float: none !important; text-decoration: none !important; }
.agency-logo img { max-height: 44px !important; height: auto !important; width: auto !important; max-width: 200px !important; display: block; }
.agency-logo .agency-name { font-family: Poppins, Inter, sans-serif; font-size: 22px; font-weight: 700; color: var(--brand-ink); letter-spacing: -0.02em; }
.sec-print-head .agency-logo img { max-height: 40px !important; }

/* U108: smaller mobile menu items (Ronnie) */
section.mobile-menu ul { padding-top: 28px; }
section.mobile-menu ul li { margin: 0 0 12px 0; }
section.mobile-menu ul li a { font-size: 18px; letter-spacing: -0.01em; }
