/* Verified-year homepage (templates/_home_launch.html). Full-width bands, each with its own ground and layout: ink search,
   warm-white national finding, cool demo, deep membership (the shared table and plan card of membership.css), quiet links. Teal marks actions; amber is left to the launch
   bar (_py2025_banner_style.html). No figure lives in this file. */
.hl { --hl-ink: var(--hdf-ink, #0f2a33); --hl-teal: var(--hdf-teal, #0b7a72); --hl-mint: var(--hdf-mint, #8fe0d2);
  --hl-muted: #475a61; --hl-finding: Bitter, Georgia, "Times New Roman", serif; color: var(--hl-ink); font-variant-numeric: tabular-nums; }
.hdf-header .ds-c-badge.beta { background: transparent; color: #475a61; border: 1px solid #b4c0c3; }
.hl-in { max-width: var(--hdf-wide, 76rem); margin: 0 auto; padding: 0 1.25rem; box-sizing: border-box; }
.hl section.hl-hero, .hl section.hl-national, .hl section.hl-demo, .hl section.hl-plans { padding: 4.5rem 0; }
.hl h1, .hl h2 { font-family: var(--hl-finding); font-weight: 700; text-wrap: balance; letter-spacing: -0.012em; }
.hl h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.35rem); line-height: 1.15; }
.hl p { max-width: 38rem; line-height: 1.55; }
.hl a { color: var(--hl-teal); text-underline-offset: 0.18em; }
.hl :focus-visible { outline: 3px solid var(--hl-teal); outline-offset: 2px; }
.hl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl .hl-button, .hl .hl-find-go, .hl .hl-line, .hl .hl-ghost { display: inline-block; font: inherit; font-weight: 700; border-radius: 4px;
  padding: 0.7rem 1.1rem; border: 2px solid var(--hl-teal); text-decoration: none; cursor: pointer; }
.hl .hl-button { background: var(--hl-teal); color: #fff; }
.hl .hl-button:hover { background: #085e58; border-color: #085e58; color: #fff; }
.hl .hl-line { color: var(--hl-teal); background: transparent; }

/* Search */
.hl section.hl-hero { padding: 2.5rem 0; }
.hl-hero { background: var(--hl-ink); color: #fff; text-align: center; }
.hl-hero p { margin-left: auto; margin-right: auto; }
.hl-hero h1 { margin: 0 auto 1rem; max-width: 24ch; font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.5rem); line-height: 1.08; color: #fff; }
.hl .hl-support { max-width: 42rem; margin: 0 auto 1.75rem; font-size: 1.125rem; color: #d5e2e4; text-wrap: pretty; }
.hl-hero a { color: var(--hl-mint); }
.hl-hero :focus-visible { outline-color: var(--hl-mint); }
.hl-rehearsal { font-weight: 700; }
.hl-find { max-width: 44rem; margin: 0 auto; text-align: left; }
.hl-find > label { display: block; margin: 0 0 0.45rem; font-weight: 700; color: #fff; }
.hl-find-box { position: relative; }
.hl-find-row { display: flex; gap: 0.5rem; }
.hl-find-row input { flex: 1 1 auto; min-width: 0; width: 100%; margin: 0; box-sizing: border-box; height: 3.5rem; padding: 0 1rem; font: inherit; font-size: 1.125rem;
  color: var(--hl-ink); background: #fff; border: 2px solid #fff; border-radius: 4px; }
.hl .hl-find-go { flex: 0 0 auto; height: 3.5rem; background: var(--hl-mint); border-color: var(--hl-mint); color: var(--hl-ink); white-space: nowrap; }
.hl .hl-find-go:hover { background: #fff; border-color: #fff; }
.hl-find-status:empty { display: none; }
.hl .hl-second { margin: 0.5rem auto 0; }
.hl-second a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.hl #hi-options { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin: 0.35rem 0 0; padding: 0.3rem; list-style: none; max-height: 20rem;
  overflow: auto; background: #fff; border-radius: 4px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.hl #hi-options a { display: block; padding: 0.75rem 0.7rem; border-radius: 3px; text-decoration: none; color: var(--hl-ink); }
.hl #hi-options a:hover, .hl #hi-options a:focus { background: #e3f2f0; outline-color: var(--hl-teal); }
.hl-proof { margin-top: 0.9rem; margin-bottom: 0; max-width: 44rem; font-size: 0.9375rem; color: #d5e2e4; }
.hl-samples { max-width: 68rem; margin: 2.25rem auto 1.4rem; }
.hl-samples h2 { font-size: clamp(1.35rem, 1rem + 1vw, 1.85rem); color: #fff; margin: 0; }
.hl-proof time, .hl-hint a { white-space: nowrap; }
.hl-samples-note { text-wrap: balance; margin: 0.3rem auto 1rem; color: #d5e2e4; }
.hl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; list-style: none; padding: 0; margin: 0; text-align: left; }
.hl-cards li { display: flex; }
.hl-hero .hl-card-link { display: flex; flex: 1; flex-direction: column; gap: 0.45rem; padding: 1.1rem 1.2rem;
  background: #183a43; border: 1px solid #597880; border-radius: 6px; color: #fff; text-decoration: none; }
.hl-card-link strong { font: 700 1.28rem/1.24 var(--hl-finding); text-wrap: balance; }
.hl-card-aco, .hl-card-why { font-size: 0.94rem; line-height: 1.45; color: #dbe8e9; }
.hl-card-action { margin-top: auto; padding-top: 0.45rem; font-weight: 700; color: var(--hl-mint); text-decoration: underline; }
.hl-hero .hl-card-link:hover { border-color: var(--hl-mint); }
@media (max-width: 45rem) { .hl-cards { grid-template-columns: 1fr; } }
.hl .hl-hint { margin-bottom: 0; font-size: 0.875rem; color: #b8cbcf; }

/* National finding */
.hl-national { background: #fdf9f0; }
.hl-nat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 3rem 4rem; align-items: start; }
.hl .hl-finding { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.1; }
.hl-fig { margin: 0; }
.hl-unit { margin: 0 0 1.5rem; font-weight: 700; }
.hl-yr { margin: 0 0 1.75rem; }
.hl .hl-yr p { margin: 0; max-width: none; }
.hl-yr-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; }
.hl-yr-h b { font: 700 1.25rem var(--hl-finding); }
.hl-yr strong { font-size: 1.5rem; }
.hl-yr em { font-style: normal; font-weight: 700; margin-left: 0.4rem; white-space: nowrap; }
.hl-bar { margin: 0.45rem 0; height: 2.25rem; }
.hl-bar-gross { display: block; height: 100%; background: #bccfd1; }
.hl-bar-net { display: block; height: 100%; background: #6f8b91; }
.is-now .hl-bar-net { background: var(--hl-ink); }
.hl .hl-key { margin: 0 0 1rem; max-width: none; font-size: 0.875rem; color: var(--hl-muted); }
.hl-key span { display: inline-block; width: 0.8rem; height: 0.8rem; margin: 0 0.35rem 0 0; vertical-align: -0.1rem; }
.hl-key .hl-key-net { background: var(--hl-ink); }
.hl-key .hl-key-gross { background: #bccfd1; margin-left: 1rem; }
.hl .hl-src { margin: 0; font-size: 0.8125rem; color: var(--hl-muted); }

/* Sample demo */
.hl-demo { background: #e7eef0; }
.hl-demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2.5rem 3.5rem; align-items: start; }
/* the sample's public AI review, quoted word for word */
.hl-review { margin: 1.5rem 0 0; padding: 0 0 0 1.1rem; border-left: 4px solid var(--hl-teal); }
.hl-review figcaption { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 700; color: var(--hl-muted); }
.hl-review blockquote { margin: 0; }
.hl .hl-review p { margin: 0 0 0.6rem; max-width: none; }
.hl .hl-review p:last-child { margin-bottom: 0; }
.hl .hl-review-head { font: 700 1.2rem/1.3 var(--hl-finding); }
.hl-asks { display: grid; gap: 0.6rem; margin: 1.5rem 0; }
.hl-asks[hidden] { display: none; }
.hl-asks button { font: inherit; font-weight: 700; text-align: left; padding: 0.85rem 1rem; color: var(--hl-ink); background: transparent;
  border: 2px solid #9fb3b8; border-radius: 4px; cursor: pointer; }
.hl-asks button[aria-pressed="true"] { background: #fff; border-color: var(--hl-teal); box-shadow: inset 4px 0 0 var(--hl-teal); }
.hl-window { min-width: 0; background: #fff; border-radius: 10px; padding: 1.75rem; box-shadow: 0 18px 40px rgba(15, 42, 51, 0.12); }
.hl-turn h3 { margin: 0 0 0.5rem; font-size: 0.9375rem; color: var(--hl-muted); }
.hl .hl-answer { margin: 0 0 1.5rem; font: 700 clamp(1.2rem, 1rem + 0.8vw, 1.5rem)/1.3 var(--hl-finding); }
.hl-turn + .hl-turn { margin-top: 2rem; }
.is-enhanced .hl-stack { display: grid; }
.is-enhanced .hl-turn { grid-area: 1 / 1; margin: 0; min-width: 0; }
.is-enhanced .hl-turn[inert] { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .is-enhanced .hl-turn.is-entering { animation: hl-enter 0.22s ease-out; }
  @keyframes hl-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.hl-spend { margin: 0 0 1rem; display: grid; gap: 0.9rem; }
.hl-spend dt { font-size: 0.875rem; font-weight: 600; }
.hl-spend dd { margin: 0.25rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; }
.hl-spend-bar, .hl-spend-bar span { display: block; height: 1.4rem; }
.hl-spend-bar span { background: #6f8b91; }
.hl-spend div:last-child .hl-spend-bar span { background: var(--hl-ink); }
.hl .hl-result { margin: 0; max-width: none; }
/* settlement by year: a loss is a hollow bar beside its minus sign, never a bar drawn backwards */
.hl-history { margin-top: 1.5rem; border-top: 1px solid #dbe3e5; padding-top: 1.25rem; }
.hl-history h3 { margin: 0 0 0.9rem; font-size: 0.9375rem; color: var(--hl-muted); }
.hl-history .hl-spend { gap: 0.55rem; margin: 0; }
.hl-history .hl-spend > div { display: grid; grid-template-columns: 3.75rem minmax(0, 1fr); gap: 0.75rem; align-items: center; }
.hl-history .hl-spend dd { margin: 0; }
.hl-history .hl-spend-bar, .hl-history .hl-spend-bar span { height: 1rem; }
.hl-spend div .hl-spend-bar.is-loss span { background: none; box-shadow: inset 0 0 0 2px var(--hl-ink); }
.hl-table-wrap { overflow-x: auto; }
.hl-window table { width: 100%; border-collapse: collapse; }
.hl-window th, .hl-window td { padding: 0.55rem 0 0.55rem 0.75rem; text-align: right; border-bottom: 1px solid #dbe3e5; white-space: nowrap; }
.hl-window thead th { font-size: 0.8125rem; color: var(--hl-muted); }
.hl-window th:first-child { padding-left: 0; text-align: left; white-space: normal; }
.hl-evidence { margin-top: 1.5rem; border-top: 1px solid #dbe3e5; padding-top: 0.4rem; font-size: 0.875rem; overflow-wrap: anywhere; }
.hl-evidence summary { cursor: pointer; font-weight: 700; color: var(--hl-teal); padding: 0.8rem 0; }
.hl-evidence ul { padding-left: 1.1rem; }
.hl-evidence li { margin: 0 0 0.5rem; }
.hl-evidence h4 { margin: 1.25rem 0 0.4rem; }
.hl .hl-prompt { max-width: none; white-space: pre-wrap; padding: 0.9rem; background: #f2f5f6; border-radius: 4px; }

.hl .hl-open { margin: 0.25rem 0 0; font-weight: 700; }
.hl-open a { display: inline-flex; align-items: center; min-height: 44px; }

/* Membership */
.hl-plans { background: #173a45; color: #fff; }
.hl-plans h2 { color: #fff; max-width: 26ch; }
.hl-adds { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-top: 2rem; }
.hl-adds-table { background: #fff; color: var(--hl-ink); border-radius: 10px; padding: 1.25rem 1.5rem; }
.hl-adds .hdf-m-features { margin: 0; }
.hl-adds .hdf-m-plan { color: var(--hl-ink); border-radius: 10px; padding: 1.5rem; }
.hl .hdf-m-plan p { max-width: none; }
.hl .hdf-m-btn { color: var(--hdf-ink, #0f2a33); }
.hl .hdf-m-btn--solid { color: #fff; }

/* Everything else */
.hl-more { background: #f3f1ea; padding: 3rem 0 3.5rem; font-size: 0.9375rem; }
.hl .hl-more h2 { font-size: 1.375rem; }
.hl-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 3rem; }
.hl-more h3 { margin: 0 0 0.6rem; font-size: 0.9375rem; }
.hl-more ul { list-style: none; margin: 0; padding: 0; }
.hl-more li { margin: 0 0 0.8rem; }
.hl-more li span { display: block; font-size: 0.8125rem; color: var(--hl-muted); }
.hl .hl-fine { margin: 2rem 0 0; max-width: 52rem; font-size: 0.8125rem; color: var(--hl-muted); }

@media (max-width: 60rem) {
  .hl-nat-grid, .hl-demo-grid, .hl-adds { grid-template-columns: minmax(0, 1fr); }
  .hl-adds .hdf-m-plan { order: -1; }  /* the plan before its table on a narrow screen, as on the profile */
  .hl-more-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .hl section.hl-hero { padding: 2rem 0 2.5rem; }
  .hl section.hl-national, .hl section.hl-demo, .hl section.hl-plans { padding: 3rem 0; }
  .hl-hero h1 { margin-bottom: 0.9rem; }
  .hl .hl-support { font-size: 1rem; margin-bottom: 1.25rem; }
  .hl-find-row { flex-direction: column; }
  .hl-find-row input { flex: 0 0 auto; }
  .hl-adds-table { padding: 1rem; }
  .hl-window { padding: 1.1rem; }
  .hl-window th, .hl-window td { padding-left: 0.4rem; font-size: 0.8125rem; }
}
