/* GENM homepage (Home preview template)
/* ----------------------------------------------------------
Loaded only by home.hbs, custom-home-preview.hbs and custom-research.hbs. Every rule is scoped to
.genm-home (the page's main element), so no other page changes.
The footer's styles are in genm-footer.css (every page).
Colors and fonts come only from genm-tokens.css. Headlines use
Source Serif 4, text uses Inter, figures use IBM Plex Mono with
tabular numbers (.genm-figures). Nothing here animates.
Sizes are in px because Source sets the root font size to 10px.
*/

/* ---------- shared ---------- */
.genm-home {
    font-family: var(--genm-font-sans);
    color: var(--genm-navy);
}

.genm-home * {
    box-sizing: border-box;
}

.genm-home-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.genm-home-section {
    margin: 0 auto 56px;
}

.genm-home-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(4vw, 16px);
}

.genm-home .genm-home-h2 {
    margin: 0 0 20px;
    font-family: var(--genm-font-serif);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--genm-navy);
}

.genm-home .genm-home-lede {
    margin: -8px 0 20px;
    font-size: 16px;
    line-height: 1.5;
}

.genm-home .genm-home-small {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: color-mix(in srgb, var(--genm-navy) 80%, transparent);
}

.genm-home ul[role="list"] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.genm-home a:focus-visible {
    outline: 2px solid var(--genm-gold);
    outline-offset: 2px;
}

/* The sphere band sits right under the navigation */
.genm-home .genm-sphere-band {
    margin-bottom: 40px;
}

/* ---------- B2. debt on a date (partials/genm-home/debt-lookup.hbs, assets/js/home/genm-debt-lookup.js) ---------- */
/* The body reserves the height of the one-date view (measured with the panel open at each width), so the panel appearing moves nothing; the
two-date view grows below it. The reserve is released when the data cannot load (the script sets data-genm-mounted="failed") and with JavaScript off. */
.genm-dl .genm-dl-body {
    min-height: 1110px;
}

@media (min-width: 400px) {
    .genm-dl .genm-dl-body {
        min-height: 960px;
    }
}

@media (min-width: 600px) {
    .genm-dl .genm-dl-body {
        min-height: 750px;
    }
}

@media (min-width: 900px) {
    .genm-dl .genm-dl-body {
        min-height: 660px;
    }
}

.genm-dl[data-genm-mounted="failed"] .genm-dl-body {
    min-height: 0;
}

.genm-dl .genm-dl-status[hidden],
.genm-dl .genm-dl-panel[hidden],
.genm-dl .genm-dl-field[hidden] {
    display: none;
}

.genm-dl .genm-dl-panel {
    padding: 16px;
    border-radius: 12px;
    background: var(--genm-navy);
    color: var(--genm-cream);
}

.genm-dl .genm-dl-panel .genm-home-small {
    margin: 8px 0 0;
    color: var(--genm-muted);
}

.genm-dl .genm-dl-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 14px 0 0;
    padding: 0;
    border: 0;
}

.genm-dl .genm-dl-legend {
    width: 100%;
    padding: 0;
    font-size: 13px;
    color: var(--genm-muted);
}

.genm-dl .genm-dl-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 15px;
}

.genm-dl .genm-dl-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 6px;
}

.genm-dl .genm-dl-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.genm-dl .genm-dl-fieldlabel {
    width: 100%;
    font-size: 13px;
    color: var(--genm-muted);
}

.genm-dl .genm-dl-input,
.genm-dl .genm-dl-btn {
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid var(--genm-navy-track);
    border-radius: 8px;
    background: var(--genm-navy-panel);
    color: var(--genm-cream);
    font: inherit;
    font-size: 15px;
}

.genm-dl .genm-dl-input {
    color-scheme: dark;
}

.genm-dl .genm-dl-btn {
    cursor: pointer;
}

.genm-dl .genm-dl-input:disabled,
.genm-dl .genm-dl-btn:disabled {
    opacity: .6;
}

