:root {
  /* Brand */
  --aeo-blue: #3b7df8;
  --aeo-blue-light: #dbeafe;
  --aeo-blue-dark: #1d4ed8;
  --aeo-blue-rgb: 59, 125, 248;

  /* Surfaces */
  --aeo-bg: #ffffff;
  --aeo-surface: #ffffff;
  --aeo-surface-raised: #ffffff;
  --aeo-surface-sunken: #f7f7f8;

  /* Text */
  --aeo-text: #0f1117;
  --aeo-text-secondary: #4a5066;
  --aeo-text-tertiary: #8b91a8;

  /* Borders */
  --aeo-border: rgba(15, 23, 42, 0.09);
  --aeo-border-strong: rgba(15, 23, 42, 0.16);

  /* Shadows */
  --aeo-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --aeo-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
  --aeo-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);

  /* Radius */
  --aeo-radius-sm: 8px;
  --aeo-radius: 12px;
  --aeo-radius-lg: 16px;
  --aeo-radius-xl: 20px;
  --aeo-radius-2xl: 28px;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--aeo-bg);
  color: var(--aeo-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.2; }

/* ─── Page backgrounds ───────────────────────────────────────────── */
.aeo-body--archive { background: #ffffff; }
.aeo-body--detail { background: #ffffff; }
.aeo-body--comparison { background: #ffffff; }

/* ─── Layout ─────────────────────────────────────────────────────── */
.aeo-shell {
  width: min(80rem, calc(100vw - 3rem));
  margin: 0 auto;
}
.aeo-shell--wide {
  width: min(72rem, calc(100vw - 3rem));
}
.aeo-page { min-height: 0; }

/* ─── Top nav ────────────────────────────────────────────────────── */
.aeo-nav-shell {
  position: fixed;
  top: 1rem;
  right: 0.75rem;
  z-index: 50;
}
.aeo-nav-logo {
  position: fixed;
  top: 1rem;
  left: 0.75rem;
  z-index: 50;
  display: none;
  align-items: center;
  height: 2.9rem;
}
.aeo-nav-logo img {
  height: 2.25rem;
  width: auto;
}
.aeo-top-nav {
  position: relative;
  width: auto;
}
.aeo-top-nav__pill {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px) saturate(1.2);
}
.aeo-top-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  justify-content: center;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.82);
  transition: background 140ms, color 140ms, border-color 140ms;
}
.aeo-top-nav__link:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--aeo-text);
}
.aeo-top-nav__link--button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.aeo-top-nav__caret {
  margin-left: 0.4rem;
  font-size: 0.72rem;
}
.aeo-top-nav__dropdown {
  position: relative;
}
.aeo-top-nav__menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  min-width: 17rem;
  padding: 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}
.aeo-top-nav__dropdown:hover .aeo-top-nav__menu,
.aeo-top-nav__dropdown:focus-within .aeo-top-nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.aeo-top-nav__menu-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
}
.aeo-top-nav__menu-item strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--aeo-text);
}
.aeo-top-nav__menu-item span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--aeo-text-tertiary);
}
.aeo-top-nav__menu-item:hover {
  background: rgba(15, 23, 42, 0.04);
}
.aeo-top-nav__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 1rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  color: rgba(17, 24, 39, 0.94);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 140ms, opacity 140ms, transform 140ms;
  white-space: nowrap;
}
.aeo-top-nav__button:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ─── Hero — archive / cluster ───────────────────────────────────── */
.aeo-archive-hero {
  padding: 9rem 0 2.5rem;
}
.aeo-archive-hero__inner {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}
.aeo-archive-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--aeo-text-tertiary);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.aeo-archive-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--aeo-text);
  text-wrap: balance;
}
.aeo-archive-hero__description {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  color: var(--aeo-text-secondary);
  font-size: 1.1rem;
  line-height: 1.75;
  text-wrap: pretty;
}

