/* Twotown (theohio.tech) — own front end, v1.0 (home page rebuilt in v1.0.1). Paper-and-ledger look: Besley display serif over Inter Tight, tabular
   figures, two town colours (home = teal, work = amber) used for every number a city takes. No external requests. */
@font-face { font-family: "Besley"; src: url("/assets/fonts/besley-wght.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f4f0e8; --paper-2: #ebe4d6; --card: #fffdf8; --ink: #16201f; --ink-2: #3b4745; --ink-3: #66706d;
  --rule: #d9d0bf; --rule-2: #c6bba6;
  --home: #0f7a6e; --home-2: #0b5f56; --home-soft: #d8ede8;
  --work: #b85a17; --work-2: #8f4410; --work-soft: #f7e4d2;
  --fed: #3d4a73; --fica: #7484a8; --state: #6f7f32; --pre: #c2b9a7; --commute: #8f3b2e; --keep: #16201f;
  --bad: #a4261b; --bad-soft: #fbe5e1;
  --serif: "Besley", "Georgia", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-feature-settings: "ss01" on; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--home-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--home); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5.6vw, 4.25rem); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3, .h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.frame { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; }
.eyebrow a { color: inherit; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 46rem; }
.fine { font-size: .875rem; line-height: 1.5; color: var(--ink-3); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--home); padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--r); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid var(--ink); margin: 0 .5rem .6rem 0; text-align: center; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--home-2); border-color: var(--home-2); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--card); color: var(--ink); }

