/* ==========================================================================
   Vestibule — shared stylesheet
   Palette and type from the sales deck. One file for every page.
   ========================================================================== */

:root {
  --cream: #F5F3EC;
  --charcoal: #262624;
  --gold: #E8CE6B;
  --rule: #D9D5C8;

  /* derived */
  --ink: var(--charcoal);
  --ink-2: #5F5B52;            /* secondary text on cream */
  --ink-3: #8A8578;            /* muted text on cream */
  --rule-dark: #45443F;        /* hairline on charcoal */
  --cream-2: rgba(245, 243, 236, 0.72); /* secondary text on charcoal */
  --cream-3: rgba(245, 243, 236, 0.5);  /* muted text on charcoal */
  --white: #FFFFFF;

  /* logo colors, from the supplied logo files */
  --logo-slate: #738290;
  --logo-yellow: #F7E18B;

  /* product-UI status colors, used inside mockups only */
  --ok: #262624;
  --pending: #E8CE6B;
  --bad: #B5452B;
  --ui-rule: #ECE9DF;
  --ui-muted: #7A766B;

  --font-head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --w: 1200px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --band: clamp(4.5rem, 9vw, 8.5rem);

  --h1: clamp(2.5rem, 1rem + 4.6vw, 5rem);
  --h2: clamp(2rem, 1rem + 2.6vw, 3.5rem);
  --h3: 1.375rem;
  --closing: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  --lede: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --body: 1.0625rem;
  --small: 0.9375rem;

  --track: -0.035em;
  --radius: 4px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: var(--track);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--h1); line-height: 1.0; }