/* ─── Hero — detail ──────────────────────────────────────────────── */
.aeo-detail-hero {
  padding: 10rem 0 0;
}
.aeo-detail-hero__inner {
  width: min(60rem, calc(100vw - 3rem));
  margin: 0 auto;
  text-align: center;
}
.aeo-detail-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--aeo-text);
  text-wrap: balance;
}
.aeo-detail-hero__intro {
  max-width: 44rem;
  margin: 1.25rem auto 0;
  color: var(--aeo-text-secondary);
  font-size: 1.1rem;
  line-height: 1.75;
  text-wrap: pretty;
}
.aeo-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--aeo-border);
  box-shadow: var(--aeo-shadow-sm);
}
.aeo-detail-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--aeo-text-secondary);
  font-size: 0.875rem;
}
.aeo-detail-hero__meta span strong {
  color: var(--aeo-text);
  font-weight: 600;
}

/* ─── Preview notice ─────────────────────────────────────────────── */
.aeo-preview-notice {
  margin: 1.5rem auto 0;
  max-width: 44rem;
  border-radius: var(--aeo-radius);
  border: 1px solid rgba(var(--aeo-blue-rgb), 0.2);
  background: rgba(var(--aeo-blue-rgb), 0.05);
  padding: 0.85rem 1rem;
  color: var(--aeo-blue-dark);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Badge ──────────────────────────────────────────────────────── */
.aeo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--aeo-border);
  border-radius: 999px;
  background: var(--aeo-surface-sunken);
  color: var(--aeo-text-tertiary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.aeo-badge--blue {
  border-color: rgba(var(--aeo-blue-rgb), 0.2);
  background: rgba(var(--aeo-blue-rgb), 0.07);
  color: var(--aeo-blue);
}
.aeo-badge-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.aeo-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--aeo-border);
  border-radius: 6px;
  background: var(--aeo-surface-sunken);
  color: var(--aeo-text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
}
.aeo-article-card__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--aeo-blue);
  margin: 0 0 0.4rem;
  letter-spacing: 0;
}

/* ─── Archive grid ───────────────────────────────────────────────── */
.aeo-archive-grid-section { padding: 0 0 6rem; }
.aeo-archive-panel {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 1.5rem;
}
.aeo-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.aeo-archive-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* ─── Article card ───────────────────────────────────────────────── */
.aeo-article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  text-decoration: none;
  color: inherit;
}
.aeo-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(156, 163, 175, 1);
}
.aeo-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.aeo-article-card__body {
  flex: 1;
  padding: 1.25rem;
}
.aeo-article-card__body h2 {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--aeo-text);
  margin: 0 0 0.5rem;
}
.aeo-article-card__body p {
  color: var(--aeo-text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}
.aeo-article-card__footer {
  display: flex;
  gap: 1.5rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid rgba(243, 244, 246, 1);
  background: rgba(249, 250, 251, 0.75);
}
.aeo-article-card__footer > div { flex: 1; }
.aeo-article-card__footer p {
  margin: 0;
  color: var(--aeo-text-tertiary);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.aeo-article-card__footer strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--aeo-text);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ─── Detail page layout ─────────────────────────────────────────── */
.aeo-detail-content { padding: 2rem 0 6rem; }
.aeo-detail-feature { padding: 0 0 2.5rem; }
.aeo-detail-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 17.5rem;
  align-items: start;
}
.aeo-article { display: flex; flex-direction: column; gap: 1.5rem; }

/* ─── Article sections ───────────────────────────────────────────── */
.aeo-article-section {
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: 24px;
  background: var(--aeo-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 2rem;
}
.aeo-article-section h2 {
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--aeo-text);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--aeo-border);
}
.aeo-article-section p {
  color: var(--aeo-text-secondary);
  line-height: 1.75;
  margin: 0.85rem 0 0;
}
.aeo-article-section p:first-of-type { margin-top: 0; }

