/*
Theme Name: AEO.com.do
Theme URI: https://aeo.com.do
Author: AEO.com.do
Author URI: https://aeo.com.do
Description: Tema WordPress para AEO.com.do - Visibilidad en respuestas de IA para empresas dominicanas. Revision AEO gratuita, auditoria bilingue, herramientas y guias.
Version: 2.2.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aeo-es
*/

/* ================================ */
/* AEO.COM.DO - THEME STYLES */
/* ================================ */

:root {
    /* Brand v2: Obsidian + Electric Blue (2026-07 refresh) */
    --obsidian: #0b0f14;
    --black: #070b11;
    --midnight: #0f172a;
    --signal: #1b2b45;
    --blue: #0066ff;
    --blue-bright: #1673ff;
    --azure: #2fa8ff;
    --paper: #f7f8fa;
    --dark: #0b0f14;
    --dark-surface: #0f172a;
    --accent: #0066ff;
    --accent-light: #1673ff;
    --accent-hover: #0052d4; /* darker hover so white button text stays >= 4.5:1 */
    --accent-glow: rgba(0, 102, 255, 0.15);
    --white: #ffffff;
    --light-gray: #eef3f9;
    --gray: #5d6c81; /* was #64748b; darkened for 4.5:1 on --light-gray (breadcrumbs) */
    --text: #172033;
    --border: #dfe5ec;
    --dark-line: rgba(139, 171, 211, 0.17);
    --success: #2bd29d;
    --warning: #f59e0b;
}

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

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--midnight);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-light);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* General content spacing inside sections */
.aeo-section .container > h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.aeo-section .container > h2:first-child {
    margin-top: 0;
}
.aeo-section .container > p + h2,
.aeo-section .container > div + h2,
.aeo-section .container > ul + h2,
.aeo-section .container > ol + h2 {
    margin-top: 3rem;
}

/* ================================ */
/* HEADER */
/* ================================ */

.site-header {
    background: var(--black);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--dark-line);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-logo .accent {
    color: var(--accent);
}

.site-logo .tld {
    color: var(--gray);
    font-weight: 400;
    font-size: 1rem;
}

.custom-logo-link {
    display: inline-block;
    max-width: 180px;
}

.custom-logo {
    height: auto;
    max-height: 50px;
    width: auto;
    display: block;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: white;
}

.main-navigation a:hover::after {
    width: 100%;
}

.header-cta {
    background: var(--blue) !important;
    color: #ffffff !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 10px;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 14px 35px rgba(0, 102, 255, 0.24);
}

.header-cta:hover {
    background: var(--blue-bright) !important;
    transform: translateY(-1px);
}

.header-cta::after {
    display: none !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* ================================ */
/* HERO SECTION */
/* ================================ */

.aeo-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #0c1929 50%, #0e2a3d 100%);
    padding: 100px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.aeo-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    50% { transform: translate(-30px, 30px); opacity: 1; }
}

.aeo-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.aeo-hero-badge {
    display: inline-block;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.aeo-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: white;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.aeo-hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aeo-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
}

.aeo-hero-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--white) !important;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.aeo-hero-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
    color: var(--white) !important;
}

/* ================================ */
/* SECTION DEFAULTS */
/* ================================ */

.aeo-section {
    padding: 80px 2rem;
}

.aeo-section-dark {
    background: var(--dark);
    color: white;
}

.aeo-section-gray {
    background: var(--light-gray);
}

.aeo-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.aeo-section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.aeo-section-dark .aeo-section-header h2 {
    color: white;
}

.aeo-section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

.aeo-section-dark .aeo-section-header p {
    color: rgba(255, 255, 255, 0.6);
}

/* ================================ */
/* DIRECTORY LAYOUT (SIDEBAR + GRID) */
/* ================================ */

.aeo-directory-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Sidebar */
.aeo-sidebar {
    position: sticky;
    top: 80px;
}

.aeo-sidebar-inner {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
}

.aeo-filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.aeo-filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.aeo-filter-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark);
    margin-bottom: 1rem;
}

.aeo-filter-search input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--light-gray);
    transition: border-color 0.2s ease;
}

.aeo-filter-search input:focus {
    border-color: var(--accent);
    background: white;
}

.aeo-filter-search input::placeholder {
    color: var(--gray);
}

.aeo-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aeo-filter-list li {
    margin-bottom: 0.25rem;
}

.aeo-filter-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
    transition: background 0.15s ease;
}

.aeo-filter-label:hover {
    background: var(--light-gray);
}

.aeo-filter-label input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.aeo-filter-label span:first-of-type {
    flex: 1;
}

.aeo-filter-count {
    background: var(--light-gray);
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
}

.aeo-filter-reset {
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aeo-filter-reset:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Top bar */
.aeo-directory-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.aeo-results-count {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
}

.aeo-mobile-filter-toggle {
    display: none;
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
}

/* No results */
.aeo-no-results {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    padding: 3rem 1rem;
    grid-column: 1 / -1;
}

/* ================================ */
/* TOOL CARDS */
/* ================================ */

.aeo-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.aeo-tool-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.aeo-tool-card.hidden {
    display: none;
}

.aeo-tool-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.1);
    transform: translateY(-3px);
}

