/* Second Shift · light, quiet, one ink colour. The work in the app windows carries the page. */
:root {
  --bg: #f7f7f5; --bg-2: #ffffff; --bg-3: #efefeb; --ink: #111111; --muted: #6b6b6b; --soft: #9a9a9a; --line: #e4e4df;
  --accent: #2453D6; --accent-soft: rgba(36, 83, 214, .1);
  --app: #ffffff; --app-2: #f8f8f6; --app-3: #f0f0ec; --app-line: #e7e7e2; --app-ink: #111111; --app-muted: #6e7076;
  --ok: #1A7F4B; --warn: #8A6D00; --bad: #C0262D; --info: #2a5fc4;
  --ok-bg: #e8f5ee; --warn-bg: #F3EFD9; --bad-bg: #fbeae7; --info-bg: #e9effb;

  --f: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r1: 6px; --r2: 8px; --r3: 12px; --r4: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px; --gutter: 40px; --nav: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--f); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f); font-weight: 500; margin: 0; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(32px, 3.6vw, 50px); text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.label { font-size: 13px; color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r1); }
.skip:focus { left: 10px; }
.hp { position: absolute; left: -9999px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.anchor { display: block; position: relative; top: calc(-1 * var(--nav)); }
section[id] { scroll-margin-top: var(--nav); }

.anim { opacity: 0; transform: translateY(16px); animation: reveal .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes reveal { to { opacity: 1; transform: none; } }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } }

/* ---------- buttons: one solid, one outline ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r2); font: 500 15.5px/1 var(--f); letter-spacing: -0.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .18s, border-color .18s, transform .18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2e2e2e; }
.btn-dark[disabled] { opacity: .55; cursor: progress; }
.btn-light { background: var(--bg-2); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: #c9c9c3; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14.5px; }
.link { font-size: 15px; color: var(--muted); background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; text-decoration-color: #cfcfc9; text-underline-offset: 3px; }
.link:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav); background: rgba(247, 247, 245, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: var(--s6); height: 100%; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font: 600 17px/1 var(--f); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.wordmark.sm { font-size: 15px; }
.nav-links { flex: 1; display: flex; align-items: center; gap: 18px; margin: 0 var(--s4); }
.nav-links .rule { flex: 1; height: 1px; background: #d9d9d3; min-width: 12px; }
.nav-links a { font-size: 15px; color: #444; text-decoration: none; white-space: nowrap; transition: opacity .18s; }
.nav-links a:hover { opacity: .65; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - var(--nav)); min-height: calc(100svh - var(--nav)); display: flex; flex-direction: column; justify-content: center; padding: var(--s8) 0 var(--s6); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.hero-copy { max-width: 640px; }
.eyebrow { font-size: 14.5px; color: var(--muted); margin-bottom: var(--s5); }
.headline { font-size: clamp(40px, 4.3vw, 64px); line-height: 1.0; letter-spacing: -0.045em; font-weight: 500; }
.headline > span { display: block; }
.headline > span:nth-child(1) { color: var(--soft); }
.headline .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.headline .c { display: inline-block; transform: translateY(105%); animation: wipe .7s var(--ease) forwards; animation-delay: var(--cd); }
@keyframes wipe { to { transform: none; } }
.sub { margin-top: var(--s5); font-size: 19px; color: var(--muted); max-width: 46ch; }
.hero-scan { margin-top: var(--s7); max-width: 580px; }
.hero-scan label { display: block; font-size: 14.5px; font-weight: 500; margin-bottom: 10px; }
.scan-row { display: flex; gap: 8px; padding: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -18px rgba(0, 0, 0, .18); transition: border-color .18s; }
.scan-row:focus-within { border-color: #bdbdb7; }
.scan-row input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; font-size: 17px; padding: 0 12px !important; }
.scan-row input:focus { outline: none; }
.fine { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--s8) 0 0; border-top: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: var(--s4) var(--s4) 0 0; }
.stats > div + div { padding-left: var(--s4); border-left: 1px solid var(--line); }
.stats dt { font-size: 13.5px; color: var(--muted); }
.stats dd { margin: 0 0 2px; font: 500 28px/1.2 var(--f); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* ---------- built for you ---------- */
.fit { padding: var(--s10) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.room-head, .assess-head, .fit-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s8); align-items: end; margin-bottom: var(--s7); }
.room-head p, .assess-head p, .fit-head p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
.compare > div { border: 1px solid var(--line); border-radius: var(--r4); padding: var(--s6); background: var(--bg); }
.compare > .ours { background: var(--ink); color: #fff; border-color: var(--ink); }
.compare h3 { font-size: 24px; letter-spacing: -0.03em; }
.compare .eg { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.compare .ours .eg { color: #a9a9a9; }
.compare ul { list-style: none; padding: 0; margin: var(--s5) 0 0; }
.compare li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.compare li b { display: block; color: var(--ink); font-weight: 500; font-size: 16.5px; margin-bottom: 2px; }
.compare .ours li { border-top-color: #2e2e2e; color: #bdbdbd; }
.compare .ours li b { color: #fff; }

/* ---------- control room ---------- */
.room { padding: var(--s10) 0; border-top: 1px solid var(--line); }

/* ---------- app frame ---------- */
.app { position: relative; background: var(--app); color: var(--app-ink); border-radius: var(--r4); border: 1px solid var(--app-line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 30px 60px -30px rgba(17, 17, 17, .22); overflow: hidden; font-size: 13.5px; line-height: 1.45; isolation: isolate; }
.app-bar { display: flex; align-items: center; gap: var(--s3); height: 44px; padding: 0 var(--s4); border-bottom: 1px solid var(--app-line); }
.app-title { font-size: 13px; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-pause { margin-left: auto; flex: none; font: 500 12.5px var(--f); color: var(--app-muted); background: transparent; border: 1px solid var(--app-line); border-radius: var(--r1); padding: 4px 10px; min-height: 28px; cursor: pointer; transition: color .18s, border-color .18s; }
.app-pause:hover { color: var(--app-ink); border-color: #c9c9c3; }
.app-body { position: relative; }
.ic { display: inline-block; width: 20px; height: 20px; flex: none; background: var(--c, currentColor); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic.sm { width: 15px; height: 15px; }
.pill { display: inline-flex; align-items: center; font-size: 11.5px; line-height: 1; padding: 5px 8px; border-radius: 5px; background: var(--app-3); color: var(--app-muted); white-space: nowrap; transition: background-color .3s, color .3s; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.info { background: var(--info-bg); color: var(--info); }
.pill.run { background: var(--accent-soft); color: #1A3FAA; }
.ui-btn { font: 500 12.5px var(--f); color: var(--app-ink); background: var(--app); border: 1px solid var(--app-line); border-radius: var(--r1); padding: 7px 12px; cursor: default; transition: transform .12s, background-color .16s, box-shadow .16s; }
.ui-btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.ui-btn.sm { padding: 5px 10px; font-size: 12px; }
.pressed { transform: scale(.96); box-shadow: 0 0 0 3px rgba(17, 17, 17, .12) !important; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-weight: 400; color: var(--app-muted); padding: 8px 10px; border-bottom: 1px solid var(--app-line); }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--app-line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }

/* cursor + toasts */
.cursor { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; transform: translate(40px, 60px); transition: transform 760ms cubic-bezier(.45, .05, .25, 1), opacity .3s; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
.cursor path { fill: #111; stroke: #fff; }
.app:not(.running) .cursor { opacity: 0; }
.toasts { position: absolute; right: 14px; bottom: 14px; z-index: 15; display: grid; gap: 8px; justify-items: end; pointer-events: none; max-width: calc(100% - 28px); }
.toast { background: var(--ink); color: #fff; border-radius: var(--r2); padding: 10px 14px; font-size: 13px; font-weight: 500; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45); animation: toast-in 380ms var(--ease) both; }
.toast.out { animation: toast-out 280ms ease-in both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* control room console */
.cr { display: grid; grid-template-columns: 220px minmax(0, 1fr) 250px; min-height: 400px; }
.cr-label { font-size: 12px; color: var(--app-muted); }
.cr-systems { border-right: 1px solid var(--app-line); padding: var(--s4); background: var(--app-2); }
.cr-systems ul { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 2px; }
.cr-systems li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r1); transition: background-color .5s, box-shadow .5s; }
.cr-systems li.hit { background: var(--app); box-shadow: 0 0 0 1px var(--app-line); }
.cr-systems em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--app-muted); }
.sys-dot { display: none; }
.cr-feed { padding: var(--s4) var(--s5); min-width: 0; overflow: hidden; }
.cr-feed-head { display: flex; justify-content: space-between; align-items: baseline; }
.cr-feed-head .mono { color: var(--app-muted); font-size: 12px; }
.feed { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 6px; }
.feed li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--app); border: 1px solid var(--app-line); border-radius: var(--r2); }
.feed li.new { animation: feed-in 600ms var(--ease) both; }
.feed li .ic { width: 17px; height: 17px; }
.feed li span { color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed li span b { color: var(--app-ink); font-weight: 500; margin-right: 6px; }
.feed time { font-family: var(--f-mono); font-size: 12px; color: var(--app-muted); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-10px); } }
.cr-stats { border-left: 1px solid var(--app-line); display: grid; }
.stat { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--app-line); }
.stat:last-child { border-bottom: 0; }
.stat b { display: block; font: 500 32px/1.1 var(--f); letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat b.mono { font-family: var(--f-mono); font-weight: 400; font-size: 26px; }
.stat-note { display: flex; align-items: center; gap: 6px; color: var(--app-muted); font-size: 12.5px; margin-top: 4px; }
.spark { display: block; width: 100%; height: 32px; color: var(--ink); margin-top: 6px; }

/* ---------- system sections ---------- */
.sys { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: var(--s9) 0; border-top: 1px solid var(--line); }
.sys-grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: var(--s8); align-items: center; width: 100%; }
.sys.flip .sys-copy { order: 2; }
.sys.flip .sys-grid { grid-template-columns: minmax(0, 7.6fr) minmax(0, 4.4fr); }
.kicker { font-size: 14px; color: var(--muted); margin-bottom: var(--s4); }
.sys-copy > p:not(.kicker) { color: var(--muted); margin-top: var(--s5); max-width: 44ch; }
.runs { list-style: none; padding: 0; margin: var(--s6) 0 0; }
.runs li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s4); padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.runs b { color: var(--ink); font-weight: 500; }
.tools { display: flex; gap: var(--s4); margin-top: var(--s6); }

/* Agency OS */
.os { display: grid; grid-template-columns: 150px minmax(0, 1fr); height: 450px; overflow: hidden; }
.side { border-right: 1px solid var(--app-line); padding: var(--s3); display: grid; align-content: start; gap: 2px; background: var(--app-2); }
.side-i { padding: 8px 10px; border-radius: var(--r1); color: var(--app-muted); display: flex; justify-content: space-between; align-items: center; transition: background-color .2s, color .2s, transform .12s; }
.side-i.on { background: var(--app); color: var(--app-ink); box-shadow: 0 0 0 1px var(--app-line); }
.side-i em { font-style: normal; font-size: 11px; background: var(--ink); color: #fff; border-radius: 5px; padding: 1px 6px; }
.view { padding: var(--s4); min-width: 0; }
.view[data-view="inbox"] { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s4); }
.view.swap { animation: enter 380ms var(--ease) both; }
.inbox { display: grid; gap: 6px; align-content: start; }
.mail { display: grid; grid-template-columns: 15px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 12px; border-radius: var(--r2); background: var(--app); border: 1px solid var(--app-line); transition: border-color .2s, transform .12s; }
.mail.sel { border-color: var(--ink); }
.mail b { font-weight: 500; }
.mail span { grid-column: 2 / 4; color: var(--app-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail time { grid-column: 3; grid-row: 1; font-family: var(--f-mono); font-size: 11.5px; color: var(--app-muted); }
.detail { background: var(--app-2); border: 1px solid var(--app-line); border-radius: var(--r2); padding: var(--s4); min-height: 330px; }
.empty { color: var(--app-muted); display: grid; place-items: center; height: 100%; min-height: 290px; }
.from { color: var(--app-muted); font-size: 12.5px; }
.from b { color: var(--app-ink); font-weight: 500; }
.quote { margin: var(--s3) 0 var(--s4); font-size: 13.5px; }
.triage { margin: var(--s4) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.triage div { background: var(--app); border: 1px solid var(--app-line); border-radius: var(--r1); padding: 8px 10px; min-height: 52px; }
.triage dt { font-size: 11px; color: var(--app-muted); }
.triage dd { margin: 2px 0 0; font-weight: 500; min-height: 1.4em; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.col { background: var(--app-2); border-radius: var(--r2); padding: 10px; min-height: 370px; display: flex; flex-direction: column; gap: 6px; }
.col > p { color: var(--app-muted); font-size: 12px; display: flex; justify-content: space-between; margin-bottom: 4px; }
.col em { font-style: normal; font-family: var(--f-mono); }
.card-s { background: var(--app); border: 1px solid var(--app-line); border-radius: var(--r1); padding: 10px; font-size: 12.5px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.card-s.fresh { border-color: var(--ink); animation: drop 700ms var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translate(-60px, -30px) rotate(-3deg); } }

/* Content engine */
.ce { padding: var(--s4); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.brief { display: flex; align-items: center; gap: var(--s3); min-width: 0; background: var(--app-2); border: 1px solid var(--app-line); border-radius: var(--r2); padding: 8px 8px 8px 14px; }
.brief-label { color: var(--app-muted); font-size: 12px; }
.brief-input { flex: 1; min-width: 0; min-height: 1.4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brief .ui-btn { flex: none; }
.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 1px; animation: caret 700ms steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ch { background: var(--app); border: 1px solid var(--app-line); border-radius: var(--r2); padding: 10px 12px; min-height: 112px; transition: border-color .3s; }
.ch header { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; }
.ch header .pill { margin-left: auto; }
.ch p { color: var(--app-muted); font-size: 12.5px; margin-top: 8px; }
.ch.done { border-color: #bfe3cf; }
.ce-foot { display: flex; align-items: center; gap: var(--s4); min-width: 0; }
.week { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.week span { background: var(--app-2); border-radius: var(--r1); padding: 8px; font-size: 12px; color: var(--app-muted); min-height: 56px; position: relative; }
.week span.booked::after { content: "Year one · 6 channels"; position: absolute; left: 6px; right: 6px; bottom: 6px; background: var(--ink); color: #fff; border-radius: 4px; font-size: 10.5px; font-weight: 500; padding: 3px 5px; white-space: nowrap; overflow: hidden; animation: drop 600ms var(--ease) both; }

/* Listing health */
.lh { padding: var(--s4); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.lh-top { display: flex; align-items: center; gap: var(--s4); min-width: 0; }
.progress { flex: 1; height: 6px; border-radius: 3px; background: var(--app-3); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); }
.lh-top .mono { color: var(--app-muted); font-size: 12px; min-width: 92px; text-align: right; }
.lh-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lh-kpis div { background: var(--app-2); border-radius: var(--r2); padding: 10px 12px; }
.lh-kpis b { display: block; font: 500 26px/1.1 var(--f); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lh-kpis span { color: var(--app-muted); font-size: 12px; }
.filters { display: flex; align-items: center; gap: 6px; min-width: 0; }
.filters .ui-btn { margin-left: auto; }
.chip { font-size: 12px; padding: 5px 11px; border-radius: var(--r1); border: 1px solid var(--app-line); color: var(--app-muted); transition: background-color .2s, color .2s, transform .12s; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.lh-tbl { table-layout: fixed; }
.lh-tbl td { overflow: hidden; text-overflow: ellipsis; }
.lh-tbl td[data-s="ok"] { color: var(--ok); } .lh-tbl td[data-s="bad"] { color: var(--bad); } .lh-tbl td[data-s="warn"] { color: var(--warn); }
.lh-tbl td.pending { color: var(--app-muted) !important; }
.lh-tbl tr { transition: opacity .3s; }
.lh-tbl tr.faded { opacity: .2; }

/* Booking */
.bb { padding: var(--s4); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.msgs { display: grid; gap: 6px; }
.msg { display: flex; align-items: center; gap: 10px; background: var(--app-2); border: 1px solid var(--app-line); border-radius: var(--r2); padding: 10px 12px; min-width: 0; }
.msg.new { animation: feed-in 600ms var(--ease) both; }
.msg p { color: var(--app-muted); min-width: 0; }
.msg b { color: var(--app-ink); font-weight: 500; margin-right: 4px; }
.msg .parsed { margin-left: auto; display: flex; gap: 4px; flex: none; }
.bb-grid { table-layout: fixed; }
.bb-grid td { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.bb-grid td:first-child { color: var(--app-ink); font-weight: 500; }
.c-ok { color: var(--ok); } .c-bad { color: var(--app-muted); } .c-set { color: var(--ink); font-weight: 500; } .c-warn { color: var(--warn); }
.bb-grid td.flash { animation: flash 900ms var(--ease); }
@keyframes flash { 0% { background: #fff1c9; } 100% { background: transparent; } }
.slot-row { display: flex; align-items: center; justify-content: space-between; background: var(--app-2); border: 1px dashed #d6d6d0; border-radius: var(--r2); padding: 10px 12px; color: var(--app-muted); }
.slot { padding: 6px 12px; border-radius: var(--r1); background: var(--app); border: 1px solid var(--app-line); color: var(--app-muted); font-size: 12.5px; transition: background-color .3s, color .3s; }
.slot.filled { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 500; }
.drag { position: absolute; left: 0; top: 0; z-index: 18; background: var(--ink); color: #fff; border-radius: var(--r1); padding: 6px 12px; font-size: 12.5px; font-weight: 500; pointer-events: none; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); transition: transform 760ms cubic-bezier(.45, .05, .25, 1); }

/* Reviews */
.rd { padding: var(--s4); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); min-height: 420px; align-content: start; }
.revs { display: grid; gap: 6px; align-content: start; grid-row: span 2; }
.rev { display: grid; grid-template-columns: 15px auto minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 10px 12px; background: var(--app); border: 1px solid var(--app-line); border-radius: var(--r2); transition: border-color .2s, transform .12s; }
.rev.new { animation: feed-in 600ms var(--ease) both; }
.rev.sel { border-color: var(--ink); }
.rev .stars { color: #d99a00; font-size: 12px; letter-spacing: 1px; }
.rev p { grid-column: 1 / 4; color: var(--app-muted); font-size: 12.5px; }
.rev .pill { grid-column: 3; grid-row: 1; justify-self: end; }
.reply { background: var(--app-2); border: 1px solid var(--app-line); border-radius: var(--r2); padding: var(--s4); min-height: 200px; display: flex; flex-direction: column; }
.reply-label { font-size: 12px; color: var(--app-muted); }
.reply-text { margin: var(--s3) 0; flex: 1; font-size: 13px; }
.reply-actions { display: flex; gap: 6px; justify-content: flex-end; }
.wa { background: #f2faf5; border: 1px solid #d5eddf; border-radius: var(--r2); padding: var(--s3); opacity: .35; transition: opacity .5s; }
.wa.on { opacity: 1; }
.wa-head { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--app-muted); }
.wa-bubble { margin-top: 8px; background: #d9f6e4; border-radius: 4px 12px 12px 12px; padding: 9px 11px; font-size: 12.5px; }
.wa-bubble b { font-weight: 500; }

/* Clips */
.cs { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: var(--s4); padding: var(--s4); }
.cs-main { display: grid; gap: var(--s3); align-content: start; min-width: 0; }
.cs-top { display: flex; align-items: center; gap: var(--s3); }
.cs-top .mono { color: var(--app-muted); font-size: 12px; margin-left: auto; }
.wave { position: relative; height: 92px; border-radius: var(--r2); background-color: var(--app-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='92' viewBox='0 0 152 92'%3E%3Cg fill='%23c5c7cc'%3E%3Crect x='4' y='36' width='3' height='20'/%3E%3Crect x='12' y='26' width='3' height='40'/%3E%3Crect x='20' y='32' width='3' height='28'/%3E%3Crect x='28' y='18' width='3' height='56'/%3E%3Crect x='36' y='30' width='3' height='32'/%3E%3Crect x='44' y='38' width='3' height='16'/%3E%3Crect x='52' y='22' width='3' height='48'/%3E%3Crect x='60' y='12' width='3' height='68'/%3E%3Crect x='68' y='28' width='3' height='36'/%3E%3Crect x='76' y='34' width='3' height='24'/%3E%3Crect x='84' y='20' width='3' height='52'/%3E%3Crect x='92' y='30' width='3' height='32'/%3E%3Crect x='100' y='40' width='3' height='12'/%3E%3Crect x='108' y='24' width='3' height='44'/%3E%3Crect x='116' y='16' width='3' height='60'/%3E%3Crect x='124' y='32' width='3' height='28'/%3E%3Crect x='132' y='26' width='3' height='40'/%3E%3Crect x='140' y='36' width='3' height='20'/%3E%3C/g%3E%3C/svg%3E"); background-size: 152px 92px; background-repeat: repeat-x; overflow: hidden; }
.wave .seg { position: absolute; top: 0; bottom: 0; background: rgba(36, 83, 214, .14); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); animation: grow 500ms var(--ease) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--ink); }
.clips { display: grid; gap: 6px; }
.clip { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--app); border: 1px solid var(--app-line); border-radius: var(--r2); padding: 10px 12px; position: relative; overflow: hidden; }
.clip b { font-weight: 400; color: var(--app-muted); font-size: 12px; }
.clip span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.clip .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--ink); width: 0; }
.phone { border-radius: 26px; background: #111; padding: 7px; align-self: center; }
.phone-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #d9d4cc 0%, #b9b2a7 100%); }
.speaker { position: absolute; left: 50%; top: 22%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 40%, #8a7766 0 30%, #6b5a4b 31% 100%); animation: talk 3.2s ease-in-out infinite; }
@keyframes talk { 50% { transform: translateX(-50%) translateY(-3px) rotate(2deg); } }
.speaker::after { content: ""; position: absolute; left: -38%; right: -38%; top: 92%; height: 140%; border-radius: 50% 50% 0 0; background: #3c4250; }
.cap { position: absolute; left: 8px; right: 8px; bottom: 22%; text-align: center; font: 600 15px/1.25 var(--f); color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.cap span.on { color: #ffd23f; }

/* ---------- assessment ---------- */
.assess-sec { padding: var(--s10) 0; border-top: 1px solid var(--line); }
.assess { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r4); padding: var(--s7); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.assess-form label { display: block; font-weight: 500; margin-bottom: var(--s3); }
.assess-row { display: flex; gap: var(--s3); }
input[type="text"], input[type="email"], textarea { width: 100%; min-width: 0; font: 400 17px var(--f); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r2); padding: 13px 14px; transition: border-color .16s; }
input::placeholder, textarea::placeholder { color: #a3a3a0; }
input:focus, textarea:focus { outline: none; border-color: #9d9d98; }
.assess-row input { flex: 1; min-height: 52px; font-size: 18px; background: var(--bg); }
.assess-row .btn { min-height: 52px; }
.form-error { color: var(--bad); margin-top: var(--s3); font-size: 15px; }
.form-ok { color: var(--ok); margin-top: var(--s3); font-size: 15px; }

/* guided questions while the scan runs */
.quiz { margin-top: var(--s6); display: grid; gap: var(--s7); }
.quiz.enter { animation: enter 500ms var(--ease) both; }
.scanbar { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.scanbar .track { flex: 1; height: 4px; background: var(--bg-3); border-radius: 2px; overflow: hidden; }
.scanbar .track i { display: block; height: 100%; width: 4%; background: var(--ink); transition: width .6s var(--ease); }
.scanbar b { color: var(--ink); font-weight: 500; }
.q-n { font: 400 13px var(--f-mono); color: var(--soft); }
.q h3 { font-size: 24px; letter-spacing: -0.03em; margin-top: 6px; }
.q p { color: var(--muted); margin-top: 4px; font-size: 15px; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.qchip { font: 500 15px var(--f); min-height: 44px; padding: 0 16px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); cursor: pointer; transition: background-color .16s, border-color .16s, color .16s; }
.qchip:hover { border-color: #b9b9b3; }
.qchip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.quiz-foot { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; padding-top: var(--s5); border-top: 1px solid var(--line); }
.quiz-foot .fine { margin: 0; }

/* report */
.report { margin-top: var(--s6); scroll-margin-top: calc(var(--nav) + 24px); }
.report.enter { animation: enter 600ms var(--ease) both; }
.report-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: center; }
.score-num { font: 500 clamp(88px, 10vw, 136px)/.9 var(--f); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.score-of { font: 500 26px var(--f); color: var(--soft); margin-left: 6px; letter-spacing: -0.02em; }
.score-host { color: var(--muted); margin-top: var(--s3); }
.dims { display: grid; gap: 14px; }
.dim { display: grid; grid-template-columns: 150px minmax(0, 1fr) 36px; gap: var(--s4); align-items: center; font-size: 15px; }
.dim .bar { height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.dim .bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--ink); transition: width 1000ms var(--ease); }
.dim .bar i.low { background: var(--accent); }
.dim b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.rank { margin-top: var(--s7); }
.rank-line { font-size: 19px; letter-spacing: -0.01em; max-width: 70ch; }
.rank-line b { font-weight: 600; }
.tiers { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tiers li { position: relative; padding: 14px 16px 16px; border-radius: var(--r2); background: var(--bg); border: 1px solid var(--line); display: grid; gap: 2px; transition: background-color .4s, color .4s, border-color .4s; }
.tiers b { font-weight: 500; font-size: 16px; }
.tiers span { font: 400 12.5px var(--f-mono); color: var(--muted); }
.tiers em { font-style: normal; font-size: 13px; color: var(--muted); margin-top: 6px; }
.tiers li.here { background: var(--ink); border-color: var(--ink); color: #fff; }
.tiers li.here span, .tiers li.here em { color: #c9c9c9; }
.tiers li.here::after { content: "You are here"; position: absolute; top: 14px; right: 14px; font-size: 11.5px; font-weight: 500; color: #fff; }
.tiers li.next { border-color: var(--ink); border-style: dashed; }
.summary { margin-top: var(--s6); font-size: 18px; max-width: 70ch; }
.stack { margin-top: var(--s3); color: var(--muted); font-size: 15px; }
.opps-h { margin-top: var(--s7); font-size: 26px; letter-spacing: -0.03em; }
.opps { list-style: none; padding: 0; margin: var(--s4) 0 0; counter-reset: o; }
.opps li { counter-increment: o; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px var(--s4); padding: var(--s5) 0; border-top: 1px solid var(--line); }
.opps li::before { content: counter(o, decimal-leading-zero); font: 400 14px var(--f-mono); color: var(--soft); padding-top: 4px; }
.opps h4 { font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; }
.opps p { color: var(--muted); margin-top: 6px; font-size: 15.5px; max-width: 70ch; }
.opps .sys-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: #c9c9c3; text-underline-offset: 3px; transition: text-decoration-color .18s; }
.opps .sys-link:hover { text-decoration-color: var(--ink); }
.tag { align-self: start; font-size: 12.5px; padding: 5px 10px; border-radius: 5px; background: var(--bg-3); color: var(--muted); white-space: nowrap; }
.tag.quick { background: var(--ok-bg); color: var(--ok); }
.tag.you { background: var(--accent-soft); color: #1A3FAA; }
.platform { margin-top: var(--s7); background: var(--ink); color: #fff; border-radius: var(--r4); padding: var(--s6); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s7); }
.platform h3 { font-size: 28px; letter-spacing: -0.03em; }
.platform > div > p { color: #bdbdbd; margin-top: var(--s3); }
.modules { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; align-content: start; }
.modules li { background: #1b1b1b; border: 1px solid #2c2c2c; border-radius: var(--r2); padding: 12px 14px; }
.modules b { font-weight: 500; display: block; }
.modules span { color: #b5b5b5; font-size: 14px; }
.replaces { margin-top: var(--s5); font-size: 15px; color: #bdbdbd; }
.replaces s { color: #fff; text-decoration-color: var(--accent); text-decoration-thickness: 2px; margin-right: 10px; }
.lead { margin-top: var(--s7); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r3); padding: var(--s6); }
.lead h3 { font-size: 26px; letter-spacing: -0.03em; }
.lead p { color: var(--muted); margin-top: var(--s3); }
.lead-fields { display: grid; gap: var(--s3); }
.lead label, .contact-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }

/* ---------- process ---------- */
.process { padding: var(--s10) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.process h2 { max-width: 18ch; }
.phases { list-style: none; padding: 0; margin: var(--s8) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.phases li { padding: var(--s5) var(--s5) var(--s5) 0; }
.phases li + li { padding-left: var(--s5); border-left: 1px solid var(--line); }
.ph-n { font: 400 13px var(--f-mono); color: var(--soft); }
.phases h3 { font-size: 26px; margin: var(--s6) 0 var(--s3); }
.phases p { color: var(--muted); font-size: 15.5px; }
.who { margin: var(--s8) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.who div { border-top: 1px solid var(--line); padding-top: var(--s4); }
.who dt { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.who dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- contact + footer ---------- */
.contact { padding: var(--s10) 0; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.contact-grid > div > p { color: var(--muted); font-size: 18px; margin-top: var(--s5); max-width: 40ch; }
.contact-form { display: grid; gap: var(--s4); }
.contact-form .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
.contact-form .btn { justify-self: start; }
.foot { border-top: 1px solid var(--line); padding: var(--s6) 0; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); }
.foot-credit { margin-left: auto; font-size: 12.5px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cr { grid-template-columns: 200px minmax(0, 1fr); }
  .cr-stats { display: none; }
  .sys-grid, .sys.flip .sys-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .sys.flip .sys-copy { order: 0; }
  .sys-copy > p:not(.kicker) { max-width: 60ch; }
  .sys { min-height: 0; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .room-head, .assess-head, .fit-head, .report-top, .lead, .contact-grid, .compare, .platform { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .cr { grid-template-columns: minmax(0, 1fr); }
  .cr-systems { display: none; }
  .phases, .who, .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-copy { max-width: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --nav: 58px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding: var(--s7) 0 var(--s5); min-height: 0; }
  .headline { font-size: clamp(38px, 11vw, 52px); }
  .sub { font-size: 17px; }
  .scan-row { flex-direction: column; padding: 8px; }
  .scan-row input { min-height: 46px; }
  .compare > div, .platform { padding: var(--s5); }
  .sys { padding: var(--s8) 0; }
  .runs li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .app { font-size: 12.5px; }
  .os { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .view[data-view="inbox"] { grid-template-columns: minmax(0, 1fr); }
  .detail { min-height: 0; }
  .empty { min-height: 80px; }
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col { min-height: 150px; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch:nth-child(n+5) { display: none; }
  .ce-foot { flex-direction: column; align-items: stretch; }
  .lh-kpis b { font-size: 22px; }
  .filters .chip:nth-child(3) { display: none; }
  .tbl { font-size: 12px; } .tbl th, .tbl td { padding: 8px 6px; }
  .os .tbl td:nth-child(5), .os .tbl th:nth-child(5) { display: none; }
  .bb-grid th:first-child, .bb-grid td:first-child { width: 22%; }
  .rd { grid-template-columns: minmax(0, 1fr); }
  .revs { grid-row: auto; }
  .cs { grid-template-columns: minmax(0, 1fr); }
  .phone { width: 170px; justify-self: center; }
  .assess { padding: var(--s5); }
  .assess-row { flex-direction: column; }
  .dim { grid-template-columns: 120px minmax(0, 1fr) 30px; font-size: 14px; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .opps li { grid-template-columns: 30px minmax(0, 1fr); }
  .opps .tag { grid-column: 2; justify-self: start; }
  .lead { padding: var(--s5); }
  .phases, .who, .contact-form .two { grid-template-columns: minmax(0, 1fr); }
  .phases li, .phases li + li { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .phases h3 { margin-top: var(--s3); }
  .foot-credit { margin-left: 0; }
  .feed li { grid-template-columns: 18px minmax(0, 1fr); }
  .feed li time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .anim, .headline .c { animation: none !important; opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}


/* ---------- hero 3D object ---------- */
.hero-visual { position: relative; height: min(68vh, 620px); min-height: 360px; --r: 180px; }
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-visual::after { content: ""; position: absolute; left: 50%; top: calc(50% + var(--r) * 1.06); width: calc(var(--r) * 1.5); height: calc(var(--r) * .16); transform: translateX(calc(-50% + var(--mx, 0px) * .6)); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0)); filter: blur(6px); z-index: -1; }
.hero-visual:not(.ready)::before, .hero-visual.no-gl::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 72% 38%, #5a5a5a 0, #1a1a1a 38%, #0b0b0b 70%); }

/* ---------- Apple pass on the app windows ---------- */
.app { --blue: #2453D6; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", system-ui, sans-serif; font-size: 13px; letter-spacing: -0.006em; border-radius: 14px; border: 0; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .04), 0 28px 64px -18px rgba(0, 0, 0, .22); -webkit-font-smoothing: antialiased; }
.app-bar { position: relative; justify-content: center; height: 46px; background: linear-gradient(#fbfbfa, #f4f4f2); border-bottom: .5px solid rgba(0, 0, 0, .12); }
.app-title { font-weight: 600; font-size: 13px; color: #3a3a3c; }
.app-pause { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; border: .5px solid rgba(0, 0, 0, .16); background: #fff; border-radius: 6px; color: #3a3a3c; font-family: inherit; font-size: 12px; min-height: 24px; padding: 2px 10px; box-shadow: 0 .5px 1px rgba(0, 0, 0, .08); }
.app-body, .cr { background: #fff; }
.side, .cr-systems { background: #f5f5f4; border-right: .5px solid rgba(0, 0, 0, .1); padding: 12px 10px; }
.side-i, .cr-systems li { border-radius: 7px; color: #3a3a3c; padding: 7px 10px; }
.side-i.on, .cr-systems li.hit { background: rgba(0, 0, 0, .07); box-shadow: none; color: #1d1d1f; font-weight: 500; }
.side-i em { background: var(--blue); border-radius: 10px; padding: 1px 7px; font-weight: 600; }
.view, .ce, .lh, .bb, .rd, .cs { padding: 18px; }
.mail, .feed li, .ch, .msg, .rev, .clip, .card-s, .triage div, .lh-kpis div, .detail, .reply, .col, .week span, .brief { border: .5px solid rgba(0, 0, 0, .1); border-radius: 10px; box-shadow: none; }
.mail, .feed li, .ch, .rev, .clip, .card-s { background: #fff; }
.detail, .reply, .col, .lh-kpis div, .week span, .brief, .msg { background: #f7f7f6; }
.mail.sel, .rev.sel, .card-s.fresh { border-color: transparent; box-shadow: 0 0 0 2px var(--blue); }
.ch.done { border-color: rgba(52, 199, 89, .5); }
.pill { border-radius: 6px; font-weight: 500; font-size: 11px; padding: 4px 8px; }
.pill.ok { background: rgba(52, 199, 89, .14); color: #1A7F4B; }
.pill.warn { background: #F3EFD9; color: #8A6D00; }
.pill.bad { background: rgba(255, 59, 48, .12); color: #C0262D; }
.pill.info, .pill.run { background: rgba(36, 83, 214, .1); color: #1A3FAA; }
.ui-btn { font-family: inherit; border-radius: 7px; border: .5px solid rgba(0, 0, 0, .16); background: #fff; box-shadow: 0 .5px 1px rgba(0, 0, 0, .08); padding: 6px 12px; font-weight: 500; }
.ui-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 .5px 1px rgba(0, 0, 0, .12); }
.chip { border-radius: 7px; border: .5px solid rgba(0, 0, 0, .14); color: #3a3a3c; }
.chip.on { background: #1d1d1f; border-color: #1d1d1f; }
.pressed { transform: scale(.97); box-shadow: 0 0 0 3px rgba(36, 83, 214, .25) !important; }
.tbl th { font-size: 11.5px; color: #86868b; font-weight: 500; border-bottom: .5px solid rgba(0, 0, 0, .12); }
.tbl td { border-bottom: .5px solid rgba(0, 0, 0, .07); padding: 10px; }
.progress { height: 5px; background: rgba(0, 0, 0, .07); } .progress i { background: var(--blue); }
.lh-kpis b, .stat b { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Geist", sans-serif; font-weight: 600; letter-spacing: -0.02em; }
.typing::after { background: var(--blue); }
.week span.booked::after { background: var(--blue); border-radius: 5px; }
.slot.filled, .drag { background: var(--blue); border-color: var(--blue); }
.wave .seg { background: rgba(36, 83, 214, .12); border-color: var(--blue); }
.playhead, .clip .bar { background: var(--blue); }
.cap span.on { color: #ffd60a; }
.c-set { color: var(--blue); }
.toasts { right: 16px; bottom: 16px; }
.toast { background: rgba(255, 255, 255, .94); color: #1d1d1f; border-radius: 12px; padding: 11px 14px; font-weight: 500; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 10px 30px -8px rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); }
.cr-feed-head .mono, .feed time, .mail time, .clip b, .lh-top .mono, .cs-top .mono { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; font-variant-numeric: tabular-nums; }
.spark { color: var(--blue); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { height: 340px; min-height: 0; order: 2; }
}


/* ---------- hero: headline chip, watch button, work-card column ---------- */
.headline .hchip { display: inline-grid; place-items: center; width: .82em; height: .82em; border-radius: .2em; background: var(--accent); color: #fff; vertical-align: -.06em; margin: 0 .04em; transform: scale(.6) rotate(-8deg); opacity: 0; animation: chip-in .6s var(--ease) forwards; animation-delay: var(--cd, .3s); }
.headline .hchip svg { width: 52%; height: 52%; }
@keyframes chip-in { to { transform: none; opacity: 1; } }
.watch { margin-top: var(--s5); gap: 10px; }
.watch svg { flex: none; }
.hero { padding-top: 0; padding-bottom: var(--s6); }
.hero-grid { align-items: stretch; }
.hero-copy { align-self: center; padding: var(--s8) 0 var(--s4); }
.hero-visual { height: auto; min-height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 84%, transparent 100%); }
.stack-tilt { position: absolute; inset: -40px 0 0 0; display: flex; justify-content: flex-end; padding-right: 9%; transform: perspective(1400px) rotateX(8deg) rotateY(-10deg) rotateZ(-3deg); transform-origin: 70% 30%; }
.stack { width: min(360px, 100%); display: grid; gap: 18px; align-content: start; }
.stack.moving { animation: drift 46s linear infinite; }
.stack.paused, .hero-visual:hover .stack { animation-play-state: paused; }
@keyframes drift { to { transform: translateY(calc(-50% - 9px)); } }
.day { background: #fff; border-radius: 14px; padding: 14px 16px 6px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -22px rgba(0, 0, 0, .25); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--f); }
.day:nth-child(odd) { margin-left: 26px; margin-right: -26px; }
.day header { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8a8a8e; padding-bottom: 6px; }
.day ul { list-style: none; margin: 0; padding: 0; }
.day li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.day li + li { border-top: .5px solid rgba(0, 0, 0, .08); }
.day .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f4f4f2; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); flex: none; }
.day b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #1d1d1f; }
.day li span:not(.av) { font-size: 12.5px; color: #86868b; }
.stack-pause { position: absolute; right: 8px; bottom: 10px; z-index: 2; font: 500 12.5px var(--f); color: var(--muted); background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: var(--r1); padding: 5px 10px; cursor: pointer; }
.stack-pause:hover { color: var(--ink); }
.orb-box { position: relative; height: 340px; margin-top: var(--s6); --r: 110px; }
.orb-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.orb-box::after { content: ""; position: absolute; left: 50%; top: calc(50% + var(--r) * 1.06); width: calc(var(--r) * 1.5); height: calc(var(--r) * .16); transform: translateX(calc(-50% + var(--mx, 0px) * .6)); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0)); filter: blur(6px); z-index: -1; }
@media (max-width: 900px) {
  .hero-copy { padding: var(--s7) 0 0; }
  .hero-visual { min-height: 0; height: 420px; }
  .stack-tilt { justify-content: center; padding-right: 0; transform: perspective(1400px) rotateX(8deg) rotateZ(-2deg); }
  .day:nth-child(odd) { margin: 0; }
  .stack { width: min(330px, 92%); }
}

.hero-visual::before, .hero-visual::after { content: none !important; }
.orb-box:not(.ready)::before, .orb-box.no-gl::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 72% 38%, #5a5a5a 0, #1a1a1a 38%, #0b0b0b 70%); }


/* ---------- hero: the platform, live ---------- */
.hero-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: var(--s7); }
.hero-live { position: relative; min-height: 0; height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; align-self: center; padding: var(--s7) 0 var(--s8); }
.app-xl { font-size: 13px; }
.hx { display: grid; grid-template-columns: 158px minmax(0, 1fr); height: 470px; overflow: hidden; }
.hx .side { display: flex; flex-direction: column; gap: 2px; }
.side-stat { margin-top: auto; padding: 10px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); }
.side-stat span { display: block; font-size: 11px; color: #86868b; }
.side-stat b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hx-main { display: flex; flex-direction: column; min-width: 0; }
.ask { display: flex; align-items: center; gap: 10px; margin: 14px 18px 0; padding: 10px 12px; border-radius: 10px; background: #f4f4f2; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); color: #86868b; transition: background-color .25s, box-shadow .25s, color .25s; }
.ask svg { color: #b0b0b5; flex: none; transition: color .25s; }
.ask-input { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask kbd { font: 500 11px -apple-system, BlinkMacSystemFont, sans-serif; color: #86868b; background: #fff; border-radius: 5px; padding: 2px 6px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.ask.on { background: #fff; color: #1d1d1f; box-shadow: 0 0 0 2px var(--blue), 0 8px 24px -10px rgba(36, 83, 214, .45); }
.ask.on svg { color: var(--blue); }
.ask.run svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hx .view { flex: 1; min-height: 0; padding-top: 14px; }
.hx .view[data-view="inbox"] { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.hx .view[data-view="listings"], .hx .view[data-view="content"] { display: grid; gap: 12px; align-content: start; }
.hx .detail { min-height: 0; }
.hx .empty { min-height: 260px; }
.hx-ch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-ch .ch { min-height: 120px; }
.hx-approve { justify-self: start; }
.hx tr.flash td { animation: flash 900ms var(--ease); }
.mail.new { animation: feed-in 600ms var(--ease) both; }

.fly { position: absolute; left: -56px; bottom: 6px; width: 300px; z-index: 6; display: grid; gap: 8px; pointer-events: none; }
.fly-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255, 255, 255, .96); border-radius: 14px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--f); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 18px 40px -16px rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); animation: fly-in .55s cubic-bezier(.2, 1.3, .4, 1) both; opacity: calc(1 - var(--i, 0) * .22); transform: scale(calc(1 - var(--i, 0) * .04)); transform-origin: bottom left; transition: opacity .35s, transform .35s; }
.fly-card.gone { opacity: 0 !important; transform: translateY(8px) scale(.9) !important; }
.fly-card .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f4f4f2; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); flex: none; }
.fly-card div { min-width: 0; flex: 1; }
.fly-card b { display: block; font-size: 13.5px; font-weight: 600; color: #1d1d1f; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fly-card span:not(.av) { font-size: 12px; color: #86868b; }
.fly-card time { font-size: 11px; color: #a1a1a6; align-self: flex-start; }
@keyframes fly-in { from { opacity: 0; transform: translateY(18px) scale(.92); } }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-live { padding: 0 0 var(--s8); }
  .fly { left: 12px; bottom: 12px; }
}
@media (max-width: 720px) {
  .hx { grid-template-columns: minmax(0, 1fr); height: 430px; }
  .hx .side { display: none; }
  .hx .view[data-view="inbox"] { grid-template-columns: minmax(0, 1fr); }
  .hx .empty { min-height: 60px; }
  .hx-ch { grid-template-columns: minmax(0, 1fr); }
  .hx-ch .ch { min-height: 0; }
  .hx .tbl td:nth-child(2), .hx .tbl th:nth-child(2) { display: none; }
  .ask kbd { display: none; }
  .fly { width: calc(100% - 24px); left: 12px; bottom: 0; transform: translateY(40%); }
  .hero-live { padding-bottom: var(--s9); }
}

.bar-stat { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #86868b; font-variant-numeric: tabular-nums; }
.bar-stat b { color: #1d1d1f; font-weight: 600; }
.fly { left: -28px; bottom: 30px; width: 290px; }
@media (max-width: 1100px) { .fly { left: 12px; bottom: 30px; } }
@media (max-width: 720px) { .bar-stat { display: none; } .fly { width: calc(100% - 24px); left: 12px; bottom: 0; } }

.hero-live { padding-bottom: 116px; }
.fly { bottom: 0; left: -32px; }
@media (max-width: 1100px) { .fly { left: 12px; bottom: 0; } }
@media (max-width: 720px) { .hero-live { padding-bottom: 130px; } .fly { transform: none; } }


/* ---------- nav: segmented control ---------- */
.nav { background: rgba(247, 247, 245, .86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: .5px solid rgba(0, 0, 0, .1); }
.nav-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s5); }
.nav-row .wordmark { justify-self: start; }
.seg { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 11px; background: rgba(0, 0, 0, .05); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .05); }
.seg a { position: relative; z-index: 1; padding: 7px 15px; border-radius: 8px; font: 500 14px/1.2 var(--f); letter-spacing: -0.01em; color: #5b5b60; text-decoration: none; white-space: nowrap; transition: color .2s; }
.seg a:hover { color: #1d1d1f; }
.seg a.on { color: #1d1d1f; }
.seg a:focus-visible { outline-offset: 0; }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 8px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 .5px rgba(0, 0, 0, .06); opacity: 0; transition: transform .38s var(--ease), width .38s var(--ease), opacity .2s; }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-end .btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: .5px solid rgba(0, 0, 0, .14); background: #fff; cursor: pointer; padding: 0; position: relative; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 1px; background: #1d1d1f; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 22px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.m-menu { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); display: grid; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 24px 48px -16px rgba(0, 0, 0, .3); animation: menu-in .32s var(--ease) both; }
.m-menu a:not(.btn) { padding: 14px 12px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: #1d1d1f; text-decoration: none; border-radius: 10px; }
.m-menu a:not(.btn):hover { background: #f4f4f2; }
.m-menu a:not(.btn) + a:not(.btn) { border-top: .5px solid rgba(0, 0, 0, .08); }
.m-menu .btn { margin-top: 8px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@media (max-width: 900px) { .seg a { padding: 7px 11px; font-size: 13.5px; } }
@media (max-width: 720px) {
  .nav-row { grid-template-columns: 1fr auto; }
  .seg { display: none; }
  .menu-btn { display: block; }
  .nav-end .btn-sm { display: none; }
}


/* ---------- mobile menu fixes ---------- */
.m-menu .btn { margin: 8px 0 0 !important; width: 100%; min-height: 50px; }
body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(20, 20, 20, .18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; } }

/* ================= Apps v2: Apple-grade UI ================= */
.app { --tint: #2453D6; font-size: 13.5px; }
.app-title { display: inline-flex; align-items: center; gap: 8px; }
.app-icon { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 78%, #fff), var(--tint)); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .12); flex: none; }
.app-icon .ai { width: 12px; height: 12px; stroke-width: 2.2; }
.app-bar { height: 48px; }

/* sidebar, Mail style */
.side, .cr-systems { background: #f2f2f0; padding: 14px 10px; }
.side-i, .cr-systems li { display: flex; align-items: center; gap: 9px; padding: 7px 10px; font-size: 13.5px; font-weight: 500; color: #3a3a3c; }
.side-i .si, .cr-systems li .si { width: 16px; height: 16px; color: #2453D6; flex: none; }
.side-i em { margin-left: auto; }
.side-i.on { background: rgba(0, 0, 0, .08); }
.cr-systems li em { margin-left: auto; }

/* contact avatars + mail list */
.avt { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 600 12px/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .02em; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 70%, #fff), var(--tint)); }
.mail { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 12px; border-radius: 10px; border: 0 !important; box-shadow: none !important; background: transparent; transition: background-color .2s, color .2s; }
.mail .avt { grid-row: span 2; }
.mail b { font-size: 13.5px; font-weight: 600; color: #1d1d1f; }
.mail span { grid-column: 2 / 4; font-size: 12.5px; color: #6e6e73; }
.mail + .mail { position: relative; }
.mail + .mail::before { content: ""; position: absolute; left: 56px; right: 12px; top: 0; height: .5px; background: rgba(0, 0, 0, .08); }
.mail.sel { background: #2453D6; box-shadow: none !important; }
.mail.sel b, .mail.sel span, .mail.sel time { color: #fff; }
.mail.sel::before, .mail.sel + .mail::before { display: none; }
.inbox { gap: 0; }

/* reading pane */
.detail { background: #fff; border: 0 !important; border-left: .5px solid rgba(0, 0, 0, .08) !important; border-radius: 0 !important; padding: 4px 4px 4px 18px; }
.from { font-size: 12.5px; padding-bottom: 10px; border-bottom: .5px solid rgba(0, 0, 0, .08); }
.from b { font-size: 15px; font-weight: 600; display: block; margin-bottom: 2px; }
.quote { font-size: 14px; line-height: 1.5; color: #1d1d1f; margin: 14px 0 16px; }
.triage { gap: 8px; }
.triage div { background: #f5f5f7 !important; border: 0 !important; border-radius: 10px; padding: 10px 12px; }
.triage dt { font-size: 11px; color: #86868b; font-weight: 500; }
.triage dd { font-size: 14px; font-weight: 600; color: #1d1d1f; }

/* tables, Finder style */
.tbl { font-size: 13px; }
.tbl th { padding: 8px 12px; background: #fafaf9; font-weight: 500; color: #86868b; }
.tbl td { padding: 11px 12px; border-bottom: 0; color: #1d1d1f; }
.tbl tbody tr:nth-child(even) td { background: #f7f7f5; }
.tbl td:first-child { font-weight: 500; }
.lh-tbl td[data-s="ok"] { color: #1A7F4B; } .lh-tbl td[data-s="bad"] { color: #C0262D; } .lh-tbl td[data-s="warn"] { color: #8A6D00; }

/* numbers */
.lh-kpis { gap: 10px; }
.lh-kpis div { background: #fff !important; border: 0 !important; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .04) !important; border-radius: 12px; padding: 12px 14px; }
.lh-kpis b { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.lh-kpis span { font-size: 12px; color: #86868b; }
.lh-kpis div:first-child b { color: #C0262D; }
.progress { height: 6px; border-radius: 3px; }

/* content engine cards */
.ch { background: #fff !important; border: 0 !important; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .04) !important; border-radius: 12px; padding: 12px 14px; }
.ch.done { box-shadow: 0 0 0 1.5px rgba(52, 199, 89, .55) !important; }
.ch header { font-size: 13px; font-weight: 600; gap: 9px; }
.ch header .ic { width: 26px; height: 26px; padding: 6px; border-radius: 8px; box-sizing: border-box; -webkit-mask: none; mask: none; background: color-mix(in srgb, var(--c) 12%, #fff); position: relative; }
.ch header .ic::after { content: ""; position: absolute; inset: 6px; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ch p { font-size: 13px; line-height: 1.45; color: #3a3a3c; margin-top: 10px; }
.brief { background: #fff !important; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .04); border: 0 !important; border-radius: 12px; padding: 8px 8px 8px 14px; }
.brief-label { font-weight: 500; }
.brief-input { font-size: 14px; color: #1d1d1f; }
.week span { background: #fafaf9 !important; border: .5px solid rgba(0, 0, 0, .08) !important; font-weight: 500; }

/* kanban */
.col { background: #f5f5f3 !important; border: 0 !important; border-radius: 12px; }
.col > p { font-weight: 600; color: #3a3a3c; font-size: 12px; }
.card-s { background: #fff !important; border: 0 !important; border-radius: 9px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 1px 3px rgba(0, 0, 0, .06) !important; font-weight: 500; padding: 11px 12px; }
.card-s.fresh { box-shadow: 0 0 0 2px #2453D6, 0 6px 16px -6px rgba(36, 83, 214, .5) !important; }

/* reviews, messages, clips */
.rev, .msg, .clip, .feed li { background: #fff !important; border: 0 !important; border-radius: 12px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .04) !important; }
.rev.sel { box-shadow: 0 0 0 2px #2453D6 !important; }
.rev p, .msg p { color: #3a3a3c; font-size: 13px; }
.reply { background: #fff !important; border: 0 !important; border-left: .5px solid rgba(0, 0, 0, .08) !important; border-radius: 0 !important; }
.reply-text { font-size: 14px; line-height: 1.5; color: #1d1d1f; }
.wave { border-radius: 12px; }

/* AI command bar */
.ask { border-radius: 12px; padding: 11px 14px; font-size: 14px; }
.ask svg { color: #2453D6; }

/* hero app: slightly larger, more breathing room */
.hx .view { padding: 16px 20px 20px; }
.ui-btn { padding: 7px 14px; font-size: 13px; }

.mail .avt { grid-column: 1; grid-row: 1 / span 2; }
.mail b { grid-column: 2; grid-row: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail span:not(.avt) { grid-column: 2 / 4; grid-row: 2; }
.mail time { grid-column: 3; grid-row: 1; }
.side-i, .cr-systems li { justify-content: flex-start; }


/* ================= Assistant ================= */
.ssa { --ink: #111; position: fixed; right: 20px; bottom: 20px; z-index: 60; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--f); }
.ssa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ssa-launch { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 0; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: #f4f4f2; cursor: pointer; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 12px 32px -10px rgba(0, 0, 0, .35); transition: transform .25s var(--ease), box-shadow .25s; margin-left: auto; }
.ssa-launch:hover { transform: translateY(-2px); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 18px 40px -12px rgba(0, 0, 0, .4); }
.ssa-launch:active { transform: translateY(0) scale(.97); }
.ssa-orb { width: 52px; height: 52px; margin: 6px; display: block; }
.ssa.no-gl .ssa-orb { border-radius: 50%; background: radial-gradient(circle at 70% 35%, #5a5a5a 0, #1a1a1a 40%, #0b0b0b 72%); }
.ssa-hint { position: absolute; right: 74px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: #111; color: #fff; font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.ssa-launch:hover .ssa-hint, .ssa-launch:focus-visible .ssa-hint { opacity: 1; transform: translateY(-50%) translateX(-2px); }
.ssa.open .ssa-hint { display: none; }
.ssa-panel { position: absolute; right: 0; bottom: 78px; width: 384px; height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 30px 70px -20px rgba(0, 0, 0, .35); transform-origin: bottom right; animation: ssa-in .32s var(--ease) both; }
@keyframes ssa-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.ssa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: .5px solid rgba(0, 0, 0, .1); background: linear-gradient(#fcfcfb, #f6f6f4); }
.ssa-mini { width: 30px; height: 30px; border-radius: 50%; flex: none; background: radial-gradient(circle at 70% 35%, #6a6a6a 0, #1d1d1d 42%, #0b0b0b 74%); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.ssa.is-thinking .ssa-mini { animation: ssa-breathe 1.1s ease-in-out infinite; }
@keyframes ssa-breathe { 50% { transform: scale(1.06); } }
.ssa-head div { flex: 1; min-width: 0; display: grid; }
.ssa-head b { font-size: 14.5px; font-weight: 600; color: #1d1d1f; letter-spacing: -0.01em; }
.ssa-head div span { font-size: 12px; color: #86868b; }
.ssa-x { width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; color: #6e6e73; cursor: pointer; display: grid; place-items: center; }
.ssa-x:hover { background: rgba(0, 0, 0, .06); color: #1d1d1f; }
.ssa-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; overscroll-behavior: contain; }
.ssa-msg { max-width: 86%; display: grid; gap: 8px; animation: feed-in .3s var(--ease) both; }
.ssa-msg p { margin: 0; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.ssa-msg.bot { align-self: flex-start; }
.ssa-msg.bot p { background: #f2f2f0; color: #1d1d1f; border-bottom-left-radius: 5px; }
.ssa-msg.me { align-self: flex-end; }
.ssa-msg.me p { background: #1d1d1f; color: #fff; border-bottom-right-radius: 5px; }
.ssa-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ssa-typing p { color: #86868b; }
.ssa-chips, .ssa-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.ssa-chips button, .ssa-slots button { font: 500 13px var(--f); color: #1d1d1f; background: #fff; border: .5px solid rgba(0, 0, 0, .18); border-radius: 10px; padding: 8px 11px; cursor: pointer; transition: background-color .15s, border-color .15s; min-height: 36px; }
.ssa-chips button:hover, .ssa-slots button:hover { background: #f4f4f2; border-color: rgba(0, 0, 0, .3); }
.ssa-slots { display: grid; grid-template-columns: 1fr 1fr; }
.ssa-note { padding: 0 2px !important; background: none !important; font-size: 11.5px !important; color: #86868b !important; }
.ssa-card { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .05); font-size: 13px; color: #3a3a3c; }
.ssa-card-k { font-size: 11px; font-weight: 600; color: #86868b; text-transform: uppercase; letter-spacing: .04em; }
.ssa-card b { font-size: 16px; color: #1d1d1f; font-weight: 600; letter-spacing: -0.01em; }
.ssa-score { font-size: 30px !important; letter-spacing: -0.03em !important; }
.ssa-score small { font-size: 14px; color: #86868b; font-weight: 500; }
.ssa-score em { font-style: normal; font-size: 13px; font-weight: 600; color: #1d1d1f; background: #f2f2f0; border-radius: 6px; padding: 3px 8px; vertical-align: 6px; margin-left: 6px; }
.ssa-card ol { margin: 4px 0 6px; padding-left: 18px; display: grid; gap: 3px; }
.ssa-cta { justify-self: start; font: 500 13px var(--f); color: #fff; background: #1d1d1f; border: 0; border-radius: 9px; padding: 9px 13px; cursor: pointer; }
.ssa-cta:hover { background: #333; }
.ssa-form { display: flex; gap: 8px; padding: 10px; border-top: .5px solid rgba(0, 0, 0, .1); background: #fafaf9; }
.ssa-form input { flex: 1; min-width: 0; font: 400 14.5px var(--f); padding: 11px 13px; border-radius: 12px; border: .5px solid rgba(0, 0, 0, .16); background: #fff; color: #1d1d1f; }
.ssa-form input:focus { outline: none; border-color: rgba(0, 0, 0, .4); }
.ssa-form button { width: 42px; border-radius: 12px; border: 0; background: #1d1d1f; color: #fff; cursor: pointer; display: grid; place-items: center; }
.ssa-form button:hover { background: #333; }
@media (max-width: 720px) {
  .ssa { right: 14px; bottom: 14px; }
  .ssa-launch { width: 56px; height: 56px; }
  .ssa-orb { width: 46px; height: 46px; margin: 5px; }
  .ssa-panel { position: fixed; right: 8px; left: 8px; bottom: 80px; width: auto; height: min(70vh, 560px); }
}


/* ================= Palette (researched): ink + cobalt, no orange ================= */
:root {
  --accent: #2453D6; --accent-hover: #1A3FAA; --accent-tint: #E6ECFB; --accent-soft: #E6ECFB;
  --muted: #5E5E5A; --soft: #8E8E89; --line: #E4E4DF;
  --ok: #1A7F4B; --warn: #8A6D00; --bad: #C0262D; --info: #2453D6;
  --ok-bg: #E6F2EB; --warn-bg: #F3EFD9; --bad-bg: #F9E7E8; --info-bg: #E6ECFB;
}
.app { --blue: #2453D6; }
.headline .hchip { background: var(--accent); }
.pill.run, .tag.you { background: var(--accent-tint) !important; color: var(--accent-hover) !important; }
.pill.info { background: var(--accent-tint) !important; color: var(--accent-hover) !important; }
.pill.warn { background: #F3EFD9 !important; color: #8A6D00 !important; }
.pill.bad { background: #F9E7E8 !important; color: #C0262D !important; }
.pill.ok { background: #E6F2EB !important; color: #1A7F4B !important; }
.dim .bar i.low { background: var(--accent); }
.replaces s { text-decoration-color: #9DB4F0; }
.btn-accent { background: var(--ink); color: #fff; }
.btn-accent:hover { background: #2a2a2a; }
:focus-visible { outline-color: var(--accent); }
a:not(.btn):not(.wordmark) { text-underline-offset: 3px; }
.opps .sys-link { color: var(--accent); text-decoration-color: rgba(36, 83, 214, .35); }
.opps .sys-link:hover { text-decoration-color: var(--accent); }
.tiers li.next { border-color: var(--accent); }
.wave .seg { background: rgba(36, 83, 214, .1); border-color: var(--accent); }


/* ---------- FAQ ---------- */
.faq { padding: var(--s10) 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; }
.faq-grid > div:first-child p { color: var(--muted); font-size: 18px; margin: var(--s4) 0 var(--s6); max-width: 36ch; }
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; color: var(--muted); transition: transform .25s var(--ease); }
.qa[open] summary svg { transform: rotate(180deg); }
.qa summary:hover { color: var(--accent); }
.qa p { color: var(--muted); padding: 0 0 22px; max-width: 62ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }


/* ---------- story: the voice of the brand ---------- */
.story { padding: var(--s10) 0; border-top: 1px solid var(--line); background: var(--bg); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: var(--s8); }
.story-k { font-size: 14px; color: var(--muted); padding-top: 14px; }
.story-body h2 { font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -0.045em; line-height: 1; margin-bottom: var(--s7); }
.story-lede { font-size: clamp(21px, 2vw, 28px); line-height: 1.38; letter-spacing: -0.02em; color: var(--soft); max-width: 34ch; }
.story-lede + .story-lede { margin-top: var(--s5); }
.story-lede span { color: var(--ink); }
@media (max-width: 900px) { .story-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } .story-k { padding-top: 0; } }
.story-lede { color: #6B6B66; }

.foot-links { display: flex; gap: var(--s5); }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }


/* ================= Hero, refocused: one thought, one action, the product ================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { min-height: 0; display: block; padding: 112px 0 0; text-align: center; overflow: hidden; }
.hero-grid { display: block; }
.hero-copy { max-width: 880px; margin: 0 auto; padding: 0; align-self: auto; }
.headline { font-size: clamp(44px, 6.2vw, 92px); line-height: .98; letter-spacing: -0.05em; }
.sub { margin: 28px auto 0; max-width: 46ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); }
.hero-scan { margin: 44px auto 0; max-width: 540px; }
.scan-row { padding: 7px; border-radius: 14px; }
.scan-row input { font-size: 17.5px; }
.scan-row .btn { min-height: 48px; padding: 0 22px; border-radius: 10px; }
.hero .fine { text-align: center; margin-top: 14px; font-size: 14px; }
.hero-live { max-width: 1120px; margin: 88px auto 0; padding: 0; text-align: left; }
.hx { height: 520px; }
.bar-stat { display: none; }
.fly { left: auto; right: -26px; bottom: 56px; width: 300px; }
.proof { text-align: center; color: var(--muted); font-size: 15px; padding: 44px 0 72px; max-width: 70ch; margin: 0 auto; }
@media (max-width: 1100px) { .fly { right: 12px; bottom: 16px; } }
@media (max-width: 720px) {
  .hero { padding-top: 64px; }
  .headline { font-size: clamp(38px, 11vw, 52px); }
  .hero-live { margin-top: 56px; padding-bottom: 120px; }
  .hx { height: 440px; }
  .fly { right: auto; left: 12px; bottom: 0; width: calc(100% - 24px); }
  .proof { padding: 8px 0 56px; }
}
.hero-copy { max-width: 1200px; }
.headline { font-size: clamp(44px, 5.6vw, 86px); }
@media (min-width: 900px) { .headline > span { white-space: nowrap; } }


/* ================= Made to measure: serif display, warm paper, one signature colour ================= */
:root { --f-serif: "Newsreader", "Iowan Old Style", Georgia, serif; --bg: #f4f2ec; --bg-3: #ebe8e0; --line: #e2ded4; --midnight: #0B1220; --midnight-ink: #ece8df; }
body { background: var(--bg); }
.nav { background: rgba(244, 242, 236, .86); }
h1, h2 { font-family: var(--f-serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(36px, 4.2vw, 60px); }
.headline { font-family: var(--f-serif); font-weight: 400; font-size: clamp(56px, 8.4vw, 132px); letter-spacing: -0.03em; line-height: .95; }
.headline > span:nth-child(1) { color: var(--ink); }
.headline > span:nth-child(2) { color: #a8a397; }
.headline .who { font-style: normal; color: var(--accent); display: inline-block; }
.headline .who.swap { animation: who-in .45s var(--ease) both; }
@keyframes who-in { from { opacity: 0; transform: translateY(.18em); filter: blur(4px); } }
.sub { max-width: 50ch; }
.story { background: var(--midnight); color: var(--midnight-ink); border-top: 0; padding: 152px 0; }
.story .story-k { color: #9CC9A6; }
.story-body h2 { font-family: var(--f-serif); font-weight: 400; color: #fff; font-size: clamp(44px, 5.4vw, 80px); letter-spacing: -0.025em; }
.story-lede, .story .story-lede { color: rgba(236, 232, 223, .62); font-family: var(--f-serif); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; letter-spacing: -0.01em; }
.story-lede span { color: #fff; }
.compare h3 { font-family: var(--f-serif); font-weight: 400; font-size: 32px; letter-spacing: -0.02em; }
.compare > .ours { background: var(--midnight); border-color: var(--midnight); }
.compare .ours li { border-top-color: rgba(255, 255, 255, .1); }
.process h2, .faq h2, .contact h2, .assess-head h2, .room-head h2, .fit-head h2 { font-family: var(--f-serif); font-weight: 400; }
.sys-copy h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); letter-spacing: -0.02em; line-height: 1.05; }
.phases h3, .who dt { font-family: var(--f-serif); font-weight: 400; letter-spacing: -0.01em; }
.phases h3 { font-size: 30px; }
.score-num { font-family: var(--f-serif); font-weight: 400; letter-spacing: -0.04em; }
.platform { background: var(--midnight); }
.lead { background: #fff; }
@media (max-width: 720px) { .headline { font-size: clamp(52px, 15vw, 72px); } .story { padding: 96px 0; } }
.headline .who { vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.headline > span:first-child { display: block; }
.headline .who { white-space: nowrap; transition: font-size .3s var(--ease); }
.headline .who { vertical-align: baseline !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
.headline .fade-line { animation: reveal .9s var(--ease) both; animation-delay: .05s; opacity: 0; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) { .headline .fade-line { animation: none; opacity: 1; transform: none; } }
@media (max-width: 900px) { .headline .who { display: inline; line-height: inherit; } .headline > span:first-child { line-height: .98; } }


/* ================= Forest palette: mint paper, forest ink, sage blocks ================= */
:root {
  --bg: #F4F6FA; --bg-2: #ffffff; --bg-3: #E9EDF5; --line: #DDE3EE;
  --ink: #0B1220; --muted: #4A5568; --soft: #6B7280;
  --accent: #2453D6; --accent-hover: #1A3FAA; --accent-tint: #E6ECFB; --accent-soft: #E6ECFB;
  --forest: #0B1220; --sage: #E3E9F6; --sage-2: #EDF1F9;
  --midnight: #0B1220; --midnight-ink: #F4F6FA;
}
body { background: var(--bg); color: var(--ink); }
.nav { background: rgba(244, 246, 250, .86); }
h1, h2, h3, .headline, .story-body h2 { color: var(--forest); }
.headline > span:nth-child(1) { color: var(--forest); }
.headline > span:nth-child(2) { color: #5B6475; }
.headline .who { color: var(--accent); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: #050A14; }
.btn-light { border-color: #D5DCE8; }
.wordmark, .wordmark svg { color: var(--forest); }
.seg { background: rgba(11, 18, 32, .06); }
.seg a { color: #4A5568; }
.seg a.on, .seg a:hover { color: var(--forest); }

/* the platform rises out of a sage band, like a subject over a colour block */
.hero { background: linear-gradient(to bottom, var(--bg) 0, var(--bg) calc(100% - 300px), var(--sage) calc(100% - 300px), var(--sage) 100%); }
.hero-live { position: relative; z-index: 1; }
.proof { color: var(--forest); font-weight: 500; padding: 40px 0 64px; }
@media (max-width: 720px) {
  .hero { background: linear-gradient(to bottom, var(--bg) 0, var(--bg) calc(100% - 340px), var(--sage) calc(100% - 340px), var(--sage) 100%); }
}

/* signature section + made to measure in deep forest */
.story { background: var(--forest); }
.story .story-k { color: #9DB4F0; }
.story-body h2, .story-lede span { color: #fff; }
.story-lede, .story .story-lede { color: rgba(244, 246, 250, .66); }
.compare > div:first-child { background: #fff; border-color: var(--line); }
.compare > .ours { background: var(--forest); border-color: var(--forest); }
.compare > .ours h3, .compare > .ours li b { color: #fff; }
.platform { background: var(--forest); }
.platform h3 { color: #fff; }

/* sections alternate between mint and white only where it helps grouping */
.fit, .process, .faq { background: #fff; }
.sys { background: var(--bg); }
.tiers li.here { background: var(--forest); border-color: var(--forest); }
.who div { border-top-color: var(--line); }
.phases { border-top-color: var(--forest); }

/* app windows keep white surfaces; selection and primary actions in forest */
.app { --blue: #2453D6; }
.ssa-msg.me p, .ssa-form button, .ssa-cta { background: var(--forest); }
.ssa-launch { background: #E9EDF5; }
.foot { background: var(--bg); }
.headline > span:nth-child(2) { color: #5B6475; }

/* bold serif display, like the reference */
:root { --f-serif: "DM Serif Display", Georgia, serif; }
h1, h2, .headline, .story-body h2, .compare h3, .phases h3, .who dt, .sys-copy h2, .score-num { font-weight: 400; letter-spacing: -0.015em; }
.headline { font-size: clamp(54px, 7.6vw, 120px); line-height: 1; letter-spacing: -0.02em; }
.story-lede, .story .story-lede { font-family: var(--f); letter-spacing: -0.015em; }


/* ================= Hero card: glass tiles, floating pill nav, marquee ================= */
.hero2 { padding: 24px 0 0; }
.hero-card { position: relative; overflow: hidden; height: min(680px, calc(100svh - 110px)); min-height: 560px; border-radius: 44px; background: #EDF1F7; border: 1px solid rgba(11, 18, 32, .06); box-shadow: 0 40px 100px -24px rgba(11, 18, 32, .08); isolation: isolate; }
.hero-card .tiles { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero-card.no-gl { background: #EDF1F7 radial-gradient(circle at 70% 55%, #2453D6 0 3%, transparent 3.2%); }
.hero-card-copy { position: relative; z-index: 2; max-width: 600px !important; margin: 0 !important; padding: 64px 0 0 64px !important; text-align: left; }
.hero-card .headline { font-size: clamp(46px, 5.4vw, 84px); text-align: left; }
.hero-card .headline > span:first-child { white-space: normal; }
.hero-card .sub { margin: 22px 0 0; max-width: 40ch; text-align: left; font-size: 18px; }
.hero-card .hero-scan { margin: 32px 0 0; max-width: 500px; }
.hero-card .fine { text-align: left !important; }
.pill-nav { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 12px 40px rgba(11, 18, 32, .08); border: 1px solid rgba(11, 18, 32, .06); animation: reveal .8s var(--ease) .35s both; opacity: 0; transform: translateX(-50%) translateY(12px); }
@keyframes pill-in { to { opacity: 1; transform: translateX(-50%); } }
.pill-nav { animation: pill-in .8s var(--ease) .35s both; }
.pill-logo { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1px solid rgba(11, 18, 32, .06); box-shadow: 0 1px 2px rgba(11, 18, 32, .06); margin-right: 4px; }
.pill-link { font: 600 13px var(--f); color: #64748b; text-decoration: none; padding: 9px 14px; border-radius: 999px; transition: color .18s; }
.pill-link:hover { color: var(--ink); }
.pill-cta { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font: 600 13px var(--f); color: var(--ink); text-decoration: none; background: #fff; padding: 9px 16px 9px 18px; border-radius: 999px; border: 1px solid rgba(11, 18, 32, .1); box-shadow: 0 1px 2px rgba(11, 18, 32, .05); transition: border-color .18s, transform .18s var(--ease); }
.pill-cta:hover { border-color: rgba(11, 18, 32, .22); transform: translateY(-1px); }
body.at-hero .seg { opacity: 0; pointer-events: none; }
.seg { transition: opacity .3s; }

.marquee { margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 16px; width: max-content; }
.mq-track.run { animation: mq 46s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(calc(-50% - 8px)); } }
.mq-card { position: relative; height: 84px; width: 150px; flex: none; display: grid; place-items: center; border-radius: 999px; background: #fff; border: 1px solid rgba(11, 18, 32, .08); box-shadow: 0 1px 2px rgba(11, 18, 32, .04); overflow: hidden; transition: border-color .25s; }
.mq-card:hover { border-color: rgba(11, 18, 32, .18); }
.mq-tint { position: absolute; inset: 0; background: var(--c); opacity: 0; transform: scale(1.5); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.mq-card:hover .mq-tint { opacity: 1; transform: scale(1); }
.mq-ic { position: relative; width: 30px; height: 30px; transition: background-color .25s; }
.mq-card:hover .mq-ic { background: #fff; }
.mq-note { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 0; }

.stage { padding: 72px 0 0; background: linear-gradient(to bottom, var(--bg) 0, var(--bg) calc(100% - 300px), #E3E9F6 calc(100% - 300px), #E3E9F6 100%); }
.stage .hero-live { margin-top: 0; }
@media (max-width: 900px) {
  .hero-card { height: auto; min-height: 0; padding-bottom: 300px; border-radius: 32px; }
  .hero-card-copy { padding: 40px 28px 0 !important; }
  .pill-nav { display: none; }
}
@media (max-width: 720px) {
  .hero2 { padding-top: 12px; }
  .hero-card { padding-bottom: 260px; border-radius: 28px; }
  .hero-card-copy { padding: 32px 20px 0 !important; }
  .hero-card .headline { font-size: clamp(44px, 12.5vw, 60px); }
  .mq-card { height: 64px; width: 112px; }
  .mq-ic { width: 24px; height: 24px; }
  .stage { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .pill-nav { animation: none; opacity: 1; transform: translateX(-50%); } }

.hero-card .tiles { -webkit-mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.35) 36%, #000 52%); mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.35) 36%, #000 52%); }
@media (max-width: 900px) { .hero-card .tiles { -webkit-mask-image: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.4) 52%, #000 66%); mask-image: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.4) 52%, #000 66%); } }

/* assistant: AI orb */
.ssa-launch { background: radial-gradient(circle at 50% 40%, #ffffff 0, #e9eefb 70%); box-shadow: 0 0 0 1px rgba(36, 83, 214, .12), 0 16px 36px -12px rgba(36, 83, 214, .45); }
.ssa-launch:hover { box-shadow: 0 0 0 1px rgba(36, 83, 214, .2), 0 20px 44px -12px rgba(36, 83, 214, .55); }
.ssa-mini { background: radial-gradient(circle at 34% 30%, #9db4f0 0, #2453d6 45%, #13308f 100%); box-shadow: 0 2px 8px rgba(36, 83, 214, .4); }
.ssa.no-gl .ssa-orb { background: radial-gradient(circle at 34% 30%, #9db4f0 0, #2453d6 45%, #13308f 100%); }
.ssa-msg.me p, .ssa-form button, .ssa-cta { background: #0B1220; }


/* ---------- guided assessment: step 1 in the hero ---------- */
.hero-card .headline { font-size: clamp(42px, 4.6vw, 72px); line-height: 1.02; }
.hero-card .headline > span:first-child { white-space: normal !important; }
.hero-card-copy { max-width: 640px !important; }
.step-k { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.step-k span:last-child { color: var(--muted); font-weight: 500; }
.step-bar { height: 3px; border-radius: 2px; background: rgba(11, 18, 32, .08); margin-bottom: 12px; overflow: hidden; }
.step-bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.q-n { font: 600 13px var(--f); color: var(--accent); }


/* ---------- playground ---------- */
.pg-sec { padding: var(--s10) 0; border-top: 1px solid var(--line); }
.pg-body { height: 560px; }
.pg .side-i { background: none; border: 0; font: inherit; text-align: left; width: 100%; cursor: pointer; }
.pg .side-i:hover { background: rgba(11, 18, 32, .05); }
.pg .mail { width: 100%; text-align: left; font: inherit; cursor: pointer; border: 0; background: transparent; }
.pg .mail:hover:not(.sel) { background: #f4f6fa; }
.pg-count { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #86868b; }
.pg-count b { color: var(--ink); }
.pg-ask input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 0 !important; font: 400 14px var(--f); color: var(--ink); }
.pg-ask input:focus { outline: none; }
.pg-ask:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.pg-tries { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 18px 0; }
.pg-tries button { font: 500 12px var(--f); color: var(--ink); background: #fff; border: 1px solid rgba(11, 18, 32, .12); border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.pg-tries button:hover { border-color: var(--accent); color: var(--accent); }
.pg .ui-btn { cursor: pointer; }
.pg .ui-btn:disabled { opacity: .6; cursor: progress; }
.pg-act { margin-top: 12px; }
.pg .tbl input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.pg-topic { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 6px 0 !important; font: 400 14px var(--f); }
.pg-topic:focus { outline: none; }
.pg tr.flash td { animation: flash 900ms var(--ease); }
@media (max-width: 720px) { .pg-body { height: auto; min-height: 520px; } .pg-count { display: none; } .pg-tries { margin: 10px 12px 0; } }

.headline .who { display: inline !important; white-space: normal !important; }
.headline .who.swap { animation: who-fade .45s var(--ease) both; }
@keyframes who-fade { from { opacity: 0; } }
.hero-card { height: auto !important; min-height: 640px; padding-bottom: 120px; }
@media (max-width: 900px) { .hero-card { padding-bottom: 300px; } }
@media (max-width: 720px) { .hero-card { padding-bottom: 260px; } }