/* ─── Checklist ──────────────────────────────────────────────────── */
.aeo-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.aeo-checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius);
  background: var(--aeo-bg);
  transition: border-color 160ms;
}
.aeo-checklist li:hover { border-color: rgba(var(--aeo-blue-rgb), 0.25); }
.aeo-checklist__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(var(--aeo-blue-rgb), 0.08);
  color: var(--aeo-blue);
  font-size: 0.78rem;
  font-weight: 700;
}
.aeo-checklist__content { flex: 1; }
.aeo-checklist strong {
  display: block;
  color: var(--aeo-text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
.aeo-checklist p {
  margin: 0.3rem 0 0;
  color: var(--aeo-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ─── Templates ──────────────────────────────────────────────────── */
.aeo-template-stack { display: flex; flex-direction: column; gap: 1rem; }
.aeo-template-card {
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius-lg);
  background: var(--aeo-bg);
  overflow: hidden;
  transition: border-color 160ms, box-shadow 160ms;
}
.aeo-template-card:hover {
  border-color: rgba(var(--aeo-blue-rgb), 0.25);
  box-shadow: var(--aeo-shadow-sm);
}
.aeo-template-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--aeo-border);
  background: var(--aeo-surface);
}
.aeo-template-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--aeo-text);
}
.aeo-template-card pre {
  margin: 0;
  padding: 1.25rem;
  overflow-x: auto;
  background: var(--aeo-bg);
  color: var(--aeo-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  white-space: pre-wrap;
}
.aeo-template-card > p {
  padding: 0.75rem 1.25rem 1rem;
  margin: 0;
  border-top: 1px solid var(--aeo-border);
  background: var(--aeo-surface);
  font-size: 0.82rem;
  color: var(--aeo-text-tertiary);
  line-height: 1.6;
}
.aeo-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 2rem;
  padding: 0 0.85rem;
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius-sm);
  background: var(--aeo-surface);
  color: var(--aeo-text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.aeo-copy-button:hover {
  background: var(--aeo-text);
  color: #fff;
  border-color: var(--aeo-text);
}
.aeo-copy-button[data-copied] {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

/* ─── FAQ ────────────────────────────────────────────────────────── */
.aeo-faq__list { display: flex; flex-direction: column; gap: 0.5rem; }
.aeo-faq__item {
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius);
  background: var(--aeo-surface);
  overflow: hidden;
  transition: border-color 160ms;
}
.aeo-faq__item[open] { border-color: rgba(var(--aeo-blue-rgb), 0.2); }
.aeo-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--aeo-text);
  padding: 1rem 1.25rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}
.aeo-faq__item summary::-webkit-details-marker { display: none; }
.aeo-faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--aeo-surface-sunken);
  color: var(--aeo-text-secondary);
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform 200ms, background 160ms;
}
.aeo-faq__item[open] summary::after {
  content: '−';
  background: rgba(var(--aeo-blue-rgb), 0.1);
  color: var(--aeo-blue);
}
.aeo-faq__item > div {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--aeo-border);
  background: rgba(var(--aeo-blue-rgb), 0.02);
}
.aeo-faq__item > div p {
  margin: 1rem 0 0;
  color: var(--aeo-text-secondary);
  line-height: 1.75;
}

/* ─── Related ─────────────────────────────────────────────────────── */
.aeo-related { display: flex; flex-direction: column; gap: 1rem; }
.aeo-related h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--aeo-text);
  margin-bottom: 0.25rem;
}

/* ─── Feature banner (detail hero sub-banner) ────────────────────── */
.aeo-feature-frame {
  overflow: hidden;
  border: 1px solid var(--aeo-border);
  border-radius: 32px;
}
.aeo-feature-panel {
  display: flex;
  min-height: 12rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: var(--aeo-text);
}
.aeo-feature-panel__content { max-width: 36rem; }
.aeo-feature-panel__eyebrow {
  margin: 0 0 0.6rem;
  color: var(--aeo-text-tertiary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.aeo-feature-panel__content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  text-wrap: balance;
}
.aeo-feature-panel__content p {
  margin: 0.75rem 0 0;
  color: var(--aeo-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}
.aeo-feature-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-self: flex-start;
}
.aeo-feature-panel__chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--aeo-text-secondary);
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ─── Sidebar ─────────────────────────────────────────────────────── */
.aeo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
  position: sticky;
  top: 6rem;
}
.aeo-sidebar-card {
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: 24px;
  background: var(--aeo-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 1.5rem;
}
.aeo-sidebar-card h2 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--aeo-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.aeo-sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.aeo-sidebar-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--aeo-text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}
.aeo-sidebar-list li::before {
  content: '→';
  flex-shrink: 0;
  color: var(--aeo-blue);
  font-size: 0.8rem;
}
.aeo-sidebar-divider {
  height: 1px;
  margin: 1.25rem 0;
  background: var(--aeo-border);
}
.aeo-sidebar-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.aeo-sidebar-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  min-height: 2.5rem;
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius-sm);
  background: var(--aeo-surface);
  color: var(--aeo-text-secondary);
  padding: 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.aeo-sidebar-action:hover {
  background: var(--aeo-surface-sunken);
  border-color: var(--aeo-border-strong);
  color: var(--aeo-text);
}
.aeo-sidebar-meta {
  display: grid;
  gap: 1rem;
  margin: 0;
}
.aeo-sidebar-meta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.aeo-sidebar-meta dt {
  color: var(--aeo-text-tertiary);
  font-size: 0.8rem;
}
.aeo-sidebar-meta dd {
  margin: 0;
  color: var(--aeo-text);
  font-size: 0.875rem;
  font-weight: 600;
}
.aeo-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.85rem;
  margin-top: 1.25rem;
  border-radius: var(--aeo-radius);
  background: var(--aeo-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 160ms, opacity 160ms;
}
.aeo-sidebar-cta:hover { background: var(--aeo-blue-dark); }
.aeo-sidebar-note {
  margin: 0.75rem 0 0;
  color: var(--aeo-text-tertiary);
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: center;
}

