/* IMS
   Dark navy with the blue and orange of the IMS identity.
   - Customers are always drawn the same way: small avatars with initials.
   - Problems and fixes are shown as the real software screens they live in.
   - Blue connects the systems and solutions; orange marks opportunities and outcomes.
   - One frame per example, readable type, and one easing curve. */

:root {
  --bg: #050a14;
  --bg-2: #08101d;
  --surface: #0a1424;
  --surface-2: #0e1a2e;
  --stage: #07101d;
  --ui: #111e34;
  --hair: rgba(255, 255, 255, 0.07);
  --hair-2: rgba(255, 255, 255, 0.1);
  --hair-3: rgba(255, 255, 255, 0.16);
  --text: #eef3fa;
  --text-2: #a7b3c4;
  --text-3: #93a2b8;
  --dim: #7f8ca1;
  --blue: #5d9cea;
  --blue-2: #2368c5;
  --blue-soft: #a8cdf5;
  --orange: #f26318;
  --orange-2: #ff8a2a;
  --orange-soft: #ffb68a;
  --green: #3cc98d;
  --display: "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;  }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ol, ul { margin: 0; padding: 0; list-style: none; }
i, em { font-style: normal; }
.mono { font-family: var(--mono); }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.dim { color: var(--dim); }
.ink-blue { color: #80b8ff; }
.ink-orange { color: #ff9b54; }
.lead { max-width: 640px; color: var(--text-2); font-size: 19px; line-height: 1.6; }
.lead strong { color: var(--text); font-weight: 600; }
.micro { color: var(--text-3); font-size: 14px; }
.center { margin-top: 44px; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; font: 700 15.5px/1.2 var(--display); letter-spacing: -0.005em; transition: background 0.25s, border-color 0.25s; }
.btn i { transition: transform 0.4s var(--ease); }
.btn:hover i, .textlink:hover i { transform: translateX(3px); }
.btn--primary { color: #151008; background: var(--orange); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn--primary:hover { background: #ff7329; }
.btn--blue { color: #fff; background: var(--blue-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn--blue:hover { background: #2e72cc; }
.btn--ghost { background: transparent; border-color: var(--hair-3); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.05); }
.btn--sm { padding: 10px 17px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-soft); font-size: 15.5px; font-weight: 600; }
.textlink i { transition: transform 0.4s var(--ease); }
.textlink:hover { color: #d2e8ff; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; height: 72px; border-bottom: 1px solid transparent; transition: background 0.4s, border-color 0.4s; }
.nav.is-scrolled { background: rgba(5, 10, 20, 0.85); backdrop-filter: blur(18px) saturate(150%); border-color: var(--hair); }
.nav__inner { display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 30px; height: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; color: var(--text-2); font-size: 14.5px; }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; width: 40px; height: 40px; padding: 10px; border: 0; background: none; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--text); transition: transform 0.3s; }

/* Hero: one statement on top, the owner's phone in the middle, what the day cost on either side */
.hero { position: relative; padding: 116px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(32% 44% at 50% 68%, rgba(61, 134, 224, 0.17), transparent 72%); }
.hero__head { position: relative; text-align: center; }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -0.04em; line-height: 1.02; }
.hero__sub { max-width: 680px; margin: 18px auto 0; color: var(--text-2); font-size: 19px; text-wrap: balance; }
.hero__stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 64px; margin-top: 40px; }
.hero__side { justify-self: end; width: 300px; }
.hero__act { margin-top: 34px; }
.hero__act .micro { margin-top: 12px; }
.hero__done { margin-top: 12px; }
.hero__done .textlink { display: inline; font-size: 15px; }
.hero__phone { position: relative; --ps: 0.94; width: calc(284px * var(--ps)); height: calc(584px * var(--ps)); margin: 0; }
.hero__fit { width: 284px; height: 584px; transform: scale(var(--ps)); transform-origin: 0 0; }