.aeo-tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.aeo-tool-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.aeo-tool-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.aeo-tool-category {
    display: inline-block;
    background: var(--light-gray);
    color: var(--gray);
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.aeo-tool-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.aeo-tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.aeo-tool-tag {
    background: rgba(6, 182, 212, 0.08);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.aeo-tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.aeo-tool-pricing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aeo-price-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aeo-price-free {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.aeo-price-freemium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.aeo-price-paid {
    background: rgba(100, 116, 139, 0.1);
    color: var(--gray);
}

.aeo-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
}

.aeo-tool-link:hover {
    gap: 0.75rem;
}

/* ================================ */
/* CTA COMPONENTS */
/* ================================ */

.aeo-cta-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #0e2a3d 100%);
    padding: 60px 2rem;
    text-align: center;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.aeo-cta-banner h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.aeo-cta-banner p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.aeo-inline-cta {
    background: linear-gradient(135deg, var(--dark), #0e2a3d);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.aeo-inline-cta h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.aeo-inline-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.aeo-sidebar-cta {
    background: linear-gradient(135deg, var(--dark), #0e2a3d);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.aeo-sidebar-cta h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.aeo-sidebar-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-cta {
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-cta a {
    color: var(--accent);
    font-weight: 600;
}

/* ================================ */
/* SERVICES PAGE */
/* ================================ */

.aeo-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.aeo-service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.aeo-service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.1);
    transform: translateY(-3px);
}

.aeo-service-featured {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.aeo-service-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent);
    color: var(--dark);
    padding: 0.3rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.aeo-service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.aeo-service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.aeo-service-card > p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.aeo-service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.aeo-service-features li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.aeo-service-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.aeo-service-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--white) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.aeo-service-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    color: var(--white) !important;
}

/* Why / Stats Grid */
.aeo-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.aeo-why-item {
    text-align: center;
}

.aeo-why-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.aeo-why-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Process Grid */
.aeo-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.aeo-process-step {
    text-align: center;
}

.aeo-process-num {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.aeo-process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.aeo-process-step p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ================================ */
/* WHATSAPP */
/* ================================ */

.aeo-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 997;
    transition: all 0.3s ease;
}

.aeo-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.aeo-whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: var(--dark) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 1rem;
}

.aeo-whatsapp-btn:hover {
    background: #20bd5a;
    transform: translateY(-1px);
    color: var(--dark) !important;
}

.aeo-contact-primary {
    border: 2px solid #25D366;
    background: rgba(37, 211, 102, 0.03);
}

/* ================================ */
/* ARTICLE LAYOUT (GUIDES) */
/* ================================ */

.aeo-article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.aeo-article-content {
    max-width: 720px;
}

.aeo-article-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.aeo-article-content h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
}

.aeo-article-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.aeo-article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.aeo-article-content ol,
.aeo-article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.aeo-article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.aeo-article-sidebar {
    position: sticky;
    top: 80px;
}

.aeo-article-toc {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.aeo-article-toc h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: var(--dark);
}

.aeo-article-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aeo-article-toc li {
    margin-bottom: 0.4rem;
}

.aeo-article-toc a {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.4;
    display: block;
    padding: 0.25rem 0;
}

.aeo-article-toc a:hover {
    color: var(--accent);
}

.aeo-article-cta {
    background: linear-gradient(135deg, var(--dark), #0e2a3d);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.aeo-article-cta h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.aeo-article-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

/* Info Cards Grid */
.aeo-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.aeo-info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
}

.aeo-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.aeo-info-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Comparison Table */
.aeo-comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.aeo-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
}

.aeo-comparison-table th {
    background: var(--dark);
    color: white;
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
}

.aeo-comparison-table td {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.aeo-comparison-table tr:nth-child(even) td {
    background: var(--light-gray);
}

/* ================================ */
/* FAQ PAGE */
/* ================================ */

.aeo-faq-section {
    margin-bottom: 3rem;
}

.aeo-faq-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}

.aeo-faq-item {
    margin-bottom: 2rem;
}

.aeo-faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.aeo-faq-item p {
    color: var(--text);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ================================ */
/* GLOSSARY */
/* ================================ */

.aeo-glossary-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.aeo-glossary-item {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.aeo-glossary-item:hover {
    border-color: var(--accent);
}

.aeo-glossary-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.aeo-glossary-item p {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ================================ */
/* CONTACT */
/* ================================ */

.aeo-contact-options {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ================================ */
/* RESOURCE / GUIDE CARDS */
/* ================================ */

.aeo-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.aeo-guide-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.aeo-guide-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.aeo-guide-image {
    height: 200px;
    background: linear-gradient(135deg, var(--dark), var(--dark-surface));
    display: flex;
    align-items: center;
    justify-content: center;
}

.aeo-guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aeo-guide-body {
    padding: 1.5rem;
}

.aeo-guide-type {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.aeo-guide-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.aeo-guide-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ================================ */
/* NEWSLETTER SIGNUP */
/* ================================ */

.aeo-newsletter {
    background: linear-gradient(135deg, var(--dark) 0%, #0e2a3d 100%);
    padding: 60px 2rem;
    text-align: center;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.aeo-newsletter h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.aeo-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.aeo-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.aeo-newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.95rem;
}

.aeo-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.aeo-newsletter-form button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.aeo-newsletter-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ================================ */
/* STATS BAR */
/* ================================ */

.aeo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.aeo-stat {
    text-align: center;
}

.aeo-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.aeo-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ================================ */
/* BLOG INDEX */
/* ================================ */

/* Featured post */
.aeo-blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--light-gray);
    border-radius: 20px;
    padding: 3rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.aeo-blog-featured:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.1);
    transform: translateY(-3px);
    color: inherit;
}

.aeo-blog-badge {
    display: inline-block;
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.aeo-blog-featured-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--dark);
}

.aeo-blog-featured-content p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.aeo-blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.aeo-blog-featured-visual {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark), #0e2a3d);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aeo-blog-featured-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aeo-blog-featured-icon {
    font-size: 4rem;
    opacity: 0.4;
}

/* Blog layout with sidebar */
.aeo-blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

/* Blog grid */
.aeo-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.aeo-blog-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog card */
.aeo-blog-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.aeo-blog-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.1);
    transform: translateY(-3px);
    color: inherit;
}