/* ─── Back link ──────────────────────────────────────────────────── */
.aeo-back-link-wrap { padding-top: 0.5rem; }
.aeo-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius-sm);
  padding: 0 1rem;
  color: var(--aeo-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 140ms, color 140ms;
}
.aeo-back-link:hover {
  background: var(--aeo-surface-sunken);
  color: var(--aeo-text);
}

/* ─── Comparison page ────────────────────────────────────────────── */
.aeo-vs-hero {
  padding: 8rem 0 0;
}
.aeo-vs-hero__inner {
  width: min(64rem, calc(100vw - 3rem));
  margin: 0 auto;
  text-align: center;
}
.aeo-vs-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--aeo-text);
  text-wrap: balance;
}
.aeo-vs-hero__subtitle {
  max-width: 44rem;
  margin: 1.25rem auto 0;
  color: var(--aeo-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}
.aeo-vs-hero__verdict {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(var(--aeo-blue-rgb), 0.08);
  border: 1px solid rgba(var(--aeo-blue-rgb), 0.18);
  color: var(--aeo-blue-dark);
  font-size: 0.875rem;
  font-weight: 600;
}
.aeo-vs-hero__verdict-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aeo-blue);
  flex-shrink: 0;
}
.aeo-vs-content { padding: 2.5rem 0 6rem; }
.aeo-vs-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 22rem;
  align-items: start;
}
.aeo-vs-main { display: flex; flex-direction: column; gap: 1.5rem; }

/* Comparison header bar */
.aeo-vs-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius-xl);
  background: var(--aeo-surface);
  box-shadow: var(--aeo-shadow-sm);
  overflow: hidden;
}
.aeo-vs-header__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
}
.aeo-vs-header__col--influence {
  background: linear-gradient(135deg, rgba(var(--aeo-blue-rgb), 0.06) 0%, rgba(var(--aeo-blue-rgb), 0.02) 100%);
  border-right: 1px solid var(--aeo-border);
}
.aeo-vs-header__logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--aeo-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--aeo-blue);
  color: #fff;
  letter-spacing: -0.04em;
}
.aeo-vs-header__logo--competitor {
  background: var(--aeo-surface-sunken);
  color: var(--aeo-text-secondary);
  border: 1px solid var(--aeo-border);
  font-size: 1rem;
}
.aeo-vs-header__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--aeo-text);
}
.aeo-vs-header__tagline {
  font-size: 0.82rem;
  color: var(--aeo-text-tertiary);
  line-height: 1.4;
}
.aeo-vs-winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.aeo-vs-winner-badge::before { content: '✓ '; }

