:root {
  --ae-ink: #172554;
  --ae-muted: #475569;
  --ae-action: #1e3a8a;
  --ae-paper: #f2f6fc;
}
.ae-page, .ae-header, .ae-hero, .ae-features, .ae-guide-section {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ae-ink);
}
.ae-page { margin: 0; background: #fff; line-height: 1.55; }
.ae-page *, .ae-page *::before, .ae-page *::after { box-sizing: border-box; }
.ae-page img { max-width: 100%; height: auto; }
.ae-page a { color: var(--ae-action); text-underline-offset: .2em; }
.ae-shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.ae-header { background: #fff; }
.ae-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ae-header a { text-decoration: none; }
.ae-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 750; white-space: nowrap; }
.ae-nav, .ae-header-actions { display: flex; align-items: center; gap: 23px; font-size: 14px; font-weight: 650; }
.ae-header a:hover, .ae-guide-links a:hover strong { text-decoration: underline; text-underline-offset: .23em; }
.ae-header .ae-button, .ae-page .ae-button {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  padding: 9px 17px; background: var(--ae-action); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.ae-header .ae-button:hover, .ae-page .ae-button:hover { background: #172554; text-decoration: none; }
.ae-header a:focus-visible, .ae-hero a:focus-visible, .ae-features a:focus-visible,
.ae-guide-section a:focus-visible, .ae-page a:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }

.ae-hero { background: var(--ae-paper); padding-top: clamp(48px, 7vw, 108px); }
.ae-hero-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(30px, 5vw, 78px); }
.ae-hero h1, .ae-guide-hero h1 {
  font-weight: 750; letter-spacing: -.04em; line-height: 1.07;
  font-size: clamp(2.05rem, 4.05vw, 3.7rem); margin: 0;
}
.ae-hero p { max-width: 43ch; margin: 22px 0 0; color: var(--ae-muted); font-size: clamp(1rem, 1.5vw, 1.21rem); line-height: 1.6; }
.ae-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 17px; margin-top: 28px; }
.ae-hero-actions span, .ae-hero-figure figcaption { font-size: 13px; color: var(--ae-muted); }
.ae-hero-figure { margin: 0; min-width: 0; }
.ae-hero-figure figcaption { margin-top: 10px; text-align: right; }
.ae-screen { overflow: hidden; border-radius: 14px; background: white; }
.ae-screen img, .ae-feature img { display: block; width: 100%; height: auto; }
.ae-hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: clamp(30px, 5vw, 60px); padding-block: 17px; color: var(--ae-muted); font-size: 14px; }
.ae-hero-foot a { display: inline-flex; align-items: center; gap: 7px; color: var(--ae-action); font-weight: 650; }
.ae-hero-foot a:hover { text-decoration: underline; }

.ae-features, .ae-guide-section { padding-block: clamp(62px, 8vw, 108px); }
.ae-features h2, .ae-guide-section h2 { margin: 0; font-size: clamp(1.85rem, 4vw, 2.8rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.12; }
.ae-section-intro { margin-top: 12px; color: var(--ae-muted); font-size: 17px; }
.ae-feature-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 28px; }
.ae-feature { margin: 0; }
.ae-feature a { display: block; overflow: hidden; border-radius: 12px; background: var(--ae-paper); }
.ae-feature a:hover { outline: 2px solid #7394cf; outline-offset: 2px; }
.ae-feature h3 { font-size: 20px; font-weight: 700; margin: 14px 0 4px; }
.ae-feature p { color: var(--ae-muted); max-width: 52ch; }
.ae-guide-section { background: var(--ae-paper); }
.ae-guide-section .ae-shell { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 34px; }
.ae-guide-section .ae-guide-links { margin-top: -10px; }
.ae-guide-links { display: grid; margin-top: 26px; gap: 7px; }
.ae-guide-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; color: var(--ae-action); text-decoration: none; }
.ae-guide-links a > span { display: grid; gap: 3px; }
.ae-guide-links a span span { color: var(--ae-muted); }
.ae-guide-links svg { flex: none; }

.ae-guide-hero { background: var(--ae-paper); padding-block: clamp(34px, 6vw, 82px); }
.ae-guide-hero h1 { max-width: 20ch; }
.ae-crumb { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; margin-bottom: 24px; }
.ae-guide-lead { max-width: 62ch; margin: 20px 0 0; color: var(--ae-muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.ae-article { max-width: 810px; padding-block: clamp(36px, 6vw, 72px); }
.ae-article > :first-child { margin-top: 0; }
.ae-article h2 { font-size: clamp(1.42rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.025em; margin: 2em 0 .5em; }
.ae-article h3 { font-size: 1.17rem; margin: 1.6em 0 .35em; }
.ae-article p, .ae-article li { color: var(--ae-muted); }
.ae-article li { padding-bottom: .4em; }
.ae-article ul, .ae-article ol { padding-left: 1.3em; }
.ae-note { padding: 13px 16px; border-radius: 8px; background: var(--ae-paper); font-size: 15px; }
.ae-article figure { margin: 28px 0; }
.ae-article figure img { display: block; border-radius: 10px; }
.ae-article figcaption { margin-top: 8px; color: var(--ae-muted); font-size: 14px; }
.ae-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.ae-table th, .ae-table td { padding: 13px 10px; border-bottom: 1px solid #d6e0ee; text-align: left; vertical-align: top; }
.ae-table thead th { background: var(--ae-paper); }
.ae-table thead th:first-child { width: 27%; }
.ae-table thead th:nth-child(2) { width: 33%; }
.ae-table caption { text-align: left; margin-bottom: 10px; color: var(--ae-muted); }
.ae-guide-cta { background: var(--ae-ink); color: #fff; padding-block: 36px; }
.ae-guide-cta h2 { margin: 0 0 5px; font-size: 1.55rem; }
.ae-guide-cta p { margin: 0 0 15px; }
.ae-guide-cta .ae-button { background: white; color: var(--ae-ink); }
.ae-guide-cta .ae-button:hover { background: #dbeafe; }
.ae-footer { padding-block: 27px; }
.ae-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }

@media (max-width: 850px) {
  .ae-shell { width: calc(100% - 48px); }
  .ae-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .ae-hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
  .ae-hero p { margin-top: 14px; }
  .ae-hero-actions { margin-top: 20px; }
  .ae-hero-figure { max-width: 630px; }
}
@media (max-width: 600px) {
  .ae-shell { width: calc(100% - 36px); }
  .ae-header-inner { flex-wrap: wrap; gap: 0 8px; padding-top: 9px; }
  .ae-brand { font-size: 17px; gap: 6px; }
  .ae-header-actions { gap: 10px; }
  .ae-header .ae-button { padding-inline: 11px; }
  .ae-nav { order: 3; flex-basis: 100%; gap: 19px; padding-block: 9px; }
  .ae-nav a { padding-block: 4px; }
  .ae-hero-foot { align-items: start; flex-direction: column; }
  .ae-feature-grid { grid-template-columns: 1fr; gap: 30px; }
  .ae-guide-section .ae-shell { grid-template-columns: 1fr; gap: 18px; }
  .ae-table th, .ae-table td { padding: 10px 5px; font-size: 13px; }
}
@media (max-width: 355px) {
  .ae-desktop-break { display: none; }
  .ae-header-inner { width: calc(100% - 24px); }
}