.aeo-blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark), var(--dark-surface));
}

.aeo-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aeo-blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.aeo-blog-card-placeholder span {
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(6, 182, 212, 0.25);
    letter-spacing: 2px;
}

.aeo-blog-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.aeo-blog-card-body time {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.aeo-blog-card-body h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.aeo-blog-card-body p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aeo-blog-card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: auto;
}

.aeo-blog-card:hover .aeo-blog-card-link {
    color: var(--accent-light);
}

/* Blog sidebar */
.aeo-blog-sidebar {
    position: sticky;
    top: 80px;
}

.aeo-blog-sidebar-links {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.aeo-blog-sidebar-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: var(--dark);
}

.aeo-blog-sidebar-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aeo-blog-sidebar-links li {
    margin-bottom: 0.5rem;
}

.aeo-blog-sidebar-links a {
    color: var(--gray);
    font-size: 0.9rem;
    display: block;
    padding: 0.3rem 0;
}

.aeo-blog-sidebar-links a:hover {
    color: var(--accent);
}

/* Blog pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-links .current {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

/* ================================ */
/* SINGLE POST */
/* ================================ */

.aeo-post-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

/* Visible Breadcrumbs [FIX H6] */
.aeo-breadcrumb {
    background: var(--light-gray);
    padding: 0.75rem 2rem;
    border-bottom: 1px solid var(--border);
}

.aeo-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
}

.aeo-breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--gray);
}

.aeo-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--border);
}

.aeo-breadcrumb a {
    color: var(--gray);
    text-decoration: none;
}

.aeo-breadcrumb a:hover {
    color: var(--accent);
}

.aeo-breadcrumb li[aria-current="page"] {
    color: var(--text);
    font-weight: 500;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aeo-post-back {
    color: var(--accent) !important;
    font-weight: 600;
    text-decoration: none;
}

.aeo-post-hero-sep {
    color: rgba(255, 255, 255, 0.3);
}

.aeo-post-hero-meta time,
.aeo-post-hero-meta span {
    color: rgba(255, 255, 255, 0.6);
}

.aeo-blog-read-time {
    font-size: 0.85rem;
}

.aeo-post-featured-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.aeo-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.aeo-post-content .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.aeo-post-content .entry-content h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    scroll-margin-top: 90px;
}

.aeo-post-content .entry-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.aeo-post-content .entry-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.aeo-post-content .entry-content ul,
.aeo-post-content .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.aeo-post-content .entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.aeo-post-content .entry-content a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(6, 182, 212, 0.3);
    text-underline-offset: 2px;
}

.aeo-post-content .entry-content a:hover {
    text-decoration-color: var(--accent);
}

.aeo-post-content .entry-content strong {
    color: var(--dark);
    font-weight: 700;
}

/* Post category link in hero */
.aeo-post-cat-link {
    color: var(--accent) !important;
    font-weight: 600;
    text-decoration: none;
}

/* Post tags */
.aeo-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.aeo-post-tag {
    display: inline-block;
    background: rgba(6, 182, 212, 0.08);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.aeo-post-tag:hover {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-light);
}

/* Blog card category pill */
.aeo-blog-card-cat {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/* Blog card footer (date + link) */
.aeo-blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.aeo-blog-card-footer time {
    font-size: 0.78rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 0;
}

/* Sidebar category count */
.aeo-cat-count {
    color: var(--gray);
    font-size: 0.8rem;
    font-weight: 400;
}

/* ================================ */
/* FOOTER */
/* ================================ */

.site-footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--dark-line);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--azure);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.62); /* 0.4 was 3.8:1 on the dark footer; 0.62 clears 4.5:1 */
    font-size: 0.85rem;
}

/* ================================ */
/* RESPONSIVE */
/* ================================ */