/* The phone */
.lsp { position: relative; flex: none; width: 284px; height: 584px; padding: 10px; border-radius: 52px; background: linear-gradient(145deg, #2c3546, #0d1118 38%, #1d2430); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 1.5px #04060a, 0 50px 90px -40px rgba(0, 0, 0, 0.95); }
.lsp.buzz { animation: buzz 0.5s linear; }
@keyframes buzz {
  0%, 100% { transform: none; }
  10% { transform: translateX(-3px) rotate(-0.7deg); }
  22% { transform: translateX(3px) rotate(0.7deg); }
  34% { transform: translateX(-3px) rotate(-0.5deg); }
  46% { transform: translateX(3px) rotate(0.5deg); }
  58% { transform: translateX(-2px) rotate(-0.3deg); }
  70% { transform: translateX(2px); }
  82% { transform: translateX(-1px); }
}
.lsp__screen { position: relative; height: 100%; overflow: hidden; border-radius: 43px; background: linear-gradient(180deg, #2a4a7c 0%, #142446 46%, #1b1612 100%); color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.lsp__dusk { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #05070f 0%, #0a0c16 55%, #2a1408 100%); opacity: 0; transition: opacity 1.4s ease; }
.lsp__dim { position: absolute; inset: 0; z-index: 25; background: #000; opacity: 0.38; pointer-events: none; transition: opacity 0.7s ease; }
.lsp.wake .lsp__dim { opacity: 0; transition-duration: 0.12s; }
.lsp__island { position: absolute; top: 11px; left: 50%; z-index: 30; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000; }
.lsp__status { position: absolute; top: 18px; right: 26px; z-index: 2; }
.lsp__icons { display: flex; align-items: flex-end; gap: 3px; }
.lsp__icons i { width: 3px; border-radius: 1px; background: #fff; }
.lsp__icons i:nth-child(1) { height: 5px; }
.lsp__icons i:nth-child(2) { height: 8px; }
.lsp__icons i:nth-child(3) { width: 20px; height: 9px; margin-left: 5px; border-radius: 2.5px; background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 13px 0 0 #fff; }
.lsp__date { position: absolute; top: 60px; left: 0; right: 0; z-index: 2; color: rgba(255, 255, 255, 0.86); font-size: 15px; font-weight: 600; text-align: center; }
.lsp__time { position: absolute; top: 76px; left: 0; right: 0; z-index: 2; color: rgba(255, 255, 255, 0.94); font: 700 76px/1 var(--display); letter-spacing: -0.03em; text-align: center; font-variant-numeric: tabular-nums; }
.lsp__stack { position: absolute; top: 182px; left: 11px; right: 11px; z-index: 2; }
.nt { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(32, 36, 46, 0.74); backdrop-filter: blur(18px) saturate(150%); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1); transform-origin: 50% 0; transition: transform 0.6s var(--ease), opacity 0.45s ease; }
.nt__ic svg { display: block; width: 34px; height: 34px; }
.nt__top { display: flex; align-items: baseline; gap: 6px; }
.nt__top b { flex: 1; font-size: 13px; font-weight: 600; line-height: 1.28; }
.nt__top time { flex: none; color: rgba(255, 255, 255, 0.5); font-size: 11px; }
.nt__m { margin-top: 2px; color: rgba(255, 255, 255, 0.8); font-size: 12.5px; line-height: 1.3; }
.lsp__btn { position: absolute; bottom: 30px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.32); backdrop-filter: blur(10px); }
.lsp__btn--l { left: 34px; }
.lsp__btn--r { right: 34px; }
.lsp__btn::after { content: ""; position: absolute; inset: 15px; border-radius: 4px; border: 1.5px solid rgba(255, 255, 255, 0.85); }
.lsp__btn--l::after { inset: 13px 17px; border-radius: 3px 3px 5px 5px; }
.lsp__home { position: absolute; bottom: 9px; left: 50%; z-index: 2; width: 112px; height: 4px; margin-left: -56px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }

/* What the day cost: the total on the left of the phone, the stages on the right */
.hl__total { position: relative; display: inline-block; color: var(--orange-2); font: 800 clamp(56px, 5.4vw, 78px)/1 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; transform-origin: 0 70%; }
.hl__total.bump { animation: hlBump 0.45s var(--ease); }
@keyframes hlBump { 35% { transform: scale(1.06); } }
.hl__pop { position: absolute; left: 100%; top: 4px; margin-left: 12px; color: var(--orange-soft); font: 700 19px var(--display); letter-spacing: -0.01em; white-space: nowrap; opacity: 0; }
.hl__pop.on { animation: hlPop 1.2s var(--ease) both; }
@keyframes hlPop { 0% { opacity: 0; transform: translateY(12px); } 18% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px); } }
.hl__cap { margin-top: 10px; color: var(--text-2); font-size: 17px; }
.hl__end { min-height: 2.6em; margin-top: 14px; color: var(--text); font: 700 18px/1.3 var(--display); letter-spacing: -0.015em; opacity: 0; transform: translateY(8px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.hl__end.on { opacity: 1; transform: none; }
.hl__list { justify-self: start; width: 250px; border-top: 1px solid var(--hair); }
.hl__list li { display: grid; grid-template-columns: 14px 1fr auto; column-gap: 8px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--hair); }
.hl__list i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); transition: background 0.4s, transform 0.4s var(--ease); }
.hl__list b { color: var(--text-3); font: 600 16px/1.3 var(--display); transition: color 0.4s; }
.hl__list em { color: var(--text-3); font: 700 16px var(--display); font-style: normal; font-variant-numeric: tabular-nums; transition: color 0.4s; }
.hl__list li.on i { background: var(--orange-2); transform: scale(1.25); }
.hl__list li.on b { color: var(--text); }
.hl__list li.on em { color: var(--orange-soft); }

/* Sections */
.section { position: relative; padding: 112px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.section h2 { font-size: clamp(32px, 3.8vw, 50px); }
.head { margin-bottom: 56px; }
.head h2 { max-width: 760px; }
.head--split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: end; }
.head--split .lead, .head__aside { justify-self: end; max-width: 480px; }
.head__aside { display: grid; gap: 8px; color: var(--text-2); font-size: 18px; }
.head__aside .strong { margin-top: 6px; color: var(--text); font: 700 21px var(--display); letter-spacing: -0.01em; }
.pull { max-width: 860px; margin: 80px auto 0; font: 700 clamp(22px, 2.5vw, 31px)/1.3 var(--display); letter-spacing: -0.02em; text-align: center; text-wrap: balance; }

/* Cards that hold a product scene */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hair-2); border-radius: 18px; background: var(--surface); transition: border-color 0.3s; }
.card:hover { border-color: var(--hair-3); }
.card__stage { display: grid; place-items: center; min-height: 334px; padding: 20px; overflow: hidden; border-bottom: 1px solid var(--hair); background: var(--stage); }
.card__body { position: relative; padding: 22px 24px 26px; }
.card h3 { margin-bottom: 8px; font-size: 20px; letter-spacing: -0.015em; }
.card h3 .dim { margin-right: 4px; font-variant-numeric: tabular-nums; }
.card__body p { color: var(--text-2); font-size: 16px; line-height: 1.55; }