h2 { font-size: var(--h2); line-height: 1.06; }
h3 { font-size: var(--h3); line-height: 1.25; letter-spacing: -0.02em; }
p  { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
strong { font-weight: 500; }

a { color: inherit; text-decoration: none; }
.u { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.u:hover { text-decoration-color: var(--gold); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.dark :focus-visible { outline-color: var(--gold); }
.btn:focus-visible { outline-offset: 3px; }

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

.skip {
  position: absolute; left: 1rem; top: -100%;
  background: var(--charcoal); color: var(--cream);
  padding: 0.6rem 1rem; border-radius: var(--radius);
  z-index: 100;
}
.skip:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: min(var(--w), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.band { padding-block: var(--band); }
.band.dark {
  background: var(--charcoal);
  color: var(--cream);
}
.band + .band.dark, .band.dark + .band { border-top: 0; }
.band.tight { padding-block: clamp(3rem, 6vw, 5rem); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
  row-gap: 2rem;
}

.lede { font-size: var(--lede); line-height: 1.45; color: var(--ink-2); max-width: 46ch; }
.dark .lede { color: var(--cream-2); }
.small { font-size: var(--small); }
.muted { color: var(--ink-3); }
.dark .muted { color: var(--cream-3); }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.dark .rule { border-color: var(--rule-dark); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.375rem;
  font: 500 var(--small)/1 var(--font-body);
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn-primary:hover { background: #E2C556; border-color: #E2C556; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: rgba(38, 38, 36, 0.06); }
.dark .btn-secondary { color: var(--cream); border-color: rgba(245, 243, 236, 0.6); }
.dark .btn-secondary:hover { background: rgba(245, 243, 236, 0.08); border-color: var(--cream); }
.btn-small { min-height: 2.5rem; padding: 0 1rem; font-size: 0.875rem; }

.actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.75rem 1rem;
}
.actions .or { color: var(--ink-3); font-size: var(--small); }
.dark .actions .or { color: var(--cream-3); }
.actions .or a { color: var(--ink); }
.dark .actions .or a { color: var(--cream); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.5rem;
}
.brand { display: inline-flex; align-items: center; color: var(--logo-slate); }
.brand svg { width: 132px; height: auto; fill: currentColor; }
.brand-yellow { color: var(--logo-yellow); }

.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
  font-size: var(--small); font-weight: 500;
}
.nav-links a { white-space: nowrap; }
.nav-links a:hover { color: var(--ink-2); }
.nav-login { white-space: nowrap; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-email { font-size: var(--small); color: var(--ink-2); }
.nav-email:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  appearance: none; background: none; border: 1px solid var(--ink);
  border-radius: var(--radius); color: var(--ink);
  min-height: 2.5rem; padding: 0 0.875rem;
  font: 500 0.875rem/1 var(--font-body); cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(3.5rem, 7vw, 6.5rem) 0; }
.hero h1 { max-width: 20ch; }
.hero .lede { margin-top: 1.75rem; max-width: 50ch; }
.hero .actions { margin-top: 2.25rem; }
.hero-shot { margin-top: clamp(3rem, 6vw, 5rem); }

/* --------------------------------------------------------------------------
   What-it-is strip
   -------------------------------------------------------------------------- */
.strip { padding-block: clamp(3rem, 6vw, 5rem) var(--band); }
.strip-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.strip-cols > div {
  padding: 2rem 2rem 2.25rem 0;
  font-size: 1.125rem; line-height: 1.5;
}
.strip-cols > div + div { border-left: 1px solid var(--rule); padding-left: 2rem; }
.strip-cols .lead { display: block; font-weight: 500; }
.strip-who {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  color: var(--ink-2);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Section header + ledger rows
   -------------------------------------------------------------------------- */
.sec-head h2 { max-width: 22ch; }
.sec-head .lede { margin-top: 1.5rem; max-width: 56ch; }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
  row-gap: 2rem;
  border-top: 1px solid var(--rule);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}
.dark .row { border-color: var(--rule-dark); }
.row-text { grid-column: span 5; max-width: 46ch; }
.row-text + .row-text { grid-column: 7 / span 5; }
.row-media { grid-column: 7 / span 6; }
.row.wide .row-media { grid-column: 6 / span 7; }
.row.wide .row-text { grid-column: span 5; }
.row-text h3 { display: flex; gap: 1rem; align-items: baseline; }
.row-text h3 .num {
  font: 400 0.8125rem/1 var(--font-body);
  color: var(--ink-3); letter-spacing: 0;
  flex: none; width: 1.75rem;
  font-variant-numeric: tabular-nums;
}
.dark .row-text h3 .num { color: var(--cream-3); }
.row-text p { margin-top: 1rem; color: var(--ink-2); }
.dark .row-text p { color: var(--cream-2); }
.row-text .stack + .stack { margin-top: 2.5rem; }
.row-text.only { grid-column: span 7; max-width: 58ch; }

.closing {
  border-top: 1px solid var(--rule);
  padding-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-head);
  font-size: var(--closing);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 30ch;
  text-wrap: balance;
}
.dark .closing { border-color: var(--rule-dark); }

/* Partner name row (Yardi, MRI, AppFolio) */
.partners { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.75rem; }
.partners .label { font-size: var(--small); color: var(--ink-3); width: 100%; }
.partners .name {
  font-family: var(--font-head); font-weight: 500; font-size: 1.375rem;
  letter-spacing: -0.02em; color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Problem section
   -------------------------------------------------------------------------- */
.problem h2 { max-width: 14ch; grid-column: span 7; }
.problem .aside { grid-column: 8 / span 5; max-width: 40ch; }
.problem .aside .lede { max-width: none; }
.mess { margin-top: 2.5rem; border-top: 1px solid var(--rule-dark); padding-top: 1.75rem; }
.mess ul { display: grid; gap: 0.6rem; color: var(--cream-3); font-size: var(--small); justify-items: start; }
  .mess li { max-width: 100%; }
.mess li {
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.mess li svg { width: 16px; height: 16px; flex: none; opacity: 0.7; }
.mess li:nth-child(1) { margin-left: 1.25rem; }
.mess li:nth-child(2) { margin-left: 0; }
.mess li:nth-child(3) { margin-left: 3rem; }
.mess li:nth-child(4) { margin-left: 0.75rem; }
.mess li:nth-child(5) { margin-left: 2rem; }

/* --------------------------------------------------------------------------
   Flow diagram: many messy things in, one clean thing out
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr);
  align-items: center;
  column-gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.flow-in { color: var(--ink-3); font-size: var(--small); }
.flow-in li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0;
}
.flow-in svg { width: 18px; height: 18px; flex: none; }
.flow-in li:nth-child(1) { margin-left: 2.5rem; }
.flow-in li:nth-child(2) { margin-left: 0.25rem; }
.flow-in li:nth-child(3) { margin-left: 4rem; }
.flow-in li:nth-child(4) { margin-left: 1.5rem; }
.flow-in li:nth-child(5) { margin-left: 5.5rem; }
.flow-in li:nth-child(6) { margin-left: 0; }
.flow-lines { align-self: center; }
.flow-lines svg { width: 100%; height: 196px; }
.flow-lines path { fill: none; stroke: #C9C4B4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.flow-out {
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  padding: 0.5rem 1.5rem;
  background: var(--cream);
}
.flow-out li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
  font-weight: 500;
  display: flex; align-items: center; gap: 0.9rem;
}
.flow-out li:first-child { border-top: 0; }
.flow-out li::before {
  content: ""; width: 8px; height: 8px; flex: none;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.steps li { padding: 2rem 2rem 1rem 0; }
.steps li + li { border-left: 1px solid var(--rule); padding-left: 2rem; }
.steps .n {
  font-family: var(--font-head); font-weight: 500; font-size: 2rem; letter-spacing: -0.03em;
  color: var(--ink-3); line-height: 1;
}
.steps h3 { margin-top: 1.25rem; font-size: 1.25rem; }
.steps p { margin-top: 0.75rem; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Customers
   -------------------------------------------------------------------------- */
.customers { padding-block: clamp(3rem, 6vw, 5rem); }
.customers .label { font-size: var(--small); color: var(--ink-3); }
.customers ul {
  margin-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem 3.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}
.customers a {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 1.4vw, 2.125rem);
  letter-spacing: -0.03em;
  color: var(--ink-2);
}
.customers a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing { border-top: 1px solid var(--rule); }
.pricing h2 { font-size: clamp(2.5rem, 1rem + 4vw, 4.5rem); max-width: 12ch; grid-column: span 7; }
.pricing .terms { grid-column: 8 / span 5; align-self: end; }
.pricing .terms li {
  border-top: 1px solid var(--rule);
  padding: 0.85rem 0;
  font-size: 1.0625rem;
}
.pricing .terms li:last-child { border-bottom: 1px solid var(--rule); }
.pricing .actions { grid-column: span 12; margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal); color: var(--cream);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.foot {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 2.5rem 2rem;
  align-items: start;
}
.foot h4 {
  font: 500 var(--small)/1.4 var(--font-body);
  letter-spacing: 0; color: var(--cream-3); margin-bottom: 0.9rem;
}
.foot li { padding: 0.28rem 0; font-size: var(--small); }
.foot a:hover { color: var(--gold); }
.foot address { font-style: normal; font-size: var(--small); line-height: 1.7; color: var(--cream-2); }
.foot address a { color: var(--cream); }
.foot-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  font-size: 0.875rem; color: var(--cream-3);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* ==========================================================================
   Product mockups (.ui) — real markup, one demo portfolio
   ========================================================================== */
.ui {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 13px; line-height: 1.4;
  font-variant-numeric: tabular-nums;
  text-wrap: initial;
}
.ui * { letter-spacing: 0; }
.ui h4, .ui h5 { font: 500 13px/1.4 var(--font-body); margin: 0; letter-spacing: 0; }
.ui .num { font-variant-numeric: tabular-nums; }
.ui .r { text-align: right; }
.ui .mut { color: var(--ui-muted); }
.ui .sm { font-size: 11.5px; }
.ui .strong { font-weight: 500; }

.ui-top {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--ui-rule);
  min-height: 46px;
}
.ui-top .ui-brand {
  font-family: var(--font-head); font-weight: 500; font-size: 14px; letter-spacing: -0.015em;
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
}
.ui-top .ui-nav { display: flex; gap: 1rem; color: var(--ui-muted); font-size: 12.5px; white-space: nowrap; }
.ui-top .ui-nav .on { color: var(--charcoal); font-weight: 500; }
.ui-top .spacer { flex: 1; }
.ui-top .pill {
  border: 1px solid var(--rule); border-radius: 999px; padding: 0.2rem 0.6rem; font-size: 11.5px; color: var(--ink-2);
}
.ui-top .avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--cream); border: 1px solid var(--rule); }

.ui-body { padding: 1rem; }
.ui-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.ui-title h4 { font-size: 15px; }
.ui-title h4 span { color: var(--ui-muted); font-weight: 400; }

.ui-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--charcoal); color: var(--white);
  border-radius: 4px; padding: 0.42rem 0.8rem; font-size: 12.5px; font-weight: 500; white-space: nowrap;
}
.ui-btn.ghost { background: transparent; color: var(--charcoal); border: 1px solid var(--rule); }
.ui-btn.gold { background: var(--gold); color: var(--charcoal); }

