/* /aeo-report: AEO lead magnet. Tokens only (theme.css). Motion is transform/opacity. */

/* ---------- Hero ---------- */
.aeo-hero {
  overflow-x: clip;
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
}
.aeo-hero .breadcrumbs ol {
  margin-bottom: clamp(28px, 4vw, 48px);
}
.aeo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 5vw, 80px);
  align-items: center;
}
.aeo-hero-copy {
  display: grid;
  gap: 28px;
}
.aeo-hero h1 {
  font-size: min(var(--ed-h1), 64px) !important;
}
.aeo-hero h1 .line-rise {
  display: block;
}
.aeo-hero .lede {
  max-width: 32em;
}

/* Answer engine illustration */
.aeo-engine {
  position: relative;
  margin: 0;
  isolation: isolate;
}
.aeo-engine::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--horizon-soft), transparent);
  pointer-events: none;
}
.aeo-engine-frame {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  background: var(--bg-elev);
  box-shadow: var(--shadow-3);
}
.aeo-engine-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font: 500 var(--label)/1 var(--font-sans);
  color: var(--fg-3);
}
.aeo-engine-dots {
  display: inline-flex;
  gap: 6px;
}
.aeo-engine-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
}
.aeo-engine-tag {
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-2);
}
.aeo-engine-body {
  padding: 20px 20px 4px;
}
.aeo-ask {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-3);
  border-radius: 14px;
  background: var(--bg);
  font-size: 15px;
  color: var(--fg);
}
.aeo-ask .icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--fg-3);
}
.aeo-ask-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.aeo-caret {
  flex: none;
  width: 1.5px;
  height: 18px;
  margin-left: -8px;
  background: var(--fg);
  opacity: 0;
}
/* The shared typing caret (theme.css): shown only while the question types. */
.aeo-engine-frame.is-typing .aeo-caret {
  opacity: 1;
  animation: var(--caret-blink);
}
.aeo-answer {
  min-height: 252px;
  padding: 18px 2px 8px;
  transition: opacity var(--dur-2) var(--ease);
}
.aeo-answer.is-clearing {
  opacity: 0;
}
.aeo-answer-lead {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--fg-2);
}
.aeo-picks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pick;
}
.aeo-picks li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  grid-template-areas: "n name sup" "n desc sup";
  align-items: center;
  column-gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-subtle);
  counter-increment: pick;
}
.aeo-picks li::before {
  content: counter(pick);
  grid-area: n;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font: 500 12.5px/1 var(--font-sans);
  color: var(--fg-2);
}
.aeo-picks b {
  grid-area: name;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.aeo-picks span {
  grid-area: desc;
  overflow: hidden;
  font-size: 13px;
  color: var(--fg-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.aeo-picks sup {
  grid-area: sup;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--bg-sunken);
  font: 500 12.5px/1 var(--font-sans);
  color: var(--fg-2);
}
.aeo-picks li.aeo-you {
  border-color: var(--horizon-line);
  background: var(--horizon-soft);
}
.aeo-picks li.aeo-you b {
  color: var(--horizon-ink);
}
.aeo-picks li.aeo-you::after {
  content: "Your site";
  position: absolute;
  top: -9px;
  right: 12px;
  padding: 3px 7px;
  border: 1px solid var(--horizon-line);
  border-radius: 999px;
  background: var(--bg-elev);
  font: 500 12px/1 var(--font-sans);
  color: var(--horizon-ink);
}
.aeo-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font: 500 12.5px/1 var(--font-sans);
  color: var(--fg-3);
}
.aeo-sources > span {
  margin-right: 4px;
}
.aeo-sources i {
  padding: 5px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-style: normal;
  color: var(--fg-2);
}
.aeo-sources i.aeo-you-src {
  border-color: var(--horizon-line);
  color: var(--horizon-ink);
}
/* Streamed reveal (only once the script is driving the panel). */
.aeo-engine-frame.is-live .aeo-answer-lead,
.aeo-engine-frame.is-live .aeo-picks li,
.aeo-engine-frame.is-live .aeo-sources,
.aeo-engine-frame.is-live .aeo-verdict-state {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.aeo-engine-frame.is-live .aeo-answer-lead.is-in,
.aeo-engine-frame.is-live .aeo-picks li.is-in,
.aeo-engine-frame.is-live .aeo-sources.is-in,
.aeo-engine-frame.is-live .aeo-verdict-state.is-shown {
  opacity: 1;
  transform: none;
}

.aeo-engine-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
}
.aeo-dial {
  position: relative;
  flex: none;
  width: 76px;
  height: 76px;
}
.aeo-dial svg {
  display: block;
  width: 100%;
  height: 100%;
}
.aeo-dial stop:nth-child(1) { stop-color: var(--horizon-1); }
.aeo-dial stop:nth-child(2) { stop-color: var(--horizon-2); }
.aeo-dial stop:nth-child(3) { stop-color: var(--horizon-3); }
.aeo-ticks line {
  stroke: url(#aeoDialGrad);
  stroke-width: 3.2;
  stroke-linecap: round;
  opacity: 0.16;
  transition: opacity var(--dur-2) var(--ease);
}
.aeo-ticks line.is-on {
  opacity: 1;
}
.aeo-dial-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 600 20px/1 var(--font-sans);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: opacity var(--dur-2) var(--ease);
}
.aeo-dial.is-clearing .aeo-dial-num {
  opacity: 0.3;
}
.aeo-verdict {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.aeo-verdict p {
  margin: 0;
}
.aeo-verdict-label {
  font: 500 var(--label)/1.2 var(--font-sans);
  color: var(--fg-3);
}
.aeo-verdict-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}
.aeo-state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--horizon-1), var(--horizon-3));
}
.aeo-verdict-state.is-missing {
  color: var(--fg-2);
}
.aeo-verdict-state.is-missing .aeo-state-dot {
  background: transparent;
  border: 1.5px solid var(--fg-3);
}
.aeo-engine-cap {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-3);
}