/* App panels: the software each scene happens in */
.app { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 350px; height: 294px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; background: #0f1a2d; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 40px -22px rgba(0, 0, 0, 0.9); color: var(--text); font: 500 13px/1.35 var(--body); transition: opacity 0.45s ease; }
.app.fade { opacity: 0; }
.app__bar { display: flex; flex: none; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.app__bar p { flex: 1; min-width: 0; }
.app__bar b { display: block; overflow: hidden; font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.app__bar small { display: block; overflow: hidden; color: var(--text-3); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.av { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; color: #fff; font: 800 10px var(--display); letter-spacing: 0.02em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.av--a { background: linear-gradient(135deg, #f0a36b, #c0582a); }
.av--b { background: linear-gradient(135deg, #7aa7e6, #3a64a8); }
.av--c { background: linear-gradient(135deg, #b39cf2, #6a52c9); }
.av--d { background: linear-gradient(135deg, #63cfae, #2b8a6e); }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font: 600 11px/1 var(--body); white-space: nowrap; }
.chip--o { color: #ffc29a; background: rgba(242, 99, 24, 0.13); box-shadow: inset 0 0 0 1px rgba(255, 138, 42, 0.4); }
/* The outcome, in plain words, at the bottom of every scene */
.result { display: flex; flex: none; align-items: center; gap: 9px; margin-top: auto; padding: 11px 14px; border-top: 1px solid rgba(255, 138, 42, 0.22); background: rgba(242, 99, 24, 0.08); color: var(--orange-soft); font: 700 14px var(--display); letter-spacing: -0.01em; transform: translateY(100%); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.4s; }
.result::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-2); }
.result.on { transform: none; opacity: 1; }
.result--good { border-top-color: rgba(60, 201, 141, 0.25); background: rgba(60, 201, 141, 0.08); color: #92efc5; }
.result--good::before { background: var(--green); }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes bump { 40% { transform: scale(1.18); } }

/* Message threads */
.thr { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 10px; }
.bub { position: relative; max-width: 78%; padding: 7px 11px; border-radius: 16px; font-size: 12.5px; line-height: 1.32; animation: msgIn 0.45s var(--ease) both; }
.bub--in { align-self: flex-start; border-bottom-left-radius: 5px; background: #27334a; }
.bub--out { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--blue-2); color: #fff; }
.bub--ghost { border: 1.5px dashed rgba(255, 138, 42, 0.65); background: transparent; color: rgba(255, 190, 150, 0.8); }
.bub--ghost em { position: absolute; right: calc(100% + 9px); top: 50%; color: var(--orange-2); font: 600 10.5px var(--mono); font-style: normal; white-space: nowrap; transform: translateY(-50%); }
.wait { align-self: center; display: inline-flex; align-items: center; gap: 7px; margin: 2px 0; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text-2); font: 600 11.5px var(--body); animation: msgIn 0.4s var(--ease) both; transition: background 0.4s, color 0.4s; }
.wait i { position: relative; width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.wait i::after { content: ""; position: absolute; left: 4.75px; top: 2px; width: 1.5px; height: 4px; background: currentColor; transform-origin: 50% 100%; animation: rot 1s linear infinite; }
.wait b { min-width: 46px; font: 600 11.5px var(--mono); font-variant-numeric: tabular-nums; }
.wait.late { background: rgba(242, 99, 24, 0.14); color: var(--orange-soft); }
@keyframes rot { to { transform: rotate(360deg); } }

/* Activity logs (lead history, estimate history) */
.log { display: grid; align-content: start; gap: 1px; padding: 10px 14px; }
.log__i { display: grid; grid-template-columns: 16px 50px 1fr; align-items: center; gap: 10px; height: 30px; animation: rowIn 0.5s var(--ease) both; }
.log__i i { position: relative; width: 16px; height: 16px; border-radius: 50%; }
.log__d { color: var(--text-3); font: 500 11px var(--mono); }
.log__t { overflow: hidden; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.log__i--in i { background: #2c3a54; }
.log__i--in i::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #93a6c4; }
.log__i--in .log__t { color: var(--text-2); }
.log__i--done i, .log__i--sent i { background: var(--blue-2); }
.log__i--done i::after, .log__i--sent i::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.log__i--gap i { border: 1.5px dashed var(--orange-2); }
.log__i--gap .log__t { color: var(--orange-soft); }
.log__i--view i { background: rgba(93, 156, 234, 0.16); box-shadow: inset 0 0 0 1.5px var(--blue); }
.log__i--view i::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--blue); }
.log__i--exp i { background: var(--orange); }
.log__i--exp i::before, .log__i--exp i::after { content: ""; position: absolute; left: 7.25px; top: 4px; width: 1.5px; height: 8px; background: #fff; transform: rotate(45deg); }
.log__i--exp i::after { transform: rotate(-45deg); }
.log__i--exp .log__t, .log__i--exp .log__d { color: var(--orange-soft); }
.log--doc .log__i { grid-template-columns: 16px 56px 1fr; }
.log--doc .log__d { color: var(--text); font: 600 12.5px var(--body); }
.log--doc .log__t { color: var(--text-3); font: 500 11px var(--mono); }
.temp { flex: none; padding: 4px 9px; border-radius: 999px; font: 600 11px/1 var(--body); transition: color 0.5s, background 0.5s, box-shadow 0.5s; }
.temp[data-t="hot"] { color: #ffc29a; background: rgba(242, 99, 24, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 138, 42, 0.5); }
.temp[data-t="warm"] { color: #ffd9a0; background: rgba(240, 170, 60, 0.13); box-shadow: inset 0 0 0 1px rgba(240, 170, 60, 0.45); }
.temp[data-t="cool"] { color: #bccbe2; background: rgba(127, 156, 199, 0.13); box-shadow: inset 0 0 0 1px rgba(127, 156, 199, 0.4); }
.temp[data-t="cold"] { color: #8aa0bf; background: rgba(127, 156, 199, 0.06); box-shadow: inset 0 0 0 1px rgba(127, 156, 199, 0.22); }
.doc { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); }
.doc svg { width: 16px; height: 16px; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linejoin: round; }
.views { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(93, 156, 234, 0.14); color: var(--blue-soft); font: 600 11px/1 var(--body); }
.views svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.views.bump { animation: bump 0.45s var(--ease); }

/* Gym member: weekly check-ins */
.wk { position: relative; padding: 16px 14px 4px; }
.wk__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.wk__col { display: grid; gap: 4px; }
.wk__col i { height: 11px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); }
.wk__col i.on { background: var(--blue-2); animation: popIn 0.35s var(--ease) both; }
.wk__col.miss i { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 138, 42, 0.45); }
.wk__axis { display: flex; justify-content: space-between; margin-top: 9px; color: var(--text-3); font: 500 10px var(--mono); }
.wk__now { position: absolute; top: 10px; height: 54px; width: 1.5px; border-radius: 1px; background: var(--blue-soft); opacity: 0; transition: left 0.22s linear, opacity 0.3s; }
.wk__stat { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 14px; color: var(--text-2); font-size: 12.5px; }
.wk__stat b { color: var(--orange-soft); font-weight: 600; }
.wk__stat .days { font-family: var(--mono); }
.risk { opacity: 0; transition: opacity 0.4s; }
.risk.on { opacity: 1; }

/* Vet clinic: pets overdue */
.count { flex: none; color: var(--orange-2); font: 800 22px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pl { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.pl__track { animation: plScroll 18s linear infinite; }
@keyframes plScroll { to { transform: translateY(-50%); } }
.pl__r { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.045); }
.pet { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #24324b; color: var(--text-2); font: 700 10.5px var(--display); }
.pl__n b { display: block; font-size: 12.5px; font-weight: 600; }
.pl__n small { display: block; color: var(--text-3); font-size: 11px; }
.pl__s { text-align: right; }
.pl__s b { display: block; color: var(--text-2); font: 500 11px var(--mono); }
.pl__s small { display: block; color: var(--orange-soft); font-size: 10.5px; }

/* Diagnose: the customer lifecycle as a ring, leaks in orange */
.ring { display: grid; flex: 1; place-items: center; padding: 6px 0 2px; }
.ring svg { width: 100%; max-width: 300px; height: auto; overflow: visible; }
.ring .trk { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 12; }
.ring .seg { fill: none; stroke: var(--blue); stroke-width: 12; transition: stroke-dashoffset 0.6s var(--ease); }
.ring .seg.bad { stroke: var(--orange-2); }
.ring .lbl { fill: var(--text-3); font: 500 11.5px var(--body); transition: fill 0.4s; }
.ring .lbl.ok { fill: var(--text-2); }
.ring .lbl.bad { fill: var(--orange-soft); font-weight: 600; }
.ring .num { fill: var(--text); font: 800 30px var(--display); }
.ring .sub { fill: var(--text-2); font: 500 10.5px var(--body); }

/* Prioritize: impact vs. effort */
.mx { position: relative; flex: 1; margin: 16px 16px 30px 34px; border-left: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.mx::before, .mx::after { content: ""; position: absolute; }
.mx::before { left: 50%; top: 0; bottom: 0; border-left: 1px dashed rgba(255, 255, 255, 0.1); }
.mx::after { left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(255, 255, 255, 0.1); }
.mx__hot { position: absolute; left: 0; top: 0; width: 50%; height: 50%; border-radius: 0 0 6px 0; background: rgba(242, 99, 24, 0.1); opacity: 0; transition: opacity 0.6s; }
.mx.hot .mx__hot { opacity: 1; }
.mx__q { position: absolute; color: var(--text-3); font: 600 10.5px var(--body); transition: color 0.4s; }
.mx__q--1 { left: 7px; top: 6px; }
.mx__q--2 { right: 7px; top: 6px; }
.mx__q--3 { left: 7px; bottom: 6px; }
.mx__q--4 { right: 7px; bottom: 6px; }
.mx.hot .mx__q--1 { color: var(--orange-soft); }
.mx__y, .mx__x { position: absolute; color: var(--text-3); font: 500 10px var(--mono); }
.mx__y { left: -22px; top: 0; writing-mode: vertical-rl; transform: rotate(180deg); }
.mx__x { right: 0; bottom: -20px; }
.mx__y::after { content: " →"; }
.mx__x::after { content: " →"; }
.mx__d { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); display: flex; align-items: center; gap: 6px; transform: translate(-9px, -9px); transition: left 0.9s var(--ease), top 0.9s var(--ease), opacity 0.4s; }
.mx__d:nth-of-type(2) { transition-delay: 0.08s; }
.mx__d:nth-of-type(3) { transition-delay: 0.16s; }
.mx__d:nth-of-type(4) { transition-delay: 0.24s; }
.mx__d:nth-of-type(5) { transition-delay: 0.32s; }
.mx__d i { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #2a3a58; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); color: #fff; font: 700 10px var(--display); font-style: normal; transition: background 0.4s, box-shadow 0.4s; }
.mx__d em { color: var(--text-2); font-size: 11.5px; font-style: normal; white-space: nowrap; transition: color 0.4s; }
.mx__d.top i { background: var(--orange); box-shadow: none; animation: bump 0.45s var(--ease); }
.mx__d.top em { color: var(--text); }
.js .mx:not(.go) .mx__d { left: 50%; top: 50%; opacity: 0; }
.mx.instant .mx__d { transition: none; }

/* Implement: the fix goes live */
.tg { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); transition: background 0.3s; }
.tg i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #dfe6f1; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); transition: transform 0.35s var(--ease); }
.tg.on { background: var(--green); }
.tg.on i { background: #fff; transform: translateX(14px); }
.met { flex: 1; padding: 12px 14px 0; }
.met__l, .met__cap { color: var(--text-3); font-size: 11.5px; }
.met__v { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.met__time { font: 800 28px/1.05 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color 0.4s; }
.met__time.good { color: #92efc5; }
.met__was { color: var(--text-3); font-size: 12px; text-decoration: line-through; opacity: 0; transition: opacity 0.4s; }
.met__was.on { opacity: 1; }
.met__chart { position: relative; margin-top: 10px; }
.met__chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.met__chart .grid { stroke: rgba(255, 255, 255, 0.1); }
.met__chart polyline { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.met__chart .before { stroke: rgba(255, 255, 255, 0.3); }
.met__chart .after { stroke: var(--green); transition: stroke-dashoffset 1.4s var(--ease-io); }
.met__live { position: absolute; left: 45.5%; top: -4px; bottom: 0; padding-left: 6px; border-left: 1px dashed rgba(60, 201, 141, 0.6); color: #92efc5; font: 600 10px var(--mono); opacity: 0; transition: opacity 0.4s; }
.met__chart.go .met__live { opacity: 1; }
.met__cap { margin-top: 6px; }

/* Assessments */
.assess { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acard { display: flex; flex-direction: column; align-items: flex-start; padding: 36px; border: 1px solid var(--hair-2); border-radius: 18px; background: var(--surface); }
.acard--dgv { --c: var(--blue); }
.acard--rla { --c: var(--orange-2); }
.acard h3 { font-size: clamp(28px, 2.8vw, 36px); letter-spacing: -0.025em; }
.acard__name { display: flex; align-items: center; gap: 10px; margin: 14px 0 28px; color: var(--text-2); font-size: 15.5px; font-weight: 500; }
.tag { display: inline-grid; place-items: center; flex: none; padding: 4px 8px; border-radius: 6px; color: #fff; font: 700 11.5px var(--display); letter-spacing: 0.06em; }
.tag--blue { background: var(--blue-2); }
.tag--orange { background: var(--orange); color: #151008; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; flex: 1; align-content: start; width: 100%; margin-bottom: 32px; }
.checks li { position: relative; display: flex; align-items: center; gap: 11px; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px var(--c); }
.checks li::after { content: ""; position: absolute; left: 6.5px; top: 50%; width: 4px; height: 7.5px; margin-top: -5px; border: solid var(--c); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }

/* DGV + RLA: one patient's real path, split between the two assessments */
.lens { display: grid; grid-template-columns: 1fr 1fr 16px 1fr 1fr 1fr 1fr; column-gap: 14px; margin-top: 20px; padding: 28px 28px 30px; border: 1px solid var(--hair-2); border-radius: 18px; background: var(--surface); }
.lens__br { position: relative; grid-row: 1; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 14px; color: var(--text); font: 600 15px var(--display); letter-spacing: -0.01em; }
.lens__br::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; border: 1.5px solid var(--bc); border-top: 0; border-radius: 0 0 6px 6px; transform: scaleY(-1); }
.lens__br--dgv { --bc: rgba(93, 156, 234, 0.6); grid-column: 1 / 3; }
.lens__br--rla { --bc: rgba(255, 138, 42, 0.6); grid-column: 4 / 8; }
.tiles { display: contents; }
.tile { grid-row: 2; display: flex; flex-direction: column; }
.tile:nth-child(1) { grid-column: 1; }
.tile:nth-child(2) { grid-column: 2; }
.tile:nth-child(3) { grid-column: 4; }
.tile:nth-child(4) { grid-column: 5; }
.tile:nth-child(5) { grid-column: 6; }
.tile:nth-child(6) { grid-column: 7; }
.tile--dgv { --zc: rgba(93, 156, 234, 0.75); }
.tile--rla { --zc: rgba(255, 138, 42, 0.75); }
.tile__ui { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 112px; padding: 11px; overflow: hidden; border-radius: 12px; background: var(--ui); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: var(--text); font: 500 11px/1.35 var(--body); transition: box-shadow 0.45s, opacity 0.45s, transform 0.5s var(--ease); }
.lens.is-playing .tile:not(.on) .tile__ui { opacity: 0.38; }
.tile.on .tile__ui { box-shadow: inset 0 0 0 1.5px var(--zc), 0 14px 30px -18px var(--zc); transform: translateY(-3px); }
.tile__t { margin-top: 14px; font: 700 15.5px var(--display); letter-spacing: -0.01em; }
.tile__d { margin-top: 3px; color: var(--text-2); font-size: 13px; line-height: 1.4; }
/* What happens inside each tile */
.t-search { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--text-2); }
.t-search svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.t-result { display: grid; grid-template-columns: 18px 1fr; column-gap: 7px; padding: 7px 8px; border-radius: 8px; background: rgba(43, 125, 233, 0.12); transition: background 0.4s; }
.t-result span { grid-row: 1 / 3; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-2); color: #fff; font: 700 10px var(--display); }
.t-result b { overflow: hidden; font-size: 11px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.t-result small { color: #f5b544; font-size: 10.5px; }
.t-field { padding: 7px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.t-field small { display: block; color: var(--text-3); font-size: 10px; }
.t-field b { font-size: 11px; font-weight: 600; }
.t-btn { display: grid; height: 28px; border-radius: 8px; background: var(--blue-2); color: #fff; font-size: 11px; font-weight: 600; transition: background 0.4s; }
.t-btn span { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity 0.3s; }
.t-btn span:last-child { opacity: 0; }
.tile.on .t-btn { background: #16764e; }
.tile.on .t-btn span:first-child { opacity: 0; }
.tile.on .t-btn span:last-child { opacity: 1; transition-delay: 0.25s; }
.t-bub { align-self: flex-end; max-width: 94%; padding: 6px 9px; border-radius: 12px; border-bottom-right-radius: 4px; background: var(--blue-2); color: #fff; font-size: 11px; }
.t-chip { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: rgba(60, 201, 141, 0.14); color: #92efc5; font: 600 10px var(--body); }
.t-ok { display: flex; align-items: center; gap: 7px; font: 700 15px var(--display); }
.t-ok i { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--green); }
.t-ok i::after { content: ""; position: absolute; left: 7px; top: 3.5px; width: 4.5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.t-meta { color: var(--text-2); font-size: 10.5px; }
.t-next { padding: 7px 9px; border-radius: 8px; background: rgba(60, 201, 141, 0.1); box-shadow: inset 0 0 0 1px rgba(60, 201, 141, 0.35); }
.t-next small { display: block; color: #92efc5; font-size: 10px; }
.t-next b { font-size: 11px; font-weight: 600; }
.t-stars { display: flex; gap: 2px; color: rgba(245, 181, 68, 0.25); font-size: 15px; }
.t-stars i { font-style: normal; transition: color 0.3s; }
.tile.on .t-stars i { color: #f5b544; }
.tile.on .t-stars i:nth-child(2) { transition-delay: 0.1s; }
.tile.on .t-stars i:nth-child(3) { transition-delay: 0.2s; }
.tile.on .t-stars i:nth-child(4) { transition-delay: 0.3s; }
.tile.on .t-stars i:nth-child(5) { transition-delay: 0.4s; }
.t-quote { color: var(--text); font-size: 11px; }
/* Content that appears when the patient reaches the tile */
.lens.is-playing .tile .t-result, .lens.is-playing .tile .t-bub, .lens.is-playing .tile .t-chip, .lens.is-playing .tile .t-ok, .lens.is-playing .tile .t-next { opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.lens.is-playing .tile.on .t-result, .lens.is-playing .tile.on .t-bub, .lens.is-playing .tile.on .t-ok, .lens.is-playing .tile.on .t-next { opacity: 1; transform: none; transition-delay: 0.15s; }
.lens.is-playing .tile.on .t-chip { opacity: 1; transform: none; transition-delay: 0.55s; }
.lens__ims { position: relative; grid-row: 3; grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 26px; padding-top: 20px; color: var(--text-2); font-size: 15px; }
.lens__ims::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border: 1.5px solid rgba(255, 255, 255, 0.2); border-top: 0; border-radius: 0 0 8px 8px; }
.lens__ims img { width: 18px; height: auto; }
.lens__ims b { color: var(--text); font-family: var(--display); font-weight: 700; }

/* Completed */
.done { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; }
.dcard { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--hair-2); border-radius: 18px; background: var(--surface); }
.dcard h3 { font-size: 20px; letter-spacing: -0.015em; }
.dcard__lede { color: var(--text); font-size: 17px; font-weight: 500; line-height: 1.5; }
.dcard__txt { color: var(--text-2); }
.dcard__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: auto; padding-top: 18px; }
.dcard--both { padding: 36px; border-color: var(--hair-3); background: var(--surface-2); }
.dcard__title { font: 700 clamp(30px, 3vw, 40px)/1.06 var(--display); letter-spacing: -0.03em; text-wrap: balance; }

/* Phone conversation */
.convo { display: grid; grid-template-columns: auto 1fr; gap: 88px; align-items: center; max-width: 1040px; margin-inline: auto; }
.phone { position: relative; width: 312px; height: 610px; padding: 11px; border-radius: 54px; background: linear-gradient(145deg, #2c3546, #0d1118 38%, #1d2430); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 1.5px #04060a, 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 44px; background: #000; }
.phone__island { position: absolute; top: 11px; left: 50%; z-index: 3; width: 98px; height: 29px; margin-left: -49px; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px #111; }
.phone__status { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 30px 0 34px; color: #fff; font: 600 14px -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.phone__icons { display: flex; align-items: flex-end; gap: 3px; }
.phone__icons i { width: 3px; border-radius: 1px; background: #fff; }
.phone__icons i:nth-child(1) { height: 5px; }
.phone__icons i:nth-child(2) { height: 8px; }
.phone__icons i:nth-child(3) { width: 20px; height: 9px; margin-left: 5px; border-radius: 2.5px; background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 2px 0 0 1px #fff, inset 13px 0 0 #fff; }
.phone__contact { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 4px 0 11px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(28, 28, 30, 0.85); color: #fff; font: 500 12px -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.phone__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #a1a8b6, #6d7584); font-size: 18px; font-weight: 600; }
.thread { scrollbar-width: thin; overscroll-behavior: contain; display: flex; flex: 1; flex-direction: column; gap: 5px; overflow-y: auto; padding: 12px 11px 18px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; transition: opacity 0.5s; }
.msg { flex: none; max-width: 78%; padding: 8px 12px; border-radius: 18px; font-size: 14px; line-height: 1.32; animation: msgIn 0.45s var(--ease) both; }
.msg--biz { align-self: flex-start; border-bottom-left-radius: 6px; background: #26262a; color: #fff; }
.msg--cust { align-self: flex-end; border-bottom-right-radius: 6px; background: #1763bb; color: #fff; }
.msg--typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
.note { align-self: center; margin: 8px 0 3px; color: #8e8e93; font-size: 11px; font-weight: 500; animation: msgIn 0.4s var(--ease) both; }
.anno { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin: 0 0 5px 6px; color: var(--orange-soft); font: 500 10.5px var(--mono); animation: msgIn 0.45s var(--ease) 0.12s both; }
.anno::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange-2); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
.moments { display: grid; gap: 2px; counter-reset: m; }
.moment { counter-increment: m; display: grid; grid-template-columns: 40px 1fr; padding: 14px 18px; border-radius: 14px; transition: background 0.4s; }
.moment::before { content: counter(m); grid-row: 1 / 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16); color: var(--text-3); font: 700 12px/1 var(--display); transition: color 0.4s, background 0.4s, box-shadow 0.4s; }
.moment.is-done::before { content: "✓"; background: rgba(60, 201, 141, 0.14); box-shadow: inset 0 0 0 1.5px rgba(60, 201, 141, 0.55); color: #92efc5; }
.moment h3 { color: var(--text-2); font-size: 19px; letter-spacing: -0.015em; transition: color 0.4s; }
.moment p { margin-top: 3px; color: var(--text-3); font-size: 14.5px; transition: color 0.4s; }
.js .moment:not(.is-done):not(.is-active) h3 { color: var(--text-3); }
.moment.is-active { background: rgba(255, 255, 255, 0.045); }
.moment.is-active::before, .moment.is-active h3 { color: var(--text); }
.moment.is-active p { color: var(--orange-soft); }
.moment.is-active::before { box-shadow: inset 0 0 0 1.5px var(--orange-2); color: var(--orange-2); }

/* Proof */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case { --case-accent: #80b8ff; display: flex; flex-direction: column; padding: 30px; border: 1px solid rgba(128,184,255,.18); border-top: 3px solid var(--case-accent); border-radius: 12px; background: #0d1b2e; }
.case--salt { --case-accent: #ff9b54; }
.case--mecca { --case-accent: #b7a6e8; }
.case__name { display: flex; align-items: center; min-height: 96px; margin-bottom: 28px; color: var(--text); font: 700 23px/1.3 var(--display); letter-spacing: -0.02em; }
.case__logo { width: 220px; max-width: 100%; height: auto; }
.case__logo--infinity { width: 200px; }
.case__big { color: var(--orange-2); font: 700 clamp(38px, 3.6vw, 52px)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.case--mecca .case__big { color: #b7d7ff; }
.case__cap { margin: 8px 0 24px; color: var(--text-2); }
.case__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding-top: 20px; border-top: 1px solid var(--hair); }
.case__stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.case__stats .wide { grid-column: 1 / -1; }
.case__stats dt { color: var(--text-3); font-size: 13.5px; }
.case__stats dd { margin: 0; color: #b7d7ff; font: 700 26px/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.case__story { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hair); color: var(--text-2); font-size: 15.5px; }

/* 220 calls */
.calls { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.field { padding: 28px; border: 1px solid var(--hair-2); border-radius: 18px; background: var(--surface); }
.field__cap { min-height: 30px; margin-bottom: 22px; font: 700 21px var(--display); letter-spacing: -0.015em; transition: color 0.4s; }
.field__cap.hot { color: var(--orange-soft); }
.field__grid { display: grid; grid-template-columns: repeat(22, 1fr); gap: 12px 8px; }
.field__grid i { justify-self: center; width: 70%; aspect-ratio: 1; border-radius: 50%; background: #1a273d; transition: background 0.6s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s; transition-delay: var(--d, 0s); }
.field__grid i.lit { background: #dbe7f6; }
.field__grid i.txt { background: #6ea6ec; }
.field__grid.dial i { transition-delay: 0s; transition-duration: 0.25s; }
.field__grid i.hot { background: var(--orange-2); transform: scale(1.6); box-shadow: 0 0 0 4px rgba(255, 138, 42, 0.18); }
.tally { display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--hair-2); border-radius: 18px; background: var(--surface); }
.tally__row { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; padding: 20px 26px; border-bottom: 1px solid var(--hair); transition: opacity 0.4s; }
.tally__row:last-child { border-bottom: 0; }
.tally.is-playing .tally__row:not(.on) { opacity: 0.4; }
.tally__row b { font: 700 42px/1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.tally__row span { color: var(--text-2); font-size: 17px; }
.tally__row.on span { color: var(--text); }
.tally__row--hot b { color: var(--orange-2); }
.verdict { margin-top: 56px; text-align: center; }
.verdict p { color: var(--text-2); font-size: 21px; }
.verdict strong { color: var(--text); font-weight: 600; }
.verdict__punch { margin-top: 8px; color: var(--orange-2) !important; font: 700 clamp(32px, 3.6vw, 46px) var(--display) !important; letter-spacing: -0.03em; }

/* Philosophy */
.philo { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.philo h2 { font-size: clamp(32px, 3.8vw, 50px); }
.philo__lead { margin-top: 24px; color: var(--text-2); font-size: 19px; }
.philo__but { margin-top: 10px; font: 700 25px var(--display); letter-spacing: -0.02em; }
.philo__body { display: grid; gap: 18px; color: var(--text-2); font-size: 18px; }
.simple { display: grid; border-top: 1px solid var(--hair); counter-reset: s; }
.simple li { counter-increment: s; display: flex; align-items: center; gap: 18px; padding: 15px 2px; border-bottom: 1px solid var(--hair); color: var(--text); font-size: 17px; font-weight: 500; }
.simple li::before { content: counter(s); min-width: 14px; color: var(--text-3); font: 600 15px var(--display); font-variant-numeric: tabular-nums; }
.philo__close { margin-top: 10px; color: var(--text); font: 700 clamp(22px, 2.2vw, 27px)/1.35 var(--display); letter-spacing: -0.02em; }

/* Final */
.final { padding: 150px 0 140px; border-top: 1px solid var(--hair); background: #03070f; text-align: center; }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final h2 { font-size: clamp(42px, 5.6vw, 76px); letter-spacing: -0.04em; }
.final__sub { max-width: 720px; color: var(--text-2); font: 600 clamp(20px, 2.1vw, 26px)/1.35 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.final__mini { color: var(--text-2); }
.final .btn { margin-top: 14px; }
.final__meta { display: grid; gap: 2px; margin-top: 6px; color: var(--text-3); font-size: 14.5px; }
.final__meta b { color: var(--text-2); font-weight: 600; }
.final__alt { margin-top: 26px; color: var(--text-2); }

/* Footer */
.footer { padding: 52px 0 40px; border-top: 1px solid var(--hair); background: #03070f; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; }
.footer__brand p { margin-top: 10px; color: var(--text-3); font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; color: var(--text-2); font-size: 14.5px; }
.footer__links a:hover, .footer__legal a:hover { color: var(--text); }
.footer__legal { grid-column: 1 / -1; display: flex; gap: 18px; padding-top: 22px; border-top: 1px solid var(--hair); color: var(--text-3); font-size: 13.5px; }

/* Production foundations */
html { -webkit-text-size-adjust: 100%; }
button { color: inherit; }
button.textlink { padding: 0; border: 0; background: none; font-family: inherit; text-align: left; }
.btn { max-width: 100%; min-height: 48px; text-align: center; white-space: normal; cursor: pointer; }
.btn i, .textlink i { flex: none; }
button:disabled { cursor: default; }
.textlink { max-width: 100%; min-height: 44px; }
:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 5px; }
main:focus { outline: none; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.wrap > *, .grid3 > *, .assess > *, .done > *, .cases > *, .tile, .hero__stage > *, .convo > *, .calls > *, .philo > * { min-width: 0; }
.nav { background: rgba(5,10,20,.97); }
.nav__inner { gap: 24px; }
.nav__links { gap: 22px; }
.nav__toggle { width: 44px; height: 44px; flex: none; margin-left: auto; }
.motion-toggle { flex: none; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--text-2); font: 500 12px/1.25 var(--body); cursor: pointer; }
.motion-toggle:hover { color: var(--text); }
[hidden] { display: none !important; }
.hero__caption { position: absolute; top: calc(100% + 14px); left: -20px; right: -20px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--text-3); font-size: 12px; white-space: nowrap; }
.scene-replay { min-height: 44px; padding: 8px 10px; border: 0; border-radius: 7px; background: none; color: var(--blue-soft); font: 600 12px/1.2 var(--body); cursor: pointer; }
.scene-replay::before { content: "▶"; margin-right: 6px; font-size: 10px; }
.scene-replay:hover { background: rgba(93,156,234,.1); }
.scene-replay:disabled { opacity: .55; }
.card__body:has(.scene-replay) h3 { padding-right: 54px; }
.card__body > .scene-replay { position: absolute; top: 10px; right: 12px; }
[data-playing="false"], [data-playing="false"] *, [data-playing="false"] *::before, [data-playing="false"] *::after { animation: none !important; transition: none !important; }
.app .thr, .app .log, .app .wk, .app .wk__stat { flex: none; }
#p-refer { height: auto; min-height: 294px; }
.bub--ghost { max-width: 75%; }
.bub--ghost em { position: static; display: block; margin-top: 4px; transform: none; }
.lens { grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 28px; }
.lens__group { min-width: 0; }
.lens__group .lens__br { margin: 0 0 20px; }
.lens__group .tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.lens__group--rla .tiles { grid-template-columns: repeat(4,minmax(0,1fr)); }
.lens .tile { grid-column: auto !important; grid-row: auto; }
.lens__ims { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
.tile__example { display: none; }
.priority-list { display: none; }

/* Customer examples: a clear title above one full-width software screen. */
#how .head__aside .strong { margin-top: 12px; padding: 8px 0 8px 18px; border-left: 3px solid var(--orange-2); color: var(--orange-soft); line-height: 1.45; }
#how .grid3 { gap: 40px 28px; }
#how .card { overflow: visible; border: 0; border-radius: 0; background: none; }
#how .card__body { order: -1; display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: start; align-items: center; gap: 8px 10px; min-height: 122px; padding: 0 0 18px; }
#how .card h3 { margin: 0; padding: 0; font-size: 22px; line-height: 1.25; }
#how .card__body p { grid-column: 1 / -1; }
#how .card__body > .scene-replay { position: static; grid-column: 2; grid-row: 1; padding: 8px 12px; border: 1px solid rgba(128,184,255,.25); border-radius: 6px; background: #0d1e34; color: #b7d7ff; }
#how .scene-replay:hover { background: #163455; border-color: var(--blue); }
#how .card__stage { min-height: 0; padding: 0; overflow: visible; border: 0; background: none; }
#how .app { max-width: none; height: auto; min-height: 328px; border-color: rgba(128,184,255,.23); border-radius: 12px; background: #0b182a; box-shadow: none; }
#how .app__bar { min-height: 70px; padding: 14px 16px; background: #132b48; border-bottom-color: rgba(128,184,255,.17); }
#how .app__bar small { color: #a9c1de; }
#how .thr { gap: 9px; padding: 18px 16px; }
#how .bub { font-size: 14px; line-height: 1.45; }
#how .bub--in { background: #233750; }
#how .bub--out { background: #226ac8; }
#how .bub--ghost { background: transparent; }
#how .log { padding: 18px 16px; }
#how .pl { flex: none; height: 176px; }
#how .result { padding: 14px 16px; border-top-color: rgba(255,155,84,.25); background: #302016; color: #ffc18e; transform: translateY(12px); opacity: 0; }
#how .result.on { transform: none; opacity: 1; }
.dcard__actions .btn { width: 100%; }
.footer__links a, .footer__legal > * { display: inline-flex; align-items: center; min-height: 44px; }
.footer__legal { flex-wrap: wrap; }

@media (max-width: 1180px) {
  .hero__stage { grid-template-columns: minmax(0,300px) auto; justify-content: center; column-gap: 56px; }
  .hl__list { display: none; }
  .nav__links { gap: 16px; font-size: 13px; }
  .nav__inner { gap: 18px; }
  .grid3, .cases { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .case:first-child { grid-column: 1 / -1; }
  .done { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dcard--both { grid-column: 1 / -1; }
  .dcard--both .dcard__actions { align-items: flex-start; }
  .dcard--both .btn { width: auto; }
  .head--split, .philo { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .head--split .lead, .head__aside { justify-self: start; max-width: 640px; }
  .convo { grid-template-columns: auto minmax(0,1fr); gap: 36px; }
  .calls { grid-template-columns: minmax(0,1fr); }
  .lens { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .lens__group--rla .tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lens__br { grid-column: 1 / -1; grid-row: auto; margin: 0; }
  .lens__br--dgv { order: 1; }
  .lens__br--rla { order: 4; margin-top: 10px; }
  .tile { grid-column: auto !important; grid-row: auto; }
  .tile:nth-child(1) { order: 2; } .tile:nth-child(2) { order: 3; } .tile:nth-child(3) { order: 5; }
  .tile:nth-child(4) { order: 6; } .tile:nth-child(5) { order: 7; } .tile:nth-child(6) { order: 8; }
  .tile__ui { height: 142px; padding: 16px; font-size: 13px; }
  .tile__ui :is(.t-result b,.t-field b,.t-btn,.t-bub,.t-next b,.t-quote) { font-size: 13px; }
  .tile__ui :is(.t-result small,.t-field small,.t-next small,.t-chip,.t-meta) { font-size: 12px; }
  .lens__ims { grid-column: 1 / -1; grid-row: auto; order: 9; margin-top: 0; }
}
@media (max-width: 900px) {
  .nav { height: 64px; }
  html { scroll-padding-top: 80px; }
  .nav__links { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; max-height: calc(100dvh - 64px); overflow-y: auto; padding: 8px 24px 20px; border-bottom: 1px solid var(--hair); background: #08101d; font-size: 16px; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .motion-toggle { margin-left: auto; }
  .nav__toggle { display: block; }
  .nav .btn--sm { display: none; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .section { padding: 80px 0; }
  .assess { grid-template-columns: minmax(0,1fr); }
  .convo { grid-template-columns: minmax(0,1fr); justify-items: center; gap: 32px; }
  .moments { width: 100%; max-width: 560px; }
  .footer__inner { grid-template-columns: minmax(0,1fr); }
  .footer__links { justify-content: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding: 64px 0; }
  .section h2, .philo h2 { font-size: clamp(28px,7.5vw,38px); line-height: 1.12; }
  .head { margin-bottom: 28px; }
  .head--split { gap: 20px; }
  .lead, .head__aside, .philo__lead, .philo__body { font-size: 16px; line-height: 1.65; }
  .head__aside .strong { font-size: 19px; }
  .pull { margin-top: 36px; font-size: 23px; line-height: 1.4; }
  .hero { padding: 96px 0 84px; }
  .hero h1 { font-size: clamp(32px,8.4vw,44px); line-height: 1.08; }
  .hero__sub { font-size: 16px; line-height: 1.65; }
  .hero__stage { grid-template-columns: minmax(0,1fr); justify-items: center; gap: 28px; margin-top: 24px; }
  .hero__side { display: contents; }
  .hero__act { order: 1; width: 100%; margin: 0; text-align: center; }
  .hero__act .btn { width: 100%; }
  .hero__act .micro { margin-top: 10px; font-size: 13px; }
  .hero__done { margin-top: 8px; }
  .hero__count { order: 2; text-align: center; }
  .hero__phone { order: 3; --ps: 1; }
  .hl__end, .hl__pop { display: none; }
  .hl__total { font-size: 48px; }
  .hl__cap { margin-top: 6px; font-size: 14px; }
  .grid3, .cases, .done { grid-template-columns: minmax(0,1fr); gap: 16px; }
  #how .grid3 { gap: 36px; }
  #how .card__body { min-height: 0; padding-bottom: 16px; }
  #how .app { min-height: 0; }
  #how .app__bar small { font-size: 11.5px; }
  #how .bub { padding: 9px 12px; }
  #how .log__t { font-size: 13px; }
  #how .log__i { min-height: 29px; }
  #how .pl { height: 156px; }
  .case:first-child, .dcard--both { grid-column: auto; }
  .card { border-radius: 16px; }
  .card__body { order: -1; padding: 20px 20px 18px; }
  .card h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.2; }
  .card__body p { font-size: 15px; line-height: 1.55; }
  .card__body > .scene-replay { top: 10px; right: 10px; }
  .card__stage { min-height: 0; padding: 0 16px 16px; border: 0; background: transparent; }
  .app { max-width: none; height: auto; border-radius: 10px; box-shadow: none; }
  #p-refer { min-height: 0; }
  .app__bar { gap: 8px; padding: 12px; }
  .app__bar b { font-size: 13px; }
  .app__bar small { font-size: 12px; white-space: normal; line-height: 1.45; }
  .app__bar .av { width: 30px; height: 30px; }
  .thr { gap: 8px; padding: 14px 12px; }
  .bub { max-width: 92%; padding: 8px 11px; font-size: 13px; line-height: 1.4; }
  .bub--ghost { max-width: 88%; }
  .bub--ghost em { font-size: 11px; }
  .wait { font-size: 12px; }
  .result { transform: none; opacity: 1; padding: 12px; font-size: 13px; line-height: 1.4; }
  .log { gap: 5px; padding: 14px 12px; }
  .log__i { grid-template-columns: 16px 45px minmax(0,1fr); gap: 8px; height: auto; min-height: 26px; }
  .log__t { white-space: normal; overflow: visible; font-size: 12px; }
  .log__d { font-size: 11px; }
  .log--doc .log__i { grid-template-columns: 16px 52px minmax(0,1fr); }
  .log--doc .log__t { font-size: 11px; }
  .wk { padding: 18px 12px 6px; }
  .wk__grid { gap: 4px; }
  .wk__col i { height: 12px; }
  .wk__axis { font-size: 10px; }
  .wk__stat { gap: 8px; padding: 12px; font-size: 12px; }
  .wk__now { display: none; }
  .risk { padding: 4px 6px; font-size: 10px; }
  .pl { flex: none; height: 156px; }
  .pl__r { height: 52px; padding: 0 12px; gap: 8px; }
  .pl__n b { font-size: 13px; }
  .pl__n small, .pl__s small, .pl__s b { font-size: 11px; }
  .ring { flex: none; padding: 12px 4px; }
  .ring svg { width: 100%; max-width: 340px; }
  #s-prio .mx { display: none; }
  .priority-list { display: grid; gap: 0; padding: 4px 14px; }
  .priority-list li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 13px; }
  .priority-list li:last-child { border: 0; }
  .priority-list b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(242,99,24,.15); color: var(--orange-soft); font-size: 12px; }
  .priority-list small { display: block; margin-top: 4px; color: var(--text-2); font-size: 11px; }
  .priority-list__later { color: var(--text-2); }
  .met { padding: 16px 14px; }
  .met__time { font-size: 32px; }
  .met__chart { margin-top: 18px; }
  .met__l, .met__cap { font-size: 12px; }
  .acard, .dcard, .case { padding: 24px; border-radius: 16px; }
  .acard h3 { font-size: 28px; line-height: 1.14; }
  .acard__name { align-items: flex-start; margin: 16px 0 24px; font-size: 14px; }
  .checks { grid-template-columns: minmax(0,1fr); gap: 12px; margin-bottom: 26px; font-size: 15px; }
  .acard .btn { width: 100%; padding-inline: 16px; }
  .lens { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; margin-top: 24px; padding: 22px 20px; border-radius: 16px; }
  .lens__br { align-items: flex-start; gap: 10px; padding: 0; margin: 0 0 22px; font-size: 16px; line-height: 1.5; }
  .lens__br::after { display: none; }
  .lens__br .tag { margin-top: 3px; }
  .lens__br--rla { margin-top: 28px; }
  .lens__group .tiles { grid-template-columns: minmax(0,1fr); gap: 0; counter-reset: journey; }
  .lens__group--rla { margin-top: 28px; }
  .lens__group--rla .tiles { counter-reset: journey 2; }
  .tile { position: relative; counter-increment: journey; display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 5px 12px; padding: 0 0 22px; }
  .tile::before { content: counter(journey, decimal-leading-zero); grid-row: 1 / 3; display: grid; place-items: center; align-self: start; width: 30px; height: 30px; border-radius: 50%; background: rgba(93,156,234,.12); color: var(--blue-soft); font: 600 11px var(--mono); }
  .tile--rla::before { background: rgba(242,99,24,.12); color: var(--orange-soft); }
  .tile:not(:last-child)::after { content: ""; position: absolute; top: 36px; bottom: 6px; left: 14px; width: 1px; background: var(--hair-3); }
  .tile:last-child { padding-bottom: 0; }
  .tile__ui, .tile__d { display: none; }
  .tile__t { grid-column: 2; margin: 3px 0 0; font-size: 16px; line-height: 1.4; }
  .tile__example { display: block; grid-column: 2; color: var(--text-2); font-size: 14px; line-height: 1.55; }
  .lens__ims { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 13px; line-height: 1.5; }
  .lens__ims::before { display: none; }
  .dcard h3 { font-size: 20px; line-height: 1.2; }
  .dcard__lede, .dcard__txt { font-size: 15px; line-height: 1.65; }
  .dcard__title { font-size: 30px; line-height: 1.15; }
  .dcard__actions { align-items: stretch; gap: 8px; padding-top: 8px; }
  .dcard--both .dcard__actions { align-items: stretch; }
  .dcard__actions .btn, .dcard--both .btn { width: 100%; }
  .dcard__actions .textlink { justify-content: center; font-size: 14px; }
  .phone { width: min(calc(100% + 16px),420px); height: clamp(580px,172vw,740px); padding: 9px; }
  .phone__screen { min-height: 0; }
  .phone__status, .phone__contact { flex: none; }
  .phone__contact { font-size: 14px; }
  .thread { min-height: 0; gap: 7px; padding: 16px 12px 28px; }
  .msg { max-width: 84%; padding: 10px 13px; font-size: 16px; line-height: 1.4; }
  .note { font-size: 12px; }
  .anno { font-size: 11.5px; line-height: 1.5; }
  .moments { gap: 4px; }
  .moment { grid-template-columns: 34px minmax(0,1fr); padding: 14px 0; }
  .moment h3 { font-size: 17px; line-height: 1.3; }
  .moment p { font-size: 14px; line-height: 1.6; }
  .case__name { min-height: 92px; margin-bottom: 26px; }
  .case__big { font-size: clamp(36px,10.5vw,48px); }
  .case__cap { font-size: 15px; }
  .field { padding: 22px 18px; }
  .field__cap { min-height: 3em; font-size: 18px; line-height: 1.5; }
  .field__grid { grid-template-columns: repeat(22,minmax(0,1fr)); gap: 9px 5px; }
  .field__grid i { width: 100%; max-width: 9px; }
  .field__grid i.hot { transform: scale(1.3); box-shadow: 0 0 0 2px rgba(255,138,42,.18); }
  .tally__row { grid-template-columns: 70px minmax(0,1fr); padding: 18px 20px; }
  .tally__row b { font-size: 32px; }
  .tally__row span { font-size: 15px; line-height: 1.5; }
  .verdict { margin-top: 32px; }
  .verdict p { font-size: 18px; }
  .simple li { font-size: 16px; }
  .final { padding: 76px 0; }
  .final h2 { font-size: clamp(34px,9vw,46px); line-height: 1.12; }
  .final__sub { font-size: 20px; line-height: 1.5; }
  .final .btn { width: 100%; }
  .final__meta { font-size: 13px; line-height: 1.7; }
  .final__alt { margin-top: 12px; font-size: 15px; }
  .final__alt .textlink { justify-content: center; }
  .footer { padding: 36px 0; }
  .footer__links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 24px; font-size: 14px; }
  .footer__legal { gap: 16px; padding-top: 12px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .acard, .dcard, .case { padding: 20px; }
  .card__body { padding-inline: 16px; }
  .card__stage { padding-inline: 12px; }
  .hero__phone { --ps: .98; }
  .app__bar .av, .doc { display: none; }
  .lens { padding: 20px 16px; }
  .motion-toggle { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .scene-replay, .motion-toggle { display: none !important; }
}