/* Comparison table */
.aeo-vs-section {
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius-xl);
  background: var(--aeo-surface);
  box-shadow: var(--aeo-shadow-sm);
  overflow: hidden;
}
.aeo-vs-section__title {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--aeo-border);
  background: var(--aeo-surface-sunken);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--aeo-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.aeo-vs-table {
  width: 100%;
  border-collapse: collapse;
}
.aeo-vs-table th {
  padding: 0.85rem 1.75rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--aeo-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--aeo-surface-sunken);
  border-bottom: 1px solid var(--aeo-border);
}
.aeo-vs-table th:not(:first-child) { text-align: center; width: 9rem; }
.aeo-vs-table td {
  padding: 0.95rem 1.75rem;
  border-bottom: 1px solid var(--aeo-border);
  vertical-align: middle;
  font-size: 0.9rem;
}
.aeo-vs-table td:not(:first-child) { text-align: center; }
.aeo-vs-table tr:last-child td { border-bottom: none; }
.aeo-vs-table tr:nth-child(even) td { background: rgba(15, 23, 42, 0.015); }
.aeo-vs-table__feature {
  font-weight: 500;
  color: var(--aeo-text);
}
.aeo-vs-table__feature small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--aeo-text-tertiary);
  margin-top: 0.2rem;
}
.aeo-vs-check { font-size: 1.1rem; }
.aeo-vs-check--yes { color: #16a34a; }
.aeo-vs-check--no { color: #dc2626; }
.aeo-vs-check--partial { color: #ca8a04; }

/* Verdict section */
.aeo-vs-verdict {
  border: 1px solid rgba(var(--aeo-blue-rgb), 0.18);
  border-radius: var(--aeo-radius-xl);
  background: linear-gradient(135deg, rgba(var(--aeo-blue-rgb), 0.05) 0%, #fff 100%);
  box-shadow: var(--aeo-shadow-sm);
  padding: 2rem;
}
.aeo-vs-verdict h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--aeo-text);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(var(--aeo-blue-rgb), 0.12);
}
.aeo-vs-verdict p {
  color: var(--aeo-text-secondary);
  line-height: 1.75;
  margin: 0.75rem 0 0;
}
.aeo-vs-verdict p:first-of-type { margin-top: 0; }

/* Pros/Cons */
.aeo-vs-pros-cons {
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius-xl);
  background: var(--aeo-surface);
  box-shadow: var(--aeo-shadow-sm);
  overflow: hidden;
}
.aeo-vs-pros-cons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.aeo-vs-pros-cons__col {
  padding: 1.5rem;
}
.aeo-vs-pros-cons__col:first-child {
  border-right: 1px solid var(--aeo-border);
}
.aeo-vs-pros-cons__col h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--aeo-border);
}
.aeo-vs-pros-cons__col--pros h3 { color: #15803d; }
.aeo-vs-pros-cons__col--cons h3 { color: #b91c1c; }
.aeo-vs-pros-cons__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.aeo-vs-pros-cons__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--aeo-text-secondary);
  line-height: 1.5;
}
.aeo-vs-pros-cons__col--pros li::before {
  content: '✓';
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}
.aeo-vs-pros-cons__col--cons li::before {
  content: '✗';
  color: #dc2626;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

/* VS sidebar */
.aeo-vs-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6rem; }
.aeo-vs-cta-card {
  border: 1px solid rgba(var(--aeo-blue-rgb), 0.2);
  border-radius: var(--aeo-radius-xl);
  background: linear-gradient(145deg, rgba(var(--aeo-blue-rgb), 0.06) 0%, #fff 100%);
  padding: 1.75rem;
  box-shadow: var(--aeo-shadow-sm);
}
.aeo-vs-cta-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--aeo-blue);
  margin-bottom: 0.75rem;
}
.aeo-vs-cta-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--aeo-text);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.aeo-vs-cta-card p {
  font-size: 0.875rem;
  color: var(--aeo-text-secondary);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.aeo-vs-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.85rem;
  border-radius: var(--aeo-radius);
  background: var(--aeo-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 160ms;
}
.aeo-vs-cta-primary:hover { background: var(--aeo-blue-dark); }
.aeo-vs-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.5rem;
  margin-top: 0.6rem;
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius);
  background: var(--aeo-surface);
  color: var(--aeo-text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 140ms, border-color 140ms;
}
.aeo-vs-cta-secondary:hover {
  background: var(--aeo-surface-sunken);
  border-color: var(--aeo-border-strong);
}
.aeo-vs-quick-stats {
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius-xl);
  background: var(--aeo-surface);
  padding: 1.5rem;
  box-shadow: var(--aeo-shadow-sm);
}
.aeo-vs-quick-stats h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aeo-text-tertiary);
  margin-bottom: 1rem;
}
.aeo-vs-quick-stats__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.aeo-vs-quick-stats__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.aeo-vs-quick-stats__label { color: var(--aeo-text-secondary); }
.aeo-vs-quick-stats__value {
  font-weight: 700;
  color: var(--aeo-text);
}
.aeo-vs-quick-stats__value--blue { color: var(--aeo-blue); }

