/* AI Search Visibility page (/ai-search-visibility). Scoped under .aeo. Brand tokens from style.css. */
.aeo { --aeo-teal: #1f6f78; --aeo-teal-pale: #e3f0f1; --aeo-ink: #13263f; }
.aeo h1, .aeo h2, .aeo h3 { letter-spacing: -0.01em; }
.aeo .aeo-eyebrow-light { color: var(--color-gold-light); }
.aeo .aeo-center { text-align: center; }
.aeo .aeo-center-lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.aeo .aeo-body { font-size: 1.05rem; line-height: 1.8; color: var(--color-text); margin-top: 1rem; }
.aeo .aeo-note { font-size: 0.98rem; color: var(--color-text-muted); margin-top: 2rem; }
.aeo .aeo-note a, .aeo .aeo-body a { color: var(--color-gold-dark); text-decoration: underline; }

/* Hero */
.aeo-hero { background-color: var(--color-navy-deep); background-image: linear-gradient(135deg, var(--color-navy-deep) 0%, #173a4f 100%); color: #fff; padding: 7.5rem 0 5rem; }
.aeo-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.aeo-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.12; margin: 0.75rem 0 1.25rem; }
.aeo-hero h1 em { font-style: normal; color: var(--color-gold-light); }
.aeo-hero-lead { font-size: 1.15rem; line-height: 1.75; color: rgba(255,255,255,0.86); max-width: 600px; }
.aeo-hero .hero-cta-group { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.aeo-micro { margin-top: 1rem; font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.aeo-hero-photo { position: relative; margin: 0; }
.aeo-hero-photo img { width: 100%; height: auto; border-radius: 18px; display: block; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.aeo-ask { position: absolute; left: -1.5rem; bottom: -1.75rem; background: #fff; color: var(--aeo-ink); border-radius: 14px; padding: 1rem 1.2rem; max-width: 320px; box-shadow: 0 16px 40px rgba(0,0,0,0.25); display: grid; gap: 0.3rem; border-left: 4px solid var(--color-gold); }
.aeo-ask-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--aeo-teal); font-weight: 700; }
.aeo-ask-q { font-weight: 700; font-size: 1rem; line-height: 1.35; }
.aeo-ask-a { font-size: 0.88rem; color: var(--color-text-muted); }

/* Answer box */
.aeo-answer { background: var(--aeo-teal-pale); padding: 3.5rem 0; border-bottom: 1px solid #cfe3e5; }
.aeo-narrow { max-width: 860px; }
.aeo-narrow-wide { max-width: 1000px; }
.aeo-answer h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--aeo-ink); margin-bottom: 1rem; }
.aeo-answer p { font-size: 1.08rem; line-height: 1.8; color: var(--color-text); }
.aeo-byline { margin-top: 1rem; font-size: 0.9rem !important; color: var(--color-text-muted) !important; }
.aeo-byline a { color: var(--aeo-teal); font-weight: 600; }

/* Section backgrounds */
.aeo-warm { background: var(--color-bg-warm); }
.aeo-gold { background: var(--color-gold-pale); }
.aeo-navy { background: var(--color-navy); color: #fff; }
.aeo-navy h2, .aeo-navy h3 { color: #fff; }

/* Stats */
.aeo-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.aeo-stat { background: #fff; border-radius: 14px; padding: 1.6rem 1.4rem; border-top: 4px solid var(--aeo-teal); display: flex; flex-direction: column; gap: 0.6rem; }
.aeo-stat-big { font-size: 2.1rem; font-weight: 700; color: var(--aeo-ink); line-height: 1; }
.aeo-stat p { font-size: 0.95rem; line-height: 1.6; color: var(--color-text); flex: 1; }
.aeo-src { font-size: 0.8rem; color: var(--aeo-teal); text-decoration: underline; }

/* Split layouts */
.aeo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.aeo-split-photo { grid-template-columns: 0.9fr 1.1fr; }
.aeo-photo { margin: 0; }
.aeo-photo img { width: 100%; height: auto; border-radius: 16px; display: block; }

/* Findings panel */
.aeo-panel { background: var(--color-navy-deep); color: #fff; border-radius: 18px; padding: 2rem; display: grid; gap: 1.25rem; }
.aeo-panel-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: start; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.88); line-height: 1.6; }
.aeo-panel-row strong { color: #fff; }
.aeo-panel-num { font-size: 1.6rem; font-weight: 700; color: var(--color-gold-light); line-height: 1.1; }
.aeo-panel-fine { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* Four checks */
.aeo-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: none; }
.aeo-check { background: #fff; border: 1px solid var(--color-bg-border); border-radius: 14px; padding: 1.6rem 1.4rem; }
.aeo-check-n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--aeo-teal); color: #fff; font-weight: 700; margin-bottom: 0.9rem; }
.aeo-check h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--aeo-ink); }
.aeo-check p { font-size: 0.95rem; line-height: 1.65; color: var(--color-text-muted); }

/* Steps */
.aeo-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.aeo-step { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 1.5rem 1.25rem; }
.aeo-step-n { font-size: 1.4rem; font-weight: 700; color: var(--color-gold-light); display: block; margin-bottom: 0.6rem; }
.aeo-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.aeo-step p { font-size: 0.93rem; line-height: 1.65; color: rgba(255,255,255,0.82); }

/* Table */
.aeo-table-wrap { overflow-x: auto; margin-top: 2rem; border-radius: 14px; border: 1px solid var(--color-bg-border); }
.aeo-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.aeo-table th, .aeo-table td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; font-size: 0.95rem; line-height: 1.55; border-bottom: 1px solid var(--color-bg-border); color: var(--color-text); }
.aeo-table thead th { background: var(--color-navy); color: #fff; font-size: 1rem; }
.aeo-table tbody th { color: var(--aeo-ink); font-weight: 700; width: 20%; background: var(--color-bg-soft); }
.aeo-table tbody tr:last-child th, .aeo-table tbody tr:last-child td { border-bottom: 0; }

/* Tiers */
.aeo-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.aeo-tier { background: #fff; border-radius: 14px; padding: 1.5rem 1.25rem; border: 1px solid #ead9ad; display: flex; flex-direction: column; gap: 0.5rem; }
.aeo-tier h3 { font-size: 1.15rem; color: var(--aeo-ink); }
.aeo-tier p { font-size: 0.93rem; line-height: 1.6; color: var(--color-text); }
.aeo-tier-kind { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; color: var(--color-gold-dark); }
.aeo-tier-featured { background: var(--color-navy); border-color: var(--color-navy); }
.aeo-tier-featured h3 { color: #fff; }
.aeo-tier-featured p { color: rgba(255,255,255,0.85); }
.aeo-tier-featured .aeo-tier-kind { color: var(--color-gold-light); }

/* Fit */
.aeo-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.25rem; }
.aeo-fit ul, .aeo-promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.aeo-fit li, .aeo-promise li { position: relative; padding-left: 1.5rem; font-size: 0.97rem; line-height: 1.55; color: var(--color-text); }
.aeo-fit-h { font-size: 1rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.aeo-yes { color: var(--aeo-teal); }
.aeo-no { color: #9a4a2f; }
.aeo-fit > div:first-child li::before, .aeo-promise > div:first-child li::before { content: "✓"; position: absolute; left: 0; color: var(--aeo-teal); font-weight: 700; }
.aeo-fit > div:last-child li::before, .aeo-promise > div:last-child li::before { content: "✕"; position: absolute; left: 0; color: #9a4a2f; font-weight: 700; }

/* Promise */
.aeo-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; }
.aeo-promise > div { background: #fff; border-radius: 14px; padding: 1.75rem; }
.aeo-promise h3 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--aeo-ink); }

/* FAQ */
.aeo-faq { display: grid; gap: 0.75rem; }
.aeo-faq-item { border: 1px solid var(--color-bg-border); border-radius: 12px; padding: 1.1rem 1.3rem; background: #fff; }
.aeo-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.aeo-faq-item summary::-webkit-details-marker { display: none; }
.aeo-faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-gold-dark); font-weight: 600; }
.aeo-faq-item[open] summary::after { content: "–"; }
.aeo-faq-item summary h3 { font-size: 1.05rem; color: var(--aeo-ink); margin: 0; }
.aeo-faq-item p { margin-top: 0.75rem; font-size: 0.98rem; line-height: 1.75; color: var(--color-text); }

/* CTA */
.aeo-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.aeo-cta-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0.75rem 0 1rem; }
.aeo-cta-copy p { color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.75; }
.aeo-cta-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 0.6rem; }
.aeo-cta-list li { position: relative; padding-left: 1.6rem; color: rgba(255,255,255,0.9); }
.aeo-cta-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-gold-light); font-weight: 700; }
.aeo-cta-photo { margin: 1.5rem 0 0; }
.aeo-cta-photo img { width: 100%; max-width: 460px; height: auto; border-radius: 14px; display: block; }
.aeo-cta-alt { margin-top: 1rem; font-size: 0.95rem !important; }
.aeo-cta-alt a { color: var(--color-gold-light); text-decoration: underline; }
.aeo-form-card { color: var(--color-text); }

/* Sources */

/* Responsive */
@media (max-width: 1100px) {
  .aeo-stats, .aeo-checks { grid-template-columns: repeat(2, 1fr); }
  .aeo-steps { grid-template-columns: repeat(2, 1fr); }
  .aeo-tiers { grid-template-columns: repeat(2, 1fr); }
  .aeo-tier-featured { grid-column: span 2; }
}
@media (max-width: 900px) {
  .aeo-hero { padding: 6rem 0 4rem; }
  .aeo-hero-grid, .aeo-split, .aeo-split-photo, .aeo-cta-grid, .aeo-promise { grid-template-columns: 1fr; gap: 2.5rem; }
  .aeo-ask { position: static; margin-top: 1rem; max-width: none; }
  .aeo-fit { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .aeo-stats, .aeo-checks, .aeo-steps, .aeo-tiers { grid-template-columns: 1fr; }
  .aeo-tier-featured { grid-column: auto; }
  .aeo-panel-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .aeo-hero .btn-lg { width: 100%; text-align: center; }
}