.genm-dl input:focus-visible,
.genm-dl button:focus-visible {
    outline: 2px solid var(--genm-gold);
    outline-offset: 2px;
}

.genm-dl .genm-dl-result {
    min-height: 110px;
    margin-top: 14px;
}

.genm-dl .genm-dl-label {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--genm-muted);
}

.genm-dl .genm-dl-line {
    margin: 0 0 8px;
    font-size: 15px;
}

.genm-dl .genm-dl-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 0;
}

.genm-dl .genm-dl-item {
    min-width: 0;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--genm-navy-panel);
}

.genm-dl .genm-dl-item dt {
    font-size: 13px;
    color: var(--genm-muted);
}

.genm-dl .genm-dl-item dd {
    margin: 0;
}

.genm-dl .genm-dl-figure {
    margin-top: 6px;
    font-size: clamp(20px, 5vw, 26px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--genm-gold);
    overflow-wrap: anywhere;
}

.genm-dl .genm-dl-note {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
}

.genm-dl .genm-dl-how {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.5;
}

.genm-dl .genm-dl-how p {
    margin: 6px 0 0;
}

.genm-dl .genm-dl-how-title {
    margin: 0;
    font-size: 14px;
    color: var(--genm-cream);
}

.genm-dl .genm-dl-affil {
    margin-left: 0;
}

/* ---------- C. pace band ---------- */
.genm-home-pace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 16px;
    border-radius: 12px;
    background: var(--genm-navy);
}

.genm-home-pace-item {
    min-width: 0;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--genm-navy-panel);
}

.genm-home-pace-item dt {
    font-size: 13px;
    line-height: 1.4;
    color: var(--genm-muted);
}

.genm-home-pace-item dd {
    margin: 0;
}

.genm-home-pace .genm-home-pace-value {
    margin-top: 6px;
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--genm-gold);
    overflow-wrap: anywhere;
}

.genm-home-pace .genm-home-pace-label {
    margin-top: 6px;
    font-size: 11px;
    color: var(--genm-cream);
}

/* ---------- D. viewer cards (partials/genm-home/tool-card.hbs): night glass look ----------
The same cards show on the hub, the homepage Featured viewers and each page's Related viewers.
Palette: navy #06132a, gold #d4af37, cyan #6fe3f5, body text #a9bad2. Fog, sheen and dots sit behind the text. The small picture
in each corner is drawn by assets/js/home/genm-hub-cards.js; without it the glass window stays empty and the card is a plain link. */
.genm-home-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

@media (max-width: 520px) {
    .genm-home-tool-grid {
        grid-template-columns: 1fr;
    }
}

