/* Aerial Economy Large Drone Index page. House palette: paper, ink, navy, starlight, gold. No inline styles anywhere (CSP). */

/* ---------- hero band: navy, full width ---------- */
.aeldi-band { background: var(--navy); color: var(--starlight); padding: var(--s-3) 0 var(--s-4); }
.aeldi-band-in { max-width: 78rem; margin: 0 auto; padding: 0 var(--s-3); }
.aeldi-crumb { font-family: var(--sans); font-size: var(--t-1); color: color-mix(in srgb, var(--starlight) 70%, var(--navy)); margin: 0 0 var(--s-3); }
.aeldi-crumb span[aria-current] { color: var(--starlight); }
.aeldi-viewbox { position: relative; display: grid; gap: var(--s-2) var(--s-4); grid-template-columns: 1fr; grid-template-areas: "head" "panel" "tabs" "main"; }
.aeldi-viewbox > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.aeldi-head { grid-area: head; }
.aeldi-code { font-family: var(--sans); font-size: var(--t-1); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 .35rem; }
.aeldi-head h1 { color: var(--starlight); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; margin: 0; max-width: none; }
.aeldi-panel { grid-area: panel; border: 1px solid var(--navy-line); border-radius: var(--radius); padding: var(--s-2); background: var(--navy-2); }
.aeldi-plabel { font-family: var(--sans); font-size: var(--t-1); letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--starlight) 70%, var(--navy-2)); margin: 0; }
.aeldi-level { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.05; font-weight: 700; margin: 0; font-variant-numeric: tabular-nums; }
.aeldi-count { font-size: var(--t-3); font-weight: 700; margin: .1rem 0 0; }
.aeldi-asof { font-family: var(--sans); font-size: var(--t-1); line-height: 1.35; margin: .4rem 0 var(--s-2); color: color-mix(in srgb, var(--starlight) 85%, var(--navy-2)); }
.aeldi-changes { margin: 0; font-family: var(--sans); font-size: var(--t-2); }
.aeldi-changes div { display: flex; justify-content: space-between; gap: var(--s-1); padding: .3rem 0; border-top: 1px solid var(--navy-line); }
.aeldi-changes dt { color: color-mix(in srgb, var(--starlight) 75%, var(--navy-2)); }
.aeldi-changes dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.aeldi-def2 { font-family: var(--sans); font-size: 12px; line-height: 1.4; margin: .6rem 0 0; color: color-mix(in srgb, var(--starlight) 75%, var(--navy-2)); }

.aeldi-tabs { grid-area: tabs; display: flex; gap: var(--s-3); border-bottom: 1px solid var(--navy-line); align-self: end; }
.aeldi-tabs label { font-family: var(--sans); font-size: var(--t-2); padding: .55rem .1rem; min-height: 2.75rem; display: inline-flex; align-items: center; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; color: color-mix(in srgb, var(--starlight) 75%, var(--navy)); }
#aeldi-v-chart:checked ~ .aeldi-tabs label[for="aeldi-v-chart"], #aeldi-v-table:checked ~ .aeldi-tabs label[for="aeldi-v-table"] { color: var(--starlight); border-bottom-color: var(--gold); font-weight: 600; }
#aeldi-v-chart:focus-visible ~ .aeldi-tabs label[for="aeldi-v-chart"], #aeldi-v-table:focus-visible ~ .aeldi-tabs label[for="aeldi-v-table"] { outline: 2px solid var(--gold); outline-offset: 2px; }

.aeldi-main { grid-area: main; min-width: 0; }
.aeldi-tablearea { display: none; }
#aeldi-v-table:checked ~ .aeldi-main .aeldi-chartarea { display: none; }
#aeldi-v-table:checked ~ .aeldi-main .aeldi-tablearea { display: block; }

