/* ===========================================================================
   Data Cleaner — additions to the shared Appraise Works landing stylesheet.
   landing.css is loaded first and is a straight copy of the dashboard site's;
   everything here is either new or a deliberate override of it.
   The product mock-ups use the real emails' own palette and Arial, so they
   read as the email and the page an agent actually gets.
   =========================================================================== */

:root {
  --mail-ink: #1d1d1f;
  --mail-muted: #5f6368;
  --mail-line: #e3e4e8;
  --mail-page: #f4f4f6;
  --mail-keep: #1d2b3a;

  /* Chart roles. Green = still active (Prospective Buyer), slate = quiet
     (Inactive Buyers), navy = a neutral single series. Checked with the
     dataviz validator on white: green 3.06:1, slate 3.51:1, navy 11.4:1,
     green/slate CVD dE 9.9, normal dE 17.3. Slate is meant to read grey. */
  --viz-active: #17a95b;
  --viz-quiet: #7d8a9c;
  --viz-neutral: #1f3b5c;
  --viz-track: #e3f3ea;
  --viz-grid: #e8ecef;
}

/* ---- Header: the product name beside the Appraise mark ------------------ */

.brand { gap: 12px; }
.brand-product {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.nav-links { gap: 24px; }
.nav-links a, .site-header .btn { white-space: nowrap; }

/* Five links plus the product name do not fit below this width. */
@media (max-width: 1100px) { .nav-links { display: none; } }

/* ---- Section label ------------------------------------------------------ */

.kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---- Hero: copy beside the email ---------------------------------------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero-grid h1 { font-size: clamp(34px, 4.7vw, 54px); max-width: 16ch; }
.hero-grid .lede { max-width: 52ch; }

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .72);
}
.hero-points li { position: relative; padding-left: 22px; }
.hero-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---- The agent email ---------------------------------------------------- */