.genm-home-tool {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.genm-home .genm-hub-card {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 210px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 18px 18px 22px;
    background: #06132a;
    border: 1px solid rgba(111, 227, 245, 0.3);
    border-top: 3px solid #d4af37;
    border-radius: 6px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.genm-home .genm-hub-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6fe3f5 30%, #6fe3f5 70%, transparent);
    opacity: 0.75;
    z-index: 4;
}

.genm-hub-fog,
.genm-hub-sheen,
.genm-hub-dots {
    position: absolute;
    pointer-events: none;
}

.genm-hub-fog {
    inset: -10%;
    z-index: 0;
    filter: blur(14px);
    animation: genm-hub-drift 18s ease-in-out infinite alternate;
    background:
        radial-gradient(46% 42% at 80% 17%, rgba(111, 227, 245, 0.454), transparent 72%),
        radial-gradient(22% 20% at 80% 17%, rgba(160, 240, 252, 0.162), transparent 70%),
        radial-gradient(55% 48% at 15% 85%, rgba(50, 130, 235, 0.55), transparent 72%),
        radial-gradient(30% 28% at 15% 85%, rgba(111, 227, 245, 0.255), transparent 70%),
        radial-gradient(28% 26% at 54% 54%, rgba(212, 175, 55, 0.14), transparent 70%);
}

.genm-hub-card[data-v="V3"] .genm-hub-fog {
    opacity: 0.7;
}

@keyframes genm-hub-drift {
    from { transform: translate(-2%, -1%); }
    to { transform: translate(2%, 1.5%); }
}

.genm-hub-sheen {
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(225deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 26%, rgba(255, 255, 255, 0) 52%),
        radial-gradient(90% 55% at 100% 0%, rgba(190, 245, 255, 0.113), transparent 62%);
    box-shadow: inset -1px 1px 0 rgba(255, 255, 255, 0.16);
}

.genm-hub-dots {
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(circle, rgba(111, 227, 245, 0.6) 1px, transparent 1.6px);
    background-size: 13px 13px;
    -webkit-mask-image: linear-gradient(to top right, #000 0%, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0.14) 62%, rgba(0, 0, 0, 0.03) 100%);
    mask-image: linear-gradient(to top right, #000 0%, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0.14) 62%, rgba(0, 0, 0, 0.03) 100%);
}

.genm-hub-in {
    position: relative;
    z-index: 3;
}

.genm-hub-head {
    min-height: 104px;
    padding-right: 112px;
}

.genm-hub-v {
    margin-bottom: 6px;
    font: 11px ui-monospace, Menlo, Consolas, monospace;
    letter-spacing: 0.08em;
    color: #6fe3f5;
}

.genm-home .genm-hub-title {
    margin: 0;
    font: 400 21px/1.15 Georgia, "Times New Roman", serif;
    color: #fff;
    -webkit-text-stroke: 1px rgba(111, 227, 245, 0.9);
    paint-order: stroke fill;
    text-shadow: 0 0 6px rgba(111, 227, 245, 0.55), 0 0 16px rgba(111, 227, 245, 0.3);
    text-decoration: none;
}

.genm-home .genm-hub-desc {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #a9bad2;
}

.genm-hub-link {
    display: inline-block;
    margin-top: 12px;
    padding-bottom: 1px;
    font-size: 14px;
    color: #6fe3f5;
    border-bottom: 2px solid #d4af37;
}

.genm-hub-soon {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    color: #d4af37;
}

.genm-hub-win {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(150, 225, 245, 0.16) 0%, rgba(3, 10, 24, 0.78) 46%, rgba(3, 10, 24, 0.85) 100%);
    border: 1px solid rgba(160, 238, 252, 0.65);
    box-shadow: 0 0 14px rgba(111, 227, 245, 0.243), inset 0 1.5px 0 rgba(255, 255, 255, 0.4), inset 0 0 18px rgba(111, 227, 245, 0.097);
}

.genm-hub-win::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.07) 26%, rgba(255, 255, 255, 0) 44%);
}

.genm-hub-win.genm-hub-globe {
    top: 10px;
    right: 10px;
    width: 108px;
    height: 108px;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
}

.genm-hub-win.genm-hub-globe::after {
    display: none;
}

.genm-hub-win canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
}

.genm-hub-win.genm-hub-globe canvas {
    cursor: grab;
    touch-action: none;
}

.genm-hub-ill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    z-index: 3;
    pointer-events: none;
    text-align: center;
    font: 8px ui-monospace, Menlo, monospace;
    line-height: 1.25;
    letter-spacing: 0.08em;
    color: rgba(214, 228, 244, 0.92);
}

.genm-hub-ill span {
    display: block;
    margin-top: 1px;
    font-size: 6px;
    letter-spacing: 0.06em;
    color: rgba(214, 228, 244, 0.8);
}

.genm-hub-globe .genm-hub-ill {
    bottom: -13px;
}

@media (prefers-reduced-motion: reduce) {
    .genm-hub-fog {
        animation: none;
    }
}