/* tenant-facing screens carry the landlord's brand in the header */
.ui.tenant .ui-top { background: var(--charcoal); color: var(--cream); border-bottom-color: var(--charcoal); }
.ui.tenant .ui-top .ui-nav { color: var(--cream-3); }
.ui.tenant .ui-top .ui-nav .on { color: var(--cream); }
.ui.tenant .ui-top .mut { color: var(--cream-2); }
.ui.tenant .ui-top .avatar { background: var(--rule-dark); border-color: var(--rule-dark); }
.ui.tenant .ui-top .ui-brand i { background: var(--gold); color: var(--charcoal); }
.ui.tenant .ui-top .ui-brand i::after { content: none; }
.ui-top .ui-brand i { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: var(--charcoal); color: var(--white); border-radius: 3px; font: 500 10px/1 var(--font-head); font-style: normal; }

/* status dots */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.45rem; vertical-align: 0; background: var(--ok); }
.dot.pending { background: var(--pending); }
.dot.bad { background: var(--bad); }
.dot.open { background: transparent; border: 1.5px solid var(--charcoal); box-sizing: border-box; }
.dot.mut { background: #C9C4B4; }

/* KPI tiles */
.ui-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ui-rule); border: 1px solid var(--ui-rule); border-radius: 6px; overflow: hidden; }
.ui-kpis > div { background: var(--white); padding: 0.8rem 0.9rem; }
.ui-kpis .k { font-size: 11.5px; color: var(--ui-muted); }
.ui-kpis .v { font-family: var(--font-head); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; margin-top: 0.2rem; line-height: 1.15; }
.ui-kpis .d { font-size: 11.5px; color: var(--ui-muted); margin-top: 0.15rem; }

