/* =========================================================
   Veraqor · Digital Colleague — marketing site mockup
   Plain CSS, no build step. Dark (default) + light theme.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* brand constants */
  --navy-950: #050a18;
  --navy-900: #081027;
  --navy-850: #0b1532;
  --navy-800: #101d42;
  --navy-700: #1a2a57;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-700: #0f766e;
  --purple-300: #c4b5fd;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-700: #6d28d9;

  /* theme: dark (default) */
  --bg: var(--navy-950);
  --bg-raised: var(--navy-900);
  --surface: #0d1836;
  --surface-2: #122047;
  --surface-hover: #15264f;
  --line: rgba(160, 182, 232, 0.13);
  --line-strong: rgba(160, 182, 232, 0.24);
  --text: #eef2fb;
  --text-2: #c9d2e6;
  --muted: #9aa8c6;
  --accent: var(--teal-300);          /* accent text */
  --accent-2: var(--purple-300);      /* secondary accent text */
  --accent-bg: rgba(45, 212, 191, 0.12);
  --accent-2-bg: rgba(139, 92, 246, 0.16);
  --btn-bg: var(--teal-400);
  --btn-text: var(--navy-950);
  --btn-hover: var(--teal-300);
  --ghost-border: rgba(238, 242, 251, 0.28);
  --grad: linear-gradient(100deg, var(--teal-300) 0%, #8fd8f0 45%, var(--purple-300) 100%);
  --glow-1: rgba(45, 212, 191, 0.18);
  --glow-2: rgba(139, 92, 246, 0.22);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--line);
  --shadow-md: 0 14px 40px -18px rgba(0, 0, 0, 0.6);
  --focus: var(--teal-300);

  /* chat demo ("app") tokens */
  --app-bg: #0a1430;
  --app-rail: #070f26;
  --app-head: #0d1938;
  --app-bubble: #13224a;
  --app-bubble-me: #2a2166;
  --app-card: #0f1c40;
  --app-line: rgba(160, 182, 232, 0.14);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-raised: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f2f9;
  --surface-hover: #f5f7fd;
  --line: rgba(11, 21, 50, 0.10);
  --line-strong: rgba(11, 21, 50, 0.18);
  --text: #0a1330;
  --text-2: #2a3557;
  --muted: #4c5878;
  --accent: var(--teal-700);
  --accent-2: var(--purple-700);
  --accent-bg: rgba(15, 118, 110, 0.09);
  --accent-2-bg: rgba(109, 40, 217, 0.08);
  --btn-bg: var(--navy-850);
  --btn-text: #ffffff;
  --btn-hover: var(--navy-700);
  --ghost-border: rgba(10, 19, 48, 0.25);
  --grad: linear-gradient(100deg, #0f766e 0%, #1d6fa3 45%, #6d28d9 100%);
  --glow-1: rgba(45, 212, 191, 0.20);
  --glow-2: rgba(139, 92, 246, 0.16);
  --shadow-lg: 0 30px 70px -28px rgba(11, 21, 50, 0.35), 0 0 0 1px var(--line);
  --shadow-md: 0 14px 34px -20px rgba(11, 21, 50, 0.35);
  --focus: var(--purple-700);

  --app-bg: #f7f8fc;
  --app-rail: #e9ecf6;
  --app-head: #ffffff;
  --app-bubble: #ffffff;
  --app-bubble-me: #e9e4ff;
  --app-card: #ffffff;
  --app-line: rgba(11, 21, 50, 0.10);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(45, 212, 191, 0.35); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-text); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em; /* keep italic glyph tails from clipping */
}
.h2 { font-size: clamp(34px, 5.2vw, 58px); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 640px; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head--center .lede { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 10px 30px -12px var(--glow-1); }
.btn--primary:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--ghost-border); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-1px); }
.btn--sm { --pad-y: 10px; --pad-x: 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; letter-spacing: .16em; font-size: 15px; }
.brand__sub { font-size: 13px; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line-strong); white-space: nowrap; }
.nav__links { display: flex; gap: 4px; list-style: none; }
.nav__links a { white-space: nowrap;
  display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none;
  font-size: 15px; color: var(--text-2); transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--text); background: var(--accent-bg); }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--accent-bg); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .nav__links, .nav__actions .btn { display: none; }
  .menu-btn { display: inline-grid; }
  .brand__sub { display: none; }
  .mobile-menu {
    position: fixed; inset: 68px 0 auto 0; z-index: 49;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; box-shadow: var(--shadow-md);
  }
  .mobile-menu.is-open { display: block; }
  .mobile-menu ul { list-style: none; display: grid; gap: 2px; margin-bottom: 16px; }
  .mobile-menu a:not(.btn) { display: block; padding: 12px 4px; text-decoration: none; font-size: 18px; font-family: var(--font-display); border-bottom: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before, .hero__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px);
}
.hero__bg::before {
  width: 620px; height: 620px; left: -160px; top: -220px;
  background: radial-gradient(closest-side, var(--glow-1), transparent);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.hero__bg::after {
  width: 720px; height: 720px; right: -220px; top: 40px;
  background: radial-gradient(closest-side, var(--glow-2), transparent);
  animation: drift-b 26s ease-in-out infinite alternate;
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .5;
}
@keyframes drift-a { to { transform: translate(120px, 80px) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-100px, 60px) scale(0.92); } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 26px; align-content: start; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 14px; color: var(--text-2); text-decoration: none;
}
.pill__tag {
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--accent-bg); color: var(--accent); font-family: var(--font-display);
}
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.0; }
.hero h1 .serif { font-size: 1.08em; letter-spacing: -0.02em; }
.hero__sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--text-2); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: 14px; color: var(--muted); }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* ---------- Chat demo (Teams-style, original UI) ---------- */
.demo { position: relative; }
.demo__frame {
  position: relative; border-radius: 20px; overflow: hidden; background: var(--app-bg);
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 56px 1fr; height: 560px;
  border: 1px solid var(--app-line);
}
.demo__frame::before { /* gradient hairline */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(94, 234, 212, .55), transparent 35%, transparent 65%, rgba(167, 139, 250, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.demo__rail { background: var(--app-rail); border-right: 1px solid var(--app-line); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; }
.rail-ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); }
.rail-ico svg { width: 18px; height: 18px; }
.rail-ico.is-active { background: var(--accent-2-bg); color: var(--accent-2); }
.demo__main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
.demo__frame { grid-template-rows: minmax(0, 1fr); }
.demo__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--app-head); border-bottom: 1px solid var(--app-line); }
.ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.ava--sm { width: 28px; height: 28px; }
.ava-wrap { position: relative; flex: none; }
.presence { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid var(--app-head); }
.demo__who { min-width: 0; }
.demo__who strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.demo__who span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo__tabs { margin-left: auto; display: flex; gap: 4px; font-size: 13px; color: var(--muted); }
.demo__tabs span { padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.demo__tabs .is-active { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent-2); border-radius: 0; }
.demo__log {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: 16px; overflow: hidden; min-height: 0;
  -webkit-mask-image: linear-gradient(transparent 0, #000 56px); mask-image: linear-gradient(transparent 0, #000 56px);
}
.demo__compose { padding: 10px 16px 14px; }
.compose-box {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--app-line); background: var(--app-bubble); color: var(--muted); font-size: 13.5px;
}
.compose-box span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compose-box svg { width: 16px; height: 16px; flex: none; }