.genm-home .genm-home-tag {
    align-self: flex-start;
    margin: 0;
    padding: 3px 10px;
    border-radius: 8px;
    background: var(--genm-navy);
    color: var(--genm-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ---------- E. latest research ---------- */
.genm-home-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 20px;
}

.genm-home-head .genm-home-h2 {
    margin-bottom: 0;
}

.genm-home .genm-home-more {
    font-size: 15px;
    font-weight: 600;
    color: var(--genm-navy);
    text-decoration: underline;
    text-decoration-color: var(--genm-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Research cards (partials/genm-home/research-card.hbs): three equal
columns on desktop, stacked on phones. Every image area is the same height. */
.genm-home-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px 24px;
}

@media (min-width: 768px) {
    .genm-home-cards-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Latest research on the homepage fetches extra posts so it still has three
after FRED and Macro Radar posts are skipped; show only the first three. */
.genm-home-cards-latest > .genm-home-card:nth-child(n+4) {
    display: none;
}

.genm-home-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.genm-home .genm-home-card-link {
    display: block;
    color: var(--genm-navy);
    text-decoration: none;
}

.genm-home .genm-home-card-link:hover {
    opacity: 1;
}

.genm-home-card-media {
    height: 160px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 8px;
    border-bottom: 3px solid var(--genm-gold);
    background: var(--genm-navy);
}

.genm-home-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.genm-home .genm-home-card-title {
    margin: 0 0 6px;
    font-family: var(--genm-font-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    color: var(--genm-navy);
}

.genm-home .genm-home-card-link:hover .genm-home-card-title {
    text-decoration: underline;
    text-decoration-color: var(--genm-gold);
    text-underline-offset: 3px;
}

.genm-home .genm-home-card-date {
    margin: 0 0 8px;
    font-size: 13px;
    color: color-mix(in srgb, var(--genm-navy) 75%, transparent);
}

.genm-home .genm-home-card-excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* Research page (custom-research.hbs) */
.genm-research {
    padding-top: 40px;
}

.genm-home .genm-home-h1 {
    margin: 0 0 24px;
    font-family: var(--genm-font-serif);
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--genm-navy);
}

.genm-home .genm-research-lede {
    margin: -8px 0 28px;
}

/* ---------- About the Debt Sphere ---------- */
.genm-home-prose {
    max-width: 760px;
}

.genm-home .genm-home-prose p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.65;
}

.genm-home .genm-home-h3 {
    margin: 28px 0 10px;
    font-family: var(--genm-font-serif);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--genm-navy);
}

/* ---------- F. membership ---------- */
.genm-home-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: var(--genm-navy);
}

.genm-home-tier {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    border-radius: 8px;
    background: var(--genm-navy-panel);
    color: var(--genm-cream);
}

.genm-home .genm-home-tier-name {
    margin: 0 0 6px;
    font-family: var(--genm-font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--genm-cream);
}

.genm-home .genm-home-tier-price {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 0 0 10px;
    font-size: 17px;
    color: var(--genm-gold);
}

.genm-home .genm-home-tier-trial {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--genm-cream);
}

.genm-home .genm-home-tier-trial a {
    color: var(--genm-gold);
    text-decoration: underline;
}

.genm-home .genm-home-tier-desc {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
}

.genm-home .genm-home-tier-benefits {
    flex-grow: 1;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.5;
}

.genm-home-tier-benefits li {
    position: relative;
    margin: 0 0 6px;
    padding-left: 18px;
}

.genm-home-tier-benefits li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: var(--genm-gold);
}

