/* Asymmetric Edge homepage (added November 2026). Used only by partials/ae-home.hbs. */
:root { --ae: #3A0CA3; --ae-dark: #26076E; --ink: #15171A; --body: #374151; --muted: #4B5563;
  --rule: #E5E7EB; --rule2: #D1D5DB; --wash: #F9FAFB; --gold: #F4D35E; --gain: #1F8A4C; --loss: #CC5142;
  --gutter: clamp(24px, 7vw, 112px); }
.ae-home, .ae-home * { box-sizing: border-box; }
.ae-home { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; }
.ae-home a { color: var(--ae); }
.ae-home a:hover { color: var(--ae-dark); }
.ae-wrap { max-width: 1200px; margin: 0 auto; }
.ae-sec { padding: 64px var(--gutter); }
.ae-wash { background: var(--wash); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ae-eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ae); }
.ae-h2 { margin: 0; font-size: 42px; line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.ae-lede { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.ae-stack { display: flex; flex-direction: column; gap: 12px; }
.ae-card { background: #fff; border: 1px solid var(--rule2); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ae-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ae-link { font-size: 16px; font-weight: 700; text-decoration: none; padding: 0; }
.ae-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav */
.ae-nav { background: var(--ae); color: #fff; padding: 0 var(--gutter); }
.ae-nav-in { max-width: 1200px; margin: 0 auto; padding: 18px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ae-home .ae-brand { color: #fff; text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.ae-navlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.ae-home .ae-navlinks a, .ae-home .ae-signin { color: #EEE9FA; text-decoration: none; }
.ae-home .ae-navlinks a:hover, .ae-home .ae-signin:hover { color: #fff; }
.ae-navcta { display: flex; align-items: center; gap: 12px; }
.ae-signin { font-size: 15px; font-weight: 500; padding: 12px 8px; }
.ae-home .ae-btn-white { background: #fff; color: var(--ae); text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 999px; }

/* Hero */
.ae-hero { padding: 56px var(--gutter); }
.ae-hero-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ae-hero-copy { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ae-h1 { margin: 0; font-size: 60px; line-height: 1.05; font-weight: 900; letter-spacing: -.03em; }
.ae-hero-sub { margin: 0; font-size: 20px; line-height: 1.55; color: var(--muted); }
.ae-small { margin: -12px 0 0; font-size: 14px; color: var(--muted); }
.ae-small a { font-weight: 600; }

/* Signup forms (Ghost Members) */
.ae-form { display: flex; flex-wrap: wrap; gap: 12px; max-width: 560px; margin-top: 8px; position: relative; }
.ae-form input { flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 18px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--rule2); border-radius: 999px; background: #fff; color: var(--ink); }
.ae-form button { height: 52px; padding: 0 26px; font-size: 16px; font-weight: 700; font-family: inherit; border: none;
  border-radius: 999px; background: var(--ae); color: #fff; cursor: pointer; }
.ae-form .ae-msg { display: none; flex-basis: 100%; margin: 0; font-size: 14px; }
.ae-form.loading button { opacity: .6; }
.ae-form.success input, .ae-form.success button { display: none; }
.ae-form.success .ae-msg-ok { display: block; color: var(--gain); font-weight: 600; }
.ae-form.error .ae-msg-err { display: block; color: var(--loss); }
.ae-cta .ae-form.success .ae-msg-ok { color: #fff; }
.ae-cta .ae-form.error .ae-msg-err { color: #FFE4E0; }
.ae-member-note { margin: 8px 0 0; font-size: 16px; color: var(--body); }

/* Universe card */
.ae-uni { min-width: 0; background: var(--wash); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.ae-uni-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ae-uni h2 { margin: 0; font-size: 18px; font-weight: 800; }
.ae-uni-head span { font-size: 13px; color: var(--muted); }
.ae-grp p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ae-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ae-chip { font-size: 14px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--rule2); }
.ae-chip.def { background: #FCF6CF; border-color: #E9D98A; }
.ae-uni-foot { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; }

/* Facts strip */
.ae-facts { background: var(--wash); border-bottom: 1px solid var(--rule); padding: 28px var(--gutter); }
.ae-facts-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.ae-fact-v { margin: 0; font-size: 26px; font-weight: 800; }
.ae-fact-l { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* How it works */
.ae-how-head { max-width: 820px; }
.ae-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1180px) { .ae-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ae-step { border: 1px solid var(--rule2); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ae-step.alt { background: var(--wash); }
.ae-step b { width: 40px; height: 40px; border-radius: 999px; background: #EEE9FA; color: var(--ae); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ae-emoji { margin-right: 8px; font-weight: 400; }
.ae-step.alt b { background: var(--gold); color: var(--ink); }
.ae-step h3 { margin: 0; font-size: 20px; font-weight: 800; }
.ae-step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.ae-col { display: flex; flex-direction: column; gap: 32px; }

/* Track record */
.ae-rec-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ae-rec-head { min-width: 0; }
.ae-corr { background: #fff; border: 1px solid var(--rule2); border-radius: 16px; padding: 24px 28px; display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.ae-corr-title { margin: 0; font-size: 15px; font-weight: 800; }
.ae-corr-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr) 48px; gap: 10px 14px; align-items: center; font-size: 15px; }
.ae-corr-grid span { color: var(--body); }
.ae-corr-grid .me { color: var(--ink); font-weight: 700; }
.ae-bar { height: 14px; background: var(--rule); border-radius: 999px; }
.ae-bar i { display: block; height: 14px; background: #9CA3AF; border-radius: 999px; width: 0; }
.ae-bar.me i { background: var(--ae); }
.ae-corr-grid .v { text-align: right; font-weight: 700; }
.ae-corr-grid .v.me { color: var(--ae); font-weight: 800; }
.ae-rec-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.ae-chart-card { flex: 999 1 560px; min-width: 0; }
.ae-table-card { flex: 1 1 440px; min-width: 0; }
.ae-card-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ae-card-head h3, .ae-table-card h3 { margin: 0; font-size: 18px; font-weight: 800; }
.ae-card-head span { font-size: 13px; color: var(--muted); }
.ae-chart { position: relative; height: 380px; }
.ae-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ae-legend { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 4px; }
.ae-lg { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid var(--rule2); border-radius: 999px;
  background: #fff; font-family: inherit; font-size: 13px; font-weight: 500; color: var(--body); cursor: pointer; }
.ae-lg i { width: 14px; height: 4px; border-radius: 2px; background: var(--c); }
.ae-lg:hover { border-color: #9CA3AF; }
.ae-lg:focus-visible { outline: 2px solid var(--ae); outline-offset: 2px; }
.ae-lg[aria-pressed="false"] { color: #9CA3AF; background: transparent; border-style: dashed; }
.ae-lg[aria-pressed="false"] i { background: #D1D5DB; }
.ae-tip { position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--rule2); border-radius: 10px; padding: 10px 12px;
  font-size: 13px; line-height: 1.5; box-shadow: 0 4px 16px rgba(21,23,26,.08); display: none; min-width: 190px; z-index: 2; }
.ae-tip b { display: block; }
.ae-tip small { display: block; margin-bottom: 4px; font-size: 11px; color: var(--muted); }
.ae-tip span { display: grid; grid-template-columns: minmax(0, 1fr) 64px 54px; gap: 10px; }
.ae-tip span i { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.ae-tip span i:last-child { font-weight: 600; }
.ae-table-wrap { overflow-x: auto; }
.ae-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.ae-table th, .ae-table td { padding: 12px 6px; text-align: right; }
.ae-table thead th { font-size: 13px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--rule2); padding: 10px 6px; }
.ae-table thead th.me { color: var(--ae); font-weight: 800; }
.ae-table th[scope=row], .ae-table thead th:first-child { text-align: left; font-weight: 500; }
.ae-table th[scope=row] { white-space: nowrap; padding-right: 12px; }
.ae-table tbody tr { border-bottom: 1px solid var(--rule); }
.ae-table tbody tr:last-child { border-bottom: none; }
.ae-table td.me { font-weight: 700; }
.ae-table .pos { color: var(--gain); }
.ae-table .neg { color: var(--loss); }

/* Who I am */
.ae-about-in { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.ae-photo { flex: 0 0 260px; width: 260px; height: 260px; border-radius: 999px; object-fit: cover; display: block; }
.ae-about-copy { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ae-about-copy h2 { margin: 0; font-size: 36px; line-height: 1.15; font-weight: 900; letter-spacing: -.02em; }
.ae-about-copy p.t { margin: 0; font-size: 18px; line-height: 1.65; color: var(--body); }

/* Plans */
.ae-plans-in { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.ae-center { text-align: center; align-items: center; }
.ae-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ae-plan { background: #fff; border: 1px solid var(--rule2); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.ae-plan.paid { border: 2px solid var(--ae); }
.ae-plan h3 { margin: 0; font-size: 22px; font-weight: 800; }
.ae-price { margin: 6px 0 0; font-size: 32px; font-weight: 900; }
.ae-price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.ae-plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--body); }
.ae-home .ae-btn-outline { margin-top: auto; text-align: center; border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 20px; border-radius: 999px; }
.ae-home .ae-btn-solid { margin-top: auto; text-align: center; background: var(--ae); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; padding: 16px 20px; border-radius: 999px; }

/* Start here */
.ae-start { padding: 64px var(--gutter) 32px; }
.ae-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.ae-home .ae-post { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.ae-post img, .ae-post .ph { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; background: #E5EFF5; display: block; }
.ae-post .tag { font-size: 13px; font-weight: 700; color: var(--muted); }
.ae-post h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; }
.ae-start-item { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ae-blurb { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.ae-home .ae-post:hover h3 { color: var(--ae); }

/* Latest */
.ae-latest { padding: 32px var(--gutter) 64px; }
.ae-latest-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.ae-latest-head h2 { margin: 0; font-size: 28px; font-weight: 900; }
.ae-home .ae-row { text-decoration: none; color: var(--ink); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.ae-row .d { flex: 0 0 120px; font-size: 14px; color: var(--muted); }
.ae-row .t { flex: 999 1 400px; font-size: 19px; font-weight: 700; }
.ae-row .k { font-size: 13px; font-weight: 700; color: var(--muted); }
.ae-home .ae-row:hover .t { color: var(--ae); }

/* Closing CTA */
.ae-cta { background: var(--ae); color: #fff; padding: 64px var(--gutter); }
.ae-cta-in { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.ae-cta h2 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.ae-cta p.sub { margin: 0; font-size: 18px; line-height: 1.6; color: #E7E0F3; }
.ae-cta .ae-form { justify-content: center; width: 100%; max-width: 520px; }
.ae-cta .ae-form input { border: none; }
.ae-cta .ae-form button { background: var(--gold); color: var(--ink); }
.ae-home .ae-cta a { color: #fff; }

/* Footer */
.ae-foot { background: var(--wash); color: var(--body); border-top: 1px solid var(--rule); padding: 48px var(--gutter); }
.ae-foot-in { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.ae-foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.ae-foot-top strong { font-weight: 900; font-size: 18px; color: var(--ink); }
.ae-foot-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.ae-home .ae-foot-links a { color: var(--body); text-decoration: none; }
.ae-foot p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 900px; }

/* Hover colors for links styled as buttons or blocks (keeps the generic link hover from darkening them) */
.ae-home .ae-brand:hover, .ae-home .ae-btn-solid:hover, .ae-home .ae-cta a:hover { color: #fff; }
.ae-home .ae-btn-solid:hover { background: var(--ae-dark); }
.ae-home .ae-btn-white:hover { color: var(--ae-dark); }
.ae-home .ae-btn-outline:hover { color: var(--ink); background: var(--wash); }
.ae-home .ae-post:hover, .ae-home .ae-row:hover { color: var(--ink); }
.ae-home .ae-foot-links a:hover { color: var(--ae); }

/* Menu button (narrow screens only) */
.ae-menu-btn { display: none; width: 44px; height: 44px; padding: 11px 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between; }
.ae-menu-btn span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.ae-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.ae-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ae-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.ae-signin-m { display: none; }
@media (max-width: 1180px) {
  .ae-nav-in { flex-wrap: wrap; gap: 0 8px; padding: 12px 0; }
  .ae-brand { order: 1; margin-right: auto; }
  .ae-navcta { order: 2; }
  .ae-navcta .ae-signin { display: none; }
  .ae-menu-btn { order: 3; display: flex; }
  .ae-navlinks { order: 4; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; font-size: 17px; }
  .ae-navlinks.open { display: flex; }
  .ae-home .ae-navlinks ul.nav { flex-direction: column; gap: 0; }
  .ae-home .ae-navlinks a { display: block; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.15); }
  .ae-home .ae-navlinks .ae-signin-m { display: block; }
  .ae-home .ae-btn-white { padding: 10px 16px; font-size: 14px; }
}

/* Ten-ETF card placement: hero on wide screens, How it works on narrow ones */
.ae-uni-how { display: none; }
@media (max-width: 960px) {
  .ae-uni-hero { display: none; }
  .ae-uni-how { display: flex; }
}
@media (max-width: 700px) {
  .ae-facts { display: none; }
  .ae-hero { border-bottom: 1px solid var(--rule); }
}

/* Tablets and narrow windows */
@media (max-width: 960px) {
  .ae-hero-in, .ae-rec-top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ae-facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones */
@media (max-width: 700px) {
  .ae-sec { padding-top: 48px; padding-bottom: 48px; }
  .ae-steps { grid-template-columns: minmax(0, 1fr); }
  .ae-facts-in { grid-template-columns: minmax(0, 1fr); }
  .ae-hero { padding-top: 36px; padding-bottom: 48px; }
  .ae-h1 { font-size: 40px; }
  .ae-h2 { font-size: 32px; }
  .ae-hero-sub { font-size: 18px; }
  .ae-home .ae-brand { font-size: 20px; }
  .ae-photo { flex-basis: 200px; width: 200px; height: 200px; }
  .ae-corr-grid { grid-template-columns: 112px minmax(0, 1fr) 40px; font-size: 14px; }
  .ae-chart { height: 260px; }
  .ae-legend { gap: 6px 5px; }
  .ae-lg { padding: 3px 8px; font-size: 12px; gap: 5px; }
  .ae-lg i { width: 11px; }
  .ae-cta h2 { font-size: 30px; }
  .ae-card { padding: 20px; }
  .ae-table { font-size: 13.5px; }
  .ae-table th, .ae-table td, .ae-table thead th { padding: 10px 3px; }
  .ae-table th[scope=row] { white-space: normal; padding-right: 6px; }
}

/* Ghost {{navigation}} output */
.ae-navlinks ul.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }

/* Phones: email field and button share one row */
@media (max-width: 700px) {
  .ae-form { gap: 8px; }
  .ae-form input { flex: 1 1 0; height: 48px; padding: 0 14px; }
  .ae-form button { flex: 0 0 auto; height: 48px; padding: 0 18px; }
}
@media (max-width: 360px) {
  .ae-form input { flex-basis: 100%; }
  .ae-form button { flex: 1 1 100%; }
}

/* Small phones */
@media (max-width: 420px) {
  .ae-nav-in { gap: 0 4px; }
  .ae-home .ae-brand { font-size: 18px; }
  .ae-home .ae-btn-white { padding: 8px 14px; }
  .ae-menu-btn { width: 40px; padding: 11px 8px; }
}
@media (max-width: 350px) {
  .ae-home .ae-brand { font-size: 16px; }
  .ae-home .ae-btn-white { padding: 8px 12px; font-size: 13px; }
  .ae-menu-btn { width: 34px; padding: 11px 5px; }
}