.msg { display: flex; gap: 10px; align-items: flex-start; animation: msg-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.msg__body { min-width: 0; max-width: 100%; }
.msg__meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.msg__meta b { color: var(--text-2); font-weight: 600; margin-right: 6px; }
.bubble {
  background: var(--app-bubble); border: 1px solid var(--app-line); border-radius: 4px 14px 14px 14px;
  padding: 10px 13px; font-size: 14px; line-height: 1.5; color: var(--text);
}
.msg--me { justify-content: flex-end; }
.msg--me .bubble { background: var(--app-bubble-me); border-radius: 14px 4px 14px 14px; border-color: transparent; }
.msg--me .msg__meta { text-align: right; }
.day-sep { align-self: center; font-size: 12px; color: var(--muted); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--app-line); animation: msg-in .45s ease both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

/* demo cards */
.dcard { margin-top: 8px; background: var(--app-card); border: 1px solid var(--app-line); border-radius: 12px; overflow: hidden; font-size: 13.5px; }
.dcard__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--app-line); font-weight: 600; font-family: var(--font-display); }
.dcard__head small { font-weight: 500; color: var(--muted); font-family: var(--font-body); font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 10px 12px; border-right: 1px solid var(--app-line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 11.5px; color: var(--muted); }
.deal { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--app-line); }
.deal:first-of-type { border-top: 0; }
.deal__dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.deal__name { font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal__val { font-variant-numeric: tabular-nums; color: var(--text-2); }
.deal__why { grid-column: 2 / -1; font-size: 12px; color: var(--muted); }
.email { padding: 10px 12px; display: grid; gap: 6px; }
.email__row { font-size: 12px; color: var(--muted); }
.email__row b { color: var(--text-2); font-weight: 600; }
.email p { font-size: 13px; color: var(--text-2); }
.approval { border-left: 3px solid var(--accent-2); }
.approval .dcard__head { color: var(--accent-2); }
.approval__body { padding: 10px 12px; display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.approval__actions { display: flex; gap: 8px; padding: 0 12px 12px; }
.abtn {
  font: 600 13px var(--font-display); padding: 8px 14px; border-radius: 8px; border: 1px solid var(--app-line);
  background: transparent; color: var(--text); transition: transform .15s, background-color .2s, box-shadow .2s;
}
.abtn--yes { background: var(--teal-400); color: var(--navy-950); border-color: transparent; }
.abtn.is-pressed { transform: scale(.95); box-shadow: 0 0 0 4px rgba(45, 212, 191, .3); }
.approval__done { display: none; align-items: center; gap: 8px; padding: 0 12px 12px; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.approval__done svg { width: 16px; height: 16px; }
.approval.is-approved .approval__actions { display: none; }
.approval.is-approved .approval__done { display: flex; }
.approval.is-approved { border-left-color: var(--teal-400); }
.approval.is-approved .dcard__head { color: var(--accent); }

.demo__note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.demo__ctrl {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font: 500 13px var(--font-body); cursor: pointer;
}
.demo__ctrl:hover { color: var(--text); }
.demo__ctrl svg { width: 12px; height: 12px; }

/* floating chips around demo */
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.3;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-md);
  animation: bob 6s ease-in-out infinite;
}
.float-chip b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.float-chip span { color: var(--muted); }
.float-chip .chip-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent); flex: none; }
.float-chip .chip-ico svg { width: 16px; height: 16px; }
.float-chip--a { left: -48px; bottom: 50px; }
.float-chip--b { right: 28px; top: -26px; animation-delay: -3s; }
.float-chip--b .chip-ico { background: var(--accent-2-bg); color: var(--accent-2); }
@keyframes bob { 50% { transform: translateY(-8px); } }
.stat b small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
@media (max-width: 1240px) { .float-chip--a { left: -16px; } }
@media (max-width: 1100px) { .float-chip { display: none; } }