.genm-home .genm-home-button {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--genm-gold);
    color: var(--genm-navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.genm-home .genm-home-button:hover {
    opacity: 1;
    background: var(--genm-cream);
}

/* ---------- G. Treasury source line ---------- */
.genm-home-source {
    margin-bottom: 0;
}

.genm-home-source .genm-home-small {
    padding-top: 12px;
    border-top: 1px solid color-mix(in srgb, var(--genm-navy) 18%, transparent);
}

/* Link to GENM Data under the source line */
.genm-home .genm-home-data-link {
    margin: 16px 0 0;
}

/* Legal line directly beneath every tool: "For information and education only. Not financial or investment advice." */
.genm-tool-legal {
    margin: 10px 0 0;
    font-family: var(--genm-font-sans);
    font-size: 13px;
    line-height: 1.5;
}

/* ---------- H. What's coming to GENM (GENM tower preview, assets/js/home/genm-tower.js) ---------- */
/* The view's height is reserved here so nothing moves when the 3D scene arrives */
.genm-home-tower {
    margin-top: 56px;
}

.genm-home .genm-home-tower-desc {
    margin: -8px 0 20px;
    font-size: 16px;
    line-height: 1.5;
    color: color-mix(in srgb, var(--genm-navy) 80%, transparent);
}

.genm-tower-view {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    border-radius: 12px;
    background: #07101d;
}

.genm-tower-scene {
    position: absolute;
    inset: 0;
}

/* Mouse: drag orbits at once. Touch: one-finger drag scrolls the page until "Tap to explore" */
.genm-tower-scene canvas.genm-tower-canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: pan-x pan-y pinch-zoom;
    cursor: grab;
}

.genm-tower.is-engaged .genm-tower-scene canvas.genm-tower-canvas {
    touch-action: none;
}

.genm-tower-scene canvas.genm-tower-canvas:active {
    cursor: grabbing;
}