/* ---------- Request ---------- */
.aeo-request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}
.aeo-request-copy {
  display: grid;
  gap: 20px;
}
.aeo-request-copy > p:not(.eyebrow) {
  margin: 0;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
}
.aeo-steps {
  display: grid;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.aeo-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.aeo-steps li:first-child {
  border-top: 0;
}
.aeo-steps .icon-tile {
  grid-row: span 2;
}
.aeo-steps strong {
  font-weight: 600;
}
.aeo-steps strong::before {
  counter-increment: step;
  content: "0" counter(step);
  margin-right: 10px;
  font: 500 13px/1 var(--font-sans);
  color: var(--fg-3);
}
.aeo-steps span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-2);
}

.aeo-card {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  background: var(--bg-elev);
  box-shadow: var(--shadow-3);
}
.aeo-card [hidden] {
  display: none !important;
}
.aeo-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}
.aeo-form {
  display: grid;
  gap: 18px;
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.aeo-form.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}
.aeo-form-title {
  font-size: 22px !important;
}
.aeo-form-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}
.aeo-form-heading p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-2);
}
.aeo-field {
  display: grid;
  gap: 8px;
}
.aeo-field label {
  font: 500 var(--label)/1 var(--font-sans);
  color: var(--fg-2);
  transition: color var(--dur-2) var(--ease);
}
.aeo-field:focus-within label {
  color: var(--fg);
}
.aeo-field input {
  width: 100%;
  min-width: 0;
  height: 50px;
  box-sizing: border-box;
  padding: 0 16px;
  border: 1px solid var(--line-3);
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1 var(--font-sans);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.aeo-field input::placeholder {
  color: var(--fg-3);
}
@media (hover: hover) {
  .aeo-field input:hover {
    border-color: var(--fg-3);
  }
}
.aeo-field input:focus,
.aeo-field input:focus-visible {
  outline: none;
  border-color: var(--fg);
  box-shadow: 0 0 0 3px var(--selection);
}
.aeo-field input[aria-invalid="true"] {
  border-color: var(--danger);
}
.aeo-field input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px var(--selection);
}
.aeo-field input[readonly] {
  color: var(--fg-2);
}
.aeo-hint,
.aeo-error {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
}
.aeo-hint {
  color: var(--fg-3);
}
.aeo-error {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--danger);
  font-weight: 500;
}
.aeo-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--bg);
  font: 700 11px/1 var(--font-sans);
}
.aeo-error:not([hidden]) {
  animation: ed-in var(--dur-2) var(--ease-out) both;
}
.aeo-submit {
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
}
.aeo-submit .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-2) var(--ease-out);
}
@media (hover: hover) {
  .aeo-submit:hover .icon {
    transform: translateX(3px);
  }
}
.aeo-submit[disabled] {
  opacity: 0.85;
  cursor: progress;
}
.aeo-submit[disabled] .icon {
  display: none;
}
.aeo-submit-spinner {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: aeo-sending 0.8s linear infinite;
}
@keyframes aeo-sending {
  to { transform: rotate(360deg); }
}
.aeo-note {
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
}
.aeo-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 3px;
}
.aeo-form-status {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-subtle);
  font-size: 14px;
  line-height: 1.55;
  color: var(--danger);
}
.aeo-form-status:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.aeo-form-status .textlink {
  font-size: 14px;
}