/* stacked bar */
.ui-bar { display: flex; gap: 2px; height: 10px; border-radius: 3px; overflow: hidden; margin-top: 0.75rem; }
.ui-bar > span { display: block; height: 100%; }
.ui-bar .ok { background: var(--ok); }
.ui-bar .pending { background: var(--pending); }
.ui-bar .bad { background: var(--bad); }
.ui-legend { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-top: 0.6rem; font-size: 12px; }
.ui-legend .mut { margin-left: 0.3rem; }

/* generic rows/lists */
.ui-rows { border-top: 1px solid var(--ui-rule); }
.ui-rows > li, .ui-rows > div {
  display: grid; align-items: baseline; gap: 0.75rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--ui-rule);
}
.ui-rows.c3 > li { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
.ui-rows.c2 > li { grid-template-columns: minmax(0, 1fr) auto; }
.ui-rows .who { font-weight: 500; }
.ui-rows .sub { color: var(--ui-muted); font-size: 12px; }

.ui-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.1rem; }
.ui-cols h5 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.ui-cols h5 span { color: var(--ui-muted); font-weight: 400; font-size: 12px; }

/* tables */
.ui table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ui th, .ui td { text-align: left; padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--ui-rule); vertical-align: top; }
.ui th { font-weight: 400; color: var(--ui-muted); font-size: 11.5px; }
.ui th.r, .ui td.r { text-align: right; }
.ui tr.total td { font-weight: 500; border-bottom: 0; border-top: 1px solid var(--charcoal); }
.ui td:first-child, .ui th:first-child { padding-left: 0; }
.ui td:last-child, .ui th:last-child { padding-right: 0; }

/* sidebar app shell */
.ui-app { display: grid; grid-template-columns: 206px minmax(0, 1fr); }
.ui-side { border-right: 1px solid var(--ui-rule); padding: 0.9rem 0.75rem; background: #FBFAF6; font-size: 12px; }
.ui-side .ent { font-weight: 500; padding: 0.35rem 0.5rem; display: flex; justify-content: space-between; align-items: center; }
.ui-side .ent span { color: var(--ui-muted); font-weight: 400; font-size: 11px; }
.ui-side ul { margin-top: 0.75rem; }
.ui-side li { padding: 0.32rem 0.5rem; color: var(--ink-2); border-radius: 4px; }
.ui-side li.on { background: var(--white); color: var(--charcoal); font-weight: 500; border: 1px solid var(--ui-rule); }
.ui-side .grp { margin-top: 0.9rem; font-size: 11px; color: var(--ui-muted); padding: 0 0.5rem; }
.ui-main { padding: 1rem 1.1rem; min-width: 0; }

/* payment method options */
.ui-opt { border: 1px solid var(--ui-rule); border-radius: 6px; padding: 0.7rem 0.8rem; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 0.6rem; align-items: start; }
.ui-opt + .ui-opt { margin-top: 0.5rem; }
.ui-opt.on { border-color: var(--charcoal); }
.ui-opt .radio { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--charcoal); margin-top: 2px; position: relative; }
.ui-opt.on .radio::after { content: ""; position: absolute; inset: 3px; background: var(--charcoal); border-radius: 50%; }
.ui-opt .t { font-weight: 500; display: block; }
.ui-opt .s { color: var(--ui-muted); font-size: 12px; display: block; }
.ui-opt .opt-txt { display: block; min-width: 0; }

/* statement */
.ui-stmt { padding: 1.1rem 1.25rem; }
.ui-stmt .hd { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding-bottom: 0.9rem; border-bottom: 1px solid var(--charcoal); }
.ui-stmt .hd .brand { font-family: var(--font-head); font-weight: 500; font-size: 15px; letter-spacing: -0.015em; color: var(--charcoal); }
.ui-stmt .hd .meta { text-align: right; font-size: 12px; color: var(--ui-muted); line-height: 1.5; }
.ui-stmt .hd .meta strong { color: var(--charcoal); display: block; font-size: 13px; }
.ui-stmt table { margin-top: 0.4rem; }
.ui-stmt td.cl { color: var(--ui-muted); font-size: 11.5px; white-space: nowrap; }