.genm-home .genm-tower-tap {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    padding: 10px 18px;
    border: 1px solid rgba(160, 185, 210, 0.4);
    border-radius: 999px;
    background: rgba(10, 20, 34, 0.78);
    color: var(--genm-cream);
    font-family: var(--genm-font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.genm-home .genm-tower-tap[hidden] {
    display: none;
}

.genm-tower-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: 12px;
}

.genm-tower-controls[hidden] {
    display: none;
}

.genm-home .genm-tower-btn {
    padding: 7px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--genm-gold);
    color: var(--genm-navy);
    font-family: var(--genm-font-sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.genm-home .genm-tower-btn:hover {
    background: var(--genm-cream);
}

.genm-home .genm-tower-btn:focus-visible,
.genm-home .genm-tower-tap:focus-visible {
    outline: 2px solid var(--genm-navy);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--genm-gold);
}

.genm-tower-hint {
    font-size: 12px;
    color: color-mix(in srgb, var(--genm-navy) 80%, transparent);
}

/* JavaScript off (over the reserved view) and no WebGL (in place of the view) */
.genm-home .genm-tower-msg {
    margin: 0;
    padding: 24px;
    border-radius: 12px;
    background: var(--genm-navy);
    color: var(--genm-cream);
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.genm-home .genm-tower-msg[hidden] {
    display: none;
}

.genm-home .genm-tower-msg-over {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: transparent;
}

@media (max-width: 767px) {
    .genm-tower-view {
        height: 560px;
    }
}

/* ---------- daily Treasury check line (partials/genm-verification.hbs) ----------
One quiet line: navy text, a small gold dot on its first line, the count in the figures font. No banner,
no animation, and no gold rule, so it never echoes the tagline's style.
The line starts neutral and assets/js/genm-verification.js may swap in a longer line. While scripts run,
a hidden copy of the longest line (::before, same grid cell) reserves its height at every width, so
nothing below moves when it loads. With JavaScript off nothing is reserved on pages; the homepage hero slot
is reserved in every state (below). */
.genm-verify {
    display: grid;
    margin: 10px 0 0;
    padding-left: 14px;
    background: radial-gradient(circle, var(--genm-gold) 0 3px, transparent 3.5px) no-repeat 0 6px / 8px 8px;
    font-size: 13px;
    line-height: 1.55;
    color: color-mix(in srgb, var(--genm-navy) 80%, transparent);
}

.genm-verify::before,
.genm-verify .genm-verify-text {
    grid-area: 1 / 1;
    min-width: 0;
}

.genm-verify .genm-verify-figure {
    font-weight: 500;
    line-height: 1; /* the figures font's taller line box would otherwise add a pixel */
    color: var(--genm-navy);
}

@media (scripting: enabled) {
    .genm-verify::before {
        visibility: hidden;
    }

    .genm-verify-page::before {
        content: "Treasury figures on this page are checked against Treasury's published data every day. Last checked: Sep 30, 2026.";
    }
}

/* Homepage, beside the source line: the neutral line only, the same in every state (nothing to reserve) */
.genm-home-source .genm-verify-source {
    margin-top: 10px;
}

/* Homepage hero: under the tagline's gold rule, above the sphere card. Centered, smaller and quieter than the
tagline, no dot (the gold rule above is the accent). Empty until the check is fresh; the hidden copy of the
line (::before) reserves its height in every state, JavaScript off included, so nothing moves when it fills.
At 360px it fits in two lines. */
.genm-home .genm-verify-hero {
    max-width: 34em;
    margin: 0 auto 18px;
    padding: 0;
    background: none;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    text-wrap: balance;
    color: color-mix(in srgb, var(--genm-navy) 75%, transparent);
}

.genm-home .genm-verify-hero::before {
    content: "000,000 Treasury data points since 2005, checked against Treasury's published data every day.";
    visibility: hidden;
    text-wrap: balance;
}

/* Phones: the hero sits inside two side paddings (the band's and genm-home-inner's). The line uses the band's
width instead, still 16px from the screen edge, so it fits in two lines at 360px. */
@media (max-width: 480px) {
    .genm-home .genm-verify-hero {
        max-width: none;
        margin-right: calc(-1 * max(4vw, 16px));
        margin-left: calc(-1 * max(4vw, 16px));
    }
}

/* GENM Data and tool pages: under the subtitle, in the page header (full header width, one line on desktop) */
.genm-tool-page .genm-tool-header .genm-verify-page {
    margin-top: 12px;
}

/* The chart slot (Phase 10 Batch 5B, partials/genm-home/home.hbs, assets/js/home/genm-home-slot.js, docs/home-slot.md).
The stage reserves the height down to the bottom of the tallest chart drawing (measured on local Ghost with the Worker's data: the yield
bar's 700px canvas, whose bottom sits 960px below the top of the stage at 390px wide and 898px at 1280px wide; the treemap's canvas is 429px
at 390 and 560px at 1280), so the chart area does not jump when a visitor steps to another chart or a chart finishes loading. The text and
table under each drawing differ in length and still move what is below the slot. head.hbs resets the reserve when JavaScript is off.
The chart sections keep their own styles (genm-bars.css, genm-charts.css). */
.genm-home .genm-home-slot-bar {
    display: flex;
    justify-content: flex-end;
    min-height: 44px;
    margin-bottom: 12px;
}

.genm-home .genm-home-slot-next {
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--genm-gold);
    color: var(--genm-navy);
    font-family: var(--genm-font-sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.genm-home .genm-home-slot-next[hidden],
.genm-home .genm-home-slot-item[hidden] {
    display: none;
}

.genm-home .genm-home-slot-next:hover {
    background: var(--genm-cream);
}

.genm-home .genm-home-slot-next:focus-visible {
    outline: 2px solid var(--genm-navy);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--genm-gold);
}

.genm-home .genm-home-slot-stage {
    min-height: 980px;
}

@media (min-width: 641px) {
    .genm-home .genm-home-slot-stage {
        min-height: 920px;
    }
}

/* CL8 is built to sit inside another section (margin, no side padding); in the slot it is a section of the page like the others */
.genm-home .genm-home-slot .genm-dc.genm-dc-nested {
    margin: 0 auto 56px;
}

.genm-home .genm-home-slot .genm-dc.genm-dc-nested > .genm-home-inner {
    max-width: 1200px;
    padding: 0 max(4vw, 16px);
}
