/* ==========================================================================
   Tenant First Management — tenantfirstmanagement.com
   Shared stylesheet. Palette sampled from the trade show display.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  --blue:        #1F47A1;   /* brand blue — header, footer, headings */
  --blue-lift:   #2A57BC;
  --blue-line:   rgba(255, 255, 255, .15);
  --ink:         #0E1E42;   /* heaviest band, and text on gold */
  --gold:        #F5C94B;   /* accent — buttons, rules, text on blue (5.4:1) */
  --gold-lift:   #FFD86B;
  --accent:      #8C5A00;   /* gold family darkened for light grounds — 5.9:1 */
  --accent-lift: #6B4400;
  --surface:     #EFF2F6;
  --rule:        #D3DBE4;   /* hairline on --surface */
  --rule-light:  #E7EBF1;   /* hairline on white */
  --body:        #33405C;
  --muted:       #5D6C84;   /* secondary text on white / surface — 5.2:1, 4.7:1 */
  --muted-blue:  #B8C6E6;   /* secondary text on blue — 4.9:1 */
  --figure-dim:  #7B8798;   /* the "before" number — large text, 3.2:1 on surface */
  --white:       #FFFFFF;

  --head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --gutter: clamp(22px, 4.6vw, 72px);
  --wrap:   1440px;
  --nav-h:  68px;
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--text);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.55;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.028em;
}
h1 { text-wrap: balance; }

p { text-wrap: pretty; }
a { color: var(--accent); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-blue :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

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

.skip {
  position: absolute; left: 14px; top: -120px; z-index: 200;
  background: var(--white); color: var(--blue);
  font-family: var(--head); font-weight: 700;
  padding: 14px 22px; text-decoration: none;
  transition: top .15s ease;
}
.skip:focus { top: 14px; }

/* --- 3. Layout ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap > * { min-width: 0; }

.band--navy   { background: var(--ink);   color: var(--white); }
.band--brand  { background: var(--blue);  color: var(--white); }
.band--surface{ background: var(--surface); }

.eyebrow {
  font-family: var(--head);
  font-size: clamp(.75rem, .7rem + .18vw, .8125rem);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- 4. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
  padding: 19px 34px;
  min-height: 44px;
  color: var(--ink);
  background: var(--gold);
  text-decoration: none;
  text-align: center;
  transition: background-color .16s ease;
}
.btn:hover { background: var(--gold-lift); color: var(--ink); }
.btn--sm { font-size: .875rem; padding: 13px 22px; }
.btn--block { display: flex; width: 100%; }

/* The gold button reads on white and on blue alike, so the on-blue
   variant only differs in its hover. */
.btn--onblue { background: var(--gold); color: var(--ink); }
.btn--onblue:hover { background: var(--gold-lift); color: var(--ink); }

/* --- 5. Header ---------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--blue); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
  padding-block: 14px;
}

.nav__logo { display: block; flex: none; }
.nav__logo img { height: 34px; width: auto; }

.nav__list { display: flex; align-items: center; gap: 30px; }

.nav__link {
  font-family: var(--head);
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: .02em;
}
.nav__link:hover { color: var(--gold); }
.nav__link--quiet { color: var(--muted-blue); font-weight: 500; }
.nav__link--quiet:hover { color: var(--white); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--white); flex: none;
}
.nav__toggle .ico-x { display: none; }
.nav__toggle[aria-expanded="true"] .ico-x { display: block; }
.nav__toggle[aria-expanded="true"] .ico-bars { display: none; }

.rule-accent { height: 7px; background: var(--gold); }

@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  .nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blue);
    border-top: 1px solid var(--blue-line);
    padding: 8px var(--gutter) 26px;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
  }
  .nav__list[data-open="true"] { visibility: visible; opacity: 1; transform: none; }
  .nav__list li { border-bottom: 1px solid var(--blue-line); }
  .nav__list li:last-child { border-bottom: 0; padding-top: 18px; }
  .nav__link { display: block; padding: 17px 2px; font-size: 1.0625rem; }
  .site-header { position: relative; }
  .nav { position: relative; }
}

/* --- 6. Hero ------------------------------------------------------------ */
.hero { padding-block: clamp(28px, 3.6vw, 52px) clamp(34px, 4.2vw, 60px); }

.hero__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(14px, 1.25vw, 18px);
}