/* lease stream */
.ui-stream li { display: grid; grid-template-columns: 5.25rem 8px minmax(0, 1fr); gap: 0.75rem; align-items: start; padding: 0.55rem 0; border-bottom: 1px solid var(--ui-rule); }
.ui-stream .d { color: var(--ui-muted); font-size: 12px; padding-top: 1px; }
.ui-stream .m { width: 8px; height: 8px; border-radius: 50%; background: var(--charcoal); margin-top: 6px; }
.ui-stream .m.pending { background: var(--pending); }
.ui-stream .m.open { background: transparent; border: 1.5px solid var(--charcoal); }
.ui-stream .t { font-weight: 500; }
.ui-stream .s { color: var(--ui-muted); font-size: 12px; }
.ui-req li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--ui-rule); align-items: baseline; }
.ui-req .s { color: var(--ui-muted); font-size: 12px; }
.ui-req .link { text-decoration: underline; text-underline-offset: 2px; color: var(--ink-2); font-size: 12px; }

/* work order detail */
.ui-wo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); }
.ui-wo > div { padding: 1rem; min-width: 0; }
.ui-wo > div + div { border-left: 1px solid var(--ui-rule); background: #FBFAF6; }
.ui-wo .thread li { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: 0.6rem; padding: 0.45rem 0; border-bottom: 1px solid var(--ui-rule); }
.ui-wo .thread .d { color: var(--ui-muted); font-size: 12px; }
.ui-wo .charge { margin-top: 0.9rem; border: 1px solid var(--charcoal); border-radius: 6px; padding: 0.7rem 0.8rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; align-items: center; }
.ui-wo .charge .s { color: var(--ui-muted); font-size: 12px; }
.ui-wo .charge .a { font-family: var(--font-head); font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.ui-wo .list li { grid-template-columns: 4.25rem minmax(0, 1fr); }
.ui-wo .list .tt { display: flex; justify-content: space-between; gap: 0.75rem; align-items: baseline; }
.ui-wo .list .st { white-space: nowrap; font-size: 12px; flex: none; }
.ui-wo .list li.on { background: var(--white); margin-inline: -0.5rem; padding-inline: 0.5rem; border-radius: 4px; border: 1px solid var(--ui-rule); }

/* small bar chart (forward base rent by quarter) */
.ui-chart { margin-top: 0.9rem; }
.ui-chart .plot {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem;
  height: 150px; align-items: end; margin-top: 1.75rem;
  border-bottom: 1px solid var(--charcoal);
  position: relative;
}
.ui-chart .grid-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--ui-rule); }
.ui-chart .q { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; position: relative; }
.ui-chart .b { width: 22px; border-radius: 4px 4px 0 0; }
.ui-chart .b.now { background: var(--charcoal); }
.ui-chart .b.if { background: #C9C4B4; }
.ui-chart .lab { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; text-align: center; font-size: 12px; color: var(--ui-muted); margin-top: 0.4rem; }
.ui-chart .val { position: absolute; top: -1.2rem; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.ui-chart .key { display: flex; gap: 1.25rem; font-size: 12px; margin-top: 0.75rem; }
.ui-chart .key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 0.4rem; vertical-align: -1px; }

/* roles */
.ui-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ui-roles > div { padding: 1rem; }
.ui-roles > div + div { border-left: 1px solid var(--ui-rule); }
.ui-roles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--ui-rule); align-items: baseline; }
.ui-roles .s { color: var(--ui-muted); font-size: 12px; }

/* connection */
.ui-conn .stat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ui-rule); border: 1px solid var(--ui-rule); border-radius: 6px; overflow: hidden; margin-top: 0.9rem; }
.ui-conn .stat > div { background: var(--white); padding: 0.7rem 0.8rem; }
.ui-conn .stat .k { font-size: 11.5px; color: var(--ui-muted); }
.ui-conn .stat .v { font-weight: 500; font-size: 14px; margin-top: 0.15rem; }

/* multi-lease */
.ui-leases li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid var(--ui-rule); align-items: baseline; }
.ui-leases .s { color: var(--ui-muted); font-size: 12px; }
.ui-leases .tot { border-bottom: 0; border-top: 1px solid var(--charcoal); font-weight: 500; }

