/* mock stylesheet — howdoesahelocwork.com */
:root {
  color-scheme: light dark;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #1a1c1e;
  --muted: #596067;
  --rule: #d9d7cf;
  --money: #9c3a25;
  --rate: #2b4c94;
  --cap: #0d6a51;
  --key: #7c5300;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131619;
    --surface: #1b1f23;
    --ink: #e9eae6;
    --muted: #a4abaa;
    --rule: #2f3538;
    --money: #f0997f;
    --rate: #a3bcf5;
    --cap: #63d1ac;
    --key: #e5b452;
  }
  .hw-stack .hw-stack-above { background: var(--muted); opacity: .28; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.05rem/1.6 var(--sans);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem); margin: 2.6rem 0 .7rem; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration-color: var(--cap); text-underline-offset: .16em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cap); outline-offset: 3px; border-radius: 2px; }
.hw-skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--surface); color: var(--ink);
  padding: .6rem 1rem; border: 1px solid var(--cap);
}
.hw-skip:focus { top: 1rem; }
.hw-wrap { max-width: 74rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.hw-header { border-bottom: 1px solid var(--rule); }
.hw-header .hw-wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: baseline; padding-block: .9rem; }
.hw-name { font: 600 1.05rem/1.2 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.hw-data { font-size: .8rem; color: var(--muted); }
.hw-data a { color: var(--muted); }
.hw-date-line { font-size: .82rem; color: var(--muted); margin: 0 0 1.6rem; }
.hw-layout { padding-block: 2.2rem 3.5rem; }
.hw-head, .hw-body { min-width: 0; }
.hw-head > :is(p, h1, .hw-crumbs, .hw-answer, .hw-date-line, .hw-hero),
.hw-body > :is(p, ul, ol, h2, .hw-note, .hw-next, .hw-sources, .hw-related, .hw-cite) { max-inline-size: 68ch; }
@media (min-width: 60rem) {
  .hw-layout { display: grid; grid-template-columns: minmax(0, 68ch) 19rem; column-gap: 2.2rem; align-items: start; }
  .hw-head { grid-column: 1; grid-row: 1; }
  .hw-rail { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 1.2rem; }
  .hw-body { grid-column: 1; grid-row: 2; }
}
.hw-hero :is(.hw-legend, .hw-hero-note) { max-inline-size: 68ch; }
.hw-rail { border-top: 2px solid var(--cap); padding-top: .8rem; font-size: .92rem; }
.hw-rail h2 { font-size: .95rem; font-family: var(--sans); margin: 0 0 .5rem; }
.hw-rail ul { margin: 0 0 1.4rem; padding-left: 1.1rem; }
.hw-rail li { margin-bottom: .35rem; }
.hw-answer { background: var(--surface); border-left: 3px solid var(--cap); padding: 1rem 1.2rem; margin: 0 0 1.8rem; }
.hw-answer b { display: block; font-size: .76rem; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }

/* hero */
.hw-hero { margin: 2.6rem 0 2rem; }
.hw-stack { position: relative; display: flex; height: 4.5rem; border: 1px solid var(--rule); background: var(--surface); }
.hw-stack i { display: block; flex-basis: 0; flex-shrink: 0; height: 100%; }
.hw-stack .hw-stack-mortgage { background: var(--ink); opacity: .8; }
.hw-stack .hw-stack-line { background: var(--cap); opacity: .45; }
.hw-stack .hw-stack-above { background: var(--rule); opacity: .9; }
.hw-stack::after {
  content: "80% cap"; position: absolute; left: 80%; top: -1.6rem;
  transform: translateX(-50%); border-left: 2px solid var(--cap);
  padding-left: .35rem; font: 600 .72rem/1.6 var(--mono); color: var(--cap); white-space: nowrap;
  bottom: 0;
}
@media (max-width: 40rem) {
  .hw-stack { flex-direction: column-reverse; height: 10rem; }
  .hw-stack i { inline-size: 100%; height: auto; }
  .hw-stack::after {
    left: 0; right: 0; top: auto; bottom: 80%;
    transform: none; border-left: 0; border-bottom: 2px solid var(--cap);
    padding: 0 .35rem .1rem 0; text-align: right;
  }
}
.hw-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; list-style: none; margin: 1.9rem 0 .4rem; padding: 0; font-size: .86rem; }
.hw-legend b { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.hw-legend .hw-sw { display: inline-block; width: .8rem; height: .8rem; margin-right: .4rem; border: 1px solid var(--rule); background: var(--rule); vertical-align: -.08em; }
.hw-legend .hw-sw-mortgage { background: var(--ink); opacity: .82; }
.hw-legend .hw-sw-line { background: var(--cap); opacity: .3; }
.hw-hero-note { font-size: .78rem; color: var(--muted); }

/* numbers */
.hw-money { color: var(--money); }
.hw-rate { color: var(--rate); }
.hw-cap { color: var(--cap); }
.hw-key { color: var(--key); font-weight: 600; }
td, th { font-variant-numeric: tabular-nums; }
:is(.hw-money, .hw-rate, .hw-cap, .hw-key) { font-family: var(--mono); font-variant-numeric: tabular-nums lining-nums; }

/* tables */
.hw-unique { container-type: inline-size; }
.hw-tablewrap { overflow: auto; max-height: 34rem; border: 1px solid var(--rule); background: var(--surface); }
.hw-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .82rem; }
.hw-table caption { text-align: left; padding: .7rem .8rem; color: var(--muted); font-family: var(--sans); font-size: .8rem; border-bottom: 1px solid var(--rule); }
.hw-table thead { position: sticky; top: 0; z-index: 2; background: var(--surface); }
.hw-table th, .hw-table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.hw-table td { text-wrap: pretty; }
.hw-table tbody th { min-width: 7rem; }
.hw-table thead th { border-bottom: 2px solid var(--ink); font-family: var(--sans); font-size: .74rem; font-weight: 600; }
.hw-table tbody th { position: sticky; left: 0; background: var(--surface); font-family: var(--sans); white-space: nowrap; }
@container (width < 34rem) {
  .hw-tablewrap { max-height: none; overflow: visible; border: 0; }
  .hw-table { inline-size: 100%; }
  .hw-table, .hw-table caption, .hw-table thead, .hw-table tbody, .hw-table tr, .hw-table th, .hw-table td { display: block; }
  .hw-table thead { display: none; }
  .hw-table caption { position: sticky; top: 0; background: var(--surface); z-index: 3; inline-size: 100%; }
  .hw-table tbody th, .hw-table td { border: 0; }
  .hw-table tr { border-bottom: 2px solid var(--rule); padding: .5rem 0 .8rem; }
  .hw-table tbody th { position: static; font-family: var(--serif); font-size: 1rem; padding-bottom: .3rem; }
  .hw-table td::before {
    content: attr(data-label) ": ";
    display: block; font-family: var(--sans); font-size: .7rem;
    color: var(--muted); text-transform: uppercase; letter-spacing: .02em;
  }
}
.hw-unique { margin: 1.2rem 0 1.6rem; }
.hw-unique > .hw-unique { margin-block: 0; }
.hw-note { font-size: .82rem; color: var(--muted); }
.hw-flags { padding-left: 1.1rem; }
.hw-flags li { margin-bottom: .45rem; }

