/* Hearth landing page. Same quiet language as the app: grey canvas, white panels nested in grey trays,
   mono captions, black primary buttons, one square per visit. */
:root {
  --page: #edece8;
  --canvas: #f1f0ec;
  --tray: #f4f3ef;
  --card: #fff;
  --soft: #faf9f7;
  --line: #e8e6e1;
  --line-2: #efede9;
  --line-3: #dcd9d3;
  --ink: #191816;
  --ink-2: #3b3935;
  --mute: #6f6c66;
  --mute-2: #9b988f;
  --black: #171614;
  --banner: #151513;
  --sq-cov: #1d1c1a;
  --sq-done: #bdb8b2;
  --sq-empty: #efeeea;
  --red: #d63f2a;
  --red-bg: #fbe9e6;
  --red-ink: #b3321f;
  --amber: #cf870f;
  --amber-bg: #f9efd8;
  --amber-ink: #85570a;
  --green: #1d9a55;
  --green-bg: #e3f3e9;
  --green-ink: #1c6a3f;
  --chip: #eceae5;
  --route: #856428;
  --shadow: 0 0 0 1px rgba(30, 27, 22, .07), 0 1px 2px rgba(30, 27, 22, .05);
  --shadow-pop: 0 0 0 1px rgba(30, 27, 22, .08), 0 12px 32px -8px rgba(30, 27, 22, .18), 0 2px 6px rgba(30, 27, 22, .06);
  --panel: 0 0 0 1px rgba(30, 27, 22, .06), 0 1px 2px rgba(30, 27, 22, .04), 0 30px 60px -36px rgba(30, 27, 22, .22);
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gut: 40px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 16px/1.55 var(--sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv05' 1; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #3a6df0; outline-offset: 2px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: calc(1280px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.ul { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color .15s; }
.ul:hover { text-decoration-color: var(--ink); }

/* ---------- primitives (same as the app) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 9px; background: #fff; box-shadow: var(--shadow); font-weight: 500; font-size: 14px; line-height: 1; white-space: nowrap; color: var(--ink); transition: box-shadow .15s, background .15s, transform .1s; }
.btn:hover { box-shadow: 0 0 0 1px rgba(30, 27, 22, .16), 0 1px 2px rgba(30, 27, 22, .07); }
.btn:active, .btn.press { transform: translateY(.5px) scale(.985); }
.btn .i { width: 15px; height: 15px; }
.btn-dark { background: var(--black); color: #fff; box-shadow: 0 0 0 1px var(--black), 0 1px 2px rgba(0, 0, 0, .2); }
.btn-dark:hover { background: #2a2825; box-shadow: 0 0 0 1px #2a2825, 0 1px 2px rgba(0, 0, 0, .2); }
.btn-lg { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; }
.btn-sm.btn-ic { width: 28px; padding: 0; }
.btn-block { width: 100%; }
.btn-w { background: #fff; color: var(--ink); box-shadow: none; }
.btn-w:hover { background: #f1f0ec; box-shadow: none; }
.btn-dk { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn-dk:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.press.btn-dark { background: #34312d; }
.link { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: var(--ink); white-space: nowrap; font-size: 13px; }
.link .i { width: 14px; height: 14px; }
.cap { font: 500 10.5px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.cap.ink { color: var(--ink-2); font-size: 11px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mute-2); flex: none; }
.dot.g { background: var(--green); } .dot.r { background: var(--red); } .dot.a { background: var(--amber); } .dot.k { background: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font: 500 12.5px/1 var(--sans); letter-spacing: 0; text-transform: none; white-space: nowrap; color: var(--ink); vertical-align: middle; }
.pill .dot { width: 6px; height: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border-radius: 6px; font: 500 12px/1 var(--sans); letter-spacing: 0; text-transform: none; white-space: nowrap; background: var(--chip); color: var(--ink-2); vertical-align: middle; transition: background .3s, color .3s; }
.tag .dot { width: 6px; height: 6px; background: currentColor; }
.tag.r { background: var(--red-bg); color: var(--red-ink); } .tag.r .dot { background: var(--red); }
.tag.a { background: var(--amber-bg); color: var(--amber-ink); } .tag.a .dot { background: var(--amber); }
.tag.g { background: var(--green-bg); color: var(--green-ink); } .tag.g .dot { background: var(--green); }
.tag.m { font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.count-b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 5px; background: var(--red); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: 0; }
kbd { font: 500 10.5px/1 var(--mono); color: var(--mute); padding: 4px 5px; border-radius: 5px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.clock { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--tray); font: 500 11px/1 var(--mono); letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
.clock b { font-weight: 500; }
.mute-s { color: var(--mute); }

.tray { background: var(--tray); border-radius: 13px; padding: 0 4px 4px; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.45; }
.tray-h { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.tray-h .i { width: 15px; height: 15px; color: var(--mute); }
.tray-h .r { margin-left: auto; display: flex; align-items: center; gap: 12px; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 12.5px; white-space: nowrap; }
.tray-h .r b { font-weight: 500; color: var(--ink); }
.tray-h .legend.r { font: 500 10.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.card { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); min-width: 0; }
.tray > .card { flex: 1; }
.tray-f { display: flex; align-items: center; gap: 8px; padding: 10px 10px 6px; color: var(--mute); font-size: 12.5px; }
.tray-f .r { margin-left: auto; }
.tray-f b { font-weight: 500; color: var(--ink); }
.pad { padding: 14px 16px; }
.legend { display: flex; align-items: center; gap: 14px; font: 500 10.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.legend i.k { background: var(--sq-cov); } .legend i.d { background: var(--sq-done); } .legend i.rd { background: var(--red); } .legend i.am { background: var(--amber); }
.av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; background: var(--chip); }
.sq-av { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; flex: none; background: #e7e4dd; }
.sq-av.ini { display: inline-grid; place-items: center; font: 600 11px/1 var(--sans); color: var(--ink-2); }
.rows > * + * { border-top: 1px solid var(--line-2); }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; min-width: 0; }
.row .t { min-width: 0; flex: 1; line-height: 1.3; }
.row .t b { display: block; font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .t span { display: block; color: var(--mute); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--chip); color: var(--ink-2); }
.tile .i { width: 17px; height: 17px; }
.tile.a { background: var(--amber-bg); color: var(--amber); }
.tile.r { background: var(--red-bg); color: var(--red); }
.tile.g { background: var(--green-bg); color: var(--green-ink); }
.tile.sm { width: 26px; height: 26px; border-radius: 6px; }
.tile.sm .i { width: 14px; height: 14px; }
.psq { display: inline-flex; gap: 2px; }
.psq i { width: 6px; height: 6px; border-radius: 1.5px; background: #e4e1db; }
.psq i.on { background: var(--sq-cov); }
.psq.big i { width: 8px; height: 8px; border-radius: 2px; }
.person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.person img:not(.sq-av) { border-radius: 50%; object-fit: cover; flex: none; }
.person .t { line-height: 1.3; min-width: 0; }
.person .t b { display: block; font-weight: 500; font-size: 13.5px; }
.person .t span { display: block; color: var(--mute); font-size: 12.5px; }
.lv-end { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.ck { display: grid; gap: 7px; font-size: 13px; }
.ck li { display: flex; align-items: flex-start; gap: 8px; }
.ck .i { width: 15px; height: 15px; margin-top: 1px; color: var(--green); }
.ck.w li { color: var(--amber-ink); }
.ck.w .i { color: var(--amber); }
.ticks { display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { width: 17px; height: 17px; margin-top: 3px; color: var(--ink); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.nav.scrolled { background: rgba(237, 236, 232, .84); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(30, 27, 22, .07); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.mark { width: 28px; height: 28px; border-radius: 7px; background: var(--black); display: grid; place-items: center; flex: none; }
.mark svg { width: 26px; height: 26px; fill: #fff; }
.mark.sm { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); transition: background .15s, color .15s; }
.nav-links a:hover { background: rgba(30, 27, 22, .05); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-signin { padding: 8px 12px; font-size: 14px; font-weight: 500; border-radius: 8px; }
.nav-signin:hover { background: rgba(30, 27, 22, .05); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 9px; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); border-radius: 1px; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-burger span:first-child { top: 16px; } .nav-burger span:last-child { top: 23px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.mnav { display: grid; padding: 8px 20px 20px; background: var(--page); box-shadow: 0 1px 0 rgba(30, 27, 22, .07), 0 20px 30px -20px rgba(30, 27, 22, .2); }
.mnav[hidden] { display: none; }
.mnav > a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
.mnav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }

/* ---------- sections ---------- */
.sec { padding: 128px 0 0; }
.sec-head { max-width: 640px; }
.sec-head h2, .evv-copy h2, .fam-copy h2, .cont-copy h2, .cta-copy h2 { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.08; font-weight: 500; letter-spacing: -.032em; text-wrap: balance; }
.sec-head p, .evv-copy > p, .fam-copy > p, .cont-copy > p, .cta-copy > p { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--mute); max-width: 560px; text-wrap: pretty; }
.sec-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.sec-head.split h2 { max-width: 560px; }
.sec-head.split p { margin-top: 0; }
.sec-head.split .ticks { margin-top: 20px; }

/* ---------- hero ---------- */
.hero { padding: 128px 0 0; }
.hero-text { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(40px, 5.3vw, 74px); line-height: 1.01; font-weight: 500; letter-spacing: -.042em; max-width: 12.6em; text-wrap: balance; }
.lede { margin-top: 24px; font-size: 18px; line-height: 1.55; color: var(--mute); max-width: 590px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-side { padding-bottom: 6px; display: grid; gap: 12px; justify-items: start; }
.hero-side .clock { background: #fff; box-shadow: var(--shadow); }
.hero-side p { font-size: 14px; line-height: 1.5; color: var(--mute); }

/* product window (the app, rebuilt in place) */
.win { position: relative; margin-top: 64px; display: grid; grid-template-columns: 216px minmax(0, 1fr); background: var(--canvas); border-radius: 20px; padding: 8px; box-shadow: 0 0 0 1px rgba(30, 27, 22, .07), 0 50px 90px -50px rgba(30, 27, 22, .35), 0 16px 30px -18px rgba(30, 27, 22, .12); font-size: 13px; line-height: 1.45; }
.win-side { display: flex; flex-direction: column; gap: 1px; padding: 2px 8px 2px 2px; min-width: 0; }
.w-ws { display: flex; align-items: center; gap: 10px; padding: 8px 9px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.w-ws > span:nth-child(2), .w-me > span { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.w-ws b, .w-me b { font-weight: 600; font-size: 13.5px; letter-spacing: -.01em; }
.w-ws span span, .w-me span span { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win .i.sw { width: 15px; height: 15px; color: var(--mute); }
.w-search { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 6px 0 10px; margin: 9px 0 4px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); color: var(--mute); }
.w-search .i { width: 15px; height: 15px; }
.w-search kbd { margin-left: auto; }
.w-h { display: flex; align-items: center; justify-content: space-between; margin: 15px 4px 6px 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.w-h .i { width: 14px; height: 14px; }
.w-nav { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 8px; border-radius: 7px; color: var(--ink-2); font-size: 13.5px; white-space: nowrap; }
.w-nav .i { width: 17px; height: 17px; color: #55524c; }
.w-nav.on { background: #fff; box-shadow: var(--shadow); color: var(--ink); font-weight: 500; }
.w-nav.on .i { color: var(--ink); }
.w-nav em { margin-left: auto; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 5px; background: var(--red); color: #fff; font: 600 11px/17px var(--sans); text-align: center; font-style: normal; }
.w-area { display: flex; align-items: center; gap: 10px; height: 27px; padding: 0 8px; font-size: 13px; color: var(--ink-2); }
.w-area i { width: 8px; height: 8px; border-radius: 2px; background: #c9c5be; margin: 0 4px; flex: none; }
.w-area em { margin-left: auto; font: 400 11.5px/1 var(--mono); color: var(--mute); font-style: normal; }
.w-foot { margin-top: auto; padding-top: 18px; display: grid; gap: 1px; }
.w-me { margin-top: 8px; display: flex; align-items: center; gap: 10px; padding: 8px 9px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.w-me img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.win-main { min-width: 0; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(30, 27, 22, .07), 0 1px 3px rgba(30, 27, 22, .04); overflow: hidden; }
.w-top { height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.w-tog { width: 17px; height: 17px; color: var(--mute); margin: 0 4px; }
.w-div { width: 1px; height: 18px; background: var(--line); }
.crumb { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--mute); white-space: nowrap; }
.crumb .i { width: 12px; height: 12px; color: var(--mute-2); }
.crumb b { font-weight: 500; color: var(--ink); }
.w-top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.w-ib { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #fff; box-shadow: var(--shadow); color: var(--ink-2); }
.w-ib .i { width: 17px; height: 17px; }
.w-ib i { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px #fff; }
.w-ib i.red { background: var(--red); }
.w-body { padding: 22px 24px 24px; }
.w-ph { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.w-ph > div:first-child { flex: 1; min-width: 0; }
.w-ph h2 { font-size: 22px; line-height: 1.2; font-weight: 500; letter-spacing: -.018em; }
.w-ph p { margin-top: 4px; color: var(--mute); font-size: 13px; }
.w-ph-r { display: flex; gap: 8px; flex: none; }
.w-ph .btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }

/* call-out banner */
.banner { position: relative; overflow: hidden; background: var(--banner); color: #fff; border-radius: 13px; padding: 22px 22px 22px 24px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 14px; isolation: isolate; }
.banner::before, .banner::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .055); z-index: -1; }
.banner::before { width: 520px; height: 520px; right: -60px; top: -40px; }
.banner::after { width: 420px; height: 420px; right: -160px; top: 60px; background: rgba(255, 255, 255, .04); }
.b-tag { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font: 500 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: #eceae6; }
.b-tag .i { width: 14px; height: 14px; }
.banner h3 { margin: 14px 0 8px; font-size: 21px; line-height: 1.32; font-weight: 500; letter-spacing: -.015em; }
.banner p { margin: 0 0 16px; color: #aeaba5; font-size: 13px; max-width: 520px; }
.b-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.b-list .cap { color: #a9a6a0; display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.b-list .cap .i { width: 14px; height: 14px; }
.b-row { display: grid; grid-template-columns: 66px minmax(0, 1fr) 14px minmax(0, 1fr) 34px; align-items: center; gap: 10px; height: 40px; padding: 0 12px; margin-top: 7px; border-radius: 8px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 13px; transition: background .15s; }
.b-row:hover { background: rgba(255, 255, 255, .14); }
.b-row .mono { color: #c9c6c0; font-size: 12px; white-space: nowrap; }
.b-row .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-row > .i { width: 14px; height: 14px; color: #8f8c86; }
.b-row .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.b-row .who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.b-row .pct { font: 500 12px/1 var(--mono); color: #c9c6c0; text-align: right; }

/* KPIs */
.w-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.kpi .card { padding: 13px 15px 14px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 10px; }
.kpi .cap { grid-column: 1 / -1; }
.kpi .big { display: flex; align-items: baseline; gap: 8px; font-size: 23px; font-weight: 500; letter-spacing: -.02em; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.kpi .big small { font-size: 13px; font-weight: 400; color: var(--mute); letter-spacing: 0; }
.kpi .tray-f { padding: 9px 10px 5px; white-space: nowrap; overflow: hidden; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 30px; }
.spark i { width: 2px; border-radius: 1px; background: #c3bfb8; transform-origin: bottom; }
.spark i:last-child { background: var(--ink); width: 2.5px; }

.w-cov { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 14px; align-items: start; }
.w-col { display: grid; gap: 14px; min-width: 0; }
.w-att .row { padding: 10px 12px; }
.w-acts { display: flex; gap: 6px; flex: none; }
.w-live .row { padding: 10px 12px; }
.w-live .row .t { flex: 1; }
.cov-top { display: flex; align-items: baseline; gap: 10px; padding: 16px 18px 0; }
.cov-top .n { font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.cov-top .r { margin-left: auto; color: var(--mute); font-size: 12.5px; }

/* ---------- coverage grid: one square per visit ---------- */
.cov { --g: 4px; --y: 18px; position: relative; padding: 36px 18px 14px; }
.cov-plot { position: relative; display: grid; grid-template-columns: var(--y) minmax(0, 1fr); gap: 0 8px; }
.cov-y { display: grid; grid-template-rows: repeat(11, minmax(0, 1fr)); row-gap: var(--g); font: 400 11px/1 var(--mono); color: var(--mute); }
.cov-y span { display: flex; align-items: center; justify-content: flex-end; }
.cov-grid { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); column-gap: var(--g); align-items: end; }
.cov-col { position: relative; display: flex; flex-direction: column-reverse; gap: var(--g); border-radius: 4px; }
.cov-col::after { content: ''; position: absolute; inset: -3px; border-radius: 6px; box-shadow: 0 0 0 1.5px var(--ink); opacity: 0; transition: opacity .12s; pointer-events: none; }
.cov-col.hot::after { opacity: 1; }
.cov[data-live] .cov-col { cursor: pointer; }
.sq { display: block; width: 100%; aspect-ratio: 1; border-radius: 3px; background: var(--sq-empty); transition: background-color .32s var(--ease), box-shadow .3s; }
.sq.cov1 { background: var(--sq-cov); }
.sq.done { background: var(--sq-done); }
.sq.red { background: var(--red); }
.sq.amb { background: var(--amber); }
.sq.ring { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--red); }
.cov-x { display: grid; grid-template-columns: var(--y) minmax(0, 1fr); gap: 0 8px; margin-top: 10px; }
.cov-x > div { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); column-gap: var(--g); font: 400 11px/1 var(--mono); color: var(--mute); }
.cov-x span { display: flex; justify-content: center; white-space: nowrap; }
.cov-now { position: absolute; top: -28px; bottom: 0; left: 0; width: 0; border-left: 1.5px solid var(--ink); pointer-events: none; z-index: 2; }
.cov-now b { position: absolute; top: 0; left: -1px; transform: translateX(-50%); background: var(--black); color: #fff; font: 500 10.5px/1 var(--mono); letter-spacing: .05em; padding: 5px 7px; border-radius: 5px; white-space: nowrap; }
.cov-tip { position: absolute; z-index: 5; top: 8px; width: 214px; background: #fff; border-radius: 9px; box-shadow: var(--shadow-pop); padding: 11px 13px; font-size: 12.5px; line-height: 1.4; pointer-events: none; transition: opacity .15s; }
.cov-tip[hidden] { display: block; opacity: 0; }
.cov-tip .cap { color: var(--ink-2); font-size: 11px; margin-bottom: 8px; display: block; }
.cov-tip div { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.cov-tip i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.cov-tip em { font-style: normal; margin-left: auto; font-family: var(--mono); padding-left: 14px; }
.cov-tip .who { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink); padding: 0 0 2px 16px; }
.cov.small { --g: 3px; padding: 0; }
.cov.small .cov-plot, .cov.small .cov-x { grid-template-columns: minmax(0, 1fr); gap: 0; }
.cov.small .cov-y { display: none; }
.cov.small .sq { border-radius: 2px; }
.cov.small .cov-x { margin-top: 8px; }
.cov.small .cov-x > div { font-size: 10px; }

/* ---------- trust ---------- */
.trust { padding: 72px 0 0; }
.trust .cap { text-align: center; display: block; }
.logos { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 40px; color: #858179; }
.lg { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; line-height: 1; }
.lg svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lg-1 { font: italic 400 24px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.01em; }
.lg-2 { font: 600 13px/1 var(--sans); letter-spacing: .22em; }
.lg-3 { font: 700 23px/1 var(--sans); letter-spacing: -.05em; position: relative; }
.lg-3 i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-left: 2px; align-self: flex-end; margin-bottom: 3px; }
.lg-4 { flex-direction: column; align-items: flex-start; gap: 3px; }
.lg-4 b { font: 600 19px/1 var(--sans); letter-spacing: -.03em; }
.lg-4 small { font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.lg-5 { font: 800 17px/1 var(--sans); letter-spacing: .02em; transform: scaleX(.86); transform-origin: left; gap: 6px; }
.lg-5 em { font: italic 400 17px/1 Georgia, serif; letter-spacing: 0; text-transform: none; }
.lg-6 { font: 500 21px/1 var(--sans); letter-spacing: -.035em; }

/* ---------- two mornings ---------- */
.mornings { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tl-list { padding: 8px 18px; }
.tl-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 12px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.tl-list li + li { border-top: 1px solid var(--line-2); }
.tl-list .mono { font-size: 12px; color: var(--mute); padding-top: 3px; }
.m-old .tl-list li { color: var(--mute); }
.m-new .tl-list .mono { color: var(--ink); }
.mins-f { padding: 12px 10px 8px; gap: 14px; }
.mins { display: flex; flex-wrap: wrap; gap: 3px; flex: 1; min-width: 0; }
.mins i { width: 9px; height: 9px; border-radius: 2px; background: #e4e1db; transition: background-color .25s; }
.mins i.on { background: #b9b4ad; }
.m-new .mins i.on { background: var(--green); }
.mins-f .cap { flex: none; }

/* ---------- call-out story (signature) ---------- */
.story-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; }
.story-steps { padding-bottom: 14vh; }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .32; transition: opacity .45s var(--ease); }
.step.on { opacity: 1; }
.step:last-child { min-height: 62vh; }
.step-t { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .04em; color: var(--ink-2); }
.step-t::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
.step[data-step="1"] .step-t::before { background: var(--ink); }
.step[data-step="2"] .step-t::before { background: var(--green); }
.step h3 { margin-top: 14px; font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.022em; text-wrap: balance; }
.step p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--mute); text-wrap: pretty; }
.story-ui { display: none; }
.story-stage { position: relative; }
.stage { position: sticky; top: max(92px, calc(50vh - 290px)); margin-top: 12vh; max-width: 720px; margin-left: auto; box-shadow: var(--panel); }
.stage-card { padding: 0 0 4px; }
.stage-card .cov { padding: 40px 20px 12px; }
.stage-swap { position: relative; height: 200px; margin: 4px 12px 8px; }
.sw { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.sw.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease) .08s, transform .35s var(--ease) .08s, visibility 0s; }
.sw-h { display: flex; align-items: center; gap: 10px; padding: 12px 4px 12px; border-top: 1px solid var(--line-2); }
.sw-h img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.sw-h .t { flex: 1; min-width: 0; line-height: 1.3; }
.sw-h .t b { display: block; font-weight: 500; font-size: 14px; }
.sw-h .t span { display: block; color: var(--mute); font-size: 12.5px; }
.sw-h .ok { width: 32px; height: 32px; border-radius: 8px; background: var(--green-bg); color: var(--green-ink); display: grid; place-items: center; }
.sw-h .ok .i { width: 18px; height: 18px; }
.sw-h .ok.undone { background: var(--red-bg); color: var(--red-ink); }
.sw-rows { display: grid; gap: 6px; }
.sw-r { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 8px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.sw-r .mono { font-size: 12px; color: var(--ink-2); }
.sw-r .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-r .nm small { color: var(--mute); font-size: 12.5px; }
.sw-r.m { grid-template-columns: 64px minmax(0, 1fr) 14px minmax(0, 1.25fr) 36px; }
.sw-r.m > .i { width: 14px; height: 14px; color: var(--mute-2); }
.sw-r .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sw-r .who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.sw-r .who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-r .pct { font: 500 12px/1 var(--mono); text-align: right; }
.sw-auto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sw-a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 8px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; transition: opacity .3s; }
.sw-a .tile { width: 26px; height: 26px; border-radius: 6px; }
.sw-a .tile .i { width: 14px; height: 14px; }
.sw-a .t { min-width: 0; line-height: 1.25; flex: 1; }
.sw-a .t b { display: block; font-weight: 500; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-a .t span { display: block; color: var(--mute); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-a .okc { width: 16px; height: 16px; color: var(--green-ink); transition: opacity .25s, transform .25s var(--ease); }
.sw-a.wait { opacity: .45; }
.sw-a.wait .okc { opacity: 0; transform: scale(.6); }
.sw .btn-sm .i { width: 14px; height: 14px; }
.story-ui .sw { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 12px 12px; }
.story-ui .sw-h { border-top: 1px solid var(--line-2); }
.story-ui .tray { box-shadow: var(--panel); }

/* ---------- live visits ---------- */
.lv-demo { margin-top: 48px; position: relative; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; background: #fff; border-radius: 20px; box-shadow: var(--panel); }
.lv-list .card { padding: 4px 0 8px; }
.lv-g { padding: 12px 14px 4px; font: 500 10.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.lv-i { display: flex; align-items: center; gap: 11px; margin: 2px 4px; padding: 9px 10px; border-radius: 9px; transition: background .2s, box-shadow .2s; }
.lv-i img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.lv-i .t { flex: 1; min-width: 0; line-height: 1.3; }
.lv-i .t b { display: block; font-weight: 500; font-size: 13.5px; }
.lv-i .t span { display: block; color: var(--mute); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-i.on { background: var(--soft); box-shadow: inset 0 0 0 1.5px var(--ink); }
.lv-right { display: grid; gap: 14px; min-width: 0; }
.people { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.people .person img { width: 40px; height: 40px; }
.tl { position: relative; height: 62px; margin: 18px 0 2px; }
.tl-track { position: absolute; left: 0; right: 0; top: 28px; height: 6px; border-radius: 3px; background: #ece9e4; }
.tl-fill { position: absolute; left: 0; top: 28px; height: 6px; width: 22.9%; border-radius: 3px 0 0 3px; background: #c4bfb8; }
.tl-late { position: absolute; top: 28px; height: 6px; left: 42.9%; width: 25.7%; background: var(--amber); transform-origin: left; transition: transform .5s var(--ease); }
.tl-late.off { transform: scaleX(0); }
.tl-mark { position: absolute; top: 0; transform: translateX(-50%); font: 500 11px/1 var(--mono); letter-spacing: .04em; white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: left .6s var(--ease), color .3s; }
.tl-mark::after { content: ''; width: 1.5px; height: 12px; background: currentColor; margin-top: 2px; }
.tl-mark.below { top: 30px; flex-direction: column-reverse; }
.tl-mark.below::after { margin: 0 0 2px; }
.tl-mark.a { color: var(--amber-ink); }
.tl-mark.g { color: var(--green-ink); }
.tl-mark.l { transform: translateX(calc(-100% + 1px)); align-items: flex-end; }
.tl-mark.rt { transform: translateX(-1px); align-items: flex-start; }
.map-card { padding: 4px; position: relative; }
.map { position: relative; height: 230px; border-radius: 8px; overflow: hidden; background: #efeeea; }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .rt-joel, .map .rt-efua { transition: opacity .4s; }
.map.re .rt-joel { opacity: .25; }
.map-pin { position: absolute; transform: translate(-50%, -50%); transition: left 1.6s var(--ease), top 1.6s var(--ease); }
.map-pin img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2.5px #fff, 0 2px 6px rgba(0, 0, 0, .18); }
.map-lbl { position: absolute; transform: translate(-50%, 0); background: #fff; box-shadow: var(--shadow); border-radius: 6px; padding: 5px 7px; font: 500 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: var(--ink); transition: left 1.6s var(--ease), top 1.6s var(--ease); }
.map-lbl.k { background: var(--black); color: #fff; box-shadow: none; display: inline-flex; align-items: center; gap: 6px; }
.map-lbl.k .i { width: 13px; height: 13px; }
.map-lbl.end { transform: translate(calc(-100% + 22px), 0); }
.map-lbl.start { transform: translate(-22px, 0); }
.map-home { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--black); box-shadow: 0 0 0 3px #fff; transform: translate(-50%, -50%); }
.decide { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dcard { background: #fff; border-radius: 11px; box-shadow: var(--shadow); padding: 15px 16px; display: flex; flex-direction: column; gap: 12px; min-height: 190px; font-size: 13px; transition: box-shadow .2s, opacity .3s; }
.dcard.pick { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dcard h4 { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.dcard h4 .tag { margin-left: auto; }
.dcard .btn { margin-top: auto; height: 34px; font-size: 13px; }
.dcard.dim { opacity: .5; }
.lp-toast { position: absolute; right: 14px; bottom: 14px; z-index: 4; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 28px); padding: 9px 10px 9px 13px; border-radius: 10px; background: var(--black); color: #fff; font-size: 13px; line-height: 1.35; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.lp-toast[hidden] { display: none; }
.lp-toast > .i { color: #7fd3a2; width: 16px; height: 16px; }
.lp-toast button { margin-left: 4px; padding: 5px 8px; border-radius: 6px; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .12); white-space: nowrap; }
.lp-toast button:hover { background: rgba(255, 255, 255, .2); }

/* ---------- EVV ---------- */
.evv-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.facts { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line-3); }
.facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-3); }
.facts dt { font-size: 28px; font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts dd { font-size: 14.5px; color: var(--mute); line-height: 1.45; }
.evv-ui { box-shadow: var(--panel); background: var(--tray); }
.evv-ui > .card { padding: 2px 0; }
.ex { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 10px 18px; padding: 15px 16px; align-items: center; transition: background .3s; }
.ex + .ex { border-top: 1px solid var(--line-2); }
.ex .person { grid-row: span 2; align-self: start; }
.ex-mid { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.ex-d { color: var(--mute); font-size: 12.5px; }
.ex-act { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sel { position: relative; display: inline-flex; align-items: center; height: 28px; padding: 0 30px 0 10px; border-radius: 7px; background: #fff; box-shadow: var(--shadow); font-size: 12.5px; color: var(--mute); min-width: 0; max-width: 340px; flex: 1; transition: box-shadow .2s, color .2s; }
.sel::after { content: ''; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; border: solid var(--mute); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); }
.sel-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sel.set { color: var(--ink); }
.sel.sug .sel-t::before { content: 'Suggested · '; color: var(--mute-2); }
.sel.focus { box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px rgba(23, 22, 20, .08); }
.ex.ok { background: var(--soft); }
.ex.ok .sel { box-shadow: none; background: none; padding-left: 0; color: var(--mute); }
.ex.ok .sel::after { display: none; }
.ex.ok .ex-btn { background: none; box-shadow: none; color: var(--green-ink); pointer-events: none; padding: 0; }

/* ---------- families ---------- */
.fam-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.fam-photo img { width: 100%; height: auto; border-radius: 16px; aspect-ratio: 2000 / 1116; object-fit: cover; }
.fam-thread { margin-top: 30px; display: grid; gap: 8px; max-width: 470px; }
.fam-thread > .cap { margin-bottom: 4px; }
.msg { max-width: 86%; display: grid; gap: 4px; }
.msg p { padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.msg span { font: 400 11px/1 var(--mono); color: var(--mute); letter-spacing: .02em; }
.msg.out { justify-self: end; justify-items: end; }
.msg.out p { background: var(--black); color: #fff; border-bottom-right-radius: 5px; }
.msg.in p { background: #fff; box-shadow: var(--shadow); border-bottom-left-radius: 5px; }
.msg.note { max-width: none; display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--green-ink); font-size: 13px; }
.msg.note p { padding: 0; }
.msg.note .i { width: 15px; height: 15px; }
.fam-sees { margin-top: 56px; }
.sees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.see { background: var(--soft); border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line); padding: 13px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.see .h { display: flex; align-items: center; gap: 8px; }
.see p { font-size: 14px; line-height: 1.55; color: var(--ink); }
.see .f { margin-top: auto; color: var(--mute); font-size: 12px; }

/* ---------- continuity / client profile ---------- */
.cont-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 64px; align-items: center; }
.stat-line { margin-top: 32px; display: flex; align-items: baseline; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-3); }
.stat-line b { font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.stat-line span { font-size: 14.5px; color: var(--mute); line-height: 1.45; }
.profile { background: #fff; border-radius: 20px; padding: 22px 20px 20px; box-shadow: var(--panel); font-size: 13px; line-height: 1.45; }
.pf-h { display: flex; align-items: flex-start; gap: 12px; }
.pf-h img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.pf-h h3 { font-size: 22px; line-height: 1.2; font-weight: 500; letter-spacing: -.018em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pf-h p { margin-top: 4px; color: var(--mute); font-size: 13px; }
.pf-band { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 14px; padding: 13px 14px 13px 16px; border-radius: 11px; background: var(--amber-bg); }
.pf-band .i { color: var(--amber-ink); width: 18px; height: 18px; margin-top: 1px; }
.pf-band b { display: block; color: var(--amber-ink); font-weight: 600; }
.pf-band span { color: var(--ink-2); }
.pf-cols { display: grid; grid-template-columns: minmax(0, 284px) minmax(0, 1fr); gap: 14px; align-items: start; }
.kvs > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.kvs > div + div { border-top: 1px solid var(--line-2); }
.kvs dt { color: var(--mute); }
.kvs dd { font-weight: 500; text-align: right; }
.kvs > div:first-child { padding-top: 2px; }
.kvs > div:last-child { padding-bottom: 2px; }
.hist { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 5px 10px; align-items: center; }
.hist .d { font: 400 11px/1 var(--mono); color: var(--mute); text-transform: uppercase; }
.hist .r, .hist .m { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; }
.hist .r i { aspect-ratio: 1; border-radius: 3px; background: var(--sq-empty); transition: background-color .3s; }
.hist .r i.on { background: var(--sq-cov); }
.hist .r i.on.late { background: var(--amber); }
.hist .m { grid-column: 2; font: 400 11px/1 var(--mono); color: var(--mute); margin-top: 4px; text-transform: uppercase; }
.hist .m span { white-space: nowrap; }
.notes { margin-top: 16px; border-top: 1px solid var(--line-2); }
.notes > div { display: grid; grid-template-columns: 50px 22px minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px 0; }
.notes > div + div { border-top: 1px solid var(--line-2); }
.notes .mono { font-size: 11px; color: var(--mute); }
.notes img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* ---------- whole agency ---------- */
.ag-cards { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ag { background: #fff; border-radius: 16px; padding: 6px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ag img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 11px; }
.ag > div { padding: 16px 12px 14px; }
.ag h3 { margin-top: 10px; font-size: 17px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.ag p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--mute); }

/* ---------- setup ---------- */
.days { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: d; }
.days li { background: var(--tray); border-radius: 16px; padding: 22px 22px 24px; box-shadow: 0 0 0 1px rgba(30, 27, 22, .05); }
.day-sq { display: flex; gap: 4px; margin-bottom: 26px; }
.day-sq i { width: 14px; height: 14px; border-radius: 3px; background: #e2dfd9; transition: background-color .3s; }
.day-sq i.on { background: var(--sq-cov); }
.days li:last-child .day-sq i.on { background: var(--green); }
.days .mono { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.days h3 { margin-top: 8px; font-size: 19px; font-weight: 500; letter-spacing: -.018em; }
.days p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--mute); }

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.quote blockquote { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.28; font-weight: 500; letter-spacing: -.025em; text-wrap: pretty; }
.quote figcaption { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption > span { display: grid; gap: 2px; font-size: 14px; }
.quote figcaption b { font-weight: 600; }
.quote figcaption span span { color: var(--mute); }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nums > div { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.nums b { font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.nums > div > span:last-child { font-size: 13.5px; line-height: 1.45; color: var(--mute); }

/* ---------- pricing ---------- */
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; overflow: hidden; isolation: isolate; background: #fff; border-radius: 18px; padding: 26px 24px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan .cap { display: flex; align-items: center; gap: 10px; min-height: 22px; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.price span { font-size: 14px; color: var(--mute); }
.pdesc { margin-top: 12px; font-size: 14.5px; color: var(--mute); line-height: 1.5; }
.plan .ticks { margin: 24px 0 28px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 14.5px; gap: 11px; }
.plan .ticks .i { margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-dark { background: var(--banner); color: #fff; box-shadow: none; }
.plan-dark::before, .plan-dark::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .05); z-index: -1; }
.plan-dark::before { width: 460px; height: 460px; right: -200px; top: -160px; }
.plan-dark::after { width: 380px; height: 380px; right: -250px; top: -40px; background: rgba(255, 255, 255, .035); }
.plan-dark .cap { color: #a9a6a0; }
.plan-dark .tag.m { background: rgba(255, 255, 255, .12); color: #fff; }
.plan-dark .price span, .plan-dark .pdesc { color: #aeaba5; }
.plan-dark .ticks { color: #e8e6e1; border-top-color: rgba(255, 255, 255, .12); }
.plan-dark .ticks .i { color: #fff; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; align-items: start; }
.qs { border-top: 1px solid var(--line-3); }
.qs details { border-bottom: 1px solid var(--line-3); }
.qs summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 17px; font-weight: 500; letter-spacing: -.012em; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ''; flex: none; width: 22px; height: 22px; border-radius: 6px; background: #fff linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat; box-shadow: var(--shadow); transition: background-size .2s; }
.qs details:not([open]) summary::after { background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 10px 1.5px, 1.5px 10px; background-position: center, center; background-repeat: no-repeat; }
.qs details p { padding: 0 48px 22px 0; font-size: 15.5px; line-height: 1.6; color: var(--mute); max-width: 680px; }

/* ---------- CTA ---------- */
.cta { padding-bottom: 128px; }
.cta-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 48px; background: #fff; border-radius: 24px; box-shadow: var(--panel); }
.cta-form { margin-top: 28px; display: flex; gap: 8px; max-width: 460px; }
.cta-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line-3); font-size: 15px; outline: none; transition: box-shadow .15s; }
.cta-form input:focus { box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 4px rgba(23, 22, 20, .08); }
.cta-form input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--red), 0 0 0 4px rgba(214, 63, 42, .1); }
.cta-form .btn { height: 46px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.cta-err { margin-top: 8px; font-size: 13px; color: var(--red-ink); }
.cta-ok { margin-top: 28px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--green-bg); color: var(--green-ink); font-size: 14.5px; max-width: 460px; }
.cta-ok[hidden] { display: none; }
.cta-ok .i { width: 18px; height: 18px; }
.cta-app { display: inline-block; margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.cta-day .card { padding: 18px 18px 16px; }
.cta-day .tray-h .r { color: var(--green-ink); font-weight: 500; }

/* ---------- footer: grainy street at dawn ---------- */
.foot { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: #9a9a98; min-height: 700px; display: flex; }
.foot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 78%; z-index: -1; }
.foot::before { content: ''; position: absolute; inset: 0 0 auto; height: 50%; z-index: -1; background: linear-gradient(rgba(214, 214, 212, .5), rgba(214, 214, 212, 0)); }
.foot-in { display: flex; flex-direction: column; padding-top: 88px; padding-bottom: 58px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; }
.logo-lg { font-size: 34px; letter-spacing: -.035em; gap: 12px; }
.logo-lg .mark { width: 38px; height: 38px; border-radius: 9px; }
.logo-lg .mark svg { width: 36px; height: 36px; }
.foot-brand p { margin-top: 26px; max-width: 470px; font-size: 17px; line-height: 1.5; color: #3d3c39; }
.foot-brand .foot-status { margin-top: 20px; display: flex; align-items: center; gap: 9px; font-size: 14px; color: #3d3c39; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 24px 72px; }
.foot-cols h4 { font-size: 16px; font-weight: 500; margin-bottom: 16px; letter-spacing: -.01em; }
.foot-cols a { display: block; padding: 6px 0; font-size: 16px; color: #3d3c39; transition: color .15s; }
.foot-cols a:hover { color: #000; }
.foot-bot { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .38); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; color: #f2f2f0; }

/* Ariadne badge */
.ariadne { position: fixed; left: 14px; bottom: 14px; z-index: 50; font: 500 12.5px/1 var(--sans); padding: 7px 11px; border-radius: 999px; background: rgba(20, 22, 26, .88); color: #fff; letter-spacing: .01em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); opacity: .92; }
.ariadne b { font-weight: 600; color: #ff8a3d; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .win { grid-template-columns: minmax(0, 1fr); }
  .win-side { display: none; }
  .w-cov { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 1100px) {
  .lv-demo { grid-template-columns: 300px minmax(0, 1fr); }
  .ag-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evv-grid, .proof-grid, .faq-grid { gap: 48px; }
  .ex { grid-template-columns: minmax(0, 1fr); }
  .ex .person { grid-row: auto; }
}
@media (max-width: 960px) {
  :root { --gut: 28px; }
  .sec { padding-top: 96px; }
  .hero { padding-top: 112px; }
  .hero-text { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-side { max-width: 460px; }
  .w-cov { grid-template-columns: minmax(0, 1fr); }
  .w-col { grid-template-columns: 1fr 1fr; align-items: start; }
  .banner { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sec-head.split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; }
  .story-stage { display: none; }
  .story-steps { padding-bottom: 0; display: grid; gap: 56px; }
  .step { min-height: 0; padding: 0; opacity: 1; }
  .story-ui { display: block; margin-top: 20px; }
  .story-ui .tray-h .r b { color: var(--ink); }
  .lv-demo { grid-template-columns: minmax(0, 1fr); }
  .lv-list .card { display: grid; grid-template-columns: 1fr 1fr; padding: 4px 0 8px; }
  .lv-list .lv-g { grid-column: 1 / -1; }
  .evv-grid, .fam-grid, .cont-grid, .proof-grid, .faq-grid, .cta-card { grid-template-columns: minmax(0, 1fr); }
  .evv-grid { gap: 40px; }
  .fam-grid { gap: 36px; }
  .cont-grid { gap: 40px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .cta-card { padding: 36px; gap: 36px; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .foot { min-height: 820px; }
}
@media (max-width: 760px) {
  :root { --gut: 18px; }
  body { font-size: 15.5px; }
  .nav-links, .nav-cta .btn, .nav-signin { display: none; }
  .nav-burger { display: block; }
  .nav-in { justify-content: space-between; }
  .sec { padding-top: 80px; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 48px); letter-spacing: -.038em; }
  .lede { font-size: 16.5px; margin-top: 18px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .win { margin-top: 40px; padding: 4px; border-radius: 16px; }
  .win-main { border-radius: 12px; }
  .w-top { height: 46px; padding: 0 10px; }
  .w-tog, .w-div, .w-ib { display: none; }
  .clock.sm { height: 24px; padding: 0 8px; font-size: 10px; }
  .w-body { padding: 16px 10px 12px; }
  .w-ph { flex-direction: column; gap: 12px; margin-bottom: 14px; }
  .w-ph h2 { font-size: 19px; }
  .w-areas { display: none !important; }
  .banner { padding: 18px 16px; }
  .banner h3 { font-size: 18px; }
  .b-row { grid-template-columns: 58px minmax(0, 1fr) 30px; height: auto; padding: 8px 10px; row-gap: 6px; }
  .b-row > .i { display: none; }
  .b-row .who { grid-column: 2; grid-row: 2; }
  .b-row .pct { grid-column: 3; grid-row: 1 / span 2; }
  .w-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi .card { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 12px; }
  .kpi .spark { display: none; }
  .kpi .tray-f { font-size: 11.5px; white-space: normal; }
  .w-col { grid-template-columns: minmax(0, 1fr); }
  .cov { --g: 2px; --y: 12px; padding: 34px 10px 12px; }
  .cov-plot, .cov-x { gap: 0 5px; }
  .cov-y, .cov-x > div { font-size: 9.5px; }
  .cov-x span.odd { visibility: hidden; }
  .cov-top { padding: 14px 12px 0; }
  .cov-top .r { display: none; }
  .tray-h { flex-wrap: wrap; row-gap: 4px; padding: 8px 10px; }
  .tray-h .legend.r { gap: 10px; margin-left: 0; width: 100%; }
  .cov-tip { display: none; }
  .logos { justify-content: center; gap: 22px 30px; }
  .lg { transform-origin: center; }
  .mornings { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .tl-list { padding: 4px 14px; }
  .tl-list li { grid-template-columns: 44px minmax(0, 1fr); font-size: 14px; }
  .stage-swap { height: auto; }
  .sw-r.m { grid-template-columns: 56px minmax(0, 1fr) 34px; height: auto; padding: 8px 10px; row-gap: 5px; }
  .sw-r.m > .i { display: none; }
  .sw-r.m .who { grid-column: 2; grid-row: 2; }
  .sw-r.m .pct { grid-column: 3; grid-row: 1 / span 2; }
  .sw-r { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .sw-auto { grid-template-columns: 1fr 1fr; }
  .sw-a { align-items: flex-start; }
  .sw-a .t b, .sw-a .t span { white-space: normal; }
  .lv-demo { margin-top: 32px; padding: 6px; border-radius: 16px; }
  .lv-list .card { grid-template-columns: minmax(0, 1fr); }
  .people { flex-direction: column; gap: 12px; }
  .map { height: 210px; }
  .decide { grid-template-columns: minmax(0, 1fr); }
  .dcard { min-height: 0; }
  .facts > div { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .facts dt { font-size: 24px; }
  .ex-act { flex-wrap: wrap; }
  .sel { max-width: none; }
  .sees { grid-template-columns: minmax(0, 1fr); padding: 8px; gap: 8px; }
  .see { min-height: 0; }
  .fam-sees { margin-top: 40px; }
  .fam-sees .tray-h .r { display: none; }
  .profile { padding: 16px 10px 10px; border-radius: 16px; }
  .pf-h h3 { font-size: 19px; }
  .pf-cols { grid-template-columns: minmax(0, 1fr); }
  .pf-band { margin: 14px 0 12px; }
  .notes > div { grid-template-columns: 44px 22px minmax(0, 1fr); }
  .stat-line b { font-size: 38px; }
  .ag-cards { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .days { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .nums b { font-size: 32px; }
  .nums > div { padding: 15px 14px 16px; }
  .plans { margin-top: 32px; }
  .qs summary { font-size: 16px; padding: 17px 0; }
  .qs details p { padding-right: 0; }
  .cta { padding-bottom: 80px; }
  .cta-card { padding: 26px 18px 18px; border-radius: 18px; }
  .cta-form { flex-direction: column; }
  .cta-form input { flex: none; }
  .foot { min-height: 0; }
  .foot-in { padding-top: 64px; }
  .logo-lg { font-size: 28px; }
  .foot-brand p { font-size: 15.5px; margin-top: 20px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: space-between; gap: 24px 16px; }
  .foot-cols h4 { font-size: 15px; margin-bottom: 10px; }
  .foot-cols a { font-size: 14px; padding: 5px 0; }
  .foot-bot { margin-top: 300px; font-size: 13.5px; flex-direction: column; gap: 6px; }
  .ariadne { position: static; display: table; margin: 24px auto; }
}
@media (max-width: 480px) {
  .w-top .clock { display: none; }
  .tray-h .legend.r { gap: 8px; letter-spacing: .04em; }
}
@media (max-width: 400px) {
  .lg-1 { font-size: 21px; } .lg-3 { font-size: 20px; } .lg-6 { font-size: 19px; }
  .w-kpis .big { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}