@media (max-width: 968px) {
    .aeo-blog-featured {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }

    .aeo-blog-featured-visual {
        order: -1;
    }

    .aeo-blog-layout {
        grid-template-columns: 1fr;
    }

    .aeo-blog-grid {
        grid-template-columns: 1fr;
    }

    .aeo-blog-grid-3 {
        grid-template-columns: 1fr;
    }

    .aeo-blog-sidebar {
        position: static;
    }

    .aeo-directory-layout {
        grid-template-columns: 1fr;
    }

    .aeo-article-layout {
        grid-template-columns: 1fr;
    }

    .aeo-article-sidebar {
        position: static;
        order: -1;
    }

    .aeo-why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .aeo-process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .aeo-services-grid {
        grid-template-columns: 1fr;
    }

    .aeo-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 999;
        background: white;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 1.5rem;
    }

    .aeo-sidebar.active {
        left: 0;
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    }

    .aeo-sidebar-inner {
        border: none;
        padding: 0;
    }

    .aeo-sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }

    .aeo-sidebar-overlay.active {
        display: block;
    }

    .aeo-mobile-filter-toggle {
        display: inline-block;
    }

    .aeo-tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .main-navigation.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        padding: 1.5rem 2rem;
        border-top: 1px solid rgba(6, 182, 212, 0.2);
    }

    .main-navigation.active ul {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .aeo-hero {
        padding: 60px 1.5rem;
    }

    .aeo-guides-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .aeo-newsletter-form {
        flex-direction: column;
    }

    .aeo-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================ */
/* BRAND + ACCESSIBILITY PASS (v1.2.0) */
/* ================================ */

:root {
    --accent-text: #0057d9; /* WCAG AA blue for text on light backgrounds (5.4:1 on white) */
}

/* Links on light backgrounds need 4.5:1. #0066ff on white is 4.8:1, #0057d9 is safer at small sizes */
body a {
    color: var(--accent-text);
}

/* Links inside body text need a non-colour cue (WCAG 1.4.1 / axe link-in-text-block) */
p > a:not([class]) {
    text-decoration: underline;
}
.site-header a, .site-footer a, .aeo-hero a, .aeo-section-dark a, .aeo-newsletter a {
    color: inherit;
}
body a:hover {
    color: var(--accent);
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--accent);
    color: var(--dark) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 10px 0;
    font-weight: 700;
}
.skip-link:focus {
    left: 0;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
    /* The global "a { transition: all }" animated outline-width from 0, so the
       ring was invisible at the moment focus landed. Focus must be instant. */
    transition: none;
}

/* SVG logo sizing */
.site-logo-img {
    display: block;
    height: 55px;
    width: auto;
}
@media (max-width: 768px) {
    .site-logo-img { height: 44px; }
}

/* Form feedback messages */
.aeo-form-msg {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.aeo-form-msg.success { color: var(--success); }
.aeo-form-msg.error { color: #fca5a5; }
.aeo-section .aeo-form-msg.error { color: #b91c1c; }

/* ================================ */
/* INTERACTIVE TOOL PAGES */
/* ================================ */

.aeo-app {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    margin: 2rem 0;
}

.aeo-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 900px) {
    .aeo-app-grid { grid-template-columns: 1fr; }
}

.aeo-app label {
    display: block;
    font-weight: 700;
    color: var(--dark);
    margin: 1rem 0 0.35rem;
    font-size: 0.92rem;
}

.aeo-app input[type="text"],
.aeo-app input[type="url"],
.aeo-app input[type="email"],
.aeo-app select,
.aeo-app textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--light-gray);
}
.aeo-app textarea {
    min-height: 140px;
    resize: vertical;
}
.aeo-app input:focus, .aeo-app select:focus, .aeo-app textarea:focus {
    outline: 3px solid var(--accent);
    outline-offset: 1px;
    background: white;
}

.aeo-app-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 1.25rem;
    transition: all 0.2s ease;
}
.aeo-app-btn:hover { background: var(--accent-hover); }
.aeo-app-btn.secondary {
    background: transparent;
    border: 2px solid var(--accent-text);
    color: var(--accent-text);
}

.aeo-app-output {
    background: var(--dark);
    color: #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 480px;
    overflow: auto;
    margin-top: 1rem;
}

.aeo-app-output:empty { display: none; }

/* SERP preview */
.aeo-serp-preview {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
    background: white;
    font-family: Arial, sans-serif;
}
.aeo-serp-url { color: #202124; font-size: 0.8rem; }
.aeo-serp-title { color: #1a0dab; font-size: 1.25rem; margin: 0.2rem 0; line-height: 1.3; }
.aeo-serp-desc { color: #4d5156; font-size: 0.88rem; line-height: 1.55; }

.aeo-char-count {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 0.3rem;
}
.aeo-char-count.over { color: #b91c1c; font-weight: 700; }
.aeo-char-count.good { color: var(--success); }

/* Checker results */
.aeo-check-list { list-style: none; margin-top: 1rem; }
.aeo-check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}
.aeo-check-icon { flex-shrink: 0; font-weight: 800; }
.aeo-check-pass .aeo-check-icon { color: var(--success); }
.aeo-check-fail .aeo-check-icon { color: #b91c1c; }
.aeo-check-warn .aeo-check-icon { color: var(--warning); }

.aeo-score-badge {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--dark);
    background: var(--accent-glow);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 0.5rem 1.5rem;
    margin-top: 1rem;
}

/* Free tools hub cards */
.aeo-free-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.aeo-free-tool-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.25s ease;
    display: block;
    text-decoration: none;
}
.aeo-free-tool-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.12);
}
.aeo-free-tool-card h3 { margin: 0.75rem 0 0.5rem; font-size: 1.1rem; }
.aeo-free-tool-card p { color: var(--gray); font-size: 0.9rem; margin: 0; }
.aeo-free-tool-emoji { font-size: 2rem; }
.aeo-free-tool-badge {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent-text);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    margin-top: 0.75rem;
}

/* ================================ */
/* FOOTER LAYOUT v2 (4 balanced columns) */
/* ================================ */

.footer-content {
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-brand p {
    max-width: 260px;
}

.footer-bottom nav a {
    color: rgba(255, 255, 255, 0.62); /* 0.4 was 3.8:1 on the dark footer; 0.62 clears 4.5:1 */
    font-size: 0.85rem;
}
.footer-bottom nav a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 540px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-bottom nav a {
        display: block;
        margin: 0.4rem 0;
    }
}