/* next cards */
.hw-next { border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: 1.2rem; }
.hw-next ul { list-style: none; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 40rem) { .hw-next ul { grid-template-columns: 1fr 1fr; } }
.hw-next li { border-top: 1px solid var(--rule); padding-top: .6rem; font-size: .88rem; }
.hw-next b { display: block; font-family: var(--serif); font-size: 1rem; font-weight: 600; }

/* footer */
.hw-footer { border-top: 1px solid var(--rule); margin-top: 2rem; padding-block: 2rem 3rem; font-size: .84rem; color: var(--muted); }
.hw-footer h2 { font-size: .78rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .04em; margin: 1.2rem 0 .4rem; }
.hw-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }

/* crumbs */
.hw-crumbs { font-size: .8rem; color: var(--muted); margin: 0 0 1rem; }
.hw-crumbs a { color: var(--muted); }

/* rail figures */
.hw-figures { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.hw-figures li { border-bottom: 1px solid var(--rule); padding-block: .5rem; }
.hw-fig-label { display: block; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hw-fig-value { display: block; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.02rem; line-height: 1.35; }
.hw-fig-note { display: block; font-size: .78rem; color: var(--muted); }
.hw-fig-date { display: block; font-size: .72rem; color: var(--muted); }
.hw-onpage ul { margin-bottom: 1.4rem; }

/* lede */
.hw-lede { font-size: 1.12rem; }

/* related, sources, cite */
.hw-related { border-top: 1px solid var(--rule); margin-top: 2.6rem; padding-top: 1rem; }
.hw-related h2 { font-size: .8rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .6rem; color: var(--muted); }
.hw-related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-size: .9rem; }
.hw-sources { border-top: 1px solid var(--rule); margin-top: 2.6rem; padding-top: 1rem; font-size: .84rem; color: var(--muted); }
.hw-sources h2 { font-size: .8rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .5rem; }
.hw-sources ul { padding-left: 1.1rem; }
.hw-sources li { margin-bottom: .3rem; }
.hw-sources a { color: var(--muted); }
.hw-cite { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: .8rem; }
.hw-cite b { display: block; font-family: var(--sans); text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; }

/* tool */
.hw-tool { border-block: 1px solid var(--rule); margin: 1.6rem 0 2rem; padding-block: 1rem; max-inline-size: 68ch; }
.hw-tool-h { font-size: 1rem; font-family: var(--sans); margin: 0 0 .7rem; }
.hw-tool-row { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: baseline; margin: 0 0 .7rem; }
.hw-tool-row label { font-size: .82rem; color: var(--muted); }
.hw-tool input, .hw-tool select {
  font: inherit; font-family: var(--mono); font-size: .92rem;
  padding: .35rem .5rem; border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  border-radius: 0;
}
.hw-tool input { inline-size: 9rem; }
.hw-tool-out { display: block; border-left: 3px solid var(--cap); background: var(--surface); padding: .7rem 1rem; margin: 0 0 .7rem; }
.hw-tool-line { display: block; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .92rem; }
.hw-tool-note { font-size: .78rem; color: var(--muted); margin: 0; }
.hw-copy { font: inherit; font-size: .85rem; padding: .4rem .9rem; border: 1px solid var(--cap); background: var(--surface); color: var(--ink); cursor: pointer; border-radius: 0; }
.hw-copy:hover { background: var(--cap); color: var(--paper); }
.hw-copy:active { transform: translateY(1px); }

/* service pages */
.hw-service { margin-bottom: 3rem; }
.hw-service h2 { margin-top: 2rem; }
.hw-service ul { padding-left: 1.1rem; }

@media (prefers-reduced-motion: no-preference) {
  .hw-stack i { animation: hw-grow .7s ease-out both; transform-origin: left; }
  .hw-stack .hw-stack-line { animation-delay: .15s; }
  .hw-stack .hw-stack-above { animation-delay: .3s; }
  @keyframes hw-grow { from { transform: scaleX(0); } }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 40rem) {
  .hw-stack i { animation-name: hw-grow-y; transform-origin: bottom; }
  @keyframes hw-grow-y { from { transform: scaleY(0); } }
}