@media (max-width: 560px) {
  .demo__frame { grid-template-columns: 1fr; height: 540px; border-radius: 16px; }
  .demo__rail { display: none; }
  .demo__tabs { display: none; }
  .demo__log { padding: 12px; }
  .bubble { font-size: 13.5px; }
  .stat b { font-size: 16px; }
}

/* ---------- Logos/claims strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-raised); }
.strip__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip__item { padding: 26px 22px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; }
.strip__item b { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.strip__item span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) {
  .strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item:nth-child(3) { border-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item { border-left: 0; padding: 18px 0; }
  .strip__item + .strip__item { border-top: 1px solid var(--line); }
}

/* ---------- Colleagues ---------- */
.feature-card {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 0% 0%, var(--glow-1), transparent 70%),
    radial-gradient(600px 300px at 100% 100%, var(--glow-2), transparent 70%),
    var(--surface);
  border: 1px solid var(--line-strong); margin-bottom: 20px;
}
.feature-card__img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1; }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__body { display: grid; gap: 16px; }
.feature-card h3 { font-size: clamp(30px, 4vw, 44px); }
.feature-card h3 small { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.feature-card p { color: var(--text-2); font-size: 18px; max-width: 560px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag-list li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); }
.badge {
  display: inline-flex; align-items: center; gap: 7px; justify-self: start; align-self: start;
  font: 600 12.5px var(--font-display); letter-spacing: .02em; padding: 5px 11px; border-radius: 999px;
}
.badge--live { background: var(--accent-bg); color: var(--accent); }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(45, 212, 191, .25); animation: pulse 2s infinite; }
.badge--soon { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); } }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.person {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, background-color .3s ease;
}
.person:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-hover); }
.person img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; filter: saturate(.9); }
.person__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.person h3 { font-size: 20px; }
.person__role { font-size: 13.5px; color: var(--accent-2); font-weight: 500; margin-top: 2px; }
.person p { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-card__img { max-width: 220px; }
}
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; gap: 12px; } .person { padding: 16px; } .person img { width: 64px; height: 64px; } .person { grid-template-columns: 64px 1fr; } }

/* ---------- Rhythm ---------- */
.tax-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; margin-bottom: clamp(48px, 7vw, 80px); }
.tax-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.tax-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text-2); }
.tax-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
@media (max-width: 860px) { .tax-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tax-list { grid-template-columns: 1fr; } }

.rhythm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.rhythm__col {
  position: relative; padding: 22px 20px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: 14px; align-content: start;
}
.rhythm__col::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 2px; border-radius: 2px;
  background: var(--grad); opacity: .85;
}
.rhythm__when { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rhythm__when h3 { font-size: 22px; }
.rhythm__when span { font-size: 12px; color: var(--muted); font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.rhythm__lead { font-size: 15px; color: var(--text-2); }
.plays { list-style: none; display: grid; gap: 8px; }
.play { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.play b { display: block; font-size: 14px; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.005em; }
.play span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.rhythm-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; color: var(--muted); }
.rhythm-foot b { color: var(--text-2); font-weight: 600; }
@media (max-width: 1020px) { .rhythm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rhythm { grid-template-columns: 1fr; } }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.compare__col { padding: clamp(22px, 3vw, 36px); }
.compare__col h3 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.compare__col ul { list-style: none; display: grid; gap: 0; }
.compare__col li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
.compare__col li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.compare__col--them { background: var(--surface); color: var(--muted); }
.compare__col--them svg { color: var(--muted); opacity: .7; }
.compare__col--us {
  background:
    radial-gradient(500px 260px at 100% 0%, var(--glow-2), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, var(--glow-1), transparent 70%),
    var(--surface-2);
  color: var(--text);
}
.compare__col--us svg { color: var(--accent); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Control ---------- */
.rails { border-radius: var(--radius-lg); border: 1px solid var(--line-strong); overflow: hidden; background: var(--surface); }
.rails table { width: 100%; border-collapse: collapse; }
.rails caption { text-align: left; padding: 0; }
.rails th, .rails td { text-align: left; vertical-align: top; padding: 16px clamp(16px, 2.4vw, 28px); font-size: 16px; border-top: 1px solid var(--line); }
.rails thead th { border-top: 0; padding-top: 22px; padding-bottom: 18px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.rails thead th:first-child { color: var(--accent); }
.rails thead th:last-child { color: var(--accent-2); }
.rails thead th span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.rails td:first-child { width: 50%; color: var(--text-2); }
.rails td:last-child { background: color-mix(in srgb, var(--accent-2-bg) 55%, transparent); color: var(--text); font-weight: 500; }
.rails thead th:last-child { background: color-mix(in srgb, var(--accent-2-bg) 55%, transparent); }
@media (max-width: 620px) {
  .rails thead { display: none; }
  .rails tr { display: grid; border-top: 1px solid var(--line); }
  .rails td { border-top: 0; width: auto !important; padding: 12px 16px; }
  .rails td::before { display: block; font: 600 11.5px var(--font-display); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
  .rails td:first-child::before { content: "Carter decides"; color: var(--accent); }
  .rails td:last-child::before { content: "You decide"; color: var(--accent-2); }
}

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; list-style: none; }
.pillar { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.pillar__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent); }
.pillar:nth-child(even) .pillar__ico { background: var(--accent-2-bg); color: var(--accent-2); }
.pillar__ico svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 18px; letter-spacing: -0.015em; }
.pillar p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; counter-reset: step; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 600 16px var(--font-display); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); position: relative;
}
.step__num::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.step h3 { font-size: 19px; letter-spacing: -0.015em; }
.step p { font-size: 15px; color: var(--muted); }
.step__time { font-size: 12.5px; font-family: var(--font-display); font-weight: 600; color: var(--accent); letter-spacing: .02em; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Number + guarantee ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); list-style: none; }
.metric { padding: 28px 24px; border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.metric:first-child { border-left: 0; }
.metric__k { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-display); font-weight: 600; }
.metric__v { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.metric__d { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr; }
  .metric { border-left: 0; }
  .metric + .metric { border-top: 1px solid var(--line); }
}