.aeo-success {
  display: grid;
  justify-items: start;
  gap: 14px;
}
.aeo-success h3 {
  font-size: 26px !important;
  outline: none;
}
.aeo-success p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-2);
}
.aeo-success strong {
  color: var(--fg);
  overflow-wrap: anywhere;
}
.aeo-success-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--invert-bg);
  color: var(--invert-fg);
}
.aeo-success-mark .icon {
  width: 18px;
  height: 18px;
}
.aeo-success .btn {
  min-height: 44px;
}
.aeo-next {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.aeo-next li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--fg);
}
.aeo-next li span {
  font: 500 13px/1.6 var(--font-sans);
  color: var(--fg-3);
}
.aeo-again {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 14px/1 var(--font-sans);
  color: var(--fg-2);
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 5px;
  cursor: pointer;
}
@media (hover: hover) {
  .aeo-again:hover {
    color: var(--fg);
    text-decoration-color: currentColor;
  }
}
.aeo-success.is-entering > * {
  animation: ed-in var(--dur-3) var(--ease-out) both;
  animation-delay: min(calc((var(--k, 0) + 1) * var(--stagger)), var(--stagger-max));
}
.aeo-success.is-entering > :nth-child(2) { --k: 1; }
.aeo-success.is-entering > :nth-child(3) { --k: 2; }
.aeo-success.is-entering > :nth-child(4) { --k: 3; }
.aeo-success.is-entering > :nth-child(5) { --k: 4; }
.aeo-success.is-entering > :nth-child(6) { --k: 5; }

/* ---------- What's inside ---------- */
.aeo-inside-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aeo-inside-grid li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
@media (hover: hover) {
  .aeo-inside-grid li:hover {
    border-color: var(--line-3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
  }
}
@media (hover: hover) {
  .aeo-inside-grid li:hover .icon-tile {
    transform: translateY(-2px);
  }
}
.aeo-inside-grid h3 {
  margin-top: 8px !important;
  font-size: 18px !important;
}
.aeo-inside-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
}

/* ---------- FAQ ---------- */
.aeo-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: start;
}
.aeo-faq-head {
  display: grid;
  gap: 18px;
}
.aeo-faq-head > p:last-child {
  margin: 0;
  font-size: 15px;
  color: var(--fg-2);
}
.aeo-faq-list details {
  border-top: 1px solid var(--line-2);
}
.aeo-faq-list details:last-child {
  border-bottom: 1px solid var(--line-2);
}
.aeo-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.aeo-faq-list summary::-webkit-details-marker {
  display: none;
}
.aeo-faq-list summary .icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--fg-3);
  transition: transform var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease);
}
@media (hover: hover) {
  .aeo-faq-list summary:hover .icon {
    color: var(--fg);
  }
}
.aeo-faq-list details[open] summary .icon {
  transform: rotate(45deg);
  color: var(--fg);
}
.aeo-faq-list details p {
  max-width: 40em;
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .aeo-inside-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .aeo-hero-grid,
  .aeo-request-grid,
  .aeo-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .aeo-inside-grid { grid-template-columns: minmax(0, 1fr); }
  .aeo-engine-body { padding: 16px 14px 2px; }
  .aeo-ask { font-size: 14px; padding: 10px 12px; min-height: 64px; align-items: flex-start; }
  .aeo-ask .icon { margin-top: 2px; }
  .aeo-ask-text { white-space: normal; }
  .aeo-caret { display: none; }
  .aeo-answer { min-height: 300px; }
  .aeo-picks span { white-space: normal; }
  .aeo-picks li { padding: 9px 10px; }
  .aeo-engine-foot { padding: 14px; }
  .aeo-faq-list summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .aeo-submit-spinner { animation: none; }
  .aeo-form,
  .aeo-answer,
  .aeo-inside-grid li {
    transition: none;
  }
}

/* ==========================================================================
   Phones (October 3 mobile pass). Compact answer-engine panel; the request form
   comes straight after the section intro (steps follow it); report contents rail.
   ========================================================================== */