/* ─── Footer ─────────────────────────────────────────────────────── */
.aeo-site-footer {
  padding: 0;
  background: #ffffff;
}
.aeo-site-footer__shell {
  width: 100%;
  margin: 0 auto;
}
.aeo-site-footer__sky {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  padding: 4rem 3rem;
  border-radius: var(--aeo-radius-2xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.aeo-site-footer__sky::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(15, 25, 90, 0.78) 0%, rgba(59, 125, 248, 0.65) 100%);
  z-index: 0;
}
.aeo-site-footer__sky-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}
.aeo-site-footer__sky-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.aeo-site-footer__sky-content p {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
}
.aeo-site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: var(--aeo-radius);
  background: #fff;
  color: var(--aeo-blue-dark);
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 160ms;
}
.aeo-site-footer__cta:hover { opacity: 0.9; }
.aeo-site-footer__bottom {
  padding: 1.5rem 0 0.5rem;
}
.aeo-site-footer__logo-wrap {
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}
.aeo-site-footer__logo-wrap img {
  width: min(90%, 60rem);
  height: auto;
  user-select: none;
  opacity: 0.55;
}
.aeo-site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1rem 0.5rem 0;
  color: var(--aeo-text-tertiary);
  font-size: 0.85rem;
}
.aeo-site-footer__copyright { margin: 0; }
.aeo-site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.aeo-site-footer__legal a:hover { color: var(--aeo-text); }
.aeo-site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.aeo-site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--aeo-border);
  border-radius: var(--aeo-radius-sm);
  color: var(--aeo-text-tertiary);
  transition: border-color 160ms, color 160ms;
}
.aeo-site-footer__social a:hover {
  border-color: var(--aeo-border-strong);
  color: var(--aeo-text);
}
.aeo-site-footer__social svg { width: 0.875rem; height: 0.875rem; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .aeo-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aeo-detail-grid, .aeo-vs-layout { grid-template-columns: minmax(0, 1fr); }
  .aeo-sidebar, .aeo-vs-sidebar { position: static; }
  .aeo-feature-panel { flex-direction: column; align-items: flex-start; }
  .aeo-feature-panel__chips { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .aeo-nav-shell {
    top: 1rem;
    right: 0.75rem;
  }
  .aeo-nav-logo { display: none; }
  .aeo-top-nav__pill {
    max-width: calc(100vw - 1.5rem);
    overflow-x: auto;
    gap: 0.125rem;
  }
  .aeo-shell, .aeo-shell--wide,
  .aeo-detail-hero__inner, .aeo-vs-hero__inner { width: calc(100vw - 1.5rem); }
  .aeo-archive-hero, .aeo-detail-hero, .aeo-vs-hero { padding-top: 6.5rem; }
  .aeo-archive-grid, .aeo-archive-grid--compact { grid-template-columns: minmax(0, 1fr); }
  .aeo-article-section, .aeo-vs-section { padding: 1.25rem; }
  .aeo-article-section h2 { font-size: 1.25rem; }
  .aeo-vs-pros-cons__grid { grid-template-columns: 1fr; }
  .aeo-vs-pros-cons__col:first-child { border-right: none; border-bottom: 1px solid var(--aeo-border); }
  .aeo-vs-header { grid-template-columns: 1fr; }
  .aeo-vs-header__col--influence { border-right: none; border-bottom: 1px solid var(--aeo-border); }
  .aeo-site-footer { padding: 1rem 0.75rem; }
  .aeo-site-footer__sky { padding: 2.5rem 1.5rem; }
  .aeo-site-footer__meta { flex-direction: column; align-items: flex-start; }
  .aeo-site-footer__social { margin-left: 0; }
  .aeo-vs-table th, .aeo-vs-table td { padding: 0.75rem 1rem; font-size: 0.8rem; }
}

@media (min-width: 640px) {
  .aeo-nav-shell {
    top: 2.5rem;
    right: 2rem;
  }
  .aeo-nav-logo {
    top: 2.5rem;
    left: 2rem;
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .aeo-nav-shell { right: 2.5rem; }
  .aeo-nav-logo { left: 2.5rem; }
}