/* tenant dashboard */
.ui-tenant .bal { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1rem; border: 1px solid var(--ui-rule); border-radius: 6px; }
.ui-tenant .bal .v { font-family: var(--font-head); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.ui-tenant .bal .k { font-size: 11.5px; color: var(--ui-muted); }


/* --------------------------------------------------------------------------
   Homepage pillar summaries: feature titles as links into the product page
   -------------------------------------------------------------------------- */
.index-list { margin-top: 1.75rem; border-top: 1px solid var(--rule); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a {
  display: block; padding: 0.8rem 0;
  font-family: var(--font-head); font-weight: 500; font-size: 1.25rem;
  letter-spacing: -0.02em; line-height: 1.25;
}
.index-list a:hover { color: var(--ink-2); }
.row-text > .index-list:first-child { margin-top: 0; }
.dark .index-list, .dark .index-list li { border-color: var(--rule-dark); }
.dark .index-list a:hover { color: var(--cream-2); }
.more { margin-top: 1.25rem; font-size: var(--small); }

/* product page opener */
.sec-head h1 { max-width: 16ch; }

/* dark-band variants for pieces that were cream-only before */
.dark.customers a { color: var(--cream-2); }
.dark.customers a:hover { color: var(--cream); }
.dark.customers ul { border-color: var(--rule-dark); }
.dark .partners .label { color: var(--cream-3); }
.dark .partners .name { color: var(--cream-2); }
.dark .flow-in { color: var(--cream-3); }
.dark .flow-lines path { stroke: var(--rule-dark); }
.dark .flow-out { border-color: var(--cream); background: transparent; }
.dark .flow-out li { border-color: var(--rule-dark); }
.dark .steps, .dark .steps li + li, .dark .steps li:nth-child(n+3) { border-color: var(--rule-dark); }
.dark .steps .n { color: var(--cream-3); }
.dark .steps p { color: var(--cream-2); }


/* --------------------------------------------------------------------------
   Homepage demo: tabs, entity switcher, tenant actions
   -------------------------------------------------------------------------- */
.demo { margin-top: clamp(2.5rem, 5vw, 4rem); }
.demo-tabs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.25rem 1.5rem; border-bottom: 1px solid var(--rule);
}
.demo-tabs [role="tablist"] { display: flex; gap: 1.75rem; }
.demo-tabs [role="tab"] {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent;
  margin-bottom: -1px; padding: 0.9rem 0.125rem;
  font: 500 1.0625rem/1 var(--font-body); color: var(--ink-3); cursor: pointer;
}
.demo-tabs [role="tab"]:hover { color: var(--ink); }
.demo-tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.demo-note { font-size: var(--small); color: var(--ink-3); }
.demo-reset {
  appearance: none; background: none; border: 0; padding: 0; margin-left: 0.5rem;
  font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer;
}
.demo-reset:hover { color: var(--ink); }
.demo-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 2rem; padding: 1.75rem 0 1.25rem;
}
.demo-head h2 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2rem); max-width: 30ch; }