/* timeframe controls: text buttons, the chosen one filled */
.aeldi-chartbox > input { position: absolute; opacity: 0; pointer-events: none; }
.aeldi-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; margin: 0 0 var(--s-1); position: relative; }
.aeldi-pills label, .aeldi-pills .off { font-family: var(--sans); font-size: var(--t-2); padding: .35rem .8rem; min-height: 2.5rem; min-width: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; cursor: pointer; position: relative; color: var(--starlight); }
.aeldi-pills label:hover { border-color: var(--navy-line); }
.aeldi-pills .off { opacity: .5; cursor: not-allowed; color: color-mix(in srgb, var(--starlight) 70%, var(--navy)); }
.aeldi-pills .off:hover { border-color: transparent; }
.aeldi-pills .off:hover::after, .aeldi-pills .off:focus::after { content: attr(data-note); position: absolute; right: 0; top: 100%; margin-top: 6px; z-index: 5; width: max-content; max-width: 16rem; background: var(--starlight); color: var(--navy); font-size: var(--t-1); padding: .4rem .6rem; border-radius: var(--radius); }
#aeldi-r-1m:checked ~ .aeldi-pills label[for="aeldi-r-1m"], #aeldi-r-3m:checked ~ .aeldi-pills label[for="aeldi-r-3m"], #aeldi-r-1y:checked ~ .aeldi-pills label[for="aeldi-r-1y"], #aeldi-r-5y:checked ~ .aeldi-pills label[for="aeldi-r-5y"], #aeldi-r-10y:checked ~ .aeldi-pills label[for="aeldi-r-10y"], #aeldi-r-all:checked ~ .aeldi-pills label[for="aeldi-r-all"] { background: var(--starlight); color: var(--navy); font-weight: 600; }
#aeldi-r-1m:focus-visible ~ .aeldi-pills label[for="aeldi-r-1m"], #aeldi-r-3m:focus-visible ~ .aeldi-pills label[for="aeldi-r-3m"], #aeldi-r-1y:focus-visible ~ .aeldi-pills label[for="aeldi-r-1y"], #aeldi-r-all:focus-visible ~ .aeldi-pills label[for="aeldi-r-all"] { outline: 2px solid var(--gold); outline-offset: 2px; }
.aeldi-pills .off:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* chart: one line, one color */
.aeldi-chart svg { display: none; overflow: visible; width: 100%; height: auto; color: var(--starlight); }
#aeldi-r-1m:checked ~ .aeldi-svgs .s-1m, #aeldi-r-3m:checked ~ .aeldi-svgs .s-3m, #aeldi-r-1y:checked ~ .aeldi-svgs .s-1y, #aeldi-r-5y:checked ~ .aeldi-svgs .s-5y, #aeldi-r-10y:checked ~ .aeldi-svgs .s-10y, #aeldi-r-all:checked ~ .aeldi-svgs .s-all { display: block; }
.aeldi-chart svg text { font-family: var(--sans); font-size: 19px; fill: currentColor; }
.aeldi-chart .lab-gap { font-size: 17px; font-weight: 400; opacity: .9; }
.aeldi-chart .pt .hit-line { fill: none; stroke: currentColor; stroke-opacity: 0; stroke-width: 22; pointer-events: stroke; }
.aeldi-chart .pt.bridge:hover .hit-line, .aeldi-chart .pt.bridge:focus .hit-line { stroke-opacity: .12; }
.aeldi-table .row-nofile td { color: color-mix(in srgb, currentColor 65%, transparent); font-style: italic; }
/* the legend's four small samples */
.aeldi-legend .lg { display: inline-block; vertical-align: middle; height: 0; margin: 0 .15rem 0 0; }
.aeldi-legend .lg-dot { width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.aeldi-legend .lg-solid { width: 1.6rem; border-top: 3px solid currentColor; }
.aeldi-legend .lg-dash { width: 1.6rem; border-top: 3px dashed currentColor; }
.aeldi-legend .lg-dotted { width: 1.6rem; border-top: 4px dotted currentColor; }
.aeldi-chart .dot-cleared { fill: currentColor; }
.aeldi-chart .lab-start, .aeldi-chart .lab-end { font-size: 28px; font-weight: 700; }
.aeldi-chart .pt { outline: none; }
.aeldi-chart .pt .hit { fill: currentColor; fill-opacity: 0; }
.aeldi-chart .pt:hover .hit, .aeldi-chart .pt:focus .hit { fill-opacity: .9; }
.aeldi-chart .pt .tip { display: none; font-size: 21px; font-weight: 700; }
.aeldi-chart .pt:hover .tip, .aeldi-chart .pt:focus .tip { display: block; }
.aeldi-key { font-family: var(--sans); font-size: 13px; line-height: 1.45; color: color-mix(in srgb, var(--starlight) 78%, var(--navy)); margin: var(--s-1) 0 0; max-width: 60rem; }
.aeldi-docs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-1); margin: var(--s-1) 0 0; }
.aeldi-pill { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1.1rem; border: 1px solid var(--starlight); border-radius: 999px; color: var(--starlight); font-family: var(--sans); font-size: var(--t-2); text-decoration: none; }
.aeldi-pill:hover { background: var(--starlight); color: var(--navy); }
.aeldi-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.aeldi-def { font-size: var(--t-3); max-width: 46rem; margin: var(--s-3) 0 0; color: var(--starlight); }