.guarantee {
  margin-top: 24px; position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0b1d3f 0%, #10224d 50%, #22175a 100%);
  color: #eef2fb; border: 1px solid rgba(160, 182, 232, .22);
}
.guarantee::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, .28), transparent); filter: blur(20px);
}
.guarantee h3 { font-size: clamp(28px, 3.6vw, 42px); }
.guarantee .eyebrow { color: var(--teal-300); }
.guarantee p { color: #c9d2e6; margin-top: 16px; font-size: 17px; }
.guarantee__seal { display: grid; gap: 12px; list-style: none; }
.guarantee__seal li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(160, 182, 232, .16); font-size: 15.5px; color: #dfe6f5; }
.guarantee__seal svg { width: 20px; height: 20px; color: var(--teal-300); flex: none; margin-top: 1px; }
@media (max-width: 860px) { .guarantee { grid-template-columns: 1fr; } }

/* ---------- Proof ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.proof__faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; }
.proof__faces li { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); }
.proof__faces li:nth-child(5) { grid-column: 1 / 2; }
.proof__faces img { width: 100%; height: 100%; object-fit: cover; }
.proof__faces span {
  position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 4px 6px; border-radius: 8px; text-align: center;
  font: 600 11.5px var(--font-display); color: #fff; background: rgba(5, 10, 24, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.proof__faces .proof__cta { display: grid; place-items: center; text-align: center; padding: 10px; background: var(--accent-bg); border-color: var(--line-strong); font: 600 13px var(--font-display); color: var(--accent); line-height: 1.3; }
.proof__body { display: grid; gap: 20px; }
.proof__list { list-style: none; display: grid; gap: 12px; }
.proof__list li { display: flex; gap: 12px; font-size: 16px; color: var(--text-2); }
.proof__list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.8vw, 19px); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .3s ease, background-color .2s; }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent-bg); }
.faq summary:hover .plus { background: var(--accent-bg); }
.faq__a { padding: 0 4px 24px; color: var(--text-2); display: grid; gap: 10px; max-width: 720px; }
.faq__a a { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(500px 300px at 30% 50%, var(--glow-1), transparent 70%),
    radial-gradient(500px 300px at 70% 50%, var(--glow-2), transparent 70%);
}
.cta-band h2 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.035em; }
.cta-band p { margin: 20px auto 32px; }
.cta-band .hero__ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-raised); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__grid h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer__grid ul { list-style: none; display: grid; gap: 10px; color: var(--text-2); }
.footer__grid a { text-decoration: none; color: var(--text-2); }
.footer__grid a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer__tag { color: var(--muted); margin-top: 14px; max-width: 320px; }
.footer__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Pricing page ---------- */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.035em; margin: 18px 0 20px; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: var(--surface); display: grid; gap: 22px; align-content: start;
}
.plan--main {
  background:
    radial-gradient(520px 280px at 100% 0%, var(--glow-2), transparent 70%),
    radial-gradient(520px 280px at 0% 100%, var(--glow-1), transparent 70%),
    var(--surface);
}
.plan__head { display: flex; align-items: center; gap: 14px; }
.plan__head img { width: 56px; height: 56px; border-radius: 14px; }
.plan__head h2 { font-size: 26px; }
.plan__head p { color: var(--muted); font-size: 14.5px; }
.price { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price__v { font-family: var(--font-display); font-size: clamp(32px, 4vw, 44px); font-weight: 650; letter-spacing: -0.03em; }
.price__d { color: var(--muted); font-size: 15px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 16px; color: var(--text-2); }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }
.plan__note { font-size: 13.5px; color: var(--muted); }
.mini-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; }
.mini-team li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13.5px; min-width: 0; }
.mini-team img { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.mini-team b { display: block; font-family: var(--font-display); font-size: 14px; }
.mini-team span { color: var(--muted); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-team div { min-width: 0; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .mini-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg::before, .hero__bg::after, .float-chip { animation: none !important; }
}

/* ---------- Small-screen refinements ---------- */
.proof__faces em { font-style: normal; }
.demo .dcard__head small { white-space: nowrap; }
@media (max-width: 560px) {
  .proof__faces em { display: none; }
  .feature-card p { font-size: 16px; }
}


/* =========================================================
   Story chapters: colleagues cards, Teams view, account, hand-off
   (merged from the all-colleagues vision preview)
   ========================================================= */

.chapter-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 780px; }
.chapter-num { font: 600 13px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.sample-tag {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: 999px;
  font: 600 12px var(--font-display); letter-spacing: .03em; color: var(--accent-2); background: var(--accent-2-bg); border: 1px dashed var(--accent-2);
}

/* ---------- 1. Website: all colleagues ---------- */
.vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.vcard {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s;
}
.vcard:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.vcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.vcard__img .badge { position: absolute; left: 12px; top: 12px; background: rgba(5, 10, 24, .7); color: var(--teal-300); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vcard__body { padding: 18px; display: grid; gap: 12px; align-content: start; }
.vcard h3 { font-size: 22px; }
.vcard__role { font-size: 13.5px; color: var(--accent-2); font-weight: 500; margin-top: 2px; }
.vcard__line { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.vcard__label { font: 600 11.5px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vcard ul.owns { list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.vcard ul.owns li { display: flex; gap: 8px; line-height: 1.4; }
.vcard ul.owns svg { width: 14px; height: 14px; color: var(--accent); flex: none; margin-top: 3px; }
.moves { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.moves li { font-size: 12.5px; padding: 4px 9px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); line-height: 1.35; }
.moves li b { color: var(--text); font-weight: 600; }
.vcard--cta {
  display: grid; place-content: center; text-align: center; gap: 14px; padding: 28px;
  background:
    radial-gradient(360px 220px at 0% 0%, var(--glow-1), transparent 70%),
    radial-gradient(360px 220px at 100% 100%, var(--glow-2), transparent 70%),
    var(--surface);
  border-color: var(--line-strong);
}
.vcard--cta h3 { font-size: 26px; }
.vcard--cta p { color: var(--text-2); font-size: 15px; }
@media (max-width: 1100px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vgrid { grid-template-columns: 1fr; } }

/* ---------- Generic device frame ---------- */
.frame {
  border-radius: 18px; overflow: hidden; background: var(--app-bg); border: 1px solid var(--app-line);
  box-shadow: var(--shadow-lg);
}
.frame__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--app-rail); border-bottom: 1px solid var(--app-line); }
.frame__dots { display: flex; gap: 6px; flex: none; }
.frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame__url {
  flex: 1; min-width: 0; max-width: 460px; margin: 0 auto; text-align: center; font-size: 12.5px; color: var(--muted);
  padding: 5px 12px; border-radius: 8px; background: var(--app-bg); border: 1px solid var(--app-line);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 2. Account (web app) ---------- */
.app { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 640px; }
.app__side { background: var(--app-head); border-right: 1px solid var(--app-line); padding: 16px 12px; display: grid; gap: 4px; align-content: start; }
.app__co { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--app-line); }
.app__co-logo { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font: 700 13px var(--font-display); color: var(--navy-950); background: var(--grad); flex: none; }
.app__co b { display: block; font: 600 14px var(--font-display); }
.app__co span { display: block; font-size: 12px; color: var(--muted); }
.app__nav { list-style: none; display: grid; gap: 2px; }
.app__nav span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--text-2); }
.app__nav span.is-on { background: var(--accent-bg); color: var(--text); font-weight: 500; }
.app__nav em { font-style: normal; font: 600 11px var(--font-display); padding: 1px 7px; border-radius: 999px; background: var(--accent-2-bg); color: var(--accent-2); }
.app__main { padding: 20px clamp(16px, 2.4vw, 28px) 28px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.app__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.app__top h3 { font-size: 22px; }
.app__top p { font-size: 13.5px; color: var(--muted); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--app-line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  font: 500 14px var(--font-body); color: var(--muted); background: none; border: 0; padding: 10px 12px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabpanel { display: grid; gap: 16px; }
.tabpanel[hidden] { display: none; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; }
.kpi { padding: 14px 16px; border-radius: 12px; background: var(--app-card); border: 1px solid var(--app-line); display: grid; gap: 2px; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi b { font: 600 26px var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 12px; color: var(--accent); }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tbl-wrap { border-radius: 12px; border: 1px solid var(--app-line); background: var(--app-card); overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-top: 1px solid var(--app-line); vertical-align: middle; }
.tbl thead th { border-top: 0; font: 600 12px var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tfoot td { font-weight: 600; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.who b { display: block; font: 600 14px var(--font-display); }
.who span { display: block; font-size: 12px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--on { color: var(--accent); background: var(--accent-bg); }
.status--new { color: var(--accent-2); background: var(--accent-2-bg); }
.status--wait { color: #d97706; background: rgba(245, 158, 11, .12); }
:root:not([data-theme="light"]) .status--wait { color: #fbbf24; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } }
.panel { border-radius: 12px; border: 1px solid var(--app-line); background: var(--app-card); padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.panel h4 { font: 600 15px var(--font-display); letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.panel h4 small { font: 500 12px var(--font-body); color: var(--muted); }
.feed { list-style: none; display: grid; gap: 0; }
.feed li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--app-line); font-size: 13.5px; color: var(--text-2); }
.feed li:first-child { border-top: 0; }
.feed img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.feed time { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; padding-left: 8px; }
.mini-btns { display: flex; gap: 6px; margin-top: 6px; }

/* bars (hours back) */
.bars { list-style: none; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 70px 1fr 44px; align-items: center; gap: 10px; font-size: 13px; }
.bars .track, .bars .fill { display: block; }
.bars .track { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bars .fill { height: 100%; border-radius: 99px; background: var(--grad); transform-origin: left; }
.bars .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); }

/* Add-a-colleague stepper */
.wizard { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; }
.wsteps { list-style: none; display: grid; gap: 4px; align-content: start; counter-reset: ws; }
.wsteps li button {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid transparent; background: none; color: var(--muted); font: 500 14px var(--font-body); cursor: pointer;
}
.wsteps li button i {
  font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 600 12px var(--font-display); border: 1px solid var(--line-strong);
}
.wsteps li button[aria-current="step"] { background: var(--accent-bg); color: var(--text); border-color: var(--line); }
.wsteps li button[aria-current="step"] i { background: var(--btn-bg); color: var(--btn-text); border-color: transparent; }
.wsteps li button.is-done i { background: var(--accent-bg); color: var(--accent); border-color: transparent; }
.wpane { border-radius: 12px; border: 1px solid var(--app-line); background: var(--app-card); padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 14px; align-content: start; min-height: 360px; }
.wpane[hidden] { display: none; }
.wpane h4 { font: 600 19px var(--font-display); letter-spacing: -0.015em; }
.wpane p { color: var(--text-2); font-size: 14.5px; }
.wpane__foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; list-style: none; }
.pick li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid var(--app-line); font-size: 13px; }
.pick li img { width: 36px; height: 36px; border-radius: 50%; }
.pick li b { display: block; font: 600 14px var(--font-display); }
.pick li span { color: var(--muted); font-size: 12px; }
.pick li.is-hired { opacity: .55; }
.pick li.is-picked { border-color: var(--accent); background: var(--accent-bg); box-shadow: 0 0 0 3px rgba(45, 212, 191, .15); }
.conns { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; list-style: none; }
.conns li { padding: 12px; border-radius: 12px; border: 1px solid var(--app-line); display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.conns li b { font: 600 14px var(--font-display); color: var(--text); }
.conns li.is-picked { border-color: var(--accent); background: var(--accent-bg); }
.summary { list-style: none; display: grid; gap: 0; border-radius: 10px; border: 1px solid var(--app-line); }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--app-line); font-size: 14px; }
.summary li:first-child { border-top: 0; }
.summary li span { color: var(--muted); }
.ok-line { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.ok-line svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
@media (max-width: 760px) {
  .wizard { grid-template-columns: 1fr; }
  .wsteps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wsteps li button { flex-direction: column; gap: 4px; font-size: 11.5px; text-align: center; padding: 8px 4px; }
}

/* Results */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px;
  border: 1px solid var(--app-line); background: none; color: var(--text-2); font: 500 13.5px var(--font-body); cursor: pointer;
}
.chip img { width: 26px; height: 26px; border-radius: 50%; }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-bg); color: var(--text); }
.res-head { display: flex; align-items: center; gap: 14px; }
.res-head img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.res-head h4 { font: 600 20px var(--font-display); }
.res-head p { font-size: 13.5px; color: var(--muted); }
.res-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; }
.res-metric { padding: 14px; border-radius: 12px; border: 1px solid var(--app-line); background: var(--app-card); display: grid; gap: 4px; align-content: start; }
.res-metric span { font-size: 12px; color: var(--muted); }
.res-metric b { font: 600 22px var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.res-metric small { font-size: 12px; color: var(--text-2); }
.res-metric small.up { color: var(--accent); }
.target { font-size: 11.5px; color: var(--muted); }
@media (max-width: 900px) { .res-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 3. Teams-style view ---------- */
.teams { display: grid; grid-template-columns: 56px 300px minmax(0, 1fr); height: 660px; }
.teams .demo__rail { height: 100%; }
.clist { border-right: 1px solid var(--app-line); background: var(--app-head); display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
.clist__head { padding: 14px 16px 10px; font: 600 16px var(--font-display); display: flex; justify-content: space-between; align-items: center; }
.clist__head small { font: 500 12px var(--font-body); color: var(--muted); }
.clist ul { list-style: none; overflow-y: auto; padding: 0 8px 8px; }
.citem {
  width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 9px 8px; border-radius: 10px; background: none; border: 0; text-align: left; color: var(--text); cursor: pointer;
}
.citem:hover { background: var(--surface-hover); }
.citem[aria-pressed="true"] { background: var(--accent-2-bg); }
.citem .ava-wrap .presence { border-color: var(--app-head); }
.citem img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.citem__txt { min-width: 0; }
.citem__txt b { display: flex; gap: 6px; align-items: baseline; font: 600 14px var(--font-display); }
.citem__txt b small { font: 400 11.5px var(--font-body); color: var(--muted); }
.citem__txt span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.citem__meta { display: grid; justify-items: end; gap: 4px; font-size: 11.5px; color: var(--muted); }
.unread { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--purple-500); color: #fff; font: 600 11px var(--font-display); display: grid; place-items: center; }
.citem.is-unread .citem__txt span { color: var(--text-2); font-weight: 500; }
.tchat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
.tchat .demo__log { justify-content: flex-start; overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
.tchat .bubble { max-width: 640px; }
.rag { display: grid; gap: 0; }
.rag div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--app-line); font-size: 13px; }
.rag div:first-child { border-top: 0; }
.rag i { font-style: normal; font: 600 11.5px var(--font-display); padding: 2px 8px; border-radius: 99px; text-align: center; align-self: start; }
.rag .g { background: rgba(34, 197, 94, .14); color: #16a34a; }
.rag .y { background: rgba(245, 158, 11, .14); color: #d97706; }
.rag .r { background: rgba(239, 68, 68, .14); color: #dc2626; }
:root:not([data-theme="light"]) .rag .g { color: #4ade80; }
:root:not([data-theme="light"]) .rag .y { color: #fbbf24; }
:root:not([data-theme="light"]) .rag .r { color: #f87171; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 0; }
.kv span, .kv b { padding: 7px 12px; border-top: 1px solid var(--app-line); font-size: 13px; }
.kv span:nth-child(-n+2), .kv b:nth-child(-n+2) { border-top: 0; }
.kv span { color: var(--text-2); }
.kv b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-actions { display: flex; gap: 8px; padding: 0 12px 12px; flex-wrap: wrap; }
@media (max-width: 1000px) { .teams { grid-template-columns: 260px minmax(0, 1fr); } .teams .demo__rail { display: none; } }
@media (max-width: 700px) {
  .teams { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: 720px; }
  .clist { border-right: 0; border-bottom: 1px solid var(--app-line); grid-template-rows: auto auto; }
  .clist ul { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; padding: 0 8px 10px; }
  .clist li { flex: none; }
  .citem { grid-template-columns: 1fr; justify-items: center; width: 74px; padding: 6px 4px; gap: 4px; }
  .citem__txt span, .citem__meta, .citem__txt b small { display: none; }
  .citem__txt b { font-size: 12.5px; justify-content: center; }
}

/* ---------- 4. Hand-off ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; position: relative; margin-bottom: 18px; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 30px; height: 2px; background: var(--line-strong); z-index: 0; }
.flow__btn {
  position: relative; z-index: 1; width: 100%; display: grid; justify-items: center; gap: 8px; text-align: center;
  background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0 4px 8px; font: 500 13px var(--font-body);
}
.flow__btn img, .flow__btn .flow__you {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--line-strong); transition: box-shadow .3s, transform .3s, filter .3s; filter: grayscale(.6);
}
.flow__you { display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.flow__you svg { width: 26px; height: 26px; }
.flow__btn b { font: 600 14px var(--font-display); color: var(--text-2); }
.flow__btn.is-done img, .flow__btn.is-done .flow__you { filter: none; box-shadow: 0 0 0 2px var(--accent); }
.flow__btn[aria-current="step"] img, .flow__btn[aria-current="step"] .flow__you { filter: none; box-shadow: 0 0 0 3px var(--accent), 0 0 30px var(--glow-1); transform: scale(1.08); }
.flow__btn[aria-current="step"] b { color: var(--text); }
.flow__progress { position: absolute; left: 10%; top: 30px; height: 2px; background: var(--grad); z-index: 0; width: 0; transition: width .6s ease; }

.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.stage[hidden] { display: none; }
.stage__card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: clamp(18px, 2.6vw, 26px); display: grid; gap: 12px; align-content: start; animation: msg-in .5s ease both; }
.stage__card h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.stage__card h3 img { width: 40px; height: 40px; border-radius: 50%; }
.stage__card p { color: var(--text-2); font-size: 15px; }
.stage__label { font: 600 11.5px var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.stage__label--auto { color: var(--accent); }
.stage__label--you { color: var(--accent-2); }
.did { list-style: none; display: grid; gap: 8px; }
.did li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.did svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }
.ask { border-radius: 12px; border: 1px solid var(--line-strong); border-left: 3px solid var(--accent-2); background: var(--surface-2); overflow: hidden; }
.ask__head { padding: 10px 14px; font: 600 14px var(--font-display); color: var(--accent-2); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }
.ask__head small { font: 500 12px var(--font-body); color: var(--muted); }
.ask__body { padding: 12px 14px; font-size: 14px; color: var(--text-2); display: grid; gap: 6px; }
.ask__btns { display: flex; gap: 8px; padding: 0 14px 14px; flex-wrap: wrap; }
.ask .approval__done { padding: 0 14px 14px; }
.ask.is-approved { border-left-color: var(--teal-400); }
.ask.is-approved .ask__btns { display: none; }
.ask.is-approved .approval__done { display: flex; }
.ask.is-approved .ask__head { color: var(--accent); }
.audit-line { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.audit-line svg { width: 14px; height: 14px; }
.flow-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.flow-ctrl div { display: flex; gap: 8px; }
.brief { list-style: none; display: grid; gap: 0; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.brief li { padding: 9px 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); display: flex; gap: 8px; }
.brief li:first-child { border-top: 0; }
.brief li b { color: var(--text); font-weight: 600; flex: none; min-width: 74px; }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .flow { gap: 2px; }
  .flow__btn img, .flow__btn .flow__you { width: 46px; height: 46px; }
  .flow::before, .flow__progress { top: 23px; }
  .flow__btn { font-size: 11px; }
  .flow__btn b { font-size: 12px; }
  .flow__btn span.flow__sub { display: none; }
}

/* ---------- small helpers ---------- */
.btn--xs { --pad-y: 8px; --pad-x: 14px; font-size: 13px; }
.muted { color: var(--muted); }
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
}

/* ---------- Merged-story additions ---------- */
.vgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .vgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vgrid--3 { grid-template-columns: 1fr; } }
.vcard__img .badge--soon { color: #dfe6f5; background: rgba(5, 10, 24, .66); border-color: transparent; }
.feature-card__moves { display: grid; gap: 8px; }
.joining-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin: 40px 0 18px; }
.joining-head h3 { font-size: 24px; }
.joining-head p { color: var(--muted); font-size: 15px; }
.joining-head a { color: var(--accent); }
.future-intro { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.future-intro .hero__bg { z-index: -1; }
.future-intro .sample-tag { justify-self: center; }

/* ---------- Header nav: six product-level items ---------- */
@media (max-width: 1240px) { .brand__sub { display: none; } }

/* =========================================================
   Colleague showcase (home page)
   ========================================================= */
.anchor-alias { position: relative; top: -84px; display: block; height: 0; }
.cs-tabs {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px;
}
.cs-tab {
  position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; text-align: left;
  padding: 8px 10px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-2); font: 500 13px var(--font-body); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.cs-tab:hover { border-color: var(--line-strong); color: var(--text); }
.cs-tab img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; filter: grayscale(.35); transition: filter .2s; }
.cs-tab span { min-width: 0; display: grid; }
.cs-tab b { font: 600 14px var(--font-display); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-tab small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-tab[aria-selected="true"] { border-color: var(--accent); background: var(--accent-bg); color: var(--text); box-shadow: 0 0 0 3px rgba(45, 212, 191, .12); }
.cs-tab[aria-selected="true"] img { filter: none; }
.cs-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 3px rgba(45, 212, 191, .2); }
@media (max-width: 1100px) {
  .cs-tabs { display: flex; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
  .cs-tab { flex: none; width: 156px; }
}

.cs-panel { display: grid; gap: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--surface); padding: clamp(18px, 3vw, 32px); }
.cs-panel[hidden] { display: none; }
.cs-panel:not([hidden]) { animation: msg-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.cs-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.cs-who { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: start; }
.cs-photo { width: 148px; height: 148px; border-radius: 20px; object-fit: cover; }
.cs-intro { display: grid; gap: 12px; align-content: start; }
.cs-name { font-size: clamp(28px, 3.4vw, 38px); }
.cs-name small { display: block; font: 500 14.5px var(--font-body); letter-spacing: 0; color: var(--accent-2); margin-top: 6px; }
.cs-tagline { font-size: 18px; color: var(--text); font-weight: 500; line-height: 1.45; }
.cs-text { font-size: 15.5px; color: var(--text-2); }
.cs-more { display: inline-flex; align-items: center; gap: 6px; font: 600 14.5px var(--font-display); color: var(--accent); text-decoration: none; padding: 10px 4px; }
.cs-more svg { width: 14px; height: 14px; transition: transform .2s; }
.cs-more:hover svg { transform: translateX(3px); }
.cs-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.cs-lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.cs-label { font: 600 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tax-list--one { grid-template-columns: 1fr; }
.tax-list--one li { font-size: 15px; padding: 11px 0; }
.cs-owns svg { color: var(--accent-2); }
.cs-block .rhythm__col { background: var(--surface-2); }
.rhythm__when .rhythm__h { font-size: 21px; }
.cs-block .metrics { background: var(--surface-2); }
.cs-block .rails { background: var(--surface-2); }
.rhythm-foot { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.rhythm-foot b { color: var(--text-2); }
@media (max-width: 980px) { .cs-top { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .cs-who { grid-template-columns: 1fr; }
  .cs-photo { width: 112px; height: 112px; }
  .cs-lists { grid-template-columns: 1fr; }
}
/* stacked decides / you-decide labels use the per-cell label when present */
@media (max-width: 620px) {
  .rails td[data-label]::before { content: attr(data-label); }
}

/* slimmer colleague cards on the home page */
.vcard__links { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- chat snippet inside each showcase tab ---------- */
.cs-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.cs-side { display: grid; gap: 20px; align-content: start; }
.cs-side .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-side .metric:nth-child(3) { border-left: 0; }
.cs-side .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
.cs-note { font-size: 13px; color: var(--muted); margin-top: -8px; }
.cs-soon { font-size: 14px; color: var(--muted); }
.chat-snippet { margin: 0; box-shadow: var(--shadow-md); }
.chat-snippet .demo__log { justify-content: flex-start; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.chat-snippet__cap { padding: 10px 16px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--app-line); }
@media (max-width: 980px) { .cs-bottom { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .cs-side .metrics { grid-template-columns: 1fr; }
  .cs-side .metric { border-left: 0; }
  .cs-side .metric + .metric { border-top: 1px solid var(--line); }
}
.play__soon {
  display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font: 600 11px var(--font-display);
  font-style: normal; letter-spacing: .02em; color: var(--accent-2); background: var(--accent-2-bg); border: 1px dashed var(--accent-2);
}

/* ---------- Additions for the live site (added by web/scripts/import-site.cjs) ---------- */
/* Sign in sits next to Get started in the mobile menu. */
.mobile-menu .btn--block + .btn--block { margin-top: 10px; }
/* Room for Sign in next to Get started on mid-size screens. */
.nav__links a { white-space: nowrap; }
@media (max-width: 1320px) { .nav { gap: 12px; } .nav__links a { padding: 8px 7px; font-size: 14px; } .brand__sub { display: none; } }
@media (max-width: 1100px) { .nav__links a { padding: 8px 5px; font-size: 13.5px; } }