@media (max-width: 720px) {
  .page-aeo .p-section { padding-block: 44px; }
  .page-aeo .section-head { margin-bottom: 24px; }
  .page-aeo .section-head > p:not(.eyebrow) { font-size: 16px; line-height: 1.55; }
  html.js.motion-ready .page-aeo .m-rail > .reveal { transform: none; }
  .page-aeo .m-rail { align-items: stretch; }

  /* Hero */
  .aeo-hero { padding: 20px 0 28px; }
  .aeo-hero .breadcrumbs ol { margin-bottom: 18px; }
  .aeo-hero-grid { gap: 24px; }
  .aeo-hero-copy { gap: 18px; }
  .aeo-hero h1 { font-size: clamp(36px, 10.8vw, 44px) !important; line-height: 1.04; }
  .aeo-hero .lede { font-size: 16.5px; line-height: 1.55; }
  .aeo-hero .cta-row { gap: 10px; }

  /* Answer engine, compact: question, three cited picks, sources, score. */
  .aeo-engine-bar { height: 40px; gap: 10px; padding: 0 14px; font-size: 12px; white-space: nowrap; }
  .aeo-engine-tag { padding: 3px 7px; }
  .aeo-engine-body { padding: 12px 12px 2px; }
  /* Fixed slots so the cycling questions and answers never shift the page. */
  .aeo-ask { min-height: 68px; padding: 10px 12px; font-size: 14px; border-radius: 12px; }
  .aeo-answer { min-height: 250px; padding: 12px 0 6px; }
  .aeo-answer-lead { margin-bottom: 10px; font-size: 14px; }
  .aeo-picks { gap: 6px; }
  .aeo-picks li { grid-template-columns: 22px minmax(0, 1fr) auto auto; grid-template-areas: "n name tag sup"; column-gap: 0; padding: 9px 10px; border-radius: 10px; }
  .aeo-picks b { margin-left: 10px; }
  .aeo-picks sup { margin-left: 10px; }
  .aeo-picks span { display: none; }
  .aeo-picks b { font-size: 14px; }
  .aeo-picks li::before, .aeo-picks sup { font-size: 12px; }
  .aeo-picks li.aeo-you::after { position: static; grid-area: tag; margin-left: 8px; font-size: 12px; white-space: nowrap; }
  .aeo-sources { gap: 5px; margin-top: 10px; font-size: 12px; }
  .aeo-sources i { padding: 4px 7px; }
  .aeo-engine-foot { gap: 14px; min-height: 80px; margin-top: 8px; padding: 10px 14px; }
  .aeo-dial { width: 56px; height: 56px; }
  .aeo-dial-num { font-size: 16px; }
  .aeo-verdict { gap: 4px; }
  .aeo-verdict-label { font-size: 12px; }
  .aeo-verdict-state { font-size: 14.5px; }
  .aeo-engine-cap { margin-top: 10px; }

  /* Request: intro, then the form, then how it works. */
  .aeo-request-grid { gap: 14px; }
  .aeo-request-copy { display: contents; }
  .aeo-request-copy > h2 { order: 2; }
  .aeo-request-copy > p:not(.eyebrow) { order: 3; font-size: 16px; line-height: 1.55; }
  .aeo-card { order: 4; margin-top: 8px; padding: 20px; border-radius: var(--radius-lg); }
  .aeo-steps { order: 5; margin-top: 10px; }
  .aeo-steps li { grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; padding: 12px 0; }
  .aeo-steps .icon-tile { width: 30px; height: 30px; }
  .aeo-steps .icon-tile .icon { width: 15px; height: 15px; }
  .aeo-steps span { font-size: 14.5px; }

  /* Form: 16px inputs (no iOS zoom), 52px fields, readable labels and errors. */
  .aeo-form { gap: 16px; }
  .aeo-form-title { font-size: 21px !important; }
  .aeo-field { gap: 7px; }
  .aeo-field label { font-size: 12px; }
  .aeo-field input { height: 52px; font-size: 16px; }
  .aeo-hint, .aeo-error { font-size: 14px; }
  .aeo-submit { min-height: 52px; }
  .aeo-note { padding-top: 14px; font-size: 14px; }

  /* Report contents rail */
  .aeo-inside-grid > li { padding: 20px; }
  .aeo-inside-grid h3 { font-size: 18px !important; }
  .aeo-inside-grid p { font-size: 14.5px; line-height: 1.55; }

  /* Questions */
  .aeo-faq-grid { gap: 20px; }
  .aeo-faq-list summary { min-height: 56px; font-size: 17px; }

  /* Closing runway: same compact panel as the generated pages. */
  .page-aeo .cta-panel { min-height: 0; }
  .page-aeo .cta-ascii { height: 150px; }
  .page-aeo .cta-copy { gap: 14px; padding: 24px 20px 26px; }
}
@media (max-width: 370px) {
  .aeo-engine-dots { display: none; }
  .aeo-answer { min-height: 278px; }
  .aeo-ask { min-height: 86px; }
  .aeo-engine-bar { grid-template-columns: 1fr auto; }
}