.ent-switch { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.9rem; }
.ent-switch button {
  appearance: none; background: var(--white); border: 1px solid var(--rule); border-radius: 999px;
  padding: 0.32rem 0.7rem; font: 500 12px/1 var(--font-body); color: var(--ink-2); cursor: pointer;
}
.ent-switch button:hover { border-color: var(--ink-2); color: var(--ink); }
.ent-switch button.on { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

.ui button.ui-btn { border: 0; cursor: pointer; font-family: var(--font-body); line-height: 1.2; }
.ui button.ui-btn.ghost { border: 1px solid var(--rule); }
.ui button.ui-btn:hover { background: #3A3A37; }
.ui button.ui-btn.ghost:hover { background: var(--cream); }
.ui h5 .ui-btn { margin-left: auto; }
.ui .linkbtn { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ui .btns { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
.payform { margin-top: 0.9rem; }
.payform fieldset { border: 0; padding: 0; margin: 0 0 0.75rem; min-width: 0; }
.payform .btns { justify-content: flex-start; }
label.ui-opt { cursor: pointer; }
.ui-opt input[type="radio"] { width: 14px; height: 14px; margin: 3px 0 0; accent-color: var(--charcoal); }
.ui-opt:has(input:checked) { border-color: var(--charcoal); }
.wo-form { display: grid; gap: 0.5rem; margin: 0.5rem 0 0.9rem; }
.wo-form select, .wo-form input, .sched select {
  border: 1px solid var(--rule); border-radius: 4px; padding: 0.45rem 0.6rem;
  font: 400 13px/1.3 var(--font-body); background: var(--white); color: var(--charcoal); width: 100%;
}
.wo-form .btns { justify-content: flex-start; }
.sched select { width: auto; max-width: 100%; }
.sched p { margin-top: 0.5rem; }
.partners .sm { width: 100%; }
.ui .partners { margin-top: 1.1rem; }
.ui .partners .name { font-size: 1.125rem; }
.ui .partners .label { font-size: 12px; }


/* --------------------------------------------------------------------------
   Hero demo, pricing band, explore tabs
   -------------------------------------------------------------------------- */
.hero-head { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(1.5rem, 4vw, 4rem); row-gap: 1.5rem; align-items: end; }
.hero-head h1 { font-size: clamp(2.25rem, 1rem + 3.2vw, 4rem); max-width: 16ch; }
.hero .hero-head .lede { margin-top: 0; max-width: 40ch; }
.hero .hero-head .actions { margin-top: 1.5rem; }
.demo-hero { margin-top: clamp(2rem, 4vw, 3rem); }
.demo-hero .demo-note { padding-bottom: 0.9rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.25rem; align-items: start; }
.split .ui-kpis .v { font-size: 18px; }
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.25rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ledger > div { padding: 0.9rem 1.25rem 0.9rem 0; }
.ledger > div + div { border-left: 1px solid var(--rule); padding-left: 1.25rem; }
.ledger .lg-k { font-size: 0.8125rem; color: var(--ink-3); }
.ledger .lg-v { margin-top: 0.2rem; font-weight: 500; font-size: var(--small); font-variant-numeric: tabular-nums; }
.ui button.ui-btn.gold { background: var(--gold); color: var(--charcoal); }
.ui button.ui-btn.gold:hover { background: #E2C556; }

.acquire { padding-block: clamp(3.5rem, 7vw, 6rem); }
.acquire .acq-price { grid-column: span 7; }
.acquire .acq-side { grid-column: 9 / span 4; align-self: end; }
.acquire h2 { font-size: clamp(2.5rem, 1rem + 4vw, 4.5rem); max-width: 12ch; color: var(--gold); }
.acquire .terms { margin-top: 1.75rem; max-width: 40ch; }
.acquire .terms li { border-top: 1px solid var(--rule-dark); padding: 0.7rem 0; font-size: var(--small); }
.acquire .terms li:last-child { border-bottom: 1px solid var(--rule-dark); }
.calc label { display: block; font-size: var(--small); color: var(--cream-3); }
.calc-row { display: grid; gap: 0.6rem; margin-top: 0.5rem; }
.calc input[type="range"] { width: 100%; accent-color: var(--gold); cursor: pointer; }
.calc output { font-size: 1.0625rem; color: var(--cream-2); }
.calc output strong { color: var(--cream); font-family: var(--font-head); font-size: 1.5rem; letter-spacing: -0.02em; }
.acquire .actions { margin-top: 1.75rem; }
.acq-meta { margin-top: 1.25rem; font-size: var(--small); color: var(--cream-2); }
.acq-meta + .acq-meta { margin-top: 0.5rem; }
.acq-meta .label { color: var(--cream-3); margin-right: 0.5rem; }
.acq-meta a { color: var(--cream); }

.explore .demo-tabs { border-bottom-color: var(--rule); }
.two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem; align-items: start; }
.explore .strip-who { margin-top: clamp(2rem, 4vw, 3rem); }


/* --------------------------------------------------------------------------
   Statement document (the real Vestibule statement layout) + dialog
   -------------------------------------------------------------------------- */
.stmt-dialog { border: 0; padding: 0; background: transparent; max-width: min(760px, calc(100vw - 2rem)); width: 100%; }
.stmt-dialog::backdrop { background: rgba(38, 38, 36, 0.62); }
.stmt-dialog .stmt-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0 0 0.6rem; color: var(--cream); font-size: var(--small); }
.stmt-dialog .stmt-bar a { color: var(--cream); }
.stmt-dialog .stmt-close { appearance: none; background: var(--cream); color: var(--charcoal); border: 0; border-radius: var(--radius); padding: 0.5rem 0.9rem; font: 500 0.875rem/1 var(--font-body); cursor: pointer; }
.stmt-dialog .stmt-close:hover { background: var(--white); }
.stmt-dialog .stmt-close:focus-visible { outline-color: var(--cream); }

.stmt { background: var(--white); color: #1F1F1D; padding: clamp(1.5rem, 4vw, 3rem); font: 400 13px/1.5 var(--font-body); font-variant-numeric: tabular-nums; }
.stmt .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12.5px; }
.stmt .lab { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #3B3B38; margin-bottom: 0.3rem; }
.stmt .r { text-align: right; }
.stmt-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; padding-bottom: 1.25rem; border-bottom: 1px solid #DAD8D0; }
.stmt-head h2 { font: 700 26px/1.1 var(--font-body); letter-spacing: -0.02em; margin: 0; }
.stmt-period { margin-top: 0.75rem; font-size: 12px; color: #3B3B38; }
.stmt-issuer { text-align: right; font-size: 10px; line-height: 1.5; color: #3B3B38; max-width: 20rem; }
.stmt-issuer strong { display: block; font-size: 11px; color: #1F1F1D; letter-spacing: 0.02em; }
.stmt-issuer span { display: block; }
.stmt-issuer .stmt-gen { margin-top: 1.1rem; font-size: 12px; color: #1F1F1D; }
.stmt-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid #DAD8D0; }
.stmt-meta strong { font-size: 14px; font-weight: 700; }
.stmt-meta .big { font-size: 17px; }
.stmt-meta .r .lab + span + .lab { margin-top: 0.9rem; }
.stmt-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.stmt-table th { text-align: left; font-size: 11px; font-weight: 700; padding: 0.7rem 0.4rem 0.6rem; border-bottom: 1px solid #DAD8D0; }
.stmt-table td { padding: 0.9rem 0.4rem; border-bottom: 1px solid #DAD8D0; font-size: 12.5px; vertical-align: top; }
.stmt-table th:first-child, .stmt-table td:first-child { padding-left: 0; }
.stmt-table th:last-child, .stmt-table td:last-child { padding-right: 0; }
.stmt-total { text-align: right; margin: 1rem 0 1.25rem; font-size: 14px; }
.stmt-total strong { margin-right: 1.25rem; }
.stmt-ach { border: 1px solid #DAD8D0; border-radius: 6px; padding: 1.1rem 1.25rem; }
.stmt-ach h3 { font: 700 13px/1.3 var(--font-body); letter-spacing: 0; margin: 0 0 0.9rem; }
.stmt-ach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; font-size: 12.5px; }
.stmt-ach p { margin-top: 1rem; font-size: 10.5px; color: #3B3B38; line-height: 1.5; }
.stmt-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: clamp(2rem, 8vw, 6rem); font-size: 10.5px; color: #3B3B38; }
.stmt-foot .lab { margin-bottom: 0.4rem; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 10.5px; }
.stmt-foot svg { fill: #1F1F1D; }
@media (max-width: 560px) {
  .stmt-head { flex-direction: column; }
  .stmt-issuer { text-align: left; }
  .stmt-meta, .stmt-ach-grid { grid-template-columns: 1fr; }
  .stmt-meta .r { text-align: left; }
  .stmt-table th:nth-child(4), .stmt-table td:nth-child(4) { display: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav-right .nav-email { display: none; }
}

@media (max-width: 1100px) {
  .ui-side { display: none; }
  .ui-app { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .split, .two { grid-template-columns: minmax(0, 1fr); }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .acquire .acq-price, .acquire .acq-side { grid-column: span 12; }
  .nav-links, .nav-right .nav-email, .nav-right .nav-login { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-right { gap: 0.75rem; }
  .nav-panel {
    display: none;
    border-top: 1px solid var(--rule);
    padding: 1rem 0 1.5rem;
  }
  .nav-panel.open { display: block; }
  .nav-panel ul { display: grid; gap: 0.25rem; }
  .nav-panel a { display: block; padding: 0.55rem 0; font-size: 1.125rem; font-weight: 500; }
  .nav-panel .nav-panel-meta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); display: grid; gap: 0.5rem; font-size: var(--small); }

  .row-text, .row-text + .row-text, .row-media, .row.wide .row-media, .row.wide .row-text, .row-text.only { grid-column: span 12; max-width: 58ch; }
  .row-media { max-width: none; }
  .problem h2, .problem .aside { grid-column: span 12; }
  .problem .aside { max-width: 46ch; }
  .pricing h2, .pricing .terms { grid-column: span 12; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
  .flow-lines { display: none; }
  .flow-in li { margin-left: 0 !important; }
  .flow-in li:nth-child(odd) { margin-left: 1.5rem !important; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .ui-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 961px) { .nav-panel { display: none !important; } }

@media (max-width: 720px) {
  .demo-tabs [role="tablist"] { gap: 1.25rem; }
  .demo-note { width: 100%; padding: 0.6rem 0; }
  .strip-cols { grid-template-columns: minmax(0, 1fr); }
  .strip-cols > div { padding: 1.5rem 0; }
  .strip-cols > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .foot { grid-template-columns: 1fr 1fr; }
  .ui-cols, .ui-wo, .ui-roles { grid-template-columns: minmax(0, 1fr); }
  .ui-wo > div + div, .ui-roles > div + div { border-left: 0; border-top: 1px solid var(--ui-rule); }
  .ui-top .ui-nav { display: none; }
  .ui-top .pill { display: none; }
  .ui-leases li { grid-template-columns: minmax(0, 1fr) auto; }
  .ui-leases li .mid { display: none; }
  .brand svg { width: 116px; }
}

@media (max-width: 480px) {
  .mess li:nth-child(n) { margin-left: 0; }
  .mess li:nth-child(odd) { margin-left: 1rem; }
  .ui-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-rows.c3 > li { grid-template-columns: minmax(0, 1fr) auto; }
  .ui-rows.c3 > li .d { grid-column: 1 / -1; }
  .ui-chart .plot { gap: 0.6rem; }
  .ui-chart .b { width: 16px; }
  .ui-chart .val { font-size: 10px; }
  .ui-wo .list li { grid-template-columns: minmax(0, 1fr); }
  .ui-wo .list li .d { display: none; }
  .hide-xs { display: none !important; }
  .foot { grid-template-columns: 1fr; }
  .foot > div:first-child { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .nav-toggle, .skip { display: none; }
  .band.dark { background: none; color: var(--ink); }
}