/* table view (on navy) */
.aeldi-tablearea .aeldi-table { color: var(--starlight); }
.aeldi-tablearea .aeldi-table th, .aeldi-tablearea .aeldi-table td { border-bottom-color: var(--navy-line); }
.aeldi-tablearea .aeldi-table caption { color: color-mix(in srgb, var(--starlight) 75%, var(--navy)); }
.aeldi-btn { display: inline-flex; align-items: center; font-family: var(--sans); font-size: var(--t-2); padding: .4rem 1.1rem; border: 1px solid var(--starlight); border-radius: 999px; text-decoration: none; margin: 0 .5rem .5rem 0; min-height: 2.75rem; color: var(--starlight); }
.aeldi-btn:hover { background: var(--starlight); color: var(--navy); }
.tpage { display: none; scroll-margin-top: 16rem; }
.tpage:target { display: block; }
.aeldi-tviews:not(:has(.tpage:target)) .tpage:first-child { display: block; }
.aeldi-pager { font-family: var(--sans); font-size: var(--t-2); display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: center; margin-top: var(--s-1); color: var(--starlight); }
.aeldi-pager a { padding: .5rem .6rem; min-width: 2.75rem; text-align: center; border: 1px solid var(--navy-line); border-radius: var(--radius); color: var(--starlight); }

/* tables, both on navy and on paper */
.aeldi-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: var(--t-2); font-variant-numeric: tabular-nums; }
.aeldi-table caption { text-align: left; font-size: var(--t-1); color: var(--ink-muted); padding: 0 0 .4rem; }
.aeldi-table th, .aeldi-table td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--rule); font-weight: 400; }
.aeldi-table thead th { font-weight: 600; border-bottom-width: 2px; }
.aeldi-table tbody th { font-weight: 600; }
.aeldi-table td:nth-child(2), .aeldi-table td:nth-child(3), .aeldi-table th:nth-child(2), .aeldi-table th:nth-child(3) { text-align: right; }
.aeldi-perf td:nth-child(4), .aeldi-perf th:nth-child(4) { text-align: right; }
.aeldi-perf td:nth-child(2), .aeldi-perf th:nth-child(2) { text-align: left; }
.aeldi-tablearea .aeldi-perf { margin-bottom: var(--s-2); }