/* ================================ */
/* DESIGN PASS v3: icon system + slim heroes */
/* ================================ */

/* Line icons inherit colour from context */
.aeo-icon { display: inline-block; vertical-align: middle; }
.aeo-tool-icon { color: var(--accent-text); }
.aeo-tool-icon .aeo-icon { width: 22px; height: 22px; }
.aeo-free-tool-emoji { color: var(--accent-text); display: inline-block; }
.aeo-service-icon { color: var(--accent-text); margin-bottom: 1.25rem; }
.aeo-contact-icon { color: var(--accent-text); margin-bottom: 0.85rem; }
.aeo-guide-image .aeo-icon { color: var(--accent); opacity: 0.9; }
.aeo-blog-featured-icon { color: var(--accent); opacity: 0.55; }
.aeo-why-icon .aeo-icon { color: var(--accent); }

/* Slim hero for inner pages: homepage keeps the full hero */
.aeo-hero-slim {
    padding: 38px 2rem 32px;
}
.aeo-hero-slim h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin-bottom: 0.7rem;
    letter-spacing: -0.5px;
}
.aeo-hero-slim p {
    font-size: 1.02rem;
    margin-bottom: 0.9rem;
    max-width: 640px;
}
.aeo-hero-slim .aeo-hero-badge {
    margin-bottom: 0.9rem;
    font-size: 0.78rem;
    padding: 0.3rem 0.85rem;
}
.aeo-hero-slim .aeo-hero-cta {
    padding: 0.75rem 1.8rem;
    font-size: 0.95rem;
}
.aeo-hero-slim::before {
    display: none; /* no animated glow on inner pages, calmer feel */
}

/* Fix: why-item text was styled for dark sections only and was invisible on light backgrounds */
.aeo-section:not(.aeo-section-dark) .aeo-why-item p {
    color: var(--gray);
}
.aeo-why-icon {
    margin-bottom: 0.9rem;
}

/* Nav legibility: brighter links, clearer hover */
.main-navigation a {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}
.main-navigation a:hover {
    color: var(--accent-light);
}

/* ================================ */
/* DESIGN PASS v4: brand imagery layouts */
/* ================================ */

/* Split hero with illustration */
.aeo-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}
.aeo-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 24px 70px rgba(6, 182, 212, 0.22);
}

/* Two-column section with illustration */
.aeo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.aeo-split-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.18);
}

/* Compact stacked benefit list inside split layouts */
.aeo-why-grid-compact {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    max-width: none;
    margin: 0;
}
.aeo-why-grid-compact .aeo-why-item {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.aeo-why-grid-compact .aeo-why-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}
.aeo-why-grid-compact .aeo-why-item p {
    margin: 0;
    font-size: 1rem;
}

/* Accent numbers need the darker cyan on light backgrounds (contrast) */
.aeo-section-gray .aeo-why-number,
.aeo-section:not(.aeo-section-dark) .aeo-why-number {
    color: var(--accent-text);
}

/* Illustrations inside post content */
.entry-content .aeo-post-img {
    margin: 2rem 0;
}
.entry-content .aeo-post-img img {
    border-radius: 14px;
    display: block;
}

@media (max-width: 900px) {
    .aeo-hero-grid,
    .aeo-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .aeo-split-visual {
        order: -1;
    }
}

/* ================================ */
/* HOME v2 - BRAND REFRESH (v8 mockup, 2026-07) */
/* ================================ */

