/* Design tokens lifted from the prototype in public/index.html, which stays the
   visual reference. New components below follow the same palette and radii. */
:root {
  --ink: #17323b;
  --ink-soft: #566f75;
  --ink-faint: #45666a;
  --bg: #f4f7f8;
  --surface: #ffffff;
  --line: #dce6e7;
  --line-soft: #ebf0f1;
  --navy: #102b35;
  --navy-2: #153941;
  --navy-3: #20454c;
  --teal: #36bfa7;
  --teal-deep: #0f7168;
  --teal-pale: #e5f2ef;
  --teal-ink: #14645c;
  --amber-bg: #fff4df;
  --amber-ink: #8c610c;
  --red-bg: #fdecec;
  --red-ink: #a12c2c;
  --green-bg: #e8f7ed;
  --green-ink: #236341;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid var(--teal-deep); outline-offset: 2px;
}
a { color: var(--teal-deep); }

.shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
aside {
  background: var(--navy); color: #d7e9eb; padding: 30px 18px;
  display: flex; flex-direction: column; gap: 26px;
}
.brand { font-size: 1.2rem; font-weight: 800; letter-spacing: -.04em; color: #fff; padding: 0 10px; }
.brand b { color: #76dfca; }
/* Only the status line is a block. This rule used to match every span in
   the mark, which put the wordmark's first letter on a row of its own: the
   sidebar read "R" above "ENQUVA". */
.brand [data-brand-status] { font-size: .75rem; letter-spacing: 0; font-weight: 600; display: block; color: #9cc0c5; margin-top: 2px; }
.nav { display: grid; gap: 6px; }
.nav button {
  background: none; border: 0; color: #c4d9dc; padding: 12px 14px;
  text-align: left; border-radius: 11px; font-weight: 650; width: 100%;
}
.nav button.active, .nav button:hover { background: var(--navy-3); color: #fff; }
.asidefoot { margin-top: auto; padding: 12px; color: #96b4b9; font-size: .82rem; line-height: 1.5; }
.asidefoot button {
  background: none; border: 1px solid #35606a; color: #c4d9dc;
  border-radius: 9px; padding: 7px 11px; margin-top: 10px; font-size: .82rem; font-weight: 650;
}
.whoami { color: #d7e9eb; font-weight: 700; }

/* `margin: 0 auto`, not `auto`. This is a grid item in a `min-height: 100vh`
   shell, where `margin: auto` centres on BOTH axes — so a short panel was
   pushed 159px down the page while a long one sat at the top. Maintenance
   opened in the middle of the screen with a band of nothing above it; the
   intent was only ever to centre horizontally under max-width. */
main { padding: 34px clamp(20px, 4vw, 64px); max-width: 1440px; width: 100%; margin: 0 auto; }
.top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.eyebrow {
  color: var(--ink-faint); font-size: .78rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px;
}
h1 { font-size: clamp(1.7rem, 3vw, 2.55rem); letter-spacing: -.055em; line-height: 1.12; margin: 0; }
h2 { font-size: 1.2rem; letter-spacing: -.03em; margin: 0 0 16px; }
h3 { font-size: .98rem; margin: 0 0 10px; letter-spacing: -.02em; }
p { line-height: 1.55; }

.tag { display: inline-block; padding: 7px 10px; border-radius: 99px; background: var(--teal-pale); color: var(--teal-ink); font-weight: 750; font-size: .78rem; }
.notice {
  background: #e7f2f0; border: 1px solid #b9d9d3; color: #345f5b;
  padding: 12px 16px; border-radius: 12px; margin-bottom: 22px; font-size: .88rem; line-height: 1.5;
}
.notice.warn { background: var(--amber-bg); border-color: #e8d19a; color: var(--amber-ink); }
.notice.stop { background: var(--red-bg); border-color: #efc4c4; color: var(--red-ink); }

.grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, 1fr); gap: 20px; align-items: start; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(14, 49, 56, .035); border-radius: var(--radius);
  padding: 25px; margin-bottom: 20px;
}
.card.hero { background: var(--navy-2); color: #fff; padding: 30px; }
.card.hero p { color: #c5dcde; margin: 9px 0 22px; }
.card.hero h2 { font-size: 1.45rem; }
.card.hero .tag { background: #2f5a5e; color: #dcf7ef; }

.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row + .row { border-top: 1px solid var(--line-soft); margin-top: 14px; padding-top: 14px; }
.muted { color: var(--ink-soft); }
.small { font-size: .86rem; }
.big { font-weight: 800; font-size: 1.1rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }

.btn { border: 1px solid #cadbdb; background: #fff; border-radius: 10px; padding: 10px 15px; font-weight: 750; color: #183940; }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #082e32; }
.btn.ghost { background: transparent; }
.btn:hover:not(:disabled) { filter: brightness(.95); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.small { padding: 6px 11px; font-size: .84rem; }
.card.hero .btn { background: #78e4d0; border-color: #78e4d0; color: #0b343b; }

.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stat strong { font-size: 1.7rem; display: block; letter-spacing: -.05em; }
.stat span { font-size: .83rem; color: #617a80; }

.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
/* The round step badge. Scoped to .step: an unscoped .num also matched every
   numeric table cell, which turned each one into a 25px circle and squeezed
   the column it was in. */
.step .num {
  width: 25px; height: 25px; border-radius: 50%; background: #d8f0eb; color: #126f65;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; flex: none;
}
.step .num.done { background: var(--teal); color: #08343a; }

.field { display: grid; gap: 6px; margin: 14px 0; }
.field label { font-weight: 700; font-size: .87rem; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.field input, .field textarea, .field select {
  border: 1px solid #c8d8da; border-radius: 9px; padding: 11px; background: #fff; width: 100%; color: var(--ink);
}
.field textarea { min-height: 88px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.explain {
  background: #f2f7f7; border-left: 3px solid var(--teal); padding: 10px 12px;
  border-radius: 0 8px 8px 0; font-size: .84rem; color: #3d5f64; line-height: 1.5;
}
.linkish { background: none; border: 0; color: var(--teal-deep); font-weight: 700; font-size: .8rem; padding: 0; text-decoration: underline; }

.panel { display: none; }
.panel.active { display: block; }

.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.diff > div { padding: 16px; background: #f2f7f7; border-radius: 12px; }
.diff b { display: block; margin-bottom: 8px; }
.diff.changed > div:last-child { background: var(--teal-pale); }

table.data { width: 100%; border-collapse: collapse; font-size: .88rem; }
/* A table in a narrow column scrolls rather than spilling past the card.

   It also has to LOOK scrollable. A row of properties whose last column was a
   button cut off at the card edge read as a broken layout, not as something
   you could scroll to. These are the standard scroll shadows: the 'local'
   gradients are painted over by the card colour except where the content is
   actually scrolled away, so a shadow appears on a side only while there is
   more to see on it, and nothing shows at all when the table fits. */
.table-scroll {
  overflow-x: auto;
  background:
    linear-gradient(to right, var(--surface) 30%, rgba(255, 255, 255, 0)) left center / 28px 100% no-repeat local,
    linear-gradient(to left, var(--surface) 30%, rgba(255, 255, 255, 0)) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(12, 46, 54, .14), rgba(12, 46, 54, 0)) left center / 11px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(12, 46, 54, .14), rgba(12, 46, 54, 0)) right center / 11px 100% no-repeat scroll;
}
table.data th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.data td { padding: 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.is-change td { background: #f4fbf9; }

.listitem { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; border-top: 1px solid #e5eded; }
.listitem:first-of-type { border: 0; }
.pill { border-radius: 99px; background: var(--amber-bg); color: var(--amber-ink); padding: 5px 9px; font-size: .77rem; font-weight: 750; white-space: nowrap; }
.pill.ok { background: var(--green-bg); color: var(--green-ink); }
.pill.stop { background: var(--red-bg); color: var(--red-ink); }
.pill.idle { background: #eef2f3; color: #5b7176; }
.pill.info { background: var(--teal-pale); color: var(--teal-ink); }

.empty { background: #f2f7f7; border-radius: 12px; padding: 20px; color: #587277; }
.hide { display: none !important; }
/* The availability note and anything else toggled by the hidden attribute.
   Stated outright because a class rule elsewhere would otherwise win. */
[hidden] { display: none !important; }

.finding { border-left: 3px solid #ccc; padding: 10px 12px; margin-bottom: 10px; border-radius: 0 8px 8px 0; background: #fafcfc; }
.finding.block { border-color: #d05a5a; background: var(--red-bg); }
.finding.flag { border-color: #d8a33c; background: var(--amber-bg); }
.finding.info { border-color: var(--teal); background: var(--teal-pale); }
.finding b { display: block; font-size: .85rem; }
.finding .cite { font-size: .76rem; }

pre.draft {
  background: #0f272e; color: #d7ecef; padding: 18px; border-radius: 12px;
  overflow: auto; font-size: .76rem; line-height: 1.5; max-height: 460px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.watermark {
  background: repeating-linear-gradient(45deg, #fff4df, #fff4df 12px, #ffeecb 12px, #ffeecb 24px);
  border: 1px solid #e8d19a; color: var(--amber-ink); padding: 12px 15px;
  border-radius: 10px; font-weight: 700; font-size: .84rem; margin-bottom: 14px; line-height: 1.5;
}

.login { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.login .card { max-width: 430px; width: 100%; margin: 0; }
.accounts { display: grid; gap: 6px; margin-top: 14px; }
.accounts button {
  text-align: left; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; padding: 9px 12px; font-size: .84rem;
}
.err { color: var(--red-ink); font-size: .86rem; min-height: 1.2em; }

.pdfframe {
  width: 100%; height: 620px; margin-top: 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #f7fafa;
}
@media (max-width: 850px) { .pdfframe { height: 420px; } }

.chat { display: grid; gap: 10px; max-height: 380px; overflow: auto; padding-right: 4px; }
.bubble { background: #f2f7f7; padding: 11px 13px; border-radius: 12px; font-size: .88rem; line-height: 1.5; }
.bubble.mine { background: var(--teal-pale); }
.bubble .who { font-weight: 750; font-size: .78rem; color: var(--ink-faint); display: block; margin-bottom: 3px; }

.wizard-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.wizard-nav button {
  border: 1px solid var(--line); background: #fff; border-radius: 99px;
  padding: 8px 14px; font-size: .84rem; font-weight: 700; color: #3f6067;
}
.wizard-nav button.active { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.wizard-nav button.done { border-color: var(--teal); color: var(--teal-ink); }

.integration { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 14px; }
.states { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.states span { font-size: .75rem; padding: 4px 9px; border-radius: 99px; background: #eef2f3; color: #7b8e92; }
.states span.reachable { background: var(--teal-pale); color: var(--teal-ink); font-weight: 750; }
ul.reqs { margin: 8px 0 0; padding-left: 18px; font-size: .85rem; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 980px) { .statgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 850px) {
  .shell { display: block; }
  aside { padding: 15px; gap: 12px; }
  .brand { padding: 0; }
  .nav { display: flex; overflow: auto; }
  .nav button { white-space: nowrap; width: auto; }
  .asidefoot { display: none; }
  main { padding: 22px 16px; }
  .grid, .two, .diff { grid-template-columns: 1fr; }
  .top { align-items: center; }
}
@media (max-width: 450px) { .statgrid { grid-template-columns: 1fr 1fr; } .card { padding: 18px; } }

/* ---------- public listing pages ---------- */
.pubwrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.pubhead { background: var(--navy); color: #d7e9eb; padding: 16px 0; margin-bottom: 28px; }
.pubhead .pubwrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.brandlink { color: #fff; font-weight: 800; letter-spacing: -.04em; font-size: 1.1rem; text-decoration: none; }
.brandlink b { color: #76dfca; }
.pubhead .muted { color: #96b4b9; }
.pubfoot { margin: 40px auto; padding-top: 18px; border-top: 1px solid var(--line); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 22px; }
.filters .field { margin: 0; min-width: 150px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.listingcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 10px 32px rgba(14, 49, 56, .035); display: flex; flex-direction: column;
}
.listingcard img { width: 100%; height: 190px; object-fit: cover; display: block; background: #e8eff0; }
.listingcard .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.listingcard h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.listingcard .price { font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.listingcard a.btn { margin-top: auto; text-align: center; text-decoration: none; display: block; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; max-height: 380px; }
.gallery img:first-child { grid-row: span 2; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } .gallery img:first-child { grid-row: auto; } }

.facts { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 18px; }
.facts div { background: #f2f7f7; border-radius: 10px; padding: 10px 14px; }
.facts b { display: block; font-size: 1.05rem; }
.featurelist { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 10px 0; }
.featurelist li { background: var(--teal-pale); color: var(--teal-ink); border-radius: 99px; padding: 6px 12px; font-size: .84rem; font-weight: 650; }
.slotgrid { display: grid; gap: 8px; }
.slotgrid label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.progress { display: grid; gap: 8px; margin: 14px 0; }
.progress .row { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }

/* A field the server rejected, so the eye lands on it. */
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: var(--red-ink);
  background: var(--red-bg);
}

/* ==========================================================================
   Product-quality pass.

   Same palette, same radii, same navy-and-teal direction as above. What
   changes is consistency: one page header, one empty state, one status
   vocabulary, one table treatment, one form rhythm. Nothing below alters what
   the product says about itself -- the warnings, watermarks and refusal
   notices keep their existing weight and are, if anything, louder.
   ========================================================================== */

:root {
  --shadow-sm: 0 1px 2px rgba(14, 49, 56, .05);
  --shadow: 0 10px 32px rgba(14, 49, 56, .035);
  --shadow-lift: 0 14px 38px rgba(14, 49, 56, .09);
  --radius-sm: 10px;
  --radius-md: 14px;
  --gutter: 16px;
}

/* Screen-reader-only text, for the places where a mark alone is not enough. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Focus is never removed, only made legible on both light and dark grounds. */
:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; border-radius: 4px; }
aside :focus-visible, .card.hero :focus-visible { outline-color: #8fe9d6; }

/* ---------- navigation ---------- */
.navgroup { margin-bottom: 14px; }
.navgroup > h4 {
  /* 12px floor. Uppercase with wide letter-spacing is the hardest combination
     to read small, and these are the labels somebody looks at most. */
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: #8fb3b8; margin: 0 0 6px; padding: 0 14px; font-weight: 800;
}
.nav button {
  display: flex; align-items: center; gap: 10px; font-size: .9rem;
  transition: background .12s ease, color .12s ease;
}
.nav button .ico { width: 17px; height: 17px; flex: none; opacity: .85; }
.nav button.active { background: var(--navy-3); color: #fff; box-shadow: inset 3px 0 0 var(--teal); }
.nav button.active .ico { opacity: 1; }
.nav button:hover:not(.active) { background: rgba(255, 255, 255, .06); color: #eaf6f7; }
.orgbox {
  border-top: 1px solid #2a5058; padding-top: 14px; display: grid; gap: 2px;
}
.orgbox .orgname { color: #fff; font-weight: 750; font-size: .9rem; }
.orgbox .orgrole { color: #8fb3b8; font-size: .78rem; }

/* ---------- page furniture ---------- */
main { max-width: 1280px; }
.pagehead {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 18px; flex-wrap: wrap; margin-bottom: 18px;
}
.pagehead-text h2 { margin: 0 0 4px; font-size: 1.32rem; }
.pagehead-text p { margin: 0; font-size: .9rem; }
.pageactions { display: flex; gap: 10px; flex-wrap: wrap; }
.cardhead {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; margin-bottom: 16px;
}
.cardhead h2, .cardhead h3 { margin: 0 0 2px; }
.cardhead p { margin: 0; }

.card { box-shadow: var(--shadow-sm); }
.card.interactive { transition: box-shadow .14s ease, transform .14s ease; }
.card.interactive:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); }

/* ---------- empty states ---------- */
.emptystate {
  background: #f5f9f9; border: 1px dashed #cfdedf; border-radius: var(--radius-md);
  padding: 30px 26px; text-align: center; color: #4e6b70;
}
.emptystate h3 { margin: 0 0 6px; font-size: 1rem; color: var(--ink); }
.emptystate p { margin: 0 auto 16px; max-width: 46ch; font-size: .9rem; line-height: 1.6; }
.emptystate .btn { margin: 0 auto; }

/* ---------- status vocabulary ---------- */
.pill { display: inline-block; line-height: 1.35; }
.pill + .pill { margin-left: 5px; }
.statusstrip { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 16px; }

/* ---------- tables ---------- */
table.data td .sub {
  display: block; color: var(--ink-soft); font-size: .8rem; margin-top: 2px;
}
table.data tbody tr:hover td { background: #f7fbfb; }
table.data.sticky thead th {
  position: sticky; top: 0; background: var(--surface); z-index: 1;
}
td.rowact, th.rowact { text-align: right; white-space: nowrap; }
td.rowact .btn + .btn { margin-left: 6px; }

/* ---------- forms ---------- */
.field label > span:first-child { display: inline-flex; align-items: baseline; gap: 6px; }
.field .req { color: var(--red-ink); font-weight: 800; }
.field .opt { color: var(--ink-soft); font-weight: 600; font-size: .78rem; }
.field input:disabled, .field select:disabled, .field textarea:disabled {
  background: #f2f5f6; color: #7d9296; cursor: not-allowed;
}
.fielderr { color: var(--red-ink); font-size: .82rem; margin: 2px 0 0; font-weight: 650; }
.formnote { font-size: .86rem; color: var(--ink-soft); margin: 12px 0 0; }
.prefixed { display: flex; align-items: center; gap: 0; }
.prefixed > span {
  border: 1px solid #c8d8da; border-right: 0; border-radius: 9px 0 0 9px;
  padding: 11px 12px; background: #f2f7f7; color: var(--ink-soft); font-weight: 700;
}
.prefixed input { border-radius: 0 9px 9px 0 !important; }
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice.wrap { gap: 6px; }
.choicebox {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid #c8d8da;
  border-radius: 9px; padding: 9px 13px; font-size: .88rem; cursor: pointer; background: #fff;
}
.choicebox:has(input:checked) { border-color: var(--teal-deep); background: var(--teal-pale); font-weight: 700; }
.choicebox:has(input:focus-visible) { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.checkline { display: flex; align-items: center; gap: 9px; font-size: .88rem; margin: 10px 0; }
label.sub { display: grid; gap: 5px; font-size: .82rem; font-weight: 700; color: #3f6067; }
label.sub input, label.sub select, label.sub textarea {
  border: 1px solid #c8d8da; border-radius: 9px; padding: 10px; font-weight: 400;
  color: var(--ink); background: #fff; width: 100%;
}
label.sub textarea { min-height: 70px; }

/* ---------- repeating rows ---------- */
.repeater { display: grid; gap: 12px; }
.repeat-row {
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 15px; background: #fbfdfd; display: grid; gap: 10px;
}
.btn.danger { color: var(--red-ink); border-color: #e6c3c3; }
.btn.danger:hover:not(:disabled) { background: var(--red-bg); }

/* ---------- the lease board ---------- */
.bucketbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.bucketchip {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 12px 16px; min-width: 104px; box-shadow: var(--shadow-sm);
}
.bucketchip b { display: block; font-size: 1.4rem; letter-spacing: -.045em; }
.bucketchip span { font-size: .78rem; color: var(--ink-soft); }
.bucketchip.zero { opacity: .55; }

/* ---------- the create-lease wizard ---------- */
.wizardcard { padding: 0; overflow: hidden; }
.wizardhead {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 24px 26px 18px; border-bottom: 1px solid var(--line-soft);
}
.wizardhead h2 { margin: 0 0 4px; }
.wizardhead p { margin: 0; font-size: .89rem; }
.wizardsteps {
  display: flex; gap: 6px; flex-wrap: wrap; list-style: none; margin: 0;
  padding: 14px 26px; background: #f7fafa; border-bottom: 1px solid var(--line-soft);
}
.wizardsteps button {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid transparent;
  background: none; border-radius: 99px; padding: 6px 12px; font-size: .82rem;
  font-weight: 700; color: #5d7c81;
}
.wizardsteps button .n {
  width: 20px; height: 20px; border-radius: 50%; background: #dce7e8; color: #46686d;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
}
.wizardsteps button.done { color: var(--teal-ink); }
.wizardsteps button.done .n { background: var(--teal); color: #08343a; }
.wizardsteps button.active { background: var(--navy-2); color: #fff; }
.wizardsteps button.active .n { background: #78e4d0; color: #0b343b; }
.wizardsteps button:disabled { opacity: .5; cursor: default; }
.wizardbody { padding: 24px 26px; max-width: 760px; }
.wizardfoot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 18px 26px; border-top: 1px solid var(--line-soft); background: #fbfdfd;
}
.wizardcard .notice, .wizardcard .formnote { margin: 0 26px 18px; }
.wizardcard .statusstrip, .wizardcard .finding, .wizardcard > .small { margin-left: 26px; margin-right: 26px; }
.wizardcard h3 { padding: 0 26px; }

.summarybox {
  background: #f2f7f7; border-radius: var(--radius-md); padding: 16px 18px; margin: 16px 0;
}
.summarybox h4 { margin: 0 0 4px; font-size: .98rem; }
.summarybox p { margin: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 4px 10px; font-size: .77rem; font-weight: 650; color: #4d6f74;
}

.rolekey { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 22px; }
.rolecard { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 13px 15px; }
.rolecard b { display: block; font-size: .89rem; margin-bottom: 5px; }
.rolecard p { margin: 8px 0 0; font-size: .8rem; line-height: 1.5; }
.peoplelist { display: grid; gap: 12px; margin-bottom: 14px; }

.reviewgroup { border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 16px; }
.reviewgroup:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.reviewgroup h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: .95rem; }
.reviewgroup dl { margin: 0; display: grid; gap: 0; }
.reviewline {
  display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .88rem;
}
.reviewline:last-child { border-bottom: 0; }
.reviewline dt { color: var(--ink-soft); font-weight: 650; margin: 0; }
.reviewline dd { margin: 0; }
.overlap table.data { margin: 12px 0; background: #fff; border-radius: var(--radius-sm); }

/* ---------- integrations ---------- */
.provgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.provcard {
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px;
  background: var(--surface); display: flex; flex-direction: column; gap: 10px;
}
.provcard .provtop { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.provcard h3 { margin: 0; }
.provcard .provwhat { font-size: .86rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }
.provcard .provwho { font-size: .8rem; color: var(--ink-faint); margin: 0; }
details.detailbox { border-top: 1px solid var(--line-soft); padding-top: 10px; margin-top: auto; }
details.detailbox > summary {
  cursor: pointer; font-size: .84rem; font-weight: 750; color: var(--teal-deep);
  list-style: none; display: flex; align-items: center; gap: 6px;
}
details.detailbox > summary::-webkit-details-marker { display: none; }
details.detailbox > summary::after { content: '▾'; font-size: .7rem; }
details.detailbox[open] > summary::after { content: '▴'; }
details.detailbox > summary:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .reviewline { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 850px) {
  .nav { display: grid; overflow: visible; }
  .nav button { width: 100%; }
  .navgroup > h4 { padding: 0 10px; }
  .pagehead { align-items: flex-start; }
  .pageactions { width: 100%; }
  .pageactions .btn { flex: 1; }
  .wizardbody, .wizardhead, .wizardfoot, .wizardsteps { padding-left: var(--gutter); padding-right: var(--gutter); }
  .wizardcard .notice, .wizardcard .formnote, .wizardcard .statusstrip,
  .wizardcard .finding, .wizardcard > .small { margin-left: var(--gutter); margin-right: var(--gutter); }
  .wizardcard h3 { padding: 0 var(--gutter); }
  .wizardsteps { gap: 4px; }
  .wizardsteps button { padding: 5px 9px; font-size: .76rem; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  main { padding: 18px var(--gutter); }
  .bucketchip { flex: 1 1 calc(50% - 5px); min-width: 0; }
  .wizardsteps li:not(:has(.active)):not(:has(.done)) { display: none; }
  table.data { font-size: .84rem; }
}

/* ---------- one page header ---------- */
.top { align-items: flex-start; }
.top-text { min-width: 0; }
.pagesub { margin: 8px 0 0; font-size: .92rem; max-width: 62ch; }
.top-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex: none; }
.top-right .pageactions:empty { display: none; }

/* The wizard is a task, not a panel: hold it to a readable column. */
.wizardcard { max-width: 940px; margin-inline: auto; }
.wizardbody { max-width: none; }

@media (max-width: 850px) {
  .top { flex-direction: column; align-items: stretch; }
  .top-right { flex-direction: row-reverse; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
  .top-right .pageactions { flex: 1; }
}

/* A label's text and its required/optional marker belong on one line. */
label.sub .sublabel { display: inline-flex; align-items: baseline; gap: 6px; }
/* A row's destructive action sits to one side at its own size. */
.repeat-row .rowremove { justify-self: end; width: auto; }
.repeat-row { justify-items: stretch; }
.rolecard { display: flex; flex-direction: column; gap: 2px; }
.rolecard .pill { align-self: flex-start; }

/* ---------- overview ---------- */
.attn {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 14px 15px; border: 1px solid var(--line); border-left-width: 4px;
  border-radius: var(--radius-sm); margin-bottom: 10px; background: #fbfdfd;
}
.attn:last-child { margin-bottom: 0; }
.attn b { display: block; font-size: .92rem; }
.attn .btn { flex: none; }
.attn.blocked { border-left-color: #d05a5a; background: var(--red-bg); }
.attn.attention { border-left-color: #d8a33c; background: var(--amber-bg); }
.attn.info { border-left-color: var(--teal); background: var(--teal-pale); }
ul.plainlist { margin: 0 0 16px; padding-left: 18px; font-size: .86rem; line-height: 1.65; color: var(--ink-soft); }
ul.plainlist b { color: var(--ink); }
.provcard h4.reqhead { margin: 12px 0 4px; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.provgrid { margin-bottom: 20px; }
.inlinepick select {
  border: 1px solid #c8d8da; border-radius: 9px; padding: 9px 11px; background: #fff;
  font-size: .88rem; color: var(--ink); max-width: 320px;
}

/* ==========================================================================
   Public rental search. A consumer page, not the operator workspace: bigger
   images, fewer words, one obvious action per card.
   ========================================================================== */
.pubhero { margin: 6px 0 20px; }
.pubhero h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.pubhero p { margin: 8px 0 0; max-width: 56ch; }

.filters {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 14px 16px; box-shadow: var(--shadow-sm); align-items: end;
}
.filters .field label { font-size: .78rem; color: var(--ink-faint); }
.filters .btn { align-self: end; }

.listingcard { position: relative; transition: box-shadow .16s ease, transform .16s ease; }
.listingcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.listingcard:has(a.stretched:focus-visible) { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.listingcard .shot { position: relative; }
.listingcard .noshot {
  height: 190px; background: #eaf1f1; display: grid; place-items: center; gap: 6px;
  color: #8aa3a7; align-content: center;
}
.listingcard .noshot svg { width: 34px; height: 34px; }
.listingcard .noshot span { font-size: .78rem; font-weight: 650; }
.availchip {
  position: absolute; left: 10px; bottom: 10px; background: rgba(16, 43, 53, .9);
  color: #dff5f0; border-radius: 99px; padding: 5px 11px; font-size: .75rem; font-weight: 700;
}
.listingcard .price { margin: 0; font-weight: 800; font-size: 1.24rem; letter-spacing: -.035em; }
.listingcard .price .per { font-size: .8rem; font-weight: 650; color: var(--ink-soft); }
.listingcard h3 { margin: 2px 0 0; }
.listingcard h3 a { text-decoration: none; color: var(--ink); }
/* One tap target for the whole card, with the heading as its accessible name. */
a.stretched::after { content: ''; position: absolute; inset: 0; }
ul.keyfacts { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 8px 0 0; }
ul.keyfacts li {
  background: #f1f6f6; border-radius: 8px; padding: 4px 9px; font-size: .8rem;
  font-weight: 650; color: #46686d;
}
.listingcard .where { margin: 8px 0 0; font-size: .86rem; color: var(--ink-soft); }
.listingcard .viewcta { margin-top: auto; text-align: center; display: block; }

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters .btn { grid-column: 1 / -1; }
  .listingcard img, .listingcard .noshot { height: 210px; }
}

/* A scrollable table region is focusable, so it needs a visible focus ring. */
.table-scroll { max-width: 100%; }
.table-scroll:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; border-radius: var(--radius-sm); }
/* Hashes and long identifiers must not push a page sideways. */
.mono { overflow-wrap: anywhere; }
.states { max-width: 100%; }
@media (max-width: 560px) {
  .statgrid { gap: 8px; }
  .stat { padding: 14px; }
  .stat strong { font-size: 1.4rem; }
  .filters .field { min-width: 0; }
  .diff { grid-template-columns: 1fr; }
}

/* A grid child defaults to min-width:auto, so a wide table refused to shrink
   and pushed the whole page sideways on a phone -- 606px inside a 390px
   viewport. Every layout child may shrink; the table scrolls instead. */
.grid > *, .two > *, .card, .panel, main { min-width: 0; }
.grid > * > .card { max-width: 100%; }

/* Six stats in a fixed four-column grid left a ragged second row. */
.statgrid { grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }
@media (max-width: 980px) { .statgrid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
@media (max-width: 450px) { .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- the confirm dialog ---------- */
dialog#confirmDialog {
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0;
  max-width: 460px; width: calc(100% - 32px); box-shadow: 0 24px 60px rgba(10, 35, 42, .25);
  color: var(--ink); background: var(--surface);
}
dialog#confirmDialog::backdrop { background: rgba(12, 34, 41, .45); }
dialog#confirmDialog form { padding: 24px; margin: 0; }
dialog#confirmDialog h2 { margin: 0 0 8px; font-size: 1.08rem; }
dialog#confirmDialog p { margin: 0 0 4px; line-height: 1.55; }
.dialogfoot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.btn.danger-solid { background: var(--red-ink); border-color: var(--red-ink); color: #fff; }
.btn.danger-solid:hover:not(:disabled) { filter: brightness(1.08); }


/* ---------- contrast corrections ----------
   Measured with scripts/browser/contrast.js against what the browser paints,
   not chosen by eye. Each of these sat between 3.0:1 and 4.2:1, which reads
   fine on a good screen in a bright room and not at all otherwise. */
.states span { background: #e7ecee; color: #55686c; }
.attn .muted, .notice .muted { color: #4a6268; }
details.detailbox > summary { color: var(--teal-deep); }
.fieldhint { font-size: .78rem; color: var(--ink-faint); margin: 2px 0 0; }

/* Photographs attached to a maintenance request.
   A fixed row height so a request with four photographs is not four times
   taller than one with none, and object-fit so a portrait phone photograph
   is cropped rather than stretched. */
/* The notification bell and its panel. */
.bellwrap { position: relative; }
.bell {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 10px;
  color: var(--ink); cursor: pointer;
}
.bell:hover { background: #f2f7f7; }
.bell:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
/* The count must be readable, which means no smaller than 12px — the floor
   the whole interface is held to, and which this badge broke on every screen
   because the header is on every screen. The circle grew to fit it rather
   than the text shrinking to fit the circle. */
.bellcount {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px;
  border-radius: 99px; background: var(--red-ink, #9b2c2c); color: #fff;
  font-size: .75rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px;
  line-height: 1;
}
.bellpanel {
  position: absolute; top: 46px; right: 0; width: min(380px, calc(100vw - 32px));
  max-height: 60vh; overflow-y: auto; z-index: 40;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 48px rgba(14, 49, 56, .18); padding: 8px;
}
.bellpanel h3 { margin: 6px 8px 8px; font-size: .95rem; }
.bellitem {
  display: block; width: 100%; text-align: left; border: 0; background: none;
  padding: 10px 10px; border-radius: 10px; cursor: pointer; border-top: 1px solid var(--line-soft);
}
.bellitem:first-of-type { border-top: 0; }
.bellitem:hover { background: #f2f7f7; }
.bellitem.unread { background: #eef7f6; }
.bellitem b { display: block; font-size: .88rem; }
.bellitem .when { font-size: .75rem; color: var(--ink-faint); }
.bellfoot { display: flex; justify-content: flex-end; padding: 6px 8px 2px; }
@media (max-width: 560px) {
  .bellpanel { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; }
}

/* The legal basis panel on the lease wizard.
   Everything past the notice and the four headline facts is collapsed: a
   landlord needs the disclaimer and the verification date in front of them,
   and twenty-one citations only when they go looking. */
/* The inline "ask the owner" field on a maintenance row. */
.askowner { display: inline-flex; gap: 6px; align-items: center; margin-left: 6px; }
.askowner input { width: 180px; padding: 6px 9px; font-size: .85rem; }
@media (max-width: 560px) {
  .askowner { display: flex; margin: 6px 0 0; }
  .askowner input { width: 100%; }
}

.legalbasis { margin: 18px 0 4px; }
.lbdetail {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px;
  background: var(--surface);
}
.lbdetail > summary {
  cursor: pointer; font-weight: 700; font-size: .88rem; color: var(--ink);
}
.lbdetail > summary:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.lbdetail[open] > summary { margin-bottom: 10px; }
.lbdetail h4 { margin: 0 0 6px; font-size: .84rem; }
.lbgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
@media (max-width: 600px) { .lbgrid { grid-template-columns: 1fr; } }

.shots { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.shots a {
  display: block; width: 92px; height: 72px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: #f2f7f7;
}
.shots img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shots a:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
/* A hidden file input must still show a focus ring on its visible label. */
.sr-only:focus-visible + label, label:has(+ .sr-only:focus-visible) {
  outline: 3px solid var(--teal-deep); outline-offset: 2px; border-radius: 4px;
}
.wizardfoot .footright { display: flex; gap: 10px; }
.discardnote { padding: 0 26px 18px; margin: -8px 0 0; }
@media (max-width: 850px) { .discardnote { padding: 0 var(--gutter) 18px; } }

/* ---------- property history ---------- */
ol.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
ol.timeline li {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
ol.timeline li:last-child { border-bottom: 0; }
.tl-date { color: var(--ink-faint); font-size: .8rem; font-variant-numeric: tabular-nums; }
.tl-body { display: grid; gap: 2px; min-width: 0; }
.tl-body b { font-size: .92rem; font-weight: 700; }
.tl-amount { font-weight: 750; font-variant-numeric: tabular-nums; }
.tl-summary { color: var(--ink-soft); font-size: .84rem; }
.tl-kind {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint);
  background: #f1f6f6; border-radius: 99px; padding: 3px 9px; white-space: nowrap;
}
li.tl-maintenance .tl-kind { background: var(--amber-bg); color: var(--amber-ink); }
li.tl-payment .tl-kind { background: var(--green-bg); color: var(--green-ink); }
li.tl-lease .tl-kind, li.tl-tenancy .tl-kind { background: var(--teal-pale); color: var(--teal-ink); }
@media (max-width: 700px) {
  ol.timeline li { grid-template-columns: 1fr auto; }
  .tl-date { grid-column: 1 / -1; }
}

/* ==========================================================================
   The commercial site. Same palette and radii as the workspace; wider
   measure, bigger type, and nothing that implies a feature the product does
   not have.
   ========================================================================== */
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

body.site { background: var(--bg); }
.sitehead {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 14px 0; position: sticky; top: 0; z-index: 20;
}
.sitehead .pubwrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
/* The wordmark is a link home, so it is a target too. */
.sitehead .brandlink { display: inline-flex; align-items: center; min-height: 44px; }
.sitehead .brandlink { color: var(--ink); font-size: 1.15rem; }
.sitehead .brandlink b { color: var(--teal-deep); }
.sitenav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sitenav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 650; font-size: .92rem;
  /* A tappable height rather than the height of the text. WCAG 2.5.8 asks for
     24px; 44px is what a thumb actually wants, and the nav has room for it. */
  display: inline-flex; align-items: center; min-height: 44px;
}
.sitenav a:hover { color: var(--ink); }
/* The nav link colour would otherwise bleed into a button sitting in the nav,
   because .sitenav a outranks .btn's own colour. It must NOT reach .primary:
   that rule paints white on --teal-deep, and this override — written when
   primary was pale teal with dark ink — turned the header CTA into dark navy
   on dark teal at 2.48:1, below AA, at every width. */
.sitenav a.btn:not(.primary) { color: #183940; }
.sitenav span { display: flex; align-items: center; gap: 14px; }

.hero { padding: 56px 0 36px; max-width: 62ch; }
.hero.narrow { max-width: 54ch; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.055em; line-height: 1.08; }
.lede { font-size: 1.12rem; line-height: 1.6; color: var(--ink-soft); margin: 18px 0 24px; }
.heroactions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.heroactions .btn { text-decoration: none; display: inline-block; }

.featuregrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 20px 0 48px; }
.featuregrid article {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.featuregrid h2 { font-size: 1rem; margin: 0 0 8px; }
.featuregrid p { margin: 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }

.plainly, .restrictions, .freebits {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px 26px; margin: 0 0 32px;
}
.plainly h2, .restrictions h2, .freebits h2, .plansheading
  { font-size: 1.05rem; margin: 0 0 12px; }
.plainly ul, .restrictions ul, .freebits ul { margin: 0 0 8px; padding-left: 20px; line-height: 1.7; color: var(--ink-soft); }
.plainly li b, .restrictions li b { color: var(--ink); }
.restrictions h3 { margin: 18px 0 8px; font-size: .92rem; }

.plangrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 10px 0 36px; }
.plancard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm);
}
.plancard.featured { border-color: var(--teal); box-shadow: var(--shadow); }
.plancard h3 { margin: 0; font-size: 1.05rem; }
.planprice { margin: 2px 0 6px; font-size: 1.7rem; font-weight: 800; letter-spacing: -.045em; }
.planprice .per { font-size: .82rem; font-weight: 650; color: var(--ink-soft); letter-spacing: 0; }
.planprice .noprice { font-size: 1rem; font-weight: 750; color: var(--ink-faint); }
.plansummary { margin: 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }
ul.planlimits, ul.planfeatures { margin: 6px 0; padding-left: 18px; font-size: .85rem; color: var(--ink-soft); line-height: 1.6; }
ul.planlimits { font-weight: 650; color: var(--ink); }
.planaction { margin-top: auto; text-align: center; text-decoration: none; display: block; }

.sitefoot { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 48px; }
.sitefoot p { margin: 0 0 10px; max-width: 70ch; }
.sitefoot a { color: var(--teal-deep); }

@media (max-width: 700px) {
  .sitehead .pubwrap { flex-direction: column; align-items: flex-start; }
  .sitenav { width: 100%; justify-content: flex-start; gap: 12px; }
  .hero { padding: 32px 0 24px; }
}


/* ------------------------------------------------- the marketing homepage
   Added when the live site turned out to be three text sections, no images
   and no way in. A landlord should see the product within ten seconds, so
   the first thing under the headline is a screenshot of the real thing. */

.site .eyebrow {
  /* .74rem computed to 11.84px, under the 12px floor the site browser check
     enforces, so the live marketing site has been failing its own
     accessibility gate since the homepage redesign. Caught by running the
     deployment preflight, which is the only thing that runs that check. */
  text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 750;
  color: var(--teal-ink, #0f6b63); margin: 0 0 10px;
}
.site .hero { padding: 48px 0 28px; max-width: 760px; }
.site .hero h1 { margin-bottom: 14px; }
.site .hero .lede { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 22px; }

.btn.ghost { background: transparent; border-color: transparent; text-decoration: underline; }

/* The product shots. A thin frame and a soft shadow so a screenshot reads as
   a window into the application rather than a stray image. */
.shot { margin: 0; }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid #d9e4e4; box-shadow: 0 18px 44px rgba(16, 43, 53, .14);
  background: #fff;
}
.shot figcaption { margin-top: 10px; font-size: .84rem; color: var(--ink-soft); }
.hero-shot { margin: 0 0 56px; }

.tour { margin: 0 0 56px; }
.tour > h2 { font-size: 1.5rem; margin-bottom: 26px; }
.tourrow {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 38px; align-items: center; margin-bottom: 46px;
}
.tourrow.reverse .tourtext { order: 2; }
.tourrow h3 { font-size: 1.22rem; margin: 0 0 10px; letter-spacing: -.02em; }
.tourrow p { color: var(--ink-soft); margin: 0 0 14px; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .94rem; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .45em; width: 9px; height: 5px;
  border-left: 2px solid var(--teal-ink, #0f6b63); border-bottom: 2px solid var(--teal-ink, #0f6b63);
  transform: rotate(-45deg);
}

.closing {
  margin: 0 0 56px; padding: 34px; border-radius: 16px;
  background: var(--teal-pale, #e7f2f0); border: 1px solid #c9e0db;
}
.closing h2 { font-size: 1.35rem; margin-bottom: 8px; }
.closing .lede { margin-bottom: 18px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .site .hero { padding: 30px 0 20px; }
  .tourrow { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  /* Text first on a phone, always — a screenshot above the explanation is a
     picture nobody has been told how to read. */
  .tourrow.reverse .tourtext { order: 0; }
  .hero-shot { margin-bottom: 36px; }
  .closing { padding: 24px; }
}


/* ==========================================================================
   The premium layer.

   Appended rather than woven in, so every rule above keeps working and this
   section can be read — or reverted — as one piece. It changes presentation
   only: no class is renamed, no element is restructured, and every selector
   here already existed above.

   Three constraints shaped it.

   No web font. The server sends `default-src 'self'`, so a Google Fonts link
   would be blocked at the CSP and the page would silently fall back anyway.
   The system stack is already excellent on every platform that matters, so
   the typographic work here is scale, weight, rhythm and numerals rather than
   a typeface.

   No contrast regressions. The browser suite measures what is actually
   painted and the corrections above were derived from it, so nothing here
   lightens text on a light ground. Where a colour changes it moves darker.

   No shrinking. Tap targets stay at or above 24px and visible text at or
   above 12px, both of which the browser suite enforces.
   ========================================================================== */

:root {
  /* Spacing. A 4px base, named by use rather than by number, so a reader can
     tell an intentional gap from a number someone typed twice. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  /* Type scale. Ratios rather than arbitrary rem values, so headings stay in
     proportion when the base size changes. */
  --text-xs: .78rem;
  --text-sm: .86rem;
  --text-base: .95rem;
  --text-lg: 1.12rem;
  --text-xl: 1.4rem;
  --text-2xl: 1.85rem;

  /* Motion. Short enough to feel like a response rather than an animation,
     and disabled entirely further down for anyone who asks. */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --fast: .13s;
  --medium: .22s;

  /* One more elevation step, for the surfaces that should read as raised
     rather than merely separated. */
  --shadow-raise: 0 2px 4px rgba(14, 49, 56, .04), 0 12px 28px rgba(14, 49, 56, .07);
  --radius-lg: 22px;
}

/* Numerals that line up.
   Financial figures in a column are unreadable when the digits are
   proportional: 1 is narrow, 0 is wide, and a rent roll ends up ragged. This
   is the single highest-value typographic change in the file. */
body {
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.stat strong, .big, .mono, .tl-amount, table td, table th,
.planprice, .summarybox strong { font-variant-numeric: tabular-nums; }

/* ---------- headings ---------- */
h1 { letter-spacing: -.045em; }
h2 { font-size: var(--text-lg); letter-spacing: -.025em; }
.eyebrow { letter-spacing: .14em; font-size: .75rem; }   /* 12px: the floor the browser suite enforces */

/* ---------- the sidebar ---------- */
/* A rail on the active item instead of a filled block alone: the fill alone
   made two adjacent active-looking states hard to tell apart at a glance. */
aside { padding: var(--space-6) var(--space-4); }
.nav button {
  position: relative;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.nav button::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; border-radius: 0 3px 3px 0; background: var(--teal);
  transition: height var(--medium) var(--ease);
}
.nav button.active::before { height: 62%; }
.nav button.active { background: var(--navy-3); color: #fff; }
.navgroup h4 {
  font-size: .75rem; letter-spacing: .13em; text-transform: uppercase;
  color: #7ea3a9; margin: 0 0 var(--space-2); padding: 0 14px; font-weight: 800;
}

/* ---------- figures ---------- */
/* The row of counts is the first thing read, so it carries the most
   hierarchy: a large tabular figure, a quiet label, and a hairline accent
   that makes the row read as one object rather than six boxes. */
.statgrid { gap: var(--space-3); }
.stat {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.stat strong {
  font-size: var(--text-2xl); letter-spacing: -.045em; line-height: 1.1;
  margin-bottom: 2px; color: var(--ink);
}
.stat span { font-size: var(--text-xs); color: #5b7479; font-weight: 600; }

/* ---------- cards ---------- */
.card { border-radius: var(--radius-lg); padding: var(--space-5); }
.cardhead { margin-bottom: var(--space-4); }
.cardhead h2 { font-size: var(--text-lg); }

/* ---------- buttons ---------- */
/* The primary action was the same weight as everything beside it. It is now
   the darkest thing on the card, which is what makes a screen scannable. */
.btn {
  border-radius: var(--radius-sm);
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease),
              box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
  min-height: 38px; display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
}
.btn.primary {
  background: var(--teal-deep); border-color: var(--teal-deep); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn.primary:hover:not(:disabled) { background: #0c5f57; border-color: #0c5f57; filter: none; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.small { min-height: 30px; font-size: var(--text-sm); }

/* ---------- the attention list ---------- */
/* Each row is a thing to do, so it gets a target-sized control and a hover
   state that says the whole row is live. */
.attn { transition: background var(--fast) var(--ease); border-radius: var(--radius-md); }
.attn:hover { background: #fafcfc; }

/* ---------- empty states ---------- */
/* An empty state should invite the next action rather than apologise, so the
   heading carries real weight and the body is narrow enough to read. */
.emptystate { padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); }
.emptystate h3 { font-size: var(--text-lg); letter-spacing: -.02em; }

/* ---------- tables ---------- */
table th {
  font-size: var(--text-xs); letter-spacing: .06em; text-transform: uppercase;
  color: #5b7479; font-weight: 800;
}

/* ---------- motion, for those who want none ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}


/* ---------- the vacancy wizard ----------
   New classes only. The wizard reuses .wizardcard, .wizardsteps, .wizardbody,
   .wizardfoot, .choice/.choicebox, .field and .notice exactly as the lease
   builder does, so the two read as one product. */

.vwstart { background: linear-gradient(180deg, #fff, #f8fbfb); }
.vwstart .cardhead { margin-bottom: 0; align-items: center; }

.vwchoices { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.vwchoice { display: flex; gap: var(--space-3); align-items: flex-start; }
.vwchoice span { display: grid; gap: 2px; }

details.vwnew { margin-top: var(--space-4); border-top: 1px solid var(--line-soft); padding-top: var(--space-4); }
details.vwnew summary {
  cursor: pointer; font-weight: 700; color: var(--teal-deep);
  padding: var(--space-2) 0; min-height: 24px;
}

.vwphotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3); }
.vwphoto { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.vwphoto.approved { border-color: var(--teal); }
.vwphoto img { width: 100%; height: 130px; object-fit: cover; display: block; background: #eef3f3; }
.vwphoto figcaption {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-2); padding: var(--space-3); flex-wrap: wrap;
}

/* The preview is the one place the landlord sees what a stranger will see,
   so it is styled as the public page rather than as another form. */
.vwpreview {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-5); margin-bottom: var(--space-5); background: var(--surface);
  box-shadow: var(--shadow-raise);
}
.vwpreview-head { margin-bottom: var(--space-3); }
.vwpreview-img {
  width: 100%; max-height: 260px; object-fit: cover;
  border-radius: var(--radius-md); margin-bottom: var(--space-4); display: block;
}
.vwpreview h2 { margin: 0 0 var(--space-1); font-size: var(--text-xl); }
.vwpreview-rent { font-size: var(--text-lg); font-weight: 800; margin: 0 0 var(--space-2); font-variant-numeric: tabular-nums; }


/* ---------- the setup checklist ----------
   Four states, and they must be visually distinct at a glance: done, the one
   to do next, held by somebody else, and not yet reachable. A checklist where
   "blocked" and "next" look alike sends a landlord at a button that will be
   refused, which is the thing it exists to prevent. */

.setup { border-color: #cfe3e2; }
.setuplist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }

.setupstep {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-3); border-radius: var(--radius-md);
  border: 1px solid transparent;
}
.setupstep.next { background: var(--teal-pale); border-color: #bcded6; }
.setupstep.held { background: var(--amber-bg); border-color: #e8d19a; }
.setupstep.later { opacity: .66; }

.setupmark {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--text-xs); font-weight: 800;
  background: #dce7e8; color: #46686d;
}
.setupstep.done .setupmark { background: var(--teal-deep); color: #fff; }
.setupstep.next .setupmark { background: var(--navy-2); color: #fff; }
.setupstep.held .setupmark { background: var(--amber-ink); color: #fff; }

.setuptext { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.setupstep.done .setuptext b { color: var(--ink-soft); font-weight: 650; }
.setupstep .btn { flex: 0 0 auto; }

@media (max-width: 720px) {
  .setupstep { flex-wrap: wrap; }
  .setupstep .btn { margin-left: calc(24px + var(--space-3)); }
}

/* Figures are controls: each one opens the panel it counts. They were static
   boxes, which meant reading a number and then hunting for where it lives. */
button.stat {
  display: block; width: 100%; text-align: left; font: inherit; color: inherit;
  cursor: pointer; border: 1px solid var(--line); min-height: 44px;
}
button.stat:hover { border-color: #bcd4d6; box-shadow: var(--shadow-raise); }
button.stat:active { transform: translateY(1px); }
.statnote { display: block; font-size: var(--text-xs); color: #6a8186; margin-top: 2px; }

/* Seven figures in a fixed four-column grid left one stranded on its own row.
   Auto-fit distributes whatever number there happens to be. */
/* Four across on a desktop, so eight figures make two clean rows and the
   money card has room for its value. auto-fit alone gave six columns for
   seven cards and stranded one, then clipped "$1,800.00" when squeezed. */
.statgrid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: stretch; }
button.stat { display: flex; flex-direction: column; justify-content: flex-start; }


/* ---------- figures that act, and figures that only report ----------
   Some .stat cards navigate and some are just counts, and at rest they were
   identical. A control that looks like a label teaches people not to try the
   ones that work, so the actionable ones now carry a quiet mark that appears
   on hover and focus. The inert ones are unchanged: they are not broken
   controls, they are figures. */

button.stat { position: relative; padding-right: calc(var(--space-5) + 10px); }
button.stat::after {
  content: "→";
  position: absolute; right: var(--space-4); top: var(--space-4);
  color: var(--teal-deep); opacity: .35;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}
button.stat:hover::after, button.stat:focus-visible::after {
  opacity: 1; transform: translateX(2px);
}

/* ---------- wide tables ----------
   A reference like "bank_transfer REF-202511" broke mid-token in a narrow
   column, which reads as corruption rather than as a long value.
   My first attempt was `white-space: nowrap` on every cell. That was worse:
   the table then exceeded its card and the last column was clipped outright,
   so a value that had been ugly became invisible. Figures and dates — short
   by nature — stay on one line; prose and long references wrap, and
   long references break only when they genuinely cannot fit.

   The value matters more than it looks: 'anywhere' also lets the browser
   shrink a column below its longest word, which rendered 'Single Family' as
   'Singl e Famil y' across the properties table. 'break-word' keeps each
   column at least as wide as its longest word. */
table.data td.num, table.data th.num { white-space: nowrap; }
table.data td { overflow-wrap: break-word; }
table.data td.small, table.data td.muted { overflow-wrap: normal; word-break: normal; }


/* ---------- the homepage, as a sales page ----------
   The product visual used to sit below the hero text as a separate figure, so
   the first thing a visitor saw was three paragraphs. It is now half the hero
   on a wide screen and still first-class on a phone, where it follows the
   call to action rather than pushing it off the fold. */

.site .hero.herolead {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px); align-items: center; max-width: none;
  /* Was 64px top, which with the availability notice above it left a band of
     empty page before the headline on a laptop. */
  padding: clamp(16px, 2.5vw, 32px) 0 clamp(24px, 4vw, 40px);
}
/* The three proof points under the call to action read as one line, not as a
   sentence that wrapped. */
.site .herofoot { white-space: normal; max-width: 30rem; }
.site .herotext { max-width: 34rem; }
.site .herofoot { color: var(--ink-soft); margin-top: var(--space-4); }

.site .heroshot { margin: 0; }
.site .heroshot img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  /* Lifted rather than outlined: the screenshot is the evidence, so it should
     read as the product sitting on the page, not as a picture of it. */
  box-shadow: 0 24px 60px rgba(14, 49, 56, .16), 0 2px 6px rgba(14, 49, 56, .06);
}
.site .heroshot figcaption {
  font-size: var(--text-xs); color: var(--ink-soft); margin-top: var(--space-3);
}

/* ---------- why this, rather than the familiar alternative ---------- */
.site .whyus { padding: clamp(28px, 4vw, 48px) 0; }
.site .whygrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}
.site .whygrid article {
  border-top: 2px solid var(--teal); padding-top: var(--space-4);
}
.site .whygrid h3 { font-size: var(--text-base); margin: 0 0 var(--space-2); letter-spacing: -.01em; }
.site .whygrid p { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.6; }
/* auto-fit lands on three columns at a tablet width and leaves the fourth
   card alone on a row of its own. Four cards want two-by-two here. Caught by
   adding a tablet viewport to the browser suite, which had been checking 320,
   390 and 1280 and so had never rendered the width where this happens. */
@media (min-width: 700px) and (max-width: 1000px) {
  .site .whygrid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- pricing teaser and questions ---------- */
.site .pricetease { padding: clamp(24px, 4vw, 40px) 0; }

.site .faq { padding: clamp(28px, 4vw, 48px) 0; }
.site .faqlist { margin: 0; }
.site .faqlist dt {
  font-weight: 750; margin-top: var(--space-5); color: var(--ink);
  border-top: 1px solid var(--line-soft); padding-top: var(--space-4);
}
.site .faqlist dd {
  margin: var(--space-2) 0 0; color: var(--ink-soft);
  font-size: var(--text-sm); line-height: 1.65; max-width: 62ch;
}

/* ---------- support ---------- */
/*
 * The support page stacks six of these, one per topic. At the single-section
 * padding they drifted a long way apart and the page read as six pages, so
 * a run of them is tightened and each heading carries its own weight.
 */
.site .faq > h2 {
  font-size: var(--text-lg); letter-spacing: -.02em; margin: 0 0 var(--space-2);
}

/*
 * Six topics down a 62ch column left most of a desktop page empty and made
 * the page feel longer than it is. Two columns on a wide screen, one on a
 * phone, and each topic keeps its own measure for readability.
 */
.site .supportgrid { display: grid; gap: 0 clamp(32px, 5vw, 64px); }
.site .supportgrid .faq { padding: var(--space-5) 0 0; break-inside: avoid; }
@media (min-width: 900px) {
  .site .supportgrid { grid-template-columns: 1fr 1fr; }
}

/* The one thing somebody came here to find. */
.site .supportcontact { padding: 0 0 var(--space-5); }
.site .supportcontact .card {
  background: var(--teal-pale);
  border-color: var(--teal-deep);
  padding: var(--space-5);
}
.site .contactline {
  margin: var(--space-2) 0 var(--space-3);
  font-size: var(--text-lg); font-weight: 650; color: var(--ink);
}
.site .contactline a { color: var(--teal-deep); text-decoration-thickness: 2px; }
.site .supportcontact .muted { max-width: 60ch; margin: 0; }

@media (max-width: 860px) {
  .site .hero.herolead { grid-template-columns: 1fr; gap: var(--space-5); }
  .site .herotext { max-width: none; }
}

/* A figure that is currently filtering the list below it says so. */
button.stat.picked {
  border-color: var(--teal-deep); background: var(--teal-pale);
}
button.stat.picked .statnote { color: var(--teal-ink); font-weight: 700; }
button.stat.picked::after { opacity: 1; }


/* ---------- empty states, with some warmth ----------
   They were correct and cold: text in a dashed box. An empty account is a
   beginning, and the screen a new landlord sees most often should not look
   like a validation error. No illustration assets are introduced — the
   warmth is a soft ground, a real border and room to breathe, which costs
   nothing to serve and cannot go stale the way a picture does. */

.emptystate {
  background:
    radial-gradient(120% 100% at 50% 0%, #eef7f5 0%, #f7fafa 55%, #f7fafa 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px) var(--space-5);
  position: relative;
  overflow: hidden;
}
/* A quiet mark above the heading: three bars settling into line, which is
   what an organised record actually looks like. Drawn in CSS so there is no
   asset to version. */
.emptystate::before {
  content: "";
  display: block; margin: 0 auto var(--space-4);
  width: 42px; height: 26px;
  background:
    linear-gradient(var(--teal) 0 0) 0 0 / 42px 5px no-repeat,
    linear-gradient(#9fd9ce 0 0) 0 10px / 30px 5px no-repeat,
    linear-gradient(#cfe8e2 0 0) 0 20px / 36px 5px no-repeat;
  border-radius: 2px;
  opacity: .9;
}
.emptystate h3 { font-size: var(--text-lg); color: var(--ink); }
.emptystate p { color: var(--ink-soft); }

/* Inside a card that already has a border, the empty state should not look
   like a second box bolted into the first. */
.card > .emptystate { border: 0; background: transparent; padding-top: var(--space-5); }
.card > .emptystate::before { opacity: .75; }

/* ---------- the narrowest phones ----------
   A 320px viewport is still real: an iPhone SE, and any phone with display
   zoom turned up. The attention rows on the dashboard are a flex row with a
   button that is deliberately not allowed to shrink, which is right at 390px
   and 16px too wide at 320px — "Open maintenance →" pushed the whole page
   sideways. Below 380px the row stacks and the button takes the full width,
   which also makes it a larger touch target on the smallest screens.

   Deliberately not applied at 390px, where the row fits and is verified. */
@media (max-width: 380px) {
  .attn { flex-direction: column; align-items: stretch; gap: 10px; }
  .attn .btn { width: 100%; text-align: center; }
}

/* ---------- the offer, on the homepage ----------
   One price, said once, clearly. The pitch line sits under the lede so the
   number is visible without scrolling on a phone, where the pricing section
   is several screens down and most visitors never reach it. */
.heropitch {
  margin: var(--space-4) 0 var(--space-5);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-deep);
  border-radius: var(--radius-sm);
  background: var(--teal-pale);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}
.heropitch b { font-weight: 800; }

.pricetease .bignumber {
  margin: var(--space-3) 0 var(--space-2);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--ink);
}
.pricetease .bignumber .per {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--ink-faint);
  margin-left: 4px;
}
.pricelist {
  list-style: none;
  margin: var(--space-4) 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 54ch;
}
.pricelist li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}
/* A drawn tick rather than an icon font or an image: nothing to load, and
   nothing to go stale. */
.pricelist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--teal-deep);
  border-bottom: 2.5px solid var(--teal-deep);
  transform: rotate(-45deg);
}
@media (max-width: 560px) {
  .pricetease .bignumber { font-size: 2.6rem; }
}

/* ---------- photography ----------
   The product is the hero of this site; photography is the setting. These
   rules exist so a photograph dropped into a slot lands well without anyone
   restyling the page: it fills its slot, keeps its aspect, and crops from the
   centre rather than squashing.

   `aspect-ratio` with the width/height attributes the renderer always emits
   means the space is reserved before the file arrives, so a photograph
   loading late cannot push the text under it around. That is the single
   largest source of layout shift on a page that is mostly words and images. */
/* The picture needs the band's height, or it does not have one.
   Without it the <picture> took its own auto height — 596px inside a 303px
   band — so object-fit: cover never engaged, the image overflowed a rounded
   overflow:hidden clip, and the band painted as an empty pale rectangle.
   Every check passed: the markup was right, the file decoded, naturalWidth
   was non-zero. It simply was not visible. */
.photo { display: block; height: 100%; }
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* A full-width band above the hero. Deliberately shallow: it sets the scene
   and gets out of the way, rather than pushing the headline below the fold. */
.heroband {
  margin: 0 0 var(--space-5);
  aspect-ratio: 21 / 6;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--teal-pale);
}
.heroband img { border-radius: var(--radius-md); }

@media (max-width: 760px) {
  /* Taller on a phone, where a 21:6 strip is a sliver. */
  .heroband { aspect-ratio: 16 / 9; margin-bottom: var(--space-4); }
}

/* Credits, where a licence asks for them. Small, at the foot, legible. */
.photocredits {
  margin-top: var(--space-4);
  font-size: .78rem;
  color: var(--ink-faint);
}
.photocredits a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  .photo img { transition: none; }
}

/* Transitional bands between sections.
   Editorial rather than decorative: they give the page a breath between
   subjects, which is most of what separates a magazine layout from a stack
   of SaaS cards. Shallow on purpose — a band that pushes the next heading
   off the screen is costing a reader, not serving them. */
.storyband {
  margin: var(--space-6) 0;
  aspect-ratio: 21 / 7;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--teal-pale);
}
.storyband.narrowband { aspect-ratio: 16 / 7; }

.sectionlede {
  max-width: 56ch;
  margin-top: calc(var(--space-3) * -1);
  margin-bottom: var(--space-5);
}

@media (max-width: 760px) {
  .storyband,
  .storyband.narrowband { aspect-ratio: 4 / 3; margin: var(--space-5) 0; }
}

/* ===========================================================================
   The homepage, redesigned.
   
   The brief was that the site read as generic SaaS: photography buried at the
   bottom, too much explanation, no rhythm. The changes are structural rather
   than decorative — a photographic hero instead of a text hero, three
   outcomes instead of four differentiators, and roughly a third less copy.
   Everything here is scoped to .homemain so the other pages are untouched.
   =========================================================================== */

:root {
  /* An editorial display face for headings. Georgia and its siblings ship
     with every OS, so this costs no request, no CSP change and no font
     loading flash — which a webfont on a page whose CSP is default-src
     'none' would all have cost. */
  --display: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
}

.homemain { padding: 0; max-width: none; }
.homemain > section { padding: clamp(56px, 7vw, 104px) 0; }
.homemain > .herolede { padding: 0; }
.homemain > div:first-child { padding-top: var(--space-4); }

/* Section headings carry the editorial voice; body text stays in the UI face
   where it is easier to read at small sizes. */
.homemain h1,
.homemain h2,
.homemain h3,
.homemain .bignumber {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.015em;
}
.homemain h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 var(--space-5);
  max-width: 20ch;
}
.homemain h3 { font-size: 1.12rem; letter-spacing: -.01em; }
.homemain .sectionlede {
  font-size: 1.06rem; line-height: 1.6; color: var(--ink-soft);
  max-width: 54ch; margin: calc(var(--space-4) * -1) 0 var(--space-6);
}

/* ---------- the hero ---------- */

.herolede {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: #fff;
  min-height: min(76vh, 660px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
/* The photograph, and a wash over it. The wash is not decoration: white text
   on an unscreened photograph is unreadable wherever the sky is, and the
   contrast probe would measure it against the navy underneath and report a
   pass. It is opaque enough on the text side that the measured ratio and the
   real one agree. */
.herolede-media,
.herolede-wash { position: absolute; inset: 0; z-index: -1; }
.herolede-media .photo,
.herolede-media .photo img { width: 100%; height: 100%; border-radius: 0; }
.herolede-wash {
  background:
    linear-gradient(100deg, rgba(10, 28, 35, .94) 0%, rgba(10, 28, 35, .86) 38%,
      rgba(10, 28, 35, .58) 68%, rgba(10, 28, 35, .42) 100%),
    linear-gradient(to top, rgba(10, 28, 35, .55), rgba(10, 28, 35, 0) 45%);
}
.herolede-inner { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }
.homemain .herolede h1 {
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  margin: var(--space-3) 0 var(--space-4);
  max-width: 16ch;
  text-wrap: balance;
}
.herolede .eyebrow { color: #9fe3d3; letter-spacing: .16em; }
.herosay {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: #dbe9ea;
  max-width: 40ch;
  margin: 0 0 var(--space-6);
}
.herolede .heroactions { gap: var(--space-3); margin-bottom: var(--space-6); }

/* A button with a photograph behind it needs its own edge; the standard
   ghost button is invisible here. */
.btn.onphoto {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn.onphoto:hover:not(:disabled) {
  background: rgba(255, 255, 255, .16); border-color: #fff; filter: none;
}
.btn.big { min-height: 48px; padding: 13px 24px; font-size: 1rem; }

.herotrust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
}
.herotrust li {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: .95rem; color: #e7f1f2;
}
.herotrust li::before {
  content: ""; flex: none; width: 19px; height: 19px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9 6.1-6.6' fill='none' stroke='%23072a2c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- why ---------- */

.why { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.whyrow { display: grid; gap: var(--space-6); grid-template-columns: repeat(3, 1fr); }
.whyrow article { border-top: 2px solid var(--teal); padding-top: var(--space-4); }
.whyrow h3 { margin: 0 0 var(--space-2); }
.whyrow p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

/* ---------- property types ---------- */

.typerow { display: grid; gap: var(--space-4); grid-template-columns: repeat(3, 1fr); }
.typecard { position: relative; margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.typecard-media { aspect-ratio: 4 / 3; background: var(--teal-pale); }
.typecard-media .photo, .typecard-media .photo img { height: 100%; border-radius: 0; }
/* The label sits on an opaque bar, not a gradient.
   A gradient is a background-image, so the caption had no background COLOUR
   at all and the contrast probe measured white against the pale section
   behind the card: 1.08:1, correctly reported. Over a photograph that is
   exactly where contrast really does fail, so the fix is a real one rather
   than an exemption — an opaque base the text is guaranteed to sit on, with
   the gradient kept above it as the decorative fade it always was. */
.typecard figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + 2px);
  font-family: var(--display); font-size: 1.14rem; color: #fff;
  background-color: rgba(8, 26, 32, .92);
}
.typecard::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 58%;
  background: linear-gradient(to top, rgba(8, 26, 32, .72), rgba(8, 26, 32, 0));
  pointer-events: none;
}

/* ---------- the product tour ---------- */

.tourlead {
  display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; margin-bottom: clamp(40px, 6vw, 72px);
}
.tourpoints { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.tourpoints li {
  display: grid; gap: 2px; padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line-soft);
}
.tourpoints li:last-child { border-bottom: 0; padding-bottom: 0; }
.tourpoints b { font-size: 1.02rem; }
.tourpoints span { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }

/* ---------- the limits, and the close ---------- */

.plainly { background: var(--surface); }
.plainbox {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px); background: var(--bg);
}
.plainbox h2 { margin-bottom: var(--space-4); }
.plainbox ul { margin: 0; padding-left: 1.1rem; display: grid; gap: var(--space-3); }
.plainbox li { color: var(--ink-soft); line-height: 1.55; }

.homemain .pricetease { background: var(--surface); }
.homemain .bignumber { font-size: clamp(3rem, 7vw, 4.4rem); line-height: 1; margin: 0 0 var(--space-4); }

.closingbox {
  text-align: center;
}
.closingbox h2 { margin-left: auto; margin-right: auto; }
.closingbox .sectionlede { margin-left: auto; margin-right: auto; }
.closingbox .heroactions { justify-content: center; }

/* ---------- narrower ---------- */

@media (max-width: 980px) {
  .whyrow { grid-template-columns: 1fr 1fr; }
  .typerow { grid-template-columns: 1fr; }
  .typecard-media { aspect-ratio: 16 / 9; }
  .tourlead { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .whyrow { grid-template-columns: 1fr; gap: var(--space-5); }
  .herolede { min-height: 0; }
  .homemain .herolede h1 { max-width: none; }
  .herolede .heroactions .btn { width: 100%; text-align: center; }
  .herotrust { gap: var(--space-3); }
  .herotrust li { width: 100%; }
}

/* ---------- homepage rhythm ----------
   Two sections each with 104px of their own padding put 208px of nothing
   between them, which is the "scattered" feeling rather than a calm one.
   The rhythm is one band of space between sections, and a background change
   where the subject changes, so a transition reads as deliberate. */

.homemain > section { padding: clamp(48px, 5.2vw, 76px) 0; }
.homemain > .herolede { padding: 0; }
/* The availability note is hidden on an open build; its wrapper must not
   leave a pale strip between the header and the hero. */
.homemain > div:first-child { padding-top: 0; }
.homemain > div:first-child:has(.notice[hidden]) { display: none; }
.homemain .notice { margin: var(--space-4) 0 0; }

.homemain .why { background: var(--surface); }
.homemain .types { background: var(--bg); }
.homemain #tour { background: var(--surface); }
.homemain .plainly { background: var(--bg); }
.homemain .pricetease { background: var(--surface); }

.homemain .tourrow { gap: clamp(24px, 4vw, 56px); margin: 0 0 clamp(36px, 5vw, 64px); }
.homemain .tourrow:last-child { margin-bottom: 0; }
.homemain .tourtext { align-self: center; }
.homemain .tour > .pubwrap > h2 { margin-bottom: var(--space-3); }

/* The close is the other bookend to the hero: the page opens and shuts on
   the brand's colour rather than trailing off into another pale panel. */
.homemain .closing { background: var(--navy); color: #fff; }
.homemain .closing h2 { color: #fff; }
.homemain .closing .sectionlede { color: #cfe2e4; }
.homemain .closing .btn:not(.primary) {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); color: #fff;
}
.homemain .closing .btn:not(.primary):hover:not(:disabled) {
  background: rgba(255, 255, 255, .16); border-color: #fff; filter: none;
}

/* One plan reads better as a statement than as a left-aligned column with
   half the row empty beside it. The list stays left-aligned inside the
   centred block, because centred bullet text is harder to scan. */
.homemain .pricetease .pubwrap { text-align: center; }
.homemain .pricetease h2,
.homemain .pricetease .sectionlede { margin-left: auto; margin-right: auto; }
.homemain .pricetease .bignumber { margin-top: calc(var(--space-2) * -1); }
.homemain .pricetease .sectionlede { margin-top: 0; }
.homemain .pricetease .pricelist {
  display: inline-grid; text-align: left; justify-items: start;
  margin: var(--space-6) auto var(--space-5);
}
.homemain .pricetease .heroactions { justify-content: center; }
.homemain .pricetease .small.muted { max-width: 60ch; margin-left: auto; margin-right: auto; }

/* WCAG 2.5.8 asks for a 24px target. Two on the way in were under it: the
   wordmark on the signup page at 21px and the "Forgotten your password?"
   button on the sign-in page at 20px. Both are the first things somebody
   taps on a phone, and both were missed because the browser suite checks
   the marketing site, where .sitenav already sets a 44px target, and not
   the application's own entry pages. */
.brandlink,
button.linkish {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

/* ---------- the rentals map ----------
   No basemap and no tile host: this site ships no third-party script and a
   tile provider becomes a paid service the moment there is traffic. What is
   drawn is what we know — the listings themselves, by their own approximate
   coordinates — on a neutral field with a graticule for orientation. */

.searchlayout { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 1000px) {
  .searchlayout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  /* The map holds its place while the list scrolls beside it. */
  .mapwrap { position: sticky; top: 84px; }
}

.mapwrap {
  position: relative;
  height: clamp(300px, 46vh, 520px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #eef5f5, #e3eeee);
  overflow: hidden;
  touch-action: none;           /* drag pans the map rather than the page */
  cursor: grab;
}
.mapwrap:active { cursor: grabbing; }
.mapcanvas { display: block; width: 100%; height: 100%; }
.graticule line { stroke: rgba(16, 43, 53, .10); stroke-width: 1; }

.mapmarker { cursor: pointer; }
.mapmarker circle {
  fill: var(--teal-deep); stroke: #fff; stroke-width: 2;
  transition: fill var(--fast) var(--ease), r var(--fast) var(--ease);
}
.mapmarker text { fill: #fff; font-size: .72rem; font-weight: 700; pointer-events: none; }
.mapmarker:hover circle, .mapmarker:focus-visible circle { fill: #0c5f57; }
.mapmarker.picked circle { fill: var(--amber-ink); }
.mapmarker:focus-visible { outline: none; }
.mapmarker:focus-visible circle { stroke: var(--amber-ink); stroke-width: 3; }

.mapcontrols { position: absolute; top: var(--space-3); right: var(--space-3); display: grid; gap: 4px; }
.mapcontrols .btn { background: #fff; min-width: 34px; }
.mapnote {
  position: absolute; left: var(--space-3); bottom: var(--space-3); margin: 0;
  background: rgba(255, 255, 255, .92); border-radius: var(--radius-sm);
  padding: 4px 8px; font-size: .74rem; color: var(--ink-soft); max-width: calc(100% - 24px);
}
.mapempty {
  display: grid; place-content: center; height: 100%; text-align: center;
  padding: var(--space-5); gap: var(--space-2);
}
.mapempty p { margin: 0; max-width: 34ch; }

/* ---------- saving a home ---------- */
.listingcard { position: relative; }
.listingcard.picked { outline: 2px solid var(--amber-ink); outline-offset: 2px; }
.savebtn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .94);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.savebtn svg { width: 19px; height: 19px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; }
.savebtn:hover { background: #fff; transform: scale(1.06); }
.savebtn.saved svg { fill: var(--red-ink); stroke: var(--red-ink); }
.savebtn.savefailed { border-color: var(--red-ink); }

/* A price needs a pill; a count fits in a circle. */
.mapmarker.pill rect {
  fill: var(--teal-deep); stroke: #fff; stroke-width: 2;
  transition: fill var(--fast) var(--ease);
}
.mapmarker.pill:hover rect, .mapmarker.pill:focus-visible rect { fill: #0c5f57; }
.mapmarker.pill.picked rect { fill: var(--amber-ink); }
.mapmarker.pill:focus-visible rect { stroke: var(--amber-ink); stroke-width: 3; }

/* Homes we do not manage. Visibly not ours: no photo frame, no save button,
   a source tag, and a muted border so the eye separates them from the
   listings this product can actually take an application for. */
.external { margin-top: var(--space-7); border-top: 1px solid var(--line); padding-top: var(--space-5); }
.listingcard.isexternal { border-style: dashed; background: var(--bg); }
.listingcard.isexternal .body { padding-top: var(--space-4); }
.sourcetag {
  display: inline-block; margin: 0 0 var(--space-2);
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 8px;
}

/* ---------- saved searches ---------- */
.savedsearches { margin-top: var(--space-7); border-top: 1px solid var(--line); padding-top: var(--space-5); }
.savesearchform { display: flex; gap: var(--space-3); align-items: flex-end; flex-wrap: wrap; }
.savesearchform .field { flex: 1 1 18rem; }
.searchlist { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.searchlist li {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  flex-wrap: wrap; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
}
.searchlist li > div:first-child { display: grid; gap: 2px; }
.searchlist .rowact { display: flex; gap: var(--space-2); }

/* Who the product is for, under the hero's trust row. Quieter than the
   headline because it answers a second question, not the first one. */
.heroaudience {
  margin: var(--space-4) 0 0;
  max-width: 48ch;
  font-size: .92rem;
  line-height: 1.55;
  color: #bcd3d6;
}
@media (max-width: 680px) { .heroaudience { font-size: .88rem; } }

/* ---------- capability list (features page) ----------
   A status on every row, not only the unfinished ones: a page that marks
   exceptions teaches a reader to assume everything unmarked is ready. */
.capgroup { margin: 0 0 var(--space-7); }
.capgroup h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 0 0 var(--space-4); }
.caplist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.cap {
  border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius-sm);
  padding: var(--space-4); background: var(--surface);
}
.cap--ok { border-left-color: var(--teal-deep); }
.cap--warn { border-left-color: var(--amber-ink); }
.cap--soon { border-left-color: var(--line); }
.caphead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.caphead h3 { margin: 0; font-size: 1.02rem; }
.capstatus {
  /* 12px is the floor the browser suite enforces; .7rem is 11.2px and failed it. */
  flex: none; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-faint); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px;
}
.cap--ok .capstatus { color: var(--teal-ink); border-color: var(--teal); }
.cap--warn .capstatus { color: var(--amber-ink); border-color: #e8d6a8; }
.cap p { margin: var(--space-2) 0 0; color: var(--ink-soft); line-height: 1.55; font-size: .95rem; }
.caplimit { font-size: .88rem; color: var(--amber-ink); }

/* ---------- roadmap (homepage) ---------- */
.homemain .roadmapsection { background: var(--bg); }
.roadmapcols { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 860px) { .roadmapcols { grid-template-columns: 1fr 1fr; } }
.roadmapcols h3 { font-size: 1.05rem; margin: 0 0 var(--space-3); }
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
/* One merged list needs the two columns the old pair of lists used to make. */
@media (min-width: 860px) { .roadmap--wide { grid-template-columns: 1fr 1fr; } }
.roadmap li {
  display: grid; gap: 2px; padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--surface);
}
.roadmap b { font-size: .98rem; }
.roadmap span { color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }

/* ---------- what the platform does today ----------
   Positive framing of verified capability. Fed from the same registry as the
   features page, so it cannot promise something listed there as unfinished. */
.homemain .connected { background: var(--surface); }
.connectedgrid {
  display: grid; gap: clamp(20px, 3vw, 36px);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .connectedgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .connectedgrid { grid-template-columns: repeat(3, 1fr); } }
.connectedgrid section { border-top: 2px solid var(--teal); padding-top: var(--space-4); }
.connectedgrid h3 { font-size: 1.02rem; margin: 0 0 var(--space-3); }
.connectedgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.connectedgrid li {
  color: var(--ink-soft); font-size: .94rem; line-height: 1.45;
  padding-left: 1.4rem; position: relative;
}
.connectedgrid li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 13px; height: 9px; border-left: 2px solid var(--teal-deep);
  border-bottom: 2px solid var(--teal-deep); transform: rotate(-45deg);
}

/* ---------- checkout consent ---------- */
/*
 * The step between choosing a plan and being asked for a card. It is
 * deliberately plain: the price, the cadence, how to cancel, and two
 * separate unticked boxes. Nothing here should feel like it is hurrying
 * somebody past it.
 */
.checkoutconsent { margin: var(--space-5) 0; border-color: var(--teal-deep); }
.checkoutconsent h2 { margin-top: 0; }
.termsummary { margin: 0 0 var(--space-5); display: grid; gap: var(--space-2) var(--space-4); }
@media (min-width: 620px) { .termsummary { grid-template-columns: 9rem 1fr; } }
.termsummary dt { font-weight: 750; color: var(--ink); }
.termsummary dd { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.field.checkbox { margin: 0 0 var(--space-4); }
.field.checkbox label {
  display: flex; gap: var(--space-3); align-items: flex-start;
  line-height: 1.55; cursor: pointer; color: var(--ink);
}
.field.checkbox input { margin-top: .25rem; width: 1.05rem; height: 1.05rem; flex: none; }
.checkoutconsent .btn + .btn { margin-left: var(--space-3); }

/* ---------- managing a subscription ---------- */
.managebilling { margin: var(--space-5) 0; }
.managebilling h2 { margin-top: 0; }
.managebilling .btn + .btn { margin-left: var(--space-3); }
/* The confirm step states the date access ends, so it is given room. */
.confirmcancel {
  margin-top: var(--space-4); padding: var(--space-4);
  border: 1px solid var(--line-soft); border-radius: 10px; background: #fbfdfd;
}
.confirmcancel ul { margin: var(--space-2) 0 var(--space-4); padding-left: 20px; line-height: 1.65; }
.confirmcancel li { color: var(--ink-soft); }