/* below the fold: content column and the sticky right rail */
.aeldi-body { padding-top: var(--s-4); }
.aeldi-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.aeldi-content section { margin-bottom: var(--s-5); scroll-margin-top: 5rem; }
.aeldi-content h2 { margin-top: 0; }
.aeldi-rail { display: none; }
.aeldi-rail-m { font-family: var(--sans); font-size: var(--t-2); border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: var(--s-3); }
.aeldi-rail-m summary { cursor: pointer; padding: .7rem var(--s-2); min-height: 2.75rem; }
.aeldi-rail-m nav { display: grid; padding: 0 var(--s-2) var(--s-1); }
.aeldi-rail-m nav a { padding: .55rem 0; border-top: 1px solid var(--rule); }
@media (min-width: 64rem) {
  .aeldi-cols { grid-template-columns: minmax(0, 1fr) 13rem; }
  .aeldi-rail { display: block; position: sticky; top: 4.5rem; font-family: var(--sans); font-size: var(--t-2); }
  .aeldi-rail-h { font-size: var(--t-1); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--s-1); }
  .aeldi-rail a { display: block; padding: .55rem 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
  .aeldi-rail a:hover { text-decoration: underline; }
  .aeldi-rail-m { display: none; }
}
.aeldi-facts { margin: var(--s-2) 0 0; border-top: 2px solid var(--ink); }
.aeldi-facts div { display: grid; grid-template-columns: 12rem 1fr; gap: var(--s-2); padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.aeldi-facts dt { font-family: var(--sans); font-size: var(--t-2); color: var(--ink-muted); }
.aeldi-facts dd { margin: 0; font-family: var(--sans); font-size: var(--t-2); font-weight: 600; }
@media (max-width: 34rem) { .aeldi-facts div { grid-template-columns: 1fr; gap: .1rem; } }
.aeldi-note { font-size: var(--t-1); color: var(--ink-muted); font-family: var(--sans); margin-top: var(--s-1); }
.aeldi-receipt { border: 1px solid var(--ink); border-radius: var(--radius); padding: var(--s-3); margin: var(--s-2) 0; background: var(--stock); }
.aeldi-receipt ul { list-style: none; padding: 0; margin: var(--s-1) 0; }
.aeldi-receipt li { padding: .25rem 0; }
.aeldi-limits { border-left: 3px solid var(--ink); padding: var(--s-1) var(--s-3); margin: var(--s-2) 0; }
.aeldi-soon { border: 1px dashed var(--ink-muted); border-radius: var(--radius); padding: var(--s-2); }
.aeldi-cite { font-family: var(--sans); font-size: var(--t-2); background: var(--stock); padding: var(--s-2); border-radius: var(--radius); user-select: all; overflow-wrap: anywhere; }
.aeldi-days summary { cursor: pointer; font-family: var(--sans); min-height: 2.75rem; display: flex; align-items: center; }
.aeldi-days ul { columns: 2; padding-left: 1.2rem; font-size: var(--t-2); }
@media (max-width: 34rem) { .aeldi-days ul { columns: 1; } }
.aeldi-res { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.aeldi-res li { display: grid; grid-template-columns: 14rem 1fr; gap: var(--s-2); padding: .65rem 0; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: var(--t-2); }
.aeldi-res li span { color: var(--ink-muted); }
@media (max-width: 34rem) { .aeldi-res li { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- desktop: chart left and dominant, readout panel right ---------- */
@media (min-width: 48rem) {
  .aeldi-viewbox { grid-template-columns: minmax(0, 1fr) 19rem; grid-template-areas: "head head" "docs docs" "tabs tabs" "main panel"; align-items: start; }
  .aeldi-docs { grid-area: docs; margin: 0; }
  .aeldi-chart svg { max-height: calc(100svh - 24rem); min-height: 16rem; }
  .aeldi-tabs { align-self: auto; }
}
@media (min-width: 48rem) and (max-width: 64rem) {
  .aeldi-viewbox { grid-template-columns: minmax(0, 1fr) 16rem; }
  .aeldi-level { font-size: 2.75rem; }
}

/* ---------- phone: title, readout strip, tabs, chart, buttons, document links ---------- */
@media (max-width: 47.99rem) {
  .aeldi-band { padding: .75rem 0 var(--s-3); }
  .aeldi-band-in { padding: 0 var(--s-2); }
  .aeldi-crumb { margin-bottom: var(--s-1); }
  .aeldi-viewbox { gap: var(--s-1); grid-template-areas: "head" "panel" "tabs" "main" "docs"; }
  .aeldi-docs { grid-area: docs; margin-top: var(--s-1); }
  .aeldi-head h1 { font-size: 1.5rem; }
  .aeldi-panel { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-2); align-items: center; padding: .55rem var(--s-2); }
  .aeldi-plabel { display: none; }
  .aeldi-level { font-size: 2.5rem; grid-row: 1 / span 2; }
  .aeldi-count { font-size: var(--t-2); margin: 0; }
  .aeldi-asof { margin: 0; font-size: 12px; }
  .aeldi-changes { grid-column: 1 / -1; display: flex; gap: var(--s-1); margin-top: .4rem; }
  .aeldi-changes div { flex: 1; display: block; padding: .3rem 0 0; font-size: 12px; }
  .aeldi-changes div:nth-child(n+3) { display: none; }
  .aeldi-changes dd { text-align: left; }
  .aeldi-def2 { display: none; }
  .aeldi-tabs label { min-height: 2.5rem; padding: .35rem .1rem; }
  .aeldi-pills { justify-content: flex-start; }
  .aeldi-pills label { min-height: 2.5rem; padding: .3rem .7rem; }
  .aeldi-chart svg .lab-start, .aeldi-chart svg .lab-end { font-size: 40px; }
  .aeldi-chart svg text { font-size: 28px; }
  .aeldi-chart svg .pt .tip { font-size: 28px; }
  .aeldi-tablearea .aeldi-table { font-size: 13px; }
  .aeldi-tablearea .aeldi-table th, .aeldi-tablearea .aeldi-table td { padding: .4rem .3rem; }
}
.aeldi-formula { font-family: var(--sans); background: var(--stock); padding: var(--s-2); border-radius: var(--radius); overflow-wrap: anywhere; }

/* typographic rhythm below the fold */
.aeldi-content h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; margin: 0 0 var(--s-2); padding-top: var(--s-1); border-top: 1px solid var(--rule); }
.aeldi-content #overview h2 { border-top: 0; padding-top: 0; }
.aeldi-content p { margin: 0 0 var(--s-2); }
.aeldi-content .aeldi-table { margin-bottom: var(--s-1); }
.aeldi-days summary::before { content: '+'; display: inline-block; width: 1.25rem; font-size: var(--t-3); }
.aeldi-days details[open] summary::before { content: '\2212'; }

.aeldi-chart .dot-single { fill: currentColor; opacity: .9; }
.aeldi-chart .refline { stroke: currentColor; stroke-opacity: .35; stroke-dasharray: 2 6; }
.aeldi-chart .lab-ref { font-size: 17px; fill: currentColor; opacity: .75; }

/* the shared header pads its left edge by --axis-left; between 64rem and 75rem that pushes the Subscribe button off screen. Scoped to this page only. */
@media (min-width: 64rem) and (max-width: 75rem) { body:has(.aeldi-band) { --axis-left: var(--gutter); } }

/* v2.0: legend, base row, corrections list */
.aeldi-legend { max-width: 62rem; }
.aeldi-baserow { margin-bottom: var(--s-2); }
.aeldi-corr { padding-left: 1.2rem; }
.aeldi-corr li { margin-bottom: var(--s-1); }

.aeldi-chart .lab-note { font-size: 20px; font-weight: 700; font-style: normal; fill: currentColor; opacity: 1; }
.aeldi-chart .lab-note2 { font-weight: 400; font-size: 17px; }
@media (max-width: 47.99rem) { .aeldi-chart svg .lab-gap { font-size: 25px; } .aeldi-chart svg .lab-note { font-size: 28px; } .aeldi-chart svg .lab-note2 { font-size: 24px; } }

/* the rulebook: long hashes wrap instead of widening the page on a phone */
.page .body { overflow-wrap: anywhere; }

/* the three looks of the line: real strokes, a fixed 2.5 screen px at every size (non-scaling), round joins and caps, no filter, no opacity trick */
.aeldi-chart .line, .aeldi-chart .line-dash, .aeldi-chart .line-dot { fill: none; stroke: currentColor; stroke-width: 2.5px; vector-effect: non-scaling-stroke; stroke-linejoin: round; shape-rendering: geometricPrecision; }
.aeldi-chart .line { stroke-linecap: round; }                                                    /* audited: solid */
.aeldi-chart .line-dash { stroke-linecap: butt; stroke-dasharray: 9px 5px; }                    /* counted: even dashes, same weight */
.aeldi-chart .line-dot { stroke-width: 3px; stroke-linecap: round; stroke-dasharray: 0.01px 7px; }   /* no data: round dots, even spacing */

/* the cut between the navy hero and the beige page (Riley, Nov 25, 2026, Option 1): a hard clean edge, a 3 px gold rule on the seam, 72 px of room above it and 72 px below it */
.aeldi-chart { position: relative; padding-bottom: 72px; border-bottom: 3px solid var(--gold); }
.aeldi-chart ~ .aeldi-body { padding-top: 72px; }

.aeldi-legend .lgi { white-space: nowrap; margin-right: 1rem; display: inline-block; }

/* ---------- Go deeper: one compact row of locked cards (src/components/GoDeeper.astro). Generic shapes only; nothing real behind the blur. ---------- */
.aeldi-content .deeper { margin-bottom: 72px; }
.aeldi-content .deeper h2 { margin-bottom: var(--s-1); }
.deeper-note { margin: 0 0 var(--s-2); }
.deeper-row { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 48rem) { .deeper-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.deeper-card { position: relative; padding: var(--s-2); border: 1px solid var(--rule); border-radius: var(--radius); background: color-mix(in srgb, var(--paper) 94%, var(--navy)); overflow: hidden; }
.deeper-art { display: block; width: 100%; height: 3.5rem; filter: blur(5px); opacity: .7; margin-bottom: var(--s-1); }
.deeper-art path { fill: none; stroke: var(--navy); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.deeper-lock { position: absolute; top: .5rem; right: .5rem; width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deeper-card h3 { margin: 0 0 .2rem; font-size: var(--t-2); line-height: 1.2; }
.deeper-card p { margin: 0; font-size: var(--t-2); line-height: 1.35; }
.aeldi-content .deeper-cta { margin: var(--s-3) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.deeper-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 3rem; padding: 0 var(--s-4); line-height: 1; text-decoration: none; text-align: center; }
.deeper-btn:hover { background: var(--paper); color: var(--ink); }
.deeper-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 30rem) { .deeper-btn { width: 100%; } }
.aeldi-content .deeper-price { margin: var(--s-1) 0 0; }

/* ---------- the bottom of the page: one rhythm, about 72 to 96 px, between Cite, the sign-up and the footer ---------- */
.aeldi-content #cite { margin-bottom: 72px; }
.aeldi-content #subscribe { margin-bottom: 0; }
main:has(#subscribe) { padding-bottom: 0; }   /* this page only: the sign-up is its last block; the gap to the footer is set below */
main:has(#subscribe) .aeldi-body { padding-bottom: 72px; }

.deeper-soon { font-size: var(--t-3); }


/* paid view (dark): same house style as the free page */
.aeldi-paid h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: .5rem 0 var(--s-1); }
.aeldi-paid h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: var(--s-4) 0 var(--s-1); }
.aeldi-paid .aeldi-crumb { color: var(--ink-muted); }
.aeldi-banner { font-family: var(--sans); padding: .7rem var(--s-2); border-radius: var(--radius); margin: 0 0 var(--s-2); }
.aeldi-banner.ok { background: color-mix(in srgb, var(--navy) 8%, var(--paper)); border: 1px solid var(--navy-line); }
.aeldi-banner.bad { background: #fff6dc; border: 2px solid var(--ink); }
.aeldi-paid .aeldi-note { font-family: var(--sans); font-size: var(--t-1); color: var(--ink-muted); }
.aeldi-wm { border-top: 1px solid var(--rule); padding-top: var(--s-1); }

.aeldi-paid .nbox-button[disabled] { opacity: .45; cursor: not-allowed; }

/* day pass success page: the pass link field and the price line */
.aeldi-link { width: min(100%, 38rem); box-sizing: border-box; padding: .6rem .7rem; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: var(--t-1); margin: 0 0 var(--s-1); }
.aeldi-price { font-size: var(--t-4); margin: 0 0 var(--s-2); }

/* plans page: two plans side by side */
.aeldi-plans { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin: var(--s-2) 0; }
.aeldi-plan-card { border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--s-3); background: color-mix(in srgb, var(--paper) 94%, var(--navy)); }
.aeldi-plan-main { border: 2px solid var(--ink); }
.aeldi-plan-card h2 { margin-top: 0; } .aeldi-plan-card h3 { font-size: var(--t-2); margin: var(--s-2) 0 .2rem; } .aeldi-plan-card ul { margin: 0; padding-left: 1.1rem; }
.aeldi-price strong { font-size: 1.6em; }
/* paid view story: today in ten seconds, the movers, the figures */
.aeldi-ten { padding-left: 1.2rem; font-size: var(--t-4); line-height: 1.4; } .aeldi-ten li { margin: 0 0 .5rem; }
.aeldi-first { margin-top: var(--s-2); }
.aeldi-movers td.up { color: #1f6b3a; font-weight: 600; } .aeldi-movers td.down { color: #8a2b2b; font-weight: 600; }
.aeldi-figs { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); } .aeldi-fig { margin: 0; } .aeldi-fig img { width: 100%; height: auto; aspect-ratio: 640 / 300; background: #fffdf8; }
.aeldi-src li { margin-bottom: .4rem; }
/* paid view: welcome, map, data tables, dark mode, print */
.aeldi-welcome { border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--s-3); margin: 0 0 var(--s-3); background: color-mix(in srgb, var(--paper) 92%, var(--gold)); }
.aeldi-welcome h2 { margin-top: 0; } .aeldi-welcome[hidden] { display: none; }
.aeldi-passbar { border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--s-2) var(--s-3); margin: 0 0 var(--s-3); background: color-mix(in srgb, var(--paper) 94%, var(--navy)); } .aeldi-passbar p { margin: .25rem 0; }
.aeldi-mapwrap { max-width: 36rem; margin: 0 0 var(--s-2); } .aeldi-map { width: 100%; height: auto; display: block; }
.aeldi-dt { margin: .4rem 0 var(--s-2); } .aeldi-dt summary { cursor: pointer; font-family: var(--sans); font-size: var(--t-1); color: var(--ink-muted); } .aeldi-dt summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.aeldi-ownernav { display: flex; flex-wrap: wrap; gap: var(--s-1); margin: 0 0 var(--s-3); }
@media (prefers-color-scheme: dark) { .aeldi-paid { --paper: #12182b; --ink: #f4edd8; --ink-muted: #b7b0a0; --rule: #2d3550; background: #12182b; color: #f4edd8; } .aeldi-paid .nbox-button { background: #f4edd8; color: #12182b; border-color: #f4edd8; } .aeldi-fig img { background: #fffdf8; } .aeldi-link { background: #1a2240; color: #f4edd8; border-color: #f4edd8; } .aeldi-paid a { color: #f4edd8; } }
@media print { .aeldi-passbar, .aeldi-welcome, .aeldi-ownernav, .aeldi-paid .nbox-button, .aeldi-dt summary { display: none !important; } .aeldi-paid { background: #fff; color: #000; } .aeldi-table { break-inside: avoid; } .aeldi-fig img { max-width: 100%; } details.aeldi-dt[open], details.aeldi-dt { display: block; } }

@media (max-width: 40rem) { .aeldi-paid .aeldi-table { display: block; max-width: 100%; overflow-x: auto; } .aeldi-link { width: 100%; } }