.tagline {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--head);
  font-size: clamp(.8125rem, .52rem + .88vw, 1.375rem);
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.6;
  color: var(--accent);
  text-align: center;
}
.tagline__rule { width: 46px; height: 3px; background: var(--accent); flex: none; }
.tagline__rule--after { display: none; }

@media (min-width: 700px) {
  .tagline { flex-direction: row; gap: 20px; }
  .tagline__rule { width: 52px; }
  .tagline__rule--after { display: block; }
  .tagline br { display: none; }
}

.hero h1 {
  font-size: clamp(1.75rem, .62rem + 3.95vw, 3.875rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  text-align: center;
}
.hero h1 .lede  { display: block; color: var(--ink); }
.hero h1 .punch { display: block; color: var(--blue); }

.hero__sub {
  font-size: clamp(1rem, .88rem + .6vw, 1.3125rem);
  line-height: 1.4;
  text-align: center;
  max-width: 24ch;
}

.hero__cta { width: 100%; }
.hero__note { font-size: clamp(.9375rem, .9rem + .18vw, 1.0625rem); color: var(--muted); }

@media (min-width: 700px) {
  .hero__sub  { max-width: 54ch; }
  .hero__cta  { width: auto; order: 6; margin-top: 8px; }
  .hero__proof { order: 4; }
  .hero__note  { order: 5; }
}

/* Before / after proof */
.proof {
  display: flex; flex-direction: column;
  width: 100%; max-width: 820px;
  margin-top: 2px;
}
.proof__panel {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: clamp(17px, 1.9vw, 24px) 20px;
  text-align: center;
}
.proof__panel--before { background: var(--surface); }
.proof__panel--after  { background: var(--blue); }

.proof__label {
  font-family: var(--head);
  font-size: clamp(.6875rem, .66rem + .16vw, .8125rem);
  font-weight: 700;
  letter-spacing: .13em;
}
.proof__panel--before .proof__label { color: var(--muted); }
.proof__panel--after  .proof__label { color: var(--gold); }

.proof__figure {
  font-family: var(--head);
  font-size: clamp(2.75rem, 1.95rem + 2.8vw, 3.375rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.proof__panel--before .proof__figure { color: var(--figure-dim); }
.proof__panel--after  .proof__figure { color: var(--white); }

.proof__unit { font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
.proof__panel--before .proof__unit { color: var(--muted); }
.proof__panel--after  .proof__unit { color: var(--gold); }

.proof__arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 8px 0;
  color: var(--accent);
}
.proof__arrow svg { width: 34px; height: 20px; transform: rotate(90deg); }

@media (min-width: 700px) {
  .proof { flex-direction: row; align-items: stretch; }
  .proof__panel { flex: 1 1 0; justify-content: center; }
  .proof__arrow { padding: 0 26px; }
  .proof__arrow svg { width: 46px; height: 26px; transform: none; }
}

/* --- 7. Pillars --------------------------------------------------------- */
.pillars { padding-block: clamp(28px, 2.8vw, 36px); }
.pillars__list { display: grid; gap: 26px; }
.pillars__item { display: flex; align-items: center; gap: 17px; }
.pillars__item svg { width: 31px; height: 31px; flex: none; }
.pillars__item span {
  font-family: var(--head);
  font-size: clamp(1.0625rem, .98rem + .38vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.25;
}

@media (min-width: 860px) {
  .pillars__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .pillars__item { padding-inline: 30px; }
  .pillars__item:first-child { padding-left: 0; }
  .pillars__item:last-child  { padding-right: 0; }
  .pillars__item svg { width: 34px; height: 34px; }
}

/* --- 8. Section shell --------------------------------------------------- */
.section { padding-block: clamp(48px, 6.4vw, 96px); }
.section__head { display: flex; flex-direction: column; gap: 12px; padding-bottom: clamp(26px, 2.6vw, 34px); }
.section__head h2 { font-size: clamp(1.625rem, 1.05rem + 2vw, 2.875rem); max-width: 17em; }

/* --- 9. The gap --------------------------------------------------------- */
.section__lede {
  font-size: clamp(1rem, .96rem + .3vw, 1.125rem);
  line-height: 1.6;
  color: var(--body);
  max-width: 72ch;
  margin-top: 4px;
}

.gap__columns { display: grid; gap: 30px; border-top: 3px solid var(--blue); }

.gap__col > h3 {
  font-family: var(--head);
  font-size: clamp(.8125rem, .78rem + .18vw, .9375rem);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 22px 0 4px;
}
.gap__col--reit > h3 { color: var(--blue); }
.gap__col--soft > h3 { color: var(--muted); }
.gap__col--soft { border-top: 3px solid var(--muted); }

.gap__col li {
  font-size: clamp(1rem, .95rem + .28vw, 1.125rem);
  line-height: 1.5;
  padding: 15px 0;
  border-top: 1px solid var(--rule);
}
.gap__col--reit li { color: var(--body); }
.gap__col--soft li { color: var(--muted); }

@media (min-width: 880px) {
  .gap__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .gap__col--reit { padding: 0 46px 30px 0; border-right: 1px solid var(--rule); }
  .gap__col--soft { padding: 0 0 30px 46px; border-top: 0; }
  .gap__col > h3 { padding-top: 28px; padding-bottom: 18px; }
}

/* --- 10. The turn ------------------------------------------------------- */
.turn { padding-block: clamp(46px, 5.4vw, 80px); }
.turn__setup {
  font-family: var(--head);
  font-size: clamp(1.375rem, .95rem + 1.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--gold);
  max-width: 21em;
  margin-bottom: 16px;
}
.turn h2 {
  font-family: var(--head);
  font-size: clamp(1.5625rem, 1.05rem + 1.78vw, 2.5rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.026em;
  color: var(--white);
  max-width: 19em;
}

/* --- 11. What we run ---------------------------------------------------- */
.run__intro { display: flex; flex-direction: column; gap: 12px; padding-bottom: clamp(26px, 2.8vw, 38px); }
.run__intro h2 { font-size: clamp(1.875rem, 1.15rem + 2.4vw, 2.875rem); max-width: 12em; }
.run__intro p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.125rem); color: var(--muted); max-width: 44ch; }

.run__list { border-top: 3px solid var(--blue); }
.run__item {
  display: grid;
  gap: 8px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-light);
}
.run__head { display: flex; align-items: baseline; gap: 14px; }
.run__num {
  font-family: var(--head);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.run__item h3 {
  font-family: var(--head);
  font-size: clamp(1.25rem, 1.05rem + .55vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -.015em;
}
.run__item p { font-size: clamp(1rem, .96rem + .28vw, 1.125rem); line-height: 1.55; }

.run__item--optional .run__num,
.run__item--optional h3,
.run__item--optional p { color: var(--muted); }
.run__item--optional h3 span { font-size: .875rem; font-weight: 600; }

@media (min-width: 900px) {
  .run__item { grid-template-columns: 62px minmax(0, 300px) minmax(0, 1fr); align-items: baseline; padding: 26px 0; }
  .run__head { display: contents; }
}

@media (min-width: 900px) {
  .run__intro { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 56px; }

}

/* --- 12. Footer --------------------------------------------------------- */
.site-footer { background: var(--blue); color: var(--muted-blue); }

.footer__top {
  display: flex; flex-direction: column; gap: 18px;
  padding-block: clamp(36px, 3.6vw, 46px);
  border-bottom: 1px solid var(--blue-line);
}
.footer__top img { height: 36px; width: auto; }
.footer__top p { font-size: 1rem; line-height: 1.55; max-width: 34em; }

@media (min-width: 860px) {
  .footer__top { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .footer__brand { display: flex; flex-direction: column; gap: 14px; }
  .footer__top .btn { flex: none; }
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 20px;
  padding-block: clamp(34px, 3.4vw, 46px);
}
.footer__cols h2 {
  font-family: var(--head);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer__cols li + li { margin-top: 10px; }
.footer__cols a { font-size: .9375rem; color: var(--muted-blue); text-decoration: none; }
.footer__cols a:hover { color: var(--white); text-decoration: underline; }

@media (min-width: 860px) {
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .footer__cols h2 { font-size: .75rem; }
  .footer__cols a { font-size: 1rem; }
}

.footer__legal {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--blue-line);
}
.footer__legal p { font-size: .8125rem; line-height: 1.6; color: var(--muted-blue); max-width: 78em; }

/* --- 13. Motion & print ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .nav__toggle, .rule-accent { display: none; }
  body { font-size: 11pt; color: #000; }
  .band--navy, .band--brand { background: none !important; color: #000 !important; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* --- 14. Page hero ------------------------------------------------------ */
.page-hero { padding-block: clamp(40px, 5vw, 76px) clamp(34px, 4vw, 56px); }
.page-hero__inner { display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 {
  font-size: clamp(2rem, 1.1rem + 3.1vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.032em;
  max-width: 15em;
}
.page-hero__intro {
  font-size: clamp(1.0625rem, .98rem + .5vw, 1.3125rem);
  line-height: 1.55;
  max-width: 58ch;
}
.page-hero__intro + .page-hero__intro { margin-top: -4px; }

/* Sets the page's two-column rhythm from the top: heading across the full
   width, intro copy starting where every section's body copy starts. */
@media (min-width: 900px) {
  .page-hero--split .page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    column-gap: 32px;
    row-gap: 16px;
  }
  .page-hero--split .eyebrow,
  .page-hero--split h1 { grid-column: 1 / -1; }
  .page-hero--split .page-hero__intro { grid-column: 2; max-width: 64ch; }
  .page-hero--split .page-hero__intro + .page-hero__intro { margin-top: 0; }
}

/* --- 15. Service blocks ------------------------------------------------- */
.svc { padding-block: clamp(46px, 5.6vw, 84px); }
.svc + .svc { border-top: 1px solid var(--rule-light); }
.band--surface .svc + .svc { border-top-color: var(--rule); }

.svc__grid { display: grid; gap: clamp(28px, 3.4vw, 52px); align-items: center; }
@media (min-width: 900px) {
  .svc__grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
  /* Flipping the order has to flip the track widths too, or the proof visual
     lands in the narrow column. */
  .svc__grid--flip { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .svc__grid--flip .svc__copy  { order: 2; }
  .svc__grid--flip .svc__proof { order: 1; }
  .svc__grid--solo { grid-template-columns: minmax(0, 1fr); }
}
.svc__grid--solo .svc__copy p,
.svc__grid--solo .svc__copy h2 { max-width: 30em; }
.svc__grid > * { min-width: 0; }

.svc__copy { display: flex; flex-direction: column; gap: 14px; }
.svc__num {
  font-family: var(--head);
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.svc__copy h2 { font-size: clamp(1.625rem, 1.15rem + 1.65vw, 2.375rem); max-width: 15em; }
.svc__copy p { font-size: clamp(1rem, .96rem + .28vw, 1.125rem); line-height: 1.6; max-width: 54ch; }

.caption { font-size: .875rem; line-height: 1.5; color: var(--muted); margin-top: 14px; }

/* --- 16. Unit inventory proof visual ------------------------------------ */
.units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.units > * { min-width: 0; }
@media (max-width: 460px) { .units { grid-template-columns: minmax(0, 1fr); } }

.unit {
  container-type: inline-size;
  display: flex; flex-direction: column;
  background: #F1F4F8;
  border: 1px solid var(--rule);
}
.unit--featured { border-color: #C8410E; box-shadow: 0 0 0 2px rgba(200, 65, 14, .22); }

.unit__head {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  background: #1E3A73; color: var(--white);
  padding: 9px 11px;
}
.unit__size {
  font-family: var(--head);
  font-size: .8125rem; font-weight: 800; letter-spacing: -.02em;
  white-space: nowrap; flex: none;
}
.unit__help {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .625rem; color: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  white-space: nowrap; flex: none;
}
.unit__help svg { width: 10px; height: 10px; }
@container (max-width: 230px) { .unit__help { display: none; } }

.unit__flag {
  margin-left: auto; flex: none;
  font-family: var(--head);
  font-size: .5625rem; font-weight: 800; letter-spacing: .02em;
  padding: 3px 6px; border-radius: 20px; white-space: nowrap;
}
.unit__flag--hot     { background: #C8410E; color: #fff; }
.unit__flag--limited { background: #D8F0DE; color: #14622F; }
.unit__flag--left    { background: #DCE7FB; color: #1D3F92; }

.unit__body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; padding: 10px 11px 8px; flex: 1; }
.unit__features { display: grid; gap: 3px; }
.unit__features li { font-size: .6875rem; line-height: 1.35; color: #4B5B6B; }

.unit__price { text-align: right; white-space: nowrap; }
.unit__was { display: block; font-size: .625rem; color: #5E6B7A; text-decoration: line-through; line-height: 1.2; }
.unit__now { font-family: var(--head); font-size: 1.125rem; font-weight: 800; color: #17803D; letter-spacing: -.04em; }
.unit__per { font-size: .5625rem; color: #5E6C7A; }

.unit__sale {
  margin-top: 5px; padding: 5px 7px;
  background: #C8410E; color: #fff;
  font-family: var(--head); text-align: center;
  outline: 1px dashed rgba(255, 255, 255, .75); outline-offset: -4px;
}
.unit__sale b      { display: block; font-size: .5625rem; font-weight: 800; letter-spacing: .12em; }
.unit__sale strong { display: block; font-size: .8125rem; font-weight: 800; line-height: 1.15; }
.unit__sale em     { display: block; font-style: normal; font-size: .5rem; font-weight: 700; letter-spacing: .1em; }

.unit__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0 11px 5px; }
.unit__actions--one { grid-template-columns: 1fr; }
.unit__btn {
  font-family: var(--head); font-size: .6875rem; font-weight: 700;
  color: #fff; text-align: center; padding: 7px 5px;
}
.unit__btn--rent    { background: #2563EB; }
.unit__btn--reserve { background: #17803D; }

.unit__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0 11px 10px; }
.unit__notes--one { grid-template-columns: 1fr; }
.unit__notes span { font-size: .5rem; line-height: 1.3; color: #5C6874; text-align: center; }

/* --- 17. Reporting proof visual ----------------------------------------- */
.dash { background: var(--white); border: 1px solid var(--rule); width: 100%; }
.dash__filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  padding: 14px 16px; border-bottom: 1px solid var(--rule-light);
}
.dash__field { display: grid; gap: 4px; }
.dash__field span { font-size: .6875rem; font-weight: 600; color: var(--muted); }
.dash__field b {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-width: 104px; padding: 6px 9px;
  font-size: .75rem; font-weight: 500; color: var(--blue);
  border: 1px solid var(--rule);
}
.dash__field b svg { width: 11px; height: 11px; opacity: .5; flex: none; }
.dash__run {
  font-family: var(--head); font-size: .75rem; font-weight: 700;
  color: #fff; background: var(--blue); padding: 8px 18px;
}

.dash__bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--rule-light); }
.dash__bar::before { content: ""; width: 3px; height: 15px; background: #E2600F; flex: none; }
.dash__title {
  font-family: var(--head); font-size: .75rem; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; color: #C2540E;
}
.dash__title small { font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--muted); }

.dash__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dash table { border-collapse: collapse; width: 100%; min-width: max-content; font-size: .75rem; font-variant-numeric: tabular-nums; }
.dash th, .dash td { padding: 7px 8px; text-align: right; white-space: nowrap; }
.dash thead th {
  font-family: var(--head); font-weight: 700; font-size: .6875rem; line-height: 1.25;
  color: var(--body); vertical-align: bottom; border-bottom: 1px solid var(--rule);
}
.dash th:first-child, .dash td:first-child, .dash tbody th { text-align: left; padding-left: 14px; }
.dash th:last-child, .dash td:last-child { padding-right: 14px; }
.dash tbody tr + tr td, .dash tbody tr + tr th { border-top: 1px solid var(--rule-light); }
.dash tbody th { font-weight: 500; color: var(--body); }
.dash tr.is-total th, .dash tr.is-total td { background: #F6F9FC; font-weight: 700; border-top: 1px solid var(--rule); }
.dash .n-b { color: #1D4FD8; font-weight: 600; }
.dash .n-p { color: #6D28D9; font-weight: 600; }
.dash .n-g { color: #15803D; font-weight: 600; }
.dash .n-o { color: #A8460B; font-weight: 600; }
.dash .n-m { color: #5F6C7A; }

/* --- 18. Flow steps ----------------------------------------------------- */
.flow { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.flow li {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white); border: 1px solid var(--rule);
  padding: 16px 14px;
}
.band--surface .flow li { background: var(--white); }
.flow b { font-family: var(--head); font-size: .9375rem; font-weight: 700; color: var(--blue); line-height: 1.3; }
.flow span { font-size: .8125rem; line-height: 1.45; color: var(--muted); }

/* --- 19. Numbered steps (How it works) ---------------------------------- */
.steps { border-top: 2px solid var(--blue); }
.step { display: grid; gap: 10px 32px; padding: 26px 0; border-bottom: 1px solid var(--rule-light); }
@media (min-width: 860px) { .step { grid-template-columns: 72px minmax(0, 340px) minmax(0, 1fr); align-items: start; } }
.step__num { font-family: var(--head); font-size: 1.125rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(1.25rem, 1.1rem + .55vw, 1.5rem); font-weight: 700; letter-spacing: -.015em; }
.step__body { display: flex; flex-direction: column; gap: 12px; }
.step__body p { font-size: 1.0625rem; line-height: 1.6; max-width: 64ch; }

/* --- 21. Callout -------------------------------------------------------- */
.callout {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--surface); border-left: 5px solid var(--gold);
}
.band--surface .callout { background: var(--white); }
.callout h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); }
.callout p { font-size: 1.0625rem; line-height: 1.6; max-width: 62ch; }
.callout .btn { align-self: flex-start; }

/* --- 22. Form ----------------------------------------------------------- */
.form { display: grid; gap: 22px; max-width: 780px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 7px; }
.field label { font-family: var(--head); font-size: .875rem; font-weight: 700; color: var(--blue); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--text); font-size: 1.0625rem;
  color: var(--body); background: var(--white);
  border: 1px solid #B9C3D1; border-radius: 0;
  padding: 13px 14px; width: 100%; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B3261E; border-width: 2px; }
.field__error { display: none; font-size: .875rem; font-weight: 600; color: #B3261E; }
.field__error::before { content: "\26A0  "; }
.field input[aria-invalid="true"] ~ .field__error,
.field select[aria-invalid="true"] ~ .field__error { display: block; }

.checks { display: grid; gap: 12px; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check { display: flex; align-items: flex-start; gap: 11px; font-size: 1rem; min-height: 44px; padding: 6px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--blue); }

.fieldset { display: grid; gap: 14px; border: 0; }
.fieldset > legend {
  font-family: var(--head); font-size: 1.125rem; font-weight: 700;
  color: var(--blue); padding: 0; margin-bottom: 2px;
}
.fieldset__hint { font-size: .9375rem; color: var(--muted); }

.form__note { font-size: .9375rem; color: var(--muted); max-width: 62ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { display: none; padding: 18px 20px; font-size: 1.0625rem; line-height: 1.55; }
.form__status[data-state="ok"]   { display: block; background: #E9F4EC; border-left: 5px solid #2F6926; color: #17452B; }
.form__status[data-state="err"]  { display: block; background: #FDECEA; border-left: 5px solid #B3261E; color: #7A1C15; }

/* --- 23. 404 ------------------------------------------------------------ */
.notfound { padding-block: clamp(60px, 8vw, 120px); text-align: center; }
.notfound h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); margin-bottom: 14px; }
.notfound p { font-size: 1.1875rem; color: var(--muted); margin-bottom: 30px; }

/* --- 24. Framed screenshot ---------------------------------------------- */
.shot {
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: 0 2px 20px rgba(3, 17, 56, .09);
}
.shot img { display: block; width: 100%; height: auto; }

/* Screenshots captured at 1x look oversized stretched across a wide column,
   so these are held near native density and centred rather than left to hug
   the column's left edge. */
.svc__proof--narrow > figure,
.svc__proof--narrow > .caption { max-width: 520px; margin-inline: auto; }
/* ...except a wide, short screenshot, which needs the whole column to stay legible. */
.svc__proof--narrow > .shot--wide,
.svc__proof--narrow > .caption--wide { max-width: none; }

/* --- 25. Levers ---------------------------------------------------------
   Replaces the chip row where the item names do not explain themselves.
   A chip says "we do this"; a lever says what it does and when it applies. */
.levers { display: grid; gap: 0; border-top: 2px solid var(--blue); margin-top: 6px; }
.levers li { padding: 14px 0; border-bottom: 1px solid var(--rule-light); }
.band--surface .levers li { border-bottom-color: var(--rule); }
.levers b {
  display: block;
  font-family: var(--head);
  font-size: .9375rem; font-weight: 700; color: var(--blue);
  margin-bottom: 3px;
}
.levers span { display: block; font-size: .9375rem; line-height: 1.5; color: var(--muted); }

/* Two columns when the lever list's own container is wide enough, not when
   the viewport is. The list appears both beside a proof panel (narrow) and
   across a full-width band (wide), so a viewport media query gets it wrong
   in one of those two places. */
.svc__copy, .lever-box, .step__body, .split__body { container-type: inline-size; }
.svc__grid--solo .svc__copy .levers { max-width: 62em; }

@container (min-width: 520px) {
  .levers { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}

/* Three-item lists sit as one row rather than leaving a hole in a 2-up grid. */
@container (min-width: 720px) {
  .levers--three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; }
}

/* --- 26. On-navy variants ------------------------------------------------
   The lever list and section shell also run on the navy band on the Why
   page. --muted is 3.3:1 on navy, so secondary text swaps to --muted-blue. */
.on-blue .section__head h2 { color: var(--white); }
.on-blue .section__lede    { color: var(--muted-blue); }

.on-blue .levers          { border-top-color: var(--gold); }
.on-blue .levers li       { border-bottom-color: rgba(255, 255, 255, .16); }
.on-blue .levers b        { color: var(--white); }
.on-blue .levers span     { color: var(--muted-blue); }

/* --- 27. Plain step list -------------------------------------------------
   Same rhythm as the numbered steps on How It Works, without the number
   column, for lists where the items are not a sequence. */
@media (min-width: 860px) {
  .steps--plain .step { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
}

/* --- 28. Split prose -----------------------------------------------------
   Heading in a left column, body copy in the right, on the same 360/1fr
   rhythm as the step list. Keeps long prose sections from sitting as a
   narrow ribbon against an empty right half. */
.split { display: grid; gap: 16px 56px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 0 32px; }
}
.split > * { min-width: 0; }
.split__h h2 { font-size: clamp(1.625rem, 1.15rem + 1.65vw, 2.375rem); max-width: 13em; }
.split__h .eyebrow { margin-bottom: 10px; }
.split__body { display: flex; flex-direction: column; gap: 14px; }
.split__body p { font-size: clamp(1rem, .96rem + .28vw, 1.125rem); line-height: 1.6; max-width: 64ch; }
.split__body > .callout { margin-top: 12px; }

/* On navy the split shell needs the same treatment the section shell got. */
.on-blue .split__h h2      { color: var(--white); }
.on-blue .split__body p    { color: var(--muted-blue); }
.on-blue .split__body .lead { color: var(--white); }

/* --- 29. Scan aids ------------------------------------------------------
   A bolded opening line so a section can be taken in from the heading plus
   one sentence, and a ruled list for the places where the prose was really
   a list wearing paragraph clothing. */
.split__body .lead {
  font-family: var(--head);
  font-size: clamp(1.125rem, 1.02rem + .42vw, 1.375rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--blue);
  max-width: 44ch;
}

.points { display: grid; gap: 0; border-top: 2px solid var(--blue); margin: 6px 0 2px; }
.points li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 1.0625rem; line-height: 1.5; color: var(--body);
}
.band--surface .points li { border-bottom-color: var(--rule); }

@container (min-width: 520px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}