/* header */
.bar { background: var(--paper); border-bottom: 1px solid var(--rule); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 72px; flex-wrap: wrap; }
.bar__brand { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.wm { display: inline-flex; align-items: center; gap: .55rem; }
.wm__word { font: 800 1.45rem/1 var(--serif); letter-spacing: -0.02em; }
.glyph { width: 40px; height: 28px; }
.glyph__home { fill: none; stroke: var(--home); stroke-width: 2.6; }
.glyph__work { fill: none; stroke: var(--work); stroke-width: 2.6; }
.glyph__lens { fill: var(--ink); }
.bar__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-items: center; }
.bar__nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .55rem 0; border-bottom: 2px solid transparent; }
.bar__nav a:hover { color: var(--ink); border-bottom-color: var(--rule-2); }
.bar__nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.bar__nav .bar__price { border: 1.5px solid var(--ink); border-radius: 999px; padding: .4rem 1rem; color: var(--ink); }
.bar__nav .bar__price:hover, .bar__nav .bar__price[aria-current="page"] { background: var(--ink); color: var(--paper); }
.prev { background: var(--work-soft); border-bottom: 1px solid #e8c9ac; font-size: .92rem; color: var(--work-2); padding: .55rem 0; }
.prev strong { color: var(--ink); }

/* bands */
.band { padding: 88px 0; }
.band--tight { padding: 40px 0 56px; }
.band--paper { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band--ink { background: var(--ink); color: var(--paper); }
.h2-wide { max-width: 40rem; }

/* home, v1.0.1 (truth review M2): one annual pay statement leads the page, headline set in its masthead */
.lead { padding: 44px 0 88px; }
.stmt { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 1px 0 var(--rule), 0 32px 64px -44px rgba(22, 32, 31, .5); }
.stmt__mast { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding: 16px 40px; border-bottom: 2px solid var(--ink); }
.stmt__kind { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 600 .76rem/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.stmt__glyph { width: 30px; height: 21px; flex: none; }
.stmt__stamp { margin: 0; max-width: 32rem; font-size: .84rem; line-height: 1.45; color: var(--work-2); background: var(--work-soft); border: 1.5px solid var(--work); border-radius: 3px; padding: .45rem .7rem; }
.stmt__stamp strong { display: inline-block; font: 800 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--card); background: var(--work-2); padding: .28rem .42rem; border-radius: 2px; margin-right: .45rem; vertical-align: .1em; }
.stmt__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: 28px 64px; padding: 44px 40px 36px; align-items: end; }
.stmt h1 { font-size: clamp(2.3rem, 6.2vw, 4.7rem); max-width: 12ch; margin-bottom: .32em; }
.stmt__lede { font-size: 1.14rem; line-height: 1.55; color: var(--ink-2); max-width: 40rem; margin: 0; }
.stmt__who { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--ink); }
.stmt__who div { padding: .6rem 0 .55rem; border-bottom: 1px dotted var(--rule-2); }
.stmt__who div:nth-child(odd) { padding-right: 1rem; }
.stmt__who dt { font: 600 .7rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.stmt__who dd { margin: .25rem 0 0; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.stmt__who .is-home dd { color: var(--home-2); }
.stmt__who .is-work dd { color: var(--work-2); }
.stmt__lines { margin: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(6, minmax(0, 1fr)) minmax(0, 1.3fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ln { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: .7rem; padding: 16px 12px 18px; border-left: 1px solid var(--rule); }
.ln:first-child { border-left: 0; padding-left: 40px; }
.ln dt { font-size: .84rem; font-weight: 600; line-height: 1.3; }
.ln__s { display: block; font-weight: 400; font-size: .74rem; color: var(--ink-3); margin-top: .15rem; }
.ln .key { display: block; width: 24px; height: 6px; border-radius: 1px; margin: 0 0 .55rem; }
.ln dd { margin: 0; font: 700 1.22rem/1.1 var(--sans); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ln--gross dd { font-size: 1.36rem; }
.ln--work dd, .ln--work dt { color: var(--work-2); }
.ln--home dd, .ln--home dt { color: var(--home-2); }
.ln--take { background: var(--ink); color: var(--card); padding-right: 40px; }
.ln--take .ln__s { color: rgba(255, 253, 248, .72); }
.ln--take dd { font-size: 1.55rem; }
.ln--take .key { background: var(--card); }
.stmt__scale { margin: 0; padding: 24px 40px 0; }
.sbar { display: block; width: 100%; height: 40px; border-radius: 3px; background: var(--paper); }
.stmt__scale figcaption { font-size: .82rem; line-height: 1.45; color: var(--ink-3); margin-top: .7rem; max-width: 62rem; }
.stmt__foot { position: relative; margin-top: 26px; padding: 22px 40px 24px; border-top: 2px dashed var(--rule-2); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 28px; align-items: center; }
.stmt__foot::before, .stmt__foot::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--rule); }
.stmt__foot::before { left: -12px; }
.stmt__foot::after { right: -12px; }
.stmt__next { margin: 0; font: 700 1.3rem/1.2 var(--serif); }
.stmt__acts { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; }
.stmt__acts .btn { margin: 0; }
.stmt__price { grid-column: 1 / -1; margin: .5rem 0 0; font-size: .9rem; color: var(--ink-3); }
.stmt__price strong { color: var(--work-2); }
.dot { display: inline-block; width: .65em; height: .65em; border-radius: 50%; margin-right: .5em; vertical-align: .02em; }
.dot--home { background: var(--home); }
.dot--work { background: var(--work); }
tr.is-work th, tr.is-work td, .is-work dt { color: var(--work-2); }
tr.is-home th, tr.is-home td, .is-home dt { color: var(--home-2); }

/* colour keys and stacked bars: one class per line, the key and its segment share it */
.seg--fed { fill: var(--fed); } .seg--fica { fill: var(--fica); } .seg--state { fill: var(--state); }
.seg--work { fill: var(--work); } .seg--home { fill: var(--home); } .seg--pre { fill: var(--pre); }
.seg--commute { fill: var(--commute); } .seg--keep, .seg--take { fill: var(--ink); }
.key { display: inline-block; width: .8em; height: .8em; border-radius: 2px; margin-right: .45em; vertical-align: -.05em; }
.key--fed { background: var(--fed); } .key--fica { background: var(--fica); } .key--state { background: var(--state); }
.key--work { background: var(--work); } .key--home { background: var(--home); } .key--pre { background: var(--pre); }
.key--commute { background: var(--commute); } .key--keep, .key--take { background: var(--ink); }

/* home: two offers, to scale, with the key as a ledger of the difference */
.vs__h { max-width: 28ch; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.vs__p { max-width: 46rem; color: var(--ink-2); }
.vs__bars { display: grid; gap: 20px; margin: 30px 0 22px; }
.vs__offer { margin: 0; }
.vs__offer figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: .45rem; }
.vs__name { font-weight: 600; }
.vs__keep { font: 700 1.08rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.vs__key tbody th, .vs__key tfoot th { color: var(--ink); }
.vs__key td:last-child { font-weight: 700; }
.ledger.vs__key tfoot td { font-family: var(--sans); font-size: 1.1rem; white-space: nowrap; }

/* home: the two rings drawn large, each rule written beside its part of the figure */
.rings__h { max-width: 36rem; }
.rings__fig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px) minmax(0, 1fr); grid-template-areas: "home svg work" "home lens work"; gap: 12px 44px; align-items: start; margin: 30px 0 28px; }
.rings__svg { grid-area: svg; display: block; width: 100%; height: auto; }
.rings__note h3 { font-size: 1.18rem; }
.rings__note p { color: var(--ink-2); font-size: 1rem; margin: 0; }
.rings__note--home { grid-area: home; text-align: right; padding-top: 70px; }
.rings__note--work { grid-area: work; padding-top: 70px; }
.rings__note--lens { grid-area: lens; text-align: center; }
.ring { display: inline-block; width: .8em; height: .8em; border-radius: 50%; border: 3px solid var(--ink); margin-right: .45em; vertical-align: -.02em; }
.ring--home { border-color: var(--home); background: var(--home-soft); }
.ring--work { border-color: var(--work); background: var(--work-soft); }
.ring--lens { background: var(--ink); }
.rg { stroke-width: 3; }
.rg--home { fill: var(--home-soft); stroke: var(--home); }
.rg--work { fill: var(--work-soft); stroke: var(--work); fill-opacity: .7; }
.rg__lens { fill: var(--ink); }
.rg__t { font: 700 13px/1 var(--sans); letter-spacing: .16em; }
.rg__t--home { fill: var(--home-2); }
.rg__t--work { fill: var(--work-2); }
.rg__t--lens { fill: var(--card); font-size: 11px; letter-spacing: .12em; }

/* home: the tools as a statement index (name, dot leader, what it covers) */
.idx__h { margin-bottom: 1.2rem; }
.idx__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.idx__list li { border-bottom: 1px solid var(--rule-2); }
.idx__row { display: grid; grid-template-columns: auto minmax(2rem, 1fr) auto; grid-template-areas: "name dots fig" "what what what"; align-items: baseline; gap: .35rem 0; padding: 22px 0 20px; color: var(--ink); text-decoration: none; }
.idx__name { grid-area: name; font: 700 clamp(1.4rem, 2.6vw, 1.85rem)/1.15 var(--serif); }
.idx__dots { grid-area: dots; align-self: end; margin: 0 1rem .5em; border-bottom: 2px dotted var(--rule-2); }
.idx__fig { grid-area: fig; text-align: right; font-weight: 600; color: var(--work-2); font-variant-numeric: tabular-nums; }
.idx__what { grid-area: what; max-width: 48rem; color: var(--ink-2); font-size: 1rem; }
.idx__row:hover .idx__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* home: the plans as a rate card */
.rate__p { max-width: 44rem; color: var(--ink-2); }
.rate .ledger-wrap { max-width: 860px; margin-top: 1.4rem; }
.ledger.rate__card { table-layout: fixed; }
.ledger.rate__card td { text-align: left; }
.rate__card thead th:first-child, .rate__card tbody th, .rate__card tfoot th { width: 38%; }
.rate__card thead th:nth-child(2) { width: 18%; text-align: left; }
.rate__card thead th:last-child { text-align: left; }
.rate__card thead th:last-child { background: var(--home-soft); box-shadow: inset 0 4px 0 var(--home); }
.rate__card tbody th { color: var(--ink); }
.rate__price th, .rate__price td { border-top: 2px solid var(--ink); border-bottom: 0; color: var(--ink); font-weight: 600; }
.rate__price td:first-of-type { font: 800 1.5rem/1.1 var(--sans); }
.rf__year { margin-top: 1.25rem; font-size: .95rem; }
.city__flag { border-left: 3px solid var(--work); padding-left: .7rem; max-width: 46rem; }

/* plans */
.plans__intro { max-width: 44rem; margin-bottom: 2rem; }
.plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 28px; }
.plan--plus { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--home-soft); }
.plan__name { font-size: 1.3rem; margin-bottom: .2rem; }
.plan__price { margin: 0 0 .3rem; color: var(--ink-2); }
.plan__amt { font: 800 2.6rem/1 var(--serif); color: var(--ink); letter-spacing: -0.02em; margin-right: .25rem; }
.plan__alt { font-size: .92rem; color: var(--ink-2); }
.plan ul { padding-left: 1.1rem; margin: 1rem 0 1.4rem; }
.plan li { margin-bottom: .4rem; }
.plan__state { background: var(--home-soft); border-radius: 4px; padding: .7rem .9rem; font-size: .95rem; margin: 0; }
.ptag { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .85rem; vertical-align: middle; font-family: var(--sans); font-weight: 500; letter-spacing: 0; }
.ptag__k { background: var(--ink); color: var(--paper); font-weight: 700; padding: .12rem .45rem; border-radius: 3px; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ptag__p { color: var(--ink-2); }
.ptag__free { color: var(--home-2); font-weight: 700; }

/* tool pages */
.tool-head { padding: 56px 0 24px; }
.tool-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.cmp__shared { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 22px 6px; margin-bottom: 24px; }
.cmp__shared legend { float: left; width: 100%; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; }
.cmp__offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cmp__offers--1 { grid-template-columns: minmax(0, 560px); }
.cmp__offers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmp__offers--4, .cmp__offers--5 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.offer { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--ink); border-radius: var(--r); padding: 18px 22px 10px; }
.offer:nth-child(2) { border-top-color: var(--home); } .offer:nth-child(3) { border-top-color: var(--work); }
.offer:nth-child(4) { border-top-color: var(--fed); } .offer:nth-child(5) { border-top-color: var(--state); }
.offer legend { float: left; width: 100%; font: 700 1.2rem/1.2 var(--serif); margin-bottom: 1rem; }
.offer__n { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 .85rem/1 var(--sans); margin-right: .35rem; vertical-align: .1em; }
.fld { margin: 0 0 14px; clear: both; }
.fld label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.fld input, .fld select { width: 100%; min-height: 46px; padding: .55rem .75rem; font: 500 1rem/1.3 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #b9ae98; border-radius: 4px; font-variant-numeric: tabular-nums; }
.fld input:focus, .fld select:focus { border-color: var(--home); outline: 3px solid var(--home-soft); outline-offset: 0; }
.fld__hint { font-size: .8rem; color: var(--ink-3); margin: .3rem 0 0; line-height: 1.4; }
.fld__err { font-size: .85rem; color: var(--bad); margin: .3rem 0 0; font-weight: 600; }
.fld--bad input { border-color: var(--bad); background: var(--bad-soft); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.more { border-top: 1px dashed var(--rule-2); margin: 4px 0 14px; padding-top: 6px; clear: both; }
.more summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--home-2); min-height: 40px; display: flex; align-items: center; }
.more[open] summary { margin-bottom: .5rem; }
.cmp__go { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.cmp__plus { font-size: .9rem; color: var(--ink-2); margin-bottom: .6rem; }
.note { border-left: 4px solid var(--ink); background: var(--card); padding: .8rem 1rem; border-radius: 0 4px 4px 0; max-width: 48rem; }
.note--plus { border-left-color: var(--home); }
.note--bad { border-left-color: var(--bad); background: var(--bad-soft); color: var(--bad); font-weight: 600; }

/* results ledger */
.res__head { max-width: 50rem; margin-bottom: 1.5rem; }
.ledger-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); margin-bottom: 1rem; -webkit-overflow-scrolling: touch; }
.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .97rem; }
.ledger th, .ledger td { padding: .7rem 1rem; border-bottom: 1px solid #ece5d7; text-align: right; vertical-align: top; }
.ledger thead th { font: 700 .95rem/1.3 var(--sans); background: var(--paper); border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.ledger tbody th, .ledger tfoot th, .ledger thead th:first-child { text-align: left; font-weight: 500; color: var(--ink-2); min-width: 11rem; }
.ledger thead th.is-best { box-shadow: inset 0 4px 0 var(--home); background: var(--home-soft); }
.ledger .sub { display: block; font-size: .78rem; color: var(--ink-3); font-weight: 400; margin-top: .15rem; }
.ledger__ctx td { font-size: .85rem; color: var(--ink-2); }
.ledger__sum th, .ledger__sum td { font-weight: 700; color: var(--ink); border-top: 2px solid var(--ink); }
.ledger__keep th, .ledger__keep td { font: 800 1.2rem/1.3 var(--serif); color: var(--ink); background: var(--paper); }
.ledger__keep .sub { font-family: var(--sans); }
.ledger--days td.is-now { background: var(--home-soft); font-weight: 700; }
.ledger--src td, .ledger--src th { text-align: left; font-size: .92rem; }
.ledger--src td { min-width: 12rem; }
.days { margin-top: 2.5rem; }
.days__head p { color: var(--ink-2); }
.days__csv { margin-top: 1rem; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 2rem; }
.plain { padding-left: 1.2rem; }
.plain li { margin-bottom: .45rem; }
.rf__you { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 22px 6px; margin-bottom: 24px; }
.rf__you legend, .wk legend { float: left; width: 100%; font: 700 1.15rem/1.3 var(--serif); margin-bottom: .9rem; }
.rf__you .more { grid-column: 1 / -1; }
.rf__works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.wk { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--work); border-radius: var(--r); padding: 18px 22px 6px; }
.wk--locked { opacity: .55; }

/* city list and pages */
.find { margin-top: 1.5rem; max-width: 34rem; }
.find label { display: block; font-weight: 600; margin-bottom: .35rem; }
.find__row { display: flex; gap: .5rem; }
.find__row input { flex: 1; min-width: 0; min-height: 48px; padding: .55rem .8rem; font: 500 1rem var(--sans); border: 1.5px solid #b9ae98; border-radius: 4px; background: #fff; }
.find__row .btn { margin: 0; }
.az { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: 1.5rem; }
.az a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; border: 1px solid var(--rule-2); border-radius: 4px; text-decoration: none; color: var(--ink); font-weight: 600; background: var(--card); }
.az a:hover { background: var(--ink); color: var(--paper); }
.az__h { font-size: 1.6rem; border-bottom: 2px solid var(--ink); padding-bottom: .3rem; margin-top: 2rem; }
.towns { list-style: none; padding: 0; margin: 0 0 1rem; columns: 3 15rem; column-gap: 40px; }
.towns li { break-inside: avoid; }
.towns a { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem 0; min-height: 40px; text-decoration: none; color: var(--ink); border-bottom: 1px dotted var(--rule-2); }
.towns a:hover .towns__n { text-decoration: underline; }
.towns__r { font-variant-numeric: tabular-nums; color: var(--work-2); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 1.5rem 0 1.5rem; max-width: 46rem; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.facts div { padding: 1rem 1rem 1rem 0; }
.facts div + div { border-left: 1px solid var(--rule); padding-left: 1rem; }
.facts dt { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.facts dd { margin: .2rem 0 0; font: 800 2.1rem/1 var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 1.5rem 0 1rem; }
.case { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px 22px; }
.case h3 { font-size: 1.1rem; }
.case dl { margin: 0; }
.case dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dotted var(--rule-2); font-size: .92rem; }
.case dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.case .case__sum { border-bottom: 0; font-weight: 700; }
.case .case__sum dt, .case .case__sum dd { font: 700 1.1rem/1.3 var(--serif); }

/* prose pages */
.prose { max-width: 44rem; }
.prose--wide { max-width: 62rem; }
.prose h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.worked { margin: 1.5rem 0; }
.worked figcaption { font-weight: 600; margin-bottom: .6rem; }
.worked .ledger-wrap { margin-bottom: 0; }
.msg { padding: 96px 0; }
.msg__kind { font: 700 .85rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--work-2); }

/* footer */
.base { background: var(--ink); color: rgba(244, 240, 232, .85); padding: 64px 0 40px; margin-top: 0; }
.base a { color: var(--paper); }
.base .bar__brand, .base .wm__word { color: var(--paper); }
.base .glyph__lens { fill: var(--paper); }
.base__cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(244, 240, 232, .18); }
.base__lead p { margin-top: 1rem; max-width: 26rem; }
.base h2 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 240, 232, .6); margin-bottom: 1rem; }
.base ul { list-style: none; padding: 0; margin: 0; }
.base li a { display: inline-block; padding: .3rem 0; text-decoration: none; }
.base li a:hover { text-decoration: underline; }
.base__fine { padding-top: 24px; font-size: .85rem; line-height: 1.55; }
.base__price { color: #e6a46a; font-weight: 600; }
.base__by { margin-top: 1rem; }
.is-error .base { margin-top: 0; }

@media (max-width: 1100px) {
  .stmt__lines { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ln:nth-child(4n + 1) { border-left: 0; padding-left: 40px; }
  .ln:nth-child(n + 5) { border-top: 1px solid var(--rule); }
}
@media (max-width: 960px) {
  .cases { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stmt__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stmt__who { max-width: 30rem; }
  .rings__fig { grid-template-columns: minmax(0, 1fr); grid-template-areas: "svg" "home" "work" "lens"; gap: 24px; }
  .rings__svg { max-width: 360px; margin: 0 auto; }
  .rings__note--home, .rings__note--work, .rings__note--lens { text-align: left; padding-top: 0; }
  .cmp__offers--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .base__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .base__lead { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .frame { padding: 0 16px; }
  .band { padding: 56px 0; }
  .lead { padding: 20px 0 56px; }
  .stmt__mast, .stmt__top, .stmt__scale, .stmt__foot { padding-left: 18px; padding-right: 18px; }
  .stmt__mast { padding-top: 14px; padding-bottom: 14px; }
  .stmt__top { padding-top: 28px; padding-bottom: 24px; }
  .stmt__lede { font-size: 1.04rem; }
  .stmt__lines { grid-template-columns: minmax(0, 1fr); }
  .ln, .ln:first-child, .ln:nth-child(4n + 1) { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 11px 18px; border-left: 0; }
  .ln + .ln { border-top: 1px dotted var(--rule-2); }
  .ln .key { display: inline-block; width: .75em; height: .75em; margin: 0 .5em 0 0; vertical-align: -.02em; }
  .ln dd { font-size: 1.08rem; }
  .ln--gross dd { font-size: 1.2rem; }
  .ln--take { padding-top: 14px; padding-bottom: 14px; }
  .ln--take dd { font-size: 1.35rem; }
  .stmt__foot { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .stmt__acts { display: block; }
  .stmt__acts .link-arrow { display: inline-block; margin-top: .9rem; }
  .ledger.vs__key { table-layout: fixed; font-size: .84rem; }
  .ledger.vs__key th, .ledger.vs__key td { padding: .5rem .4rem; }
  .vs__key .vs__lg { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ledger.vs__key tbody th, .ledger.vs__key tfoot th, .ledger.vs__key thead th:first-child { min-width: 0; width: 34%; }
  .ledger.vs__key tfoot th, .ledger.vs__key tfoot td { font-size: .9rem; }
  .ledger.rate__card thead th:first-child, .ledger.rate__card tbody th, .ledger.rate__card tfoot th { width: 36%; min-width: 0; }
  .ledger.rate__card thead th:nth-child(2) { width: 20%; }
  .idx__row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "fig" "what"; padding: 18px 0; }
  .idx__dots { display: none; }
  .idx__fig { text-align: left; }
  .bar__in { padding-top: 12px; padding-bottom: 8px; gap: .4rem; }
  .bar__nav { gap: 0 1rem; }
  .bar__nav a { font-size: .92rem; padding: .5rem 0; min-height: 40px; display: inline-flex; align-items: center; }
  .bar__nav .bar__price { padding: .3rem .8rem; min-height: 40px; }
  .lede { font-size: 1.08rem; }
  .cmp__shared, .cmp__offers, .cmp__offers--3, .rf__you, .rf__works, .plans__grid, .cols2, .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .ledger th, .ledger td { padding: .6rem .7rem; }
  .ledger tbody th, .ledger tfoot th, .ledger thead th:first-child { min-width: 8.5rem; }
  .plan { padding: 22px; }
  .plan--plus { box-shadow: 5px 5px 0 var(--home-soft); }
  .btn { width: 100%; margin-right: 0; }
  .find__row .btn { width: auto; }
  .base__cols { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .bar__nav, .prev, .cmp, .rf, .base__cols, .stmt__foot, .stmt__stamp, .days__csv { display: none !important; }
  body { background: #fff; }
  .band--paper { background: #fff; }
}