.shell { width: min(calc(100% - 48px), 1220px); margin-inline: auto; }
.section { padding: 112px 0; }
.section-dark { color: white; background: var(--black); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-soft { background: #eef3f9; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: var(--azure);
    font-size: .8125rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow.on-light { color: var(--blue); }
.section-title {
    margin-bottom: 22px;
    font-size: clamp(2.25rem, 4.3vw, 4.45rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.055em;
}
.section-title .blue { color: var(--blue); }
.lede { max-width: 660px; margin-bottom: 0; color: var(--gray); font-size: 1.05rem; line-height: 1.68; }

.hero-v2 {
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 48px 0 56px;
    color: white;
    background:
        radial-gradient(circle at 78% 36%, rgba(0,102,255,.18), transparent 29%),
        linear-gradient(116deg, #070b11 0%, #091321 56%, #07101c 100%);
}
.hero-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .2;
    background-image:
        linear-gradient(rgba(68,107,157,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(68,107,157,.14) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: 66px; }
.hero-grid > * { min-width: 0; }
.hero-v2 h1 {
    max-width: 690px;
    margin-bottom: 20px;
    color: white;
    font-size: clamp(2.4rem, 3.7vw, 3.7rem);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.055em;
}
.hero-v2 h1 span { color: var(--blue-bright); }
.hero-v2 .lede { max-width: 620px; color: rgba(227,235,245,.72); font-size: 1.08rem; }
.hero-v2 .lede strong { color: white; font-weight: 600; }
.audience-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.audience-chip {
    padding: 7px 10px;
    color: rgba(232,240,250,.78);
    border: 1px solid rgba(133,169,214,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    font-size: .8125rem;
    font-weight: 600;
}

.review-form {
    position: relative;
    z-index: 3;
    margin-top: 24px;
    padding: 21px;
    border: 1px solid rgba(142,177,222,.2);
    border-radius: 17px;
    background: rgba(9,20,35,.78);
    box-shadow: 0 22px 70px rgba(0,0,0,.24);
    backdrop-filter: blur(14px);
}
.form-label { display: block; margin: 0 0 8px; color: rgba(236,242,250,.84); font-size: .875rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1.12fr .88fr auto; gap: 10px; }
.review-form input, .review-form select {
    width: 100%;
    min-width: 0;
    height: 51px;
    padding: 0 14px;
    color: white;
    border: 1px solid rgba(154,184,222,.24);
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    font: inherit;
}
.review-form input::placeholder { color: rgba(223,232,244,.62); }
.review-form input:focus, .review-form select:focus { border-color: var(--azure); box-shadow: 0 0 0 3px rgba(47,168,255,.14); }
.review-form select { margin-top: 10px; color: rgba(239,244,250,.78); }
.review-form option { color: var(--text); background: white; }
.submit-button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 51px;
    padding: 0 20px;
    color: white;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--blue);
    box-shadow: 0 14px 35px rgba(0,102,255,.24);
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: .015em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    font-family: inherit;
}
.submit-button:hover, .btn:hover { transform: translateY(-2px); color: white; background: var(--blue-bright); box-shadow: 0 18px 40px rgba(0,102,255,.32); }
.submit-button:disabled { opacity: .6; transform: none; cursor: default; }
.form-meta { display: flex; align-items: center; gap: 9px; margin-top: 13px; color: rgba(221,231,244,.7); font-size: .8125rem; }
.form-meta::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(43,210,157,.08); }
.form-status { margin: 12px 0 0; color: #86e8c6; font-size: .875rem; }
.form-status.error { color: #ffb4a8; }
.form-status:empty { display: none; }

.report-stage { position: relative; min-height: 610px; display: grid; place-items: center; }
.report-glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: rgba(0,102,255,.14); filter: blur(70px); }
.report-sheet {
    position: relative;
    z-index: 3;
    width: min(500px, 92%);
    padding: 29px;
    color: var(--text);
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #edf3fa);
    box-shadow: 0 38px 100px rgba(0,0,0,.43);
    transform: rotate(-2deg);
}
.report-sheet::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 18px -19px -18px 22px;
    border: 1px solid rgba(86,134,195,.25);
    border-radius: 17px;
    background: #dfe9f5;
    transform: rotate(5deg);
}
.sample-tag {
    position: absolute;
    z-index: 5;
    top: 25px;
    right: -12px;
    padding: 9px 12px;
    color: white;
    border-radius: 8px;
    background: var(--blue);
    box-shadow: 0 12px 25px rgba(0,102,255,.28);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #dbe3ec; }
.mini-brand { display: flex; align-items: center; gap: 9px; font-size: .8125rem; font-weight: 800; letter-spacing: .06em; }
.selection-mark { position: relative; width: 21px; height: 21px; flex: 0 0 auto; border: 6px solid var(--blue); border-radius: 50%; }
.selection-mark::after { content: ""; position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--blue); }
.report-head small { color: #687990; font-size: .75rem; }
.report-sheet h2 { margin: 25px 0 5px; font-size: 1.55rem; line-height: 1; letter-spacing: -.04em; }
.report-url { color: #5f7086; font-size: .8125rem; }
.language-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.language-card { padding: 15px; border: 1px solid #dce5ee; border-radius: 11px; background: rgba(255,255,255,.7); }
.language-card span { display: block; margin-bottom: 7px; color: #697a90; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.language-card strong { font-size: .875rem; }
.signal-list { display: grid; gap: 10px; }
.signal-item { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid #dfe7ef; border-radius: 10px; background: white; font-size: .8125rem; }
.signal-num { color: var(--blue); font-size: .75rem; font-weight: 900; }
.signal-state { padding: 4px 7px; color: #506177; border-radius: 999px; background: #edf2f7; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.report-note { display: flex; gap: 10px; margin-top: 18px; padding: 13px; color: #40536a; border-radius: 10px; background: #e6f1ff; font-size: .75rem; line-height: 1.5; }
.report-note .selection-mark { width: 17px; height: 17px; border-width: 5px; }
.report-caption { position: absolute; z-index: 5; right: 5%; bottom: 20px; padding: 9px 12px; color: rgba(226,235,246,.74); border: 1px solid rgba(132,168,214,.22); border-radius: 8px; background: rgba(5,13,23,.86); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

.promise-bar { position: relative; z-index: 5; color: white; background: #05090e; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.promise-grid { min-height: 78px; display: grid; grid-template-columns: 1.25fr repeat(3,1fr); }
.promise-item { display: flex; align-items: center; gap: 12px; padding: 18px 24px; color: rgba(225,235,247,.72); border-right: 1px solid rgba(255,255,255,.08); font-size: .8125rem; }
.promise-item:first-child { padding-left: 0; color: white; font-weight: 700; }
.promise-item:last-child { border-right: 0; }
.promise-index { color: var(--azure); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }

.market-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.market-copy .lede { max-width: 530px; }
.market-points { display: grid; gap: 14px; margin-top: 30px; }
.market-point { display: flex; align-items: center; gap: 12px; color: #41516a; font-size: .875rem; font-weight: 600; }
.market-point .selection-mark { width: 18px; height: 18px; border-width: 5px; }
.question-board { position: relative; min-height: 600px; overflow: hidden; padding: 44px; border-radius: 28px; background: #09111d; box-shadow: 0 28px 80px rgba(12,25,45,.13); }
.question-board::before { content: ""; position: absolute; width: 370px; height: 370px; top: 105px; left: 50%; transform: translateX(-50%); border: 70px solid rgba(0,102,255,.08); border-radius: 50%; }
.query {
    position: relative;
    z-index: 2;
    max-width: 355px;
    padding: 17px 19px;
    color: rgba(225,235,247,.76);
    border: 1px solid rgba(122,161,212,.18);
    border-radius: 13px;
    background: rgba(14,27,45,.88);
    box-shadow: 0 16px 38px rgba(0,0,0,.22);
    font-size: .875rem;
}
.query + .query { margin-top: 16px; }
.query:nth-child(2), .query:nth-child(4) { margin-left: auto; }
.query-lang { display: inline-block; margin-bottom: 8px; color: var(--azure); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.selected-query { border-color: rgba(47,168,255,.68); background: linear-gradient(145deg, rgba(15,36,64,.98), rgba(7,17,30,.98)); box-shadow: 0 24px 60px rgba(0,0,0,.3), 0 0 45px rgba(0,102,255,.12); }
.query-answer { display: flex; align-items: center; gap: 9px; margin-top: 12px; color: white; font-weight: 700; }
.query-answer .selection-mark { width: 17px; height: 17px; border-width: 5px; }
.board-label { position: absolute; bottom: 22px; left: 26px; color: rgba(220,230,242,.64); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.review-head, .tools-head { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 70px; margin-bottom: 52px; }
.review-head .lede, .tools-head .lede { margin: 0; }
.review-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.review-card { position: relative; min-height: 325px; padding: 32px; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: white; }
.review-card::after { content: ""; position: absolute; right: -55px; bottom: -55px; width: 150px; height: 150px; border: 27px solid rgba(0,102,255,.05); border-radius: 50%; }
.card-num { display: block; margin-bottom: 70px; color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .09em; }
.review-card h3 { margin-bottom: 12px; font-size: 1.25rem; letter-spacing: -.025em; }
.review-card p { margin: 0; color: var(--gray); font-size: .9375rem; }
.boundary-note { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; margin-top: 22px; padding: 20px 23px; color: #41516a; border: 1px solid #d9e3ee; border-radius: 14px; background: #e9f0f8; font-size: .875rem; }
.boundary-note .selection-mark { width: 21px; height: 21px; border-width: 6px; }

.audit { position: relative; overflow: hidden; }
.audit::before { content: ""; position: absolute; top: -300px; right: -240px; width: 730px; height: 730px; border: 120px solid rgba(0,102,255,.1); border-radius: 50%; }
.audit-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 72px; }
.audit-price { display: flex; align-items: flex-end; gap: 8px; margin: 30px 0 6px; }
.audit-price strong { font-size: 4.7rem; line-height: .8; letter-spacing: -.07em; }
.audit-price span { color: rgba(226,235,246,.7); font-size: .875rem; }
.audit-sub { color: rgba(226,235,246,.72); font-size: .875rem; }
.audit-grid .btn { margin-top: 28px; }
.audit-small { max-width: 510px; margin-top: 16px; color: rgba(222,232,244,.66); font-size: .8125rem; }
.audit-panel { padding: 42px; border: 1px solid rgba(122,161,212,.2); border-radius: 28px; background: rgba(15,27,45,.72); box-shadow: 0 32px 80px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.audit-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.audit-panel-head h3 { margin: 0; font-size: 1.35rem; }
.paid-tag { padding: 7px 9px; color: #abd4ff; border: 1px solid rgba(47,168,255,.31); border-radius: 7px; background: rgba(0,102,255,.1); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.audit-list { display: grid; gap: 0; margin-top: 11px; }
.audit-item { display: grid; grid-template-columns: 26px 1fr; gap: 13px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(231,238,247,.8); font-size: .875rem; }
.audit-item:last-child { border-bottom: 0; }
.audit-item .selection-mark { width: 18px; height: 18px; border-width: 5px; }

.method-intro { display: grid; grid-template-columns: 1fr .82fr; align-items: end; gap: 70px; margin-bottom: 55px; }
.method-intro .lede { margin: 0; }
.process { border-top: 1px solid var(--border); }
.process-row { display: grid; grid-template-columns: 100px .7fr 1.15fr; gap: 36px; align-items: start; padding: 29px 0; border-bottom: 1px solid var(--border); }
.process-num { color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.process-row h3 { margin: 0; font-size: 1.05rem; }
.process-row p { margin: 0; color: var(--gray); font-size: .9375rem; }

.audience-section { color: white; background: #08101b; }
.audience-section h2, .audience-section h3 { color: white; }
.audience-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 74px; align-items: start; }
.audience-section .lede { color: rgba(224,233,244,.7); }
.audience-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.audience-card { min-height: 345px; padding: 31px; border: 1px solid rgba(139,171,211,.17); border-radius: 20px; background: rgba(255,255,255,.025); }
.audience-card .card-num { margin-bottom: 46px; color: var(--azure); }
.audience-card h3 { margin-bottom: 13px; font-size: 1.25rem; }
.audience-card p { color: rgba(226,235,246,.7); font-size: .875rem; }
.sector-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.sector-list span { padding: 7px 9px; color: rgba(230,238,248,.78); border: 1px solid rgba(144,177,219,.2); border-radius: 999px; font-size: .75rem; }

.tools-grid-v2 { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.tool-card { min-height: 270px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(15,23,42,.09); }
.tool-symbol { position: relative; width: 35px; height: 35px; margin-bottom: 58px; border: 8px solid var(--blue); border-radius: 50%; }
.tool-symbol.square { border-width: 2px; border-radius: 8px; }
.tool-symbol.square::before, .tool-symbol.square::after { content: ""; position: absolute; left: 7px; width: 17px; height: 2px; background: var(--blue); }
.tool-symbol.square::before { top: 9px; }
.tool-symbol.square::after { top: 18px; }
.tool-card h3 { margin-bottom: 9px; font-size: 1rem; }
.tool-card p { margin: 0 0 20px; color: var(--gray); font-size: .875rem; }
.tool-link { margin-top: auto; color: var(--accent-text); font-size: .75rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }

.transparency-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.transparency-copy .lede { max-width: 580px; }
.principles { border-top: 1px solid var(--border); }
.principle { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--border); }
.principle span { color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.principle h3 { margin: 0 0 6px; font-size: .98rem; }
.principle p { margin: 0; color: var(--gray); font-size: .875rem; }

.final-cta { padding: 82px 0; background: white; }
.cta-panel { position: relative; overflow: hidden; padding: 78px 8%; color: white; border-radius: 28px; background: #07101b; }
.cta-panel::before { content: ""; position: absolute; top: -210px; right: -120px; width: 600px; height: 600px; border: 94px solid rgba(0,102,255,.16); border-radius: 50%; }
.cta-panel::after { content: ""; position: absolute; right: 172px; bottom: 100px; width: 46px; height: 46px; border: 14px solid var(--blue-bright); border-radius: 50%; }
.cta-copy { position: relative; z-index: 2; max-width: 800px; }
.cta-copy h2 { color: white; }
.cta-copy .section-title { max-width: 720px; font-size: clamp(2.3rem, 4vw, 4rem); }
.cta-copy p { max-width: 590px; color: rgba(225,234,245,.61); }
.cta-actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.text-link { color: rgba(233,240,248,.8); font-size: .875rem; font-weight: 700; }
.text-link:hover { color: white; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1060px) {
    .hero-grid, .market-grid, .audit-grid, .audience-grid, .transparency-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 780px; }
    .report-stage { width: min(790px, 100%); margin: 10px auto 0; }
    .market-grid, .audit-grid, .audience-grid, .transparency-grid { gap: 55px; }
    .question-board { min-height: 560px; }
    .tools-grid-v2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 840px) {
    .review-head, .tools-head, .method-intro { grid-template-columns: 1fr; align-items: start; gap: 20px; }
    .review-cards { grid-template-columns: 1fr; }
    .review-card { min-height: 245px; }
    .card-num { margin-bottom: 42px; }
    .process-row { grid-template-columns: 75px 1fr; gap: 22px; }
    .process-row p { grid-column: 2; }
    .promise-grid { grid-template-columns: 1fr 1fr; }
    .promise-item:first-child { padding-left: 24px; }
    .promise-item:nth-child(2) { border-right: 0; }
    .audience-groups { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .shell { width: min(calc(100% - 30px), 1220px); }
    .section { padding: 78px 0; }
    .hero-v2 { padding: 66px 0 56px; }
    .hero-v2 h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
    .hero-v2 .lede { font-size: .98rem; }
    .audience-line { margin-top: 22px; }
    .review-form { padding: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .submit-button { width: 100%; }
    .report-stage { min-height: 520px; margin-top: 8px; }
    .report-sheet { width: 96%; padding: 21px; transform: rotate(-1deg); }
    .report-sheet h2 { font-size: 1.3rem; }
    .sample-tag { top: 17px; right: -5px; }
    .report-caption { right: 2%; bottom: 6px; }
    .language-row { grid-template-columns: 1fr; }
    .promise-grid { grid-template-columns: 1fr; }
    .promise-item, .promise-item:first-child { min-height: 58px; padding: 15px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .promise-item:last-child { border-bottom: 0; }
    .market-grid { gap: 38px; }
    .question-board { min-height: 585px; padding: 24px 17px; }
    .query { max-width: 92%; font-size: .8125rem; }
    .query:nth-child(2), .query:nth-child(4) { margin-left: 8%; }
    .review-head, .tools-head, .method-intro { margin-bottom: 36px; }
    .review-card { padding: 26px; }
    .boundary-note { grid-template-columns: 1fr; }
    .audit-panel { padding: 26px 21px; }
    .audit-price strong { font-size: 4rem; }
    .process-row { grid-template-columns: 1fr; }
    .process-row p { grid-column: auto; }
    .audience-card { min-height: auto; }
    .tools-grid-v2 { grid-template-columns: 1fr; }
    .tool-card { min-height: 230px; }
    .tool-symbol { margin-bottom: 38px; }
    .cta-panel { padding: 58px 24px; }
    .cta-panel::after { display: none; }
    .cta-actions { align-items: stretch; flex-direction: column; }
    .cta-actions .btn { width: 100%; margin-top: 0; }
    .text-link { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Affiliate disclosure notes (tools directory) */
.aeo-affiliate-note { margin: 0 0 1.25rem; color: var(--gray); font-size: 0.8rem; }
.aeo-affiliate-note a { color: var(--accent-text); text-decoration: underline; }
.aeo-affiliate-note-dark { margin-top: 0.75rem; color: rgba(255,255,255,0.55); font-size: 0.8rem; max-width: 560px; }
.aeo-affiliate-note-dark a { color: var(--azure); text-decoration: underline; }