.mail {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  margin: 0;
  border-radius: 14px;
  background: var(--mail-page);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  color: var(--mail-ink);
  font-family: Arial, Helvetica, sans-serif;
}
.mail-meta {
  background: #fff;
  border-radius: 13px 13px 0 0;
  border-bottom: 1px solid var(--mail-line);
  padding: 14px 18px 13px;
}
.mail-from { display: flex; align-items: center; gap: 10px; }
.mail-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mail-keep);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.mail-who b { display: block; font-size: 13.5px; line-height: 1.25; }
.mail-who span { display: block; font-size: 12px; color: var(--mail-muted); }
.mail-subject { margin-top: 10px; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.mail-body { padding: 16px; }
.mail-card { background: #fff; border: 1px solid var(--mail-line); }
.mail-kicker {
  padding: 11px 20px;
  border-bottom: 1px solid var(--mail-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--mail-muted);
}
/* Appraisal notices carry this amber in the real email; buyers are blue. */
.mail-cat { padding: 16px 20px 0; font-size: 12.5px; font-weight: 700; color: #9a5a00; }
.mail-h { padding: 3px 20px 0; font-size: 18px; line-height: 1.3; font-weight: 700; }
.mail-card p { margin: 0; padding: 12px 20px 0; font-size: 13.5px; line-height: 1.55; }
.mail-facts {
  margin: 14px 20px 0;
  padding: 8px 12px;
  background: #f8f8fa;
  border: 1px solid var(--mail-line);
  font-size: 12.5px;
}
.mail-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.mail-facts dt { color: var(--mail-muted); }
.mail-facts dd { margin: 0; font-weight: 700; text-align: right; }
.mail-btns { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px 0; }
.mbtn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}
.mbtn.keep { background: var(--mail-keep); color: #fff; border: 1px solid var(--mail-keep); }
.mbtn.close { background: #fff; color: var(--mail-ink); border: 1px solid #c9ccd1; }
.mail-card .mail-small { padding: 12px 20px 18px; font-size: 12px; line-height: 1.5; color: var(--mail-muted); }

/* What Keep Alive leads to, pinned to the corner of the email. */
.toast {
  position: absolute;
  left: -26px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 300px;
  padding: 11px 15px 11px 11px;
  border-radius: 11px;
  background: #fff;
  color: var(--ink-deep);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .3);
  font: 600 13.5px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.toast-tick {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
}

/* ---- The lifecycle ring ------------------------------------------------ */

/* Stage colours are the real notice emails' own: buyers blue, vendors green,
   appraisals amber. All clear 5:1 on white, so they work as text too. */
.lifecycle {
  --lc-buyer: #1f5fa8;
  --lc-seller: #1e6b34;
  --lc-appraisal: #9a5a00;
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lc {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.lc > * { min-width: 0; }
.lc-ring { position: relative; width: 100%; max-width: 600px; aspect-ratio: 6 / 5; margin: 0 auto; }
.lc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lc-track { fill: none; stroke: #cfd8df; stroke-width: 2; }
.lc-arrow { fill: #aab6c1; }
.lc-orbit {
  transform-box: view-box;
  transform-origin: 300px 250px;
  transform: rotate(var(--turn, 0deg));
  transition: transform 1.2s cubic-bezier(.65, 0, .35, 1);
}
.lc-token { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.lc-halo {
  fill: var(--accent);
  opacity: .22;
  transform-box: fill-box;
  transform-origin: center;
  animation: lc-pulse 2.4s ease-out infinite;
}
@keyframes lc-pulse {
  0% { transform: scale(.6); opacity: .35; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.lc[data-js="off"] .lc-orbit { display: none; }

.lc-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.lc-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 169, 91, .3);
}
.lc-center b { display: block; font-size: 17px; letter-spacing: -.015em; color: var(--ink-deep); }
.lc-center .lc-sub { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }

.lc-verb {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 12.5px;
  font-weight: 600;
  color: #7a8794;
  white-space: nowrap;
}

.lc-step {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 172px;
  padding: 9px 14px 9px 11px;
  white-space: nowrap;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 16px rgba(17, 35, 55, .08);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.lc-step i {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
}
.lc-step.buyer i { color: var(--lc-buyer); }
.lc-step.seller i { color: var(--lc-seller); }
.lc-step.appraisal i { color: var(--lc-appraisal); }
.lc-step:hover { border-color: #b9c4cd; }
.lc-step:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lc[data-js="on"] .lc-step.is-on { transform: translate(-50%, -50%) scale(1.06); }
.lc[data-js="on"] .lc-step.buyer.is-on { border-color: var(--lc-buyer); box-shadow: 0 0 0 5px rgba(31, 95, 168, .14), 0 12px 26px rgba(17, 35, 55, .14); }
.lc[data-js="on"] .lc-step.seller.is-on { border-color: var(--lc-seller); box-shadow: 0 0 0 5px rgba(30, 107, 52, .14), 0 12px 26px rgba(17, 35, 55, .14); }
.lc[data-js="on"] .lc-step.appraisal.is-on { border-color: var(--lc-appraisal); box-shadow: 0 0 0 5px rgba(154, 90, 0, .14), 0 12px 26px rgba(17, 35, 55, .14); }
.lc[data-js="off"] .lc-step { cursor: default; }

/* The stage detail. With the script, the five panels share one grid cell and
   only the current one shows; without it they are simply listed. */
.lc-panels { display: grid; }
.lc[data-js="on"] .lc-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.lc[data-js="on"] .lc-panel.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s ease, transform .35s ease;
}
.lc[data-js="off"] .lc-panel + .lc-panel { margin-top: 16px; }
.lc-panel {
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--lc-c, var(--accent));
  border-radius: var(--radius);
  background: #fff;
}
.lc-panel.buyer { --lc-c: var(--lc-buyer); }
.lc-panel.seller { --lc-c: var(--lc-seller); }
.lc-panel.appraisal { --lc-c: var(--lc-appraisal); }
.lc-num { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.lc-num span { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-c); }
.lc-panel h3 { margin-bottom: 14px; font-size: 22px; color: var(--ink-deep); }
.lc-in { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 16px; }
.lc-in-l { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9aa1aa; }
.lc-or { font-size: 12.5px; color: var(--muted); }
.chip.s { background: #e4f1e8; color: #1e6b34; box-shadow: inset 0 0 0 1px #c3dfcc; }
.chip.p { background: #fbf0dd; color: #8a5300; box-shadow: inset 0 0 0 1px #efd6ab; }
.lc-does { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lc-does li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.lc-does li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.lc-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.lc[data-js="off"] .lc-ctrl { display: none; }
.lc-bar { flex: 1; height: 4px; border-radius: 2px; background: #dde4e9; overflow: hidden; }
.lc-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left center; animation: lc-fill 6s linear forwards; }
@keyframes lc-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lc.is-paused .lc-bar i { animation-play-state: paused; }
.lc.is-still .lc-bar { visibility: hidden; }
.lc-toggle {
  flex: none;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.lc-toggle:hover { border-color: #b9c4cd; }
.lc-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .lc-orbit, .lc-step, .lc[data-js="on"] .lc-panel { transition: none; }
  .lc-halo { animation: none; }
}

/* ---- Why clean: what depends on the classes ------------------------------ */

.why-clean { background: var(--paper); }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile {
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
}
.tile .ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(23, 169, 91, .1);
  color: var(--accent);
}
.tile h3 { font-size: 17.5px; margin-bottom: 7px; }
.tile p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* ---- How it cleans: one contact through the loop ------------------------ */

.cleans {
  background:
    radial-gradient(800px 380px at 85% 0%, rgba(23, 169, 91, .14), transparent 60%),
    var(--ink-deep);
  color: #fff;
}
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark p { color: rgba(255, 255, 255, .74); }

.strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 40px;
}
.strip-step { min-width: 0; display: flex; flex-direction: column; }
.strip-when {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.strip-arrow { align-self: center; color: var(--accent); padding-top: 26px; }
.crm {
  flex: 1;
  padding: 18px 18px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
  font-size: 14px;
}
.crm-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.crm-av {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9eef3;
  color: var(--ink-deep);
  font-size: 13px;
  font-weight: 700;
}
.crm-top div b { display: block; font-size: 15.5px; line-height: 1.25; color: var(--ink-deep); }
.crm-top div span { display: block; font-size: 12.5px; color: var(--muted); }
.crm-rows { margin: 0; border-top: 1px solid var(--line); }
.crm-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.crm-rows dt { flex: none; font-size: 12.5px; color: var(--muted); }
.crm-rows dd { margin: 0; font-size: 13px; font-weight: 600; text-align: right; }
.chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}
.chip.a { background: #e3f3ea; color: #0f6b3a; box-shadow: inset 0 0 0 1px #bfe3cf; }
.chip.q { background: #eceff3; color: #3f4b5c; box-shadow: inset 0 0 0 1px #d3d9e1; }
.crm-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-dark);
}

/* ---- Charts: shared card, legend, table twin, tooltip ------------------- */

.viz-card {
  margin: 0;
  padding: 24px 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  min-width: 0;
}
.cleans .viz-card { box-shadow: 0 22px 54px rgba(0, 0, 0, .28); border-color: transparent; }
.viz-head { margin-bottom: 14px; }
.viz-title { margin: 0 0 4px; font-size: 17px; font-weight: 700; letter-spacing: -.015em; color: var(--ink-deep); }
.viz-sub { margin: 0; font-size: 14px; color: var(--muted); }
.viz-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 14px; font-size: 13.5px; color: var(--ink-soft); }
.viz-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw.a { background: var(--viz-active); }
.sw.q { background: var(--viz-quiet); }
.viz-foot { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.viz-table { margin-top: 14px; font-size: 13.5px; }
.viz-table summary {
  cursor: pointer;
  color: var(--accent-dark);
  font-weight: 600;
  width: fit-content;
}
.viz-table table { width: 100%; margin-top: 10px; border-collapse: collapse; }
.viz-table th, .viz-table td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.viz-table th { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.viz-table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.viz-tip {
  position: absolute;
  z-index: 50;
  max-width: 260px;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, .8);
  box-shadow: 0 10px 26px rgba(17, 35, 55, .28);
  font-size: 13px;
  line-height: 1.35;
  pointer-events: none;
}
.viz-tip b { display: block; font-size: 15px; color: #fff; }
.viz-tip[hidden] { display: none; }
[data-tip-v] { cursor: default; outline: none; }
[data-tip-v]:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); border-radius: 4px; }

/* Horizontal before/after bars. Segments sit on one baseline with a 2px
   surface gap; the far end is rounded, the baseline end square. */
.hb { display: grid; gap: 12px; }
.hb-row { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; }
.hb-lab { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.hb-track { display: flex; gap: 2px; min-width: 0; }
.hb-seg {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 24px;
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
}
.hb-seg b { font-weight: 700; white-space: nowrap; }
.hb-seg.a { background: var(--viz-active); }
.hb-seg.q { background: var(--viz-quiet); }
.hb-seg:last-child { border-radius: 0 4px 4px 0; }
.hb-seg.is-hot { filter: brightness(1.08); }
.hb-row.zero .hb-track { align-items: center; height: 24px; border-left: 1px solid var(--line); padding-left: 10px; }
.hb-zero { font-size: 17px; color: var(--ink-deep); }

/* ---- Results: one agency's first clean ---------------------------------- */

.results {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.kpi {
  position: relative;
  padding: 22px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.kpi-v {
  margin: 12px 0 6px;
  font-size: clamp(36px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink-deep);
}
.kpi-l { margin: 0 0 8px; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.kpi-s { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.viz-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; align-items: start; }

/* Bar list: label above, bar with its value at the tip. One series per chart,
   so one colour and no legend box. */
.bl { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bl li { display: grid; gap: 5px; padding: 2px 0; border-radius: 6px; }
.bl-lab { font-size: 14px; font-weight: 600; color: var(--ink); }
.bl-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bl-bar { display: block; height: 20px; min-width: 3px; border-radius: 0 4px 4px 0; }
.bl-bar.q { background: var(--viz-quiet); }
.bl-bar.n { background: var(--viz-neutral); }
.bl-row b { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink-deep); white-space: nowrap; }
.bl-next { font-size: 13px; line-height: 1.45; color: var(--muted); }
.bl li.is-hot .bl-bar { filter: brightness(1.12); }

/* ---- What it does: the shared card grid on white ------------------------ */

.features.plain { background: var(--paper); border: 0; }

/* ---- Two-column sections ------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.split > * { min-width: 0; }
.split.flip { grid-template-columns: 1.12fr .88fr; }

.spotlight .spot-copy h2 { max-width: 18ch; }
.spotlight .ticks { margin-top: 26px; }

.principals { background: var(--paper); }
.copy h2 { font-size: clamp(26px, 3.3vw, 36px); margin-bottom: 18px; }
.copy p { color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.ticks.on-light { margin-top: 26px; }
.ticks.on-light li { color: var(--ink-soft); }

/* ---- Prospecting: the weekly list --------------------------------------- */

.prospecting { background: var(--paper); }
.pmail {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mail-page);
  box-shadow: 0 22px 54px rgba(17, 35, 55, .13);
  color: var(--mail-ink);
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
.pmail .mail-meta { border-radius: 0; }
.pm-body { margin: 16px; padding: 20px 20px 16px; background: #fff; border: 1px solid var(--mail-line); }
.pm-body p { margin: 0; }
.pm-h { font-size: 17px; font-weight: 600; line-height: 1.3; }
.pm-for { padding-top: 3px; font-size: 13.5px; color: var(--mail-muted); }
.pm-row { margin-top: 14px; padding: 13px 15px; border: 1px solid var(--mail-line); }
.pm-row.fade { opacity: .45; }
.pm-name { font-size: 15px; font-weight: 600; }
.pm-band { padding-top: 2px; font-size: 12px; color: var(--mail-muted); }
.pm-line { padding-top: 6px; font-size: 13.5px; }
.pm-line span { color: var(--mail-muted); }
.pm-why { padding-top: 9px; font-size: 13.5px; line-height: 1.5; }
.pm-ev { padding-top: 7px; font-size: 12px; color: var(--mail-muted); }
.pm-act { padding-top: 9px; font-size: 13.5px; font-weight: 600; }
.pm-foot { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--mail-line); font-size: 12px; line-height: 1.5; color: var(--mail-muted); }

/* ---- The Keep Alive page, on a phone ------------------------------------ */

.phone {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  padding: 11px;
  border-radius: 42px;
  background: #0a1520;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.phone-screen {
  position: relative;
  padding: 44px 13px 20px;
  border-radius: 32px;
  background: var(--mail-page);
  overflow: hidden;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 92px;
  height: 24px;
  border-radius: 13px;
  background: #0a1520;
  transform: translateX(-50%);
}
.kp-card {
  background: #fff;
  border: 1px solid var(--mail-line);
  border-radius: 6px;
  padding: 20px 18px 18px;
  color: var(--mail-ink);
  font: 14px/1.55 Arial, Helvetica, sans-serif;
}
.kp-card p { margin: 0; }
.kp-kicker {
  margin-bottom: 8px !important;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mail-muted);
}
.kp-h { margin-bottom: 12px !important; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--mail-keep); }
.kp-facts { margin: 0 0 12px; font-size: 12.5px; border-top: 1px solid var(--mail-line); }
.kp-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--mail-line); }
.kp-facts dt { color: var(--mail-muted); white-space: nowrap; }
.kp-facts dd { margin: 0; font-weight: 700; text-align: right; }
.kp-b { margin-bottom: 14px !important; font-size: 13.5px; }
.kp-lab { margin-bottom: 3px !important; font-size: 13.5px; font-weight: 700; }
.kp-hint { margin-bottom: 8px !important; font-size: 12px; line-height: 1.45; color: var(--mail-muted); }
.kp-text {
  min-height: 60px;
  margin-bottom: 14px;
  padding: 9px 10px;
  border: 1px solid #c9ccd1;
  border-radius: 4px;
  font-size: 13.5px;
}
.kp-text .caret {
  display: inline-block;
  width: 1.5px;
  height: 15px;
  margin-left: 1px;
  background: var(--mail-keep);
  vertical-align: -2px;
  animation: kp-blink 1.1s steps(1) infinite;
}
@keyframes kp-blink { 50% { opacity: 0; } }
.kp-sel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 9px 10px;
  border: 1px solid #c9ccd1;
  border-radius: 4px;
  font-size: 13.5px;
}
.kp-sel svg { color: var(--mail-muted); }
.kp-btn {
  padding: 12px;
  border-radius: 4px;
  background: var(--mail-keep);
  color: #fff;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
}
.kp-foot { margin-top: 12px !important; font-size: 12px; text-align: center; color: var(--mail-muted); }

/* ---- The daily record --------------------------------------------------- */

.dr {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 54px rgba(17, 35, 55, .13);
  font-size: 14px;
}
.dr-top, .wz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: var(--ink-deep);
  color: #fff;
}
.dr-title { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.dr-tabs { display: flex; gap: 4px; }
.dr-tabs span { padding: 6px 10px; border-radius: 7px; font-size: 12.5px; color: rgba(255, 255, 255, .64); }
.dr-tabs .on { background: rgba(255, 255, 255, .13); color: #fff; font-weight: 600; }
.dr-body { padding: 18px; }
.dr-wins { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.dr-wins span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
}
.dr-wins .on { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.dr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.dr-stats div { padding: 12px 12px 11px; border: 1px solid var(--line); border-radius: 10px; }
.dr-stats b { display: block; font-size: 24px; line-height: 1.1; letter-spacing: -.03em; color: var(--ink-deep); }
.dr-stats span { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.dr-stats em { display: block; font-style: normal; font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.dr-h { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--ink-deep); }
.dr table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dr th {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.dr td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.4; }
.dr tr:last-child td { border-bottom: 0; }
.dr td b { font-weight: 700; }
.dr td b.keep { color: var(--accent-dark); }
.dr td em { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; color: var(--muted); }

/* ---- How it works: steps beside the setup screen ------------------------ */

.how.alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.how-grid > * { min-width: 0; }
.steps.stack { grid-template-columns: 1fr; gap: 26px; }

.wz {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 54px rgba(17, 35, 55, .13);
  color: #231f20;
}
.wz-body { display: grid; grid-template-columns: 188px 1fr; }
.wz-rail { padding: 10px 0 14px; border-right: 1px solid #e4e4e4; background: #f9fafc; }
.wz-g {
  margin: 0;
  padding: 12px 16px 5px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #acacac;
}
.wz-i {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-left: 3px solid transparent;
  font-size: 13px;
  color: #5a5a5a;
}
.wz-i i {
  flex: none;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #acacac;
  border-radius: 50%;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  color: #acacac;
}
.wz-i.done i { border-color: var(--accent); background: var(--accent); color: #fff; }
.wz-i.on { border-left-color: var(--accent); background: #fff; color: #231f20; font-weight: 600; }
.wz-i.on i { border-color: var(--accent); color: var(--accent); }
.wz-screen { padding: 24px 26px 20px; min-width: 0; }
.wz-screen p { margin: 0; }
.wz-qg { margin-bottom: 6px !important; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.wz-q { margin-bottom: 8px !important; font-size: 22px; font-weight: 700; line-height: 1.2; }
.wz-lede { margin-bottom: 16px !important; font-size: 14.5px; color: #5a5a5a; }
.wz-val { margin-bottom: 12px !important; font-size: 16px; line-height: 1.2; }
.wz-val strong { font-size: 28px; color: var(--accent); }
.wz-rec {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e3f3ea;
  color: #0f6b3a;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: 3px;
}
.wz-range { position: relative; height: 5px; border-radius: 3px; background: #e4e4e4; }
.wz-range span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); }
.wz-range i {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transform: translate(-50%, -50%);
}
.wz-scale { display: flex; justify-content: space-between; margin-top: 9px; font-size: 12.5px; color: #acacac; }
.wz-impact { margin: 16px 0 14px; padding: 14px 16px; border: 1px solid #e4e4e4; border-radius: 3px; }
.wz-cap { margin-bottom: 6px !important; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #acacac; }
.wz-big { font-size: 28px; font-weight: 700; line-height: 1.1; }
.wz-big small { margin-left: 6px; font-size: 13.5px; font-weight: 400; color: #5a5a5a; }
.wz-brk { display: flex; gap: 10px; margin-top: 10px; }
.wz-brk div { flex: 1; padding: 8px 10px; border: 1px solid #eeeeee; border-radius: 3px; }
.wz-brk b { display: block; font-size: 16px; }
.wz-brk span { font-size: 12px; color: #5a5a5a; }
.wz-safe {
  position: relative;
  padding: 10px 12px 10px 32px;
  border: 1px solid #bfe3cf;
  background: #f3faf6;
  font-size: 13.5px;
  line-height: 1.5;
}
.wz-safe::before { content: "\2713"; position: absolute; left: 12px; top: 10px; font-weight: 700; color: var(--accent); }
.wz-foot { display: flex; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #e4e4e4; }
.wz-btn { padding: 6px 14px; border: 1px solid #acacac; border-radius: 3px; font-size: 13.5px; font-weight: 600; }
.wz-btn.pri { margin-left: auto; border-color: var(--accent); background: var(--accent); color: #fff; }

/* ---- Safety ------------------------------------------------------------- */

.safety { background: var(--paper); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise {
  display: flex;
  gap: 16px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.promise .ico {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(23, 169, 91, .1);
  color: var(--accent);
}
.promise h3 { margin: 2px 0 6px; font-size: 17.5px; }
.promise p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* ---- Also from Appraise Works ------------------------------------------- */

.family {
  padding: 56px 0;
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
}
.family-card {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.family-ico {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ink-deep);
  color: var(--accent);
}
.family-copy { flex: 1; }
.family-copy .kicker { margin-bottom: 6px; }
.family-copy h3 { margin-bottom: 6px; font-size: 21px; }
.family-copy p { margin: 0; font-size: 16px; color: var(--muted); max-width: 64ch; }
.family-card .btn { flex: none; }

/* ---- Final call to action ----------------------------------------------- */

.band .hero-actions { margin-top: 4px; }

/* ---- Responsive --------------------------------------------------------- */

@media (max-width: 1080px) {
  .lc { grid-template-columns: 1fr; gap: 28px; }
  .lc-side { max-width: 640px; width: 100%; margin: 0 auto; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .viz-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps.stack { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .split.flip { grid-template-columns: 1fr; gap: 44px; }
  .mail { justify-self: center; }
  .split.flip > figure { order: 2; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight .spot-copy h2 { max-width: none; }
  .strip { grid-template-columns: 1fr; gap: 10px; max-width: 460px; }
  .strip-arrow { justify-self: center; padding-top: 0; transform: rotate(90deg); }
}

@media (max-width: 760px) {
  .family-card { flex-direction: column; align-items: flex-start; }
  .wz-body { grid-template-columns: 1fr; }
  .wz-rail { display: none; }
}

@media (max-width: 620px) {
  .lc-step { max-width: 104px; padding: 7px 10px 7px 8px; gap: 6px; font-size: 12.5px; white-space: normal; }
  .lc-step i { width: 10px; height: 10px; }
  .lc-verb { display: none; }
  .lc-center { width: 40%; }
  .lc-mark { width: 34px; height: 34px; margin-bottom: 6px; }
  .lc-center b { font-size: 14px; }
  .lc-center .lc-sub { font-size: 11.5px; }
  .lc-panel { padding: 22px 20px 20px; }
  .lc-panel h3 { font-size: 20px; }
  .lc-does li { font-size: 15.5px; }
  .brand-product { font-size: 14px; padding-left: 10px; }
  .site-header .btn-sm { padding: 9px 13px; font-size: 14px; }
  .promise-grid, .tile-grid, .steps.stack { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .toast { left: 12px; right: 12px; bottom: -22px; max-width: none; }
  .mail { margin-bottom: 26px; }
  .dr-stats { grid-template-columns: repeat(2, 1fr); }
  .dr .col-agent { display: none; }
  .dr-tabs span:not(.on) { display: none; }
  .viz-card { padding: 20px 18px 16px; }
  .hb-row { grid-template-columns: 58px 1fr; gap: 10px; }
  .wz-screen { padding: 20px 18px 16px; }
  .wz-q { font-size: 19px; }
  .pm-body { margin: 12px; padding: 16px 14px 14px; }
}

/* The header button is dropped on the smallest phones: the logo and the
   product name need the room, and every section ends in the same button. */
@media (max-width: 400px) {
  .site-header .btn-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .kp-text .caret { animation: none; }
}
