/* Inbox — tryinbox.io */
:root {
  --ink: #111318;
  --ink-2: #3b404b;
  --ink-3: #6c7280;
  --ink-4: #9aa0ab;
  --paper: #f6f4ef;
  --paper-2: #efece5;
  --card: #ffffff;
  --line: rgba(17, 19, 24, 0.08);
  --line-2: rgba(17, 19, 24, 0.12);
  --needs: #ff5b2e;
  --needs-bg: #fff0ea;
  --done: #2f9e6e;
  --done-bg: #e8f6ef;
  --select: #6b5cff;
  --night: #07080c;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-1: 0 1px 2px rgba(17, 19, 24, 0.06), 0 4px 14px rgba(17, 19, 24, 0.05);
  --shadow-2: 0 2px 6px rgba(17, 19, 24, 0.06), 0 24px 60px -12px rgba(17, 19, 24, 0.22);
  --shadow-3: 0 30px 80px -20px rgba(17, 19, 24, 0.35), 0 8px 24px rgba(17, 19, 24, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='9' fill='%23111318'/%3E%3Crect x='10.2' y='9.6' width='3.6' height='6.4' rx='1.8' fill='%23fff'/%3E%3Crect x='18.2' y='9.6' width='3.6' height='6.4' rx='1.8' fill='%23fff'/%3E%3Cpath d='M7.5 19.5h5.2l1.3 2.6h4l1.3-2.6h5.2' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --mark-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='9' fill='%23fff'/%3E%3Crect x='10.2' y='9.6' width='3.6' height='6.4' rx='1.8' fill='%23111318'/%3E%3Crect x='18.2' y='9.6' width='3.6' height='6.4' rx='1.8' fill='%23111318'/%3E%3Cpath d='M7.5 19.5h5.2l1.3 2.6h4l1.3-2.6h5.2' fill='none' stroke='%23111318' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; }
::selection { background: rgba(107, 92, 255, 0.22); }
:focus-visible { outline: 2px solid var(--select); outline-offset: 3px; border-radius: 6px; }

.ico { width: 20px; height: 20px; flex: none; }
.ico--xs { width: 14px; height: 14px; }
.ico--sm { width: 16px; height: 16px; }
.ico--dim { opacity: 0.45; }
.ico--ok { color: var(--done); width: 16px; height: 16px; }

/* ── Brand mark ─────────────────────────── */
.mark { display: inline-block; width: 28px; height: 28px; background: var(--mark) center/contain no-repeat; flex: none; }
.mark--sm { width: 18px; height: 18px; }
.mark--xs { width: 14px; height: 14px; border-radius: 4px; }
.mark--xl { width: 64px; height: 64px; filter: drop-shadow(0 12px 24px rgba(17, 19, 24, 0.25)); }

/* ── Avatars: a teammate with eyes that blink ── */
.avatar {
  --c: #6E7BF2;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 18%;
  width: 28px; height: 28px; flex: none;
  border-radius: 31%;
  background: linear-gradient(160deg, color-mix(in oklab, var(--c) 82%, white) 0%, var(--c) 60%, color-mix(in oklab, var(--c) 80%, black) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(17, 19, 24, 0.15);
}
.avatar i {
  width: 13%; height: 32%; border-radius: 99px; background: #fff;
  transform-origin: center; animation: blink 5.2s infinite;
}
.avatar:nth-of-type(2n) i { animation-delay: 1.7s; }
.avatar:nth-of-type(3n) i { animation-delay: 3.1s; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.12); } }
.avatar--xs { width: 20px; height: 20px; }
.avatar--sm { width: 34px; height: 34px; }
.avatar--lg { width: 40px; height: 40px; }
.avatar--xl { width: 52px; height: 52px; }

/* ── Buttons & pills ────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--body); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px -4px rgba(17,19,24,.45); }
.btn--ink:hover { background: #23262e; transform: translateY(-1px); }
.btn--glass { background: rgba(255,255,255,.72); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 20px -6px rgba(17,19,24,.18); }
.btn--glass:hover { background: #fff; transform: translateY(-1px); }
.btn--line { background: rgba(17,19,24,.05); color: var(--ink); }
.btn--line:hover { background: rgba(17,19,24,.09); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--xs { height: 28px; padding: 0 12px; font-size: 12.5px; }

.pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 99px; font: 600 11px/1 var(--body); letter-spacing: 0.01em; white-space: nowrap; }
.pill--needs { background: var(--needs-bg); color: var(--needs); }
.pill--needs::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--review { background: #eef0ff; color: #4d55d9; }
.pill--done { background: var(--done-bg); color: var(--done); }

/* ── Nav ────────────────────────────────── */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 30px -10px rgba(17,19,24,.2), 0 0 0 1px rgba(17,19,24,.04);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 18px/1 var(--display); letter-spacing: -0.03em; margin-right: 18px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a, .nav-signin { padding: 9px 14px; border-radius: 99px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-signin:hover { background: rgba(17,19,24,.05); color: var(--ink); }
.nav-signin { margin-left: 10px; }

/* ── Hero ───────────────────────────────── */
.hero { position: relative; padding: 168px 16px 0; text-align: center; isolation: isolate; }
.hero-sky { position: absolute; inset: 0 0 auto 0; height: min(1080px, 118vh); z-index: -1; overflow: hidden; }
.hero-sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-sky::after { content: ""; position: absolute; inset: auto 0 0 0; height: 32%; background: linear-gradient(to bottom, rgba(246,244,239,0), var(--paper)); }
.sky-dots { opacity: 0; }
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 6px; border-radius: 99px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 4px 16px -6px rgba(17,19,24,.18);
  font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .2s;
}
.eyebrow:hover { background: rgba(255,255,255,.85); }
.eyebrow-stack { display: inline-flex; }
.eyebrow-stack .avatar { margin-left: -6px; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.eyebrow-stack .avatar:first-child { margin-left: 0; }

.hero-title {
  margin-top: 26px;
  font: 800 clamp(50px, 8.6vw, 124px)/0.92 var(--display);
  letter-spacing: -0.045em; color: var(--ink);
  text-wrap: balance;
}
.hero-title .line { display: block; padding: 0 0.04em; }
.hero-title em { font-size: 1.12em; letter-spacing: -0.035em; line-height: 0.9; display: inline-block; padding-right: 0.06em; }
.hero-sub { margin-top: 26px; max-width: 660px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero-ctas { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── Product window ─────────────────────── */
.window-wrap { position: relative; max-width: 1240px; margin: 72px auto 0; perspective: 1800px; }
.window-wrap::before { /* soft colored light under the glass */
  content: ""; position: absolute; inset: 8% 6% -4%; z-index: -1; border-radius: 40px;
  background: radial-gradient(40% 60% at 25% 60%, rgba(110,123,242,.28), transparent 70%), radial-gradient(40% 60% at 78% 50%, rgba(232,106,154,.22), transparent 70%);
  filter: blur(40px);
}
.window {
  position: relative; text-align: left;
  border-radius: 22px; overflow: hidden;
  background: rgba(252,251,249,.86);
  backdrop-filter: blur(28px) saturate(1.4); -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 0 50px 100px -30px rgba(40,34,70,.38), 0 18px 40px -18px rgba(17,19,24,.22), 0 0 0 1px rgba(255,255,255,.7) inset, 0 0 0 1px rgba(17,19,24,.07);
  transform-origin: 50% 0;
  font-size: 13px;
}
.tlogo { width: 16px; height: 16px; flex: none; object-fit: contain; }

.win-bar { position: relative; display: flex; align-items: center; gap: 16px; height: 46px; padding: 0 14px 0 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.5); }
.lights { display: inline-flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: 0 0 0 .5px rgba(0,0,0,.12) inset; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.win-title { display: inline-flex; align-items: center; gap: 7px; font: 600 13px/1 var(--body); }
.win-search { position: absolute; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; width: min(380px, 34%); height: 30px; padding: 0 6px 0 10px; border-radius: 9px; background: rgba(17,19,24,.045); color: var(--ink-4); font-size: 12.5px; }
.win-search kbd { margin-left: auto; font: 500 10.5px/1 var(--mono); background: #fff; color: var(--ink-3); padding: 4px 6px; border-radius: 5px; box-shadow: 0 0 0 1px var(--line); }
.win-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--done-bg); color: var(--done); font: 600 11.5px/1 var(--body); }
.win-live i, .team-live::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, currentColor 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 6px transparent; } }

.win-body { display: grid; grid-template-columns: 56px 336px minmax(0, 1fr) 232px; grid-template-rows: minmax(0, 1fr); height: 612px; }
.win-body > * { min-height: 0; overflow: hidden; }

.win-rail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; border-right: 1px solid var(--line); }
.rail-btn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--ink-4); }
.rail-btn.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.rail-btn--end { margin-top: auto; }
.rail-badge { position: absolute; top: -3px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--needs); color: #fff; font: 700 10px/17px var(--body); text-align: center; box-shadow: 0 0 0 2px #fbfaf8; }

/* List */
.win-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; background: rgba(246,244,239,.5); }
.list-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 18px 12px; }
.list-head h3 { font: 700 21px/1 var(--display); letter-spacing: -0.035em; }
.list-date { display: block; margin-top: 6px; font-size: 11.5px; color: var(--ink-4); }
.seg { display: flex; margin: 0 12px 8px; padding: 3px; border-radius: 10px; background: rgba(17,19,24,.05); font-size: 11.5px; color: var(--ink-3); }
.seg > * { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 26px; border-radius: 7px; font-weight: 600; }
.seg b { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(17,19,24,.08); }
.seg i { font: 600 10.5px/1 var(--mono); font-style: normal; color: var(--needs); }
.seg span i { color: var(--ink-4); }

.mail { list-style: none; margin: 0; padding: 2px 8px 8px; overflow: hidden; flex: 1; mask-image: linear-gradient(#000 84%, transparent); -webkit-mask-image: linear-gradient(#000 84%, transparent); }
.mail li {
  position: relative; display: grid; grid-template-columns: 14px 36px minmax(0, 1fr); gap: 0 10px; align-items: start;
  padding: 11px 10px 11px 8px; border-radius: 13px; margin-bottom: 2px; cursor: pointer;
  transition: background .25s, box-shadow .25s, opacity .4s, transform .4s var(--ease);
}
.mail li:hover { background: rgba(255,255,255,.6); }
.mail li.is-sel { background: #fff; box-shadow: 0 1px 2px rgba(17,19,24,.05), 0 6px 18px -6px rgba(17,19,24,.14); }
.mail li.is-sel::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.mail li.is-done { opacity: .55; }
.mail .rank { font: 600 10.5px/36px var(--mono); color: var(--ink-4); text-align: center; }
.m-av { position: relative; width: 36px; height: 36px; }
.m-av .avatar { width: 36px; height: 36px; }
.m-badge { position: absolute; right: -5px; bottom: -4px; width: 19px; height: 19px; border-radius: 6px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(17,19,24,.06), 0 2px 4px rgba(17,19,24,.12); }
.m-badge .tlogo { width: 12px; height: 12px; }
.m-top { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.m-top b { font-weight: 600; }
.m-time { color: var(--ink-4); font-size: 11.5px; }
.m-top .pill { margin-left: auto; height: 19px; font-size: 10.5px; padding: 0 7px; }
.m-title { font-size: 13.5px; font-weight: 550; color: var(--ink); margin-top: 3px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.005em; }
.m-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail li.is-new { animation: mailIn .7s var(--ease) both; }
.mail li.is-new::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1.5px var(--c) inset; opacity: 0; animation: newRing 1.8s ease-out; }
@keyframes newRing { 10% { opacity: .7; } 100% { opacity: 0; } }
.mail li.is-leaving { opacity: 0; transform: translateX(28px) scale(.97); }
@keyframes mailIn { from { opacity: 0; transform: translateY(-10px) scale(.98); filter: blur(4px); } }

.src-dot { --t: #999; display: inline-block; width: 8px; height: 8px; border-radius: 3px; background: var(--t); flex: none; }

/* Detail */
.win-detail { position: relative; min-width: 0; background: #fff; overflow: hidden; }
.d-inner { position: absolute; inset: 0; display: flex; flex-direction: column; }
.d-inner.is-enter { animation: detailIn .55s var(--ease) both; }
@keyframes detailIn { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } }
.d-head { display: flex; align-items: center; gap: 12px; padding: 16px 22px 14px; border-bottom: 1px solid var(--line); }
.d-who > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.d-who b { font: 650 15px/1.2 var(--body); letter-spacing: -0.01em; }
.d-who span { font-size: 12px; color: var(--ink-3); }
.d-sub { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--ink-4); }
.d-sub .tlogo { width: 13px; height: 13px; }
.d-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.d-pos { font-size: 10.5px; color: var(--ink-4); }

.d-body { flex: 1; min-height: 0; overflow: hidden; padding: 16px 22px 8px; display: flex; flex-direction: column; gap: 12px; }
.d-summary { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.d-summary b { color: var(--ink); font-weight: 600; }
.d-label { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); }

.d-card { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(17,19,24,.04), 0 8px 24px -12px rgba(17,19,24,.12); overflow: hidden; }
.d-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line); background: rgba(246,244,239,.5); }
.d-card-head > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.d-card-head b { color: var(--ink-2); font-weight: 600; }
.d-pager { display: inline-flex; align-items: center; gap: 2px; font-size: 10.5px; }
.d-pager .ico { width: 14px; height: 14px; color: var(--ink-4); }
.d-subj { padding: 12px 14px 0; font-weight: 650; font-size: 13.5px; letter-spacing: -0.01em; }
.d-text { padding: 6px 14px 13px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.d-text .w { animation: wordIn .5s var(--ease) both; animation-delay: calc(var(--i) * 22ms + 150ms); }
.d-inner:not(.is-enter) .d-text .w { animation: none; }
@keyframes wordIn { from { opacity: 0; filter: blur(3px); } }
.caret { display: inline-block; width: 1.5px; height: 1.05em; vertical-align: -0.15em; background: var(--c); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.d-section { display: grid; gap: 6px; }
.d-held { display: grid; grid-template-columns: 16px auto 1fr 14px; align-items: center; gap: 9px; padding: 8px 10px 8px 12px; border-radius: 10px; background: rgba(17,19,24,.03); font-size: 12.5px; }
.d-held b { font-weight: 600; }
.d-held span { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-held .ico { width: 14px; height: 14px; color: var(--ink-4); }

.d-table { font-size: 12.5px; }
.d-tr { display: grid; grid-template-columns: 1.3fr 1fr .8fr 96px; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.d-th { border-top: 0; padding: 9px 14px; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-4); background: rgba(246,244,239,.5); }
.d-tr .mono { font-size: 12px; color: var(--ink-2); }
.d-tr:not(.d-th):not(.d-total) { animation: wordIn .5s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
.d-vendor { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.d-match { display: inline-flex; align-items: center; gap: 4px; justify-self: end; height: 22px; padding: 0 8px; border-radius: 99px; background: var(--done-bg); color: var(--done); font-size: 11px; font-weight: 600; }
.d-match .ico { width: 12px; height: 12px; }
.d-total { font-weight: 650; background: rgba(246,244,239,.5); }
.d-total .mono { font-size: 13px; color: var(--ink); font-weight: 600; }

.d-ask { display: flex; gap: 10px; align-items: flex-start; }
.d-ask-av { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e9e4f5; color: #5a4b8a; font: 700 13px/1 var(--body); }
.d-ask-src { position: absolute; right: -4px; bottom: -3px; width: 15px; height: 15px; padding: 2px; background: #fff; border-radius: 5px; box-shadow: 0 1px 3px rgba(17,19,24,.2); }
.d-ask b { font-size: 12px; font-weight: 600; }
.d-ask p { margin-top: 4px; padding: 9px 12px; border-radius: 4px 14px 14px 14px; background: rgba(17,19,24,.045); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.d-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.d-checks li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.d-check { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--done-bg); color: var(--done); font: 800 11px/1 var(--body); flex: none; }
.d-check .ico { width: 11px; height: 11px; }
.d-checks .is-warn .d-check { background: var(--needs-bg); color: var(--needs); }
.d-checks .is-warn { color: var(--ink); font-weight: 550; }
.d-reply .d-card-head .avatar { width: 18px; height: 18px; }

.d-diff .d-card-head { justify-content: flex-start; }
.d-diff .d-card-head .mono { font-size: 11.5px; color: var(--ink-2); }
.d-stat { margin-left: auto; display: inline-flex; gap: 6px; font-size: 11px; }
.d-stat i { font-style: normal; font-weight: 600; }
.d-stat .add { color: #1f883d; } .d-stat .del { color: #cf222e; }
.d-diff pre { margin: 0; padding: 8px 0; font-size: 11.5px; line-height: 1.75; background: #fbfbfa; overflow: hidden; }
.d-diff .ln { display: block; padding: 0 14px; white-space: pre; color: var(--ink-2); }
.d-diff .ln i { display: inline-block; width: 16px; font-style: normal; color: var(--ink-4); }
.d-diff .ln.add { background: #e9f8ee; color: #116329; } .d-diff .ln.add i { color: #1f883d; }
.d-diff .ln.del { background: #fdecec; color: #82071e; } .d-diff .ln.del i { color: #cf222e; }

.d-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.d-points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: rgba(17,19,24,.03); font-size: 13px; line-height: 1.45; color: var(--ink-2); animation: wordIn .5s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
.d-points li:last-child { background: color-mix(in oklab, var(--c) 9%, white); color: var(--ink); font-weight: 550; }
.d-points .mono { width: 22px; height: 22px; border-radius: 7px; background: #fff; display: grid; place-items: center; font-size: 10.5px; color: var(--ink-3); box-shadow: 0 0 0 1px var(--line); }
.d-sources { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.d-sources .d-label { margin-right: 4px; }
.d-src { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 7px; border-radius: 99px; box-shadow: 0 0 0 1px var(--line); font-size: 12px; color: var(--ink-2); }
.d-src .tlogo { width: 14px; height: 14px; }

.d-context { margin-top: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-top: 4px; }
.d-context .d-label { margin-right: 4px; }
.d-ctx { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 8px; border-radius: 9px; background: rgba(17,19,24,.035); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.d-ctx b { color: var(--ink-2); font-weight: 600; }
.d-ctx .tlogo { width: 14px; height: 14px; }

.d-actions { display: flex; align-items: center; gap: 8px; padding: 12px 22px 16px; border-top: 1px solid var(--line); background: linear-gradient(rgba(255,255,255,.6), #fff); }
.d-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 99px; font: 600 13px/1 var(--body); white-space: nowrap; transition: transform .18s var(--ease), background .3s; }
.d-btn--go { background: var(--ink); color: #fff; padding-right: 7px; box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 6px 14px -4px rgba(17,19,24,.45); }
.d-btn--go kbd { font: 500 10.5px/1 var(--mono); padding: 5px 7px; border-radius: 99px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.75); }
.d-btn--go.is-pressed { transform: scale(.94); }
.d-btn--go.is-ok { background: var(--done); }
.d-btn--alt { background: rgba(17,19,24,.05); color: var(--ink); }
.d-btn--done { background: var(--done-bg); color: var(--done); }
.d-learn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-4); }
.d-learn .ico { color: var(--c); }
.d-toast { position: absolute; left: 50%; bottom: 76px; display: flex; align-items: center; gap: 9px; max-width: calc(100% - 44px); padding: 9px 14px 9px 9px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 12.5px; white-space: nowrap; box-shadow: 0 16px 40px -10px rgba(17,19,24,.5); opacity: 0; transform: translate(-50%, 14px) scale(.96); transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.d-toast span { overflow: hidden; text-overflow: ellipsis; }
.d-toast .avatar { width: 22px; height: 22px; }
.d-toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* Team */
.win-team { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding: 16px 12px 14px; background: rgba(246,244,239,.5); }
.team-head { display: flex; justify-content: space-between; align-items: center; font: 650 13px/1 var(--body); padding: 2px 6px 12px; }
.team-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; color: var(--done); text-transform: uppercase; letter-spacing: .06em; }
.team-live::before { content: ""; }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.team li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 6px; border-radius: 11px; }
.t-av { position: relative; width: 30px; height: 30px; }
.t-av .avatar { width: 30px; height: 30px; }
.t-ring { position: absolute; inset: -3px; border-radius: 12px; border: 1.5px solid transparent; border-top-color: var(--c); border-right-color: color-mix(in oklab, var(--c) 40%, transparent); animation: spin 1.6s linear infinite; opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }
.t-top { display: flex; align-items: center; justify-content: space-between; }
.t-top b { font-size: 12.5px; font-weight: 600; }
.t-tool { display: inline-flex; width: 14px; height: 14px; }
.t-tool .tlogo { width: 14px; height: 14px; animation: wordIn .4s both; }
.t-status { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s, filter .25s; }
.t-status.is-swap { opacity: 0; filter: blur(2px); }
.t-bar { height: 3px; border-radius: 99px; background: rgba(17,19,24,.07); margin-top: 6px; overflow: hidden; }
.t-bar i { position: relative; display: block; height: 100%; background: var(--c); border-radius: inherit; transition: width 1.2s var(--ease); overflow: hidden; }
.t-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmer 1.6s infinite; transform: translateX(-100%); }
@keyframes shimmer { to { transform: translateX(100%); } }
.team-foot { margin-top: auto; display: grid; gap: 6px; padding: 12px 8px 0; border-top: 1px solid var(--line); }
.team-foot .d-label { margin-bottom: 2px; }
.plan { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.plan i { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--done); }

/* Tool chips (agent cards, team tabs) */
.tool-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 8px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(17,19,24,.04); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.tool-chip .tlogo { width: 15px; height: 15px; }

/* ── Logos marquee ──────────────────────── */
.logos { padding: 96px 0 40px; text-align: center; }
.logos-title { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.marquee { margin-top: 28px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-item { display: inline-flex; align-items: center; gap: 11px; font: 600 21px/1 var(--display); letter-spacing: -0.03em; color: var(--ink-2); white-space: nowrap; }
.logo-item .tlogo { width: 24px; height: 24px; }

/* ── Section heads ──────────────────────── */
section { scroll-margin-top: 90px; }
.section-head { max-width: 760px; margin: 0 auto; text-align: center; }
.section-head--left { text-align: left; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 7px; font: 600 13px/1 var(--mono); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }
.kicker--light { color: rgba(255,255,255,.62); }
.section-head h2, .night h2, .trust h2, .cta h2 {
  margin-top: 18px; font: 750 clamp(38px, 5.4vw, 72px)/0.98 var(--display); font-weight: 700; letter-spacing: -0.045em; text-wrap: balance;
}
.section-head h2 em, .night h2 em, .trust h2 em, .cta h2 em { font-size: 1.08em; letter-spacing: -0.025em; }
.section-head > p { margin-top: 20px; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
.section-head--left > p { max-width: 520px; }

/* ── How it works ───────────────────────── */
.how { padding: 80px 16px 140px; }
.steps { max-width: 1200px; margin: 72px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border-radius: var(--r-lg); padding: 28px 26px 0; box-shadow: var(--shadow-1); display: flex; flex-direction: column; overflow: hidden; }
.step-num { font-size: 12px; color: var(--ink-4); }
.step h3 { margin-top: 14px; font: 700 23px/1.15 var(--display); letter-spacing: -0.03em; }
.step > p { margin-top: 10px; color: var(--ink-3); font-size: 15px; }
.step-art { margin: 26px -26px 0; padding: 22px 22px 26px; background: linear-gradient(to bottom, var(--paper), color-mix(in oklab, var(--paper) 60%, white)); flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 250px; }

.in-feed { display: grid; gap: 6px; }
.in-row { display: grid; grid-template-columns: 16px 64px 1fr auto; align-items: center; gap: 9px; padding: 9px 12px; background: #fff; border-radius: 11px; font-size: 13px; box-shadow: var(--shadow-1); }
.in-row b { font-weight: 600; font-size: 12.5px; }
.in-row span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-row em { font: 500 11px/1 var(--mono); font-style: normal; color: var(--ink-4); }
.in-row--muted { opacity: .55; box-shadow: none; background: rgba(255,255,255,.6); }
.split { display: grid; gap: 6px; margin-top: 4px; padding-left: 14px; border-left: 2px dashed var(--line-2); margin-left: 6px; }
.split-row { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }

.work-line { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 11px; box-shadow: var(--shadow-1); font-size: 13.5px; }
.work-line span:not(.avatar):not(.dots) { flex: 1; }
.work-line.is-live { box-shadow: 0 0 0 1.5px rgba(110,123,242,.35), var(--shadow-1); }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-4); animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.progress { height: 5px; border-radius: 99px; background: rgba(17,19,24,.07); overflow: hidden; margin-top: 6px; }
.progress i { display: block; height: 100%; width: 74%; background: linear-gradient(90deg, #6E7BF2, #9aa4ff); border-radius: inherit; transition: width .6s var(--ease); }

.decide-card { background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow-2); }
.decide-card p { font-size: 14px; margin-top: 8px; color: var(--ink-2); }
.decide-top { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.decide-top .pill { margin-left: auto; }
.decide-btns { display: flex; gap: 6px; margin-top: 12px; }
.decide-card--done { box-shadow: var(--shadow-1); opacity: .75; transform: scale(.97); transform-origin: top; }

/* ── Night shift ────────────────────────── */
.night { position: relative; height: 340vh; background: var(--night); color: #fff; }
.night-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.night-sky { position: absolute; inset: 0; }
.night-stars { position: absolute; inset: 0; }
.night-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; }
.night-inner { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.night-copy p { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.7); max-width: 480px; }
.night h2 { color: #fff; }
.clock { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.clock-time { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; min-width: 170px; font-variant-numeric: tabular-nums; }
.clock-bar { flex: 1; max-width: 260px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.16); overflow: hidden; }
.clock-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7c86ff, #ffb36b); }

.night-feed { position: relative; min-height: 470px; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feed li {
  display: grid; grid-template-columns: 64px 30px 1fr; gap: 12px; align-items: center;
  padding: 13px 16px; border-radius: 16px;
  background: rgba(255,255,255,.07); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease), background .6s;
  font-size: 14px;
}
.feed li.on { opacity: 1; transform: none; }
.feed .f-time { font: 500 12px/1 var(--mono); color: rgba(255,255,255,.45); }
.feed .avatar { width: 30px; height: 30px; }
.feed b { font-weight: 600; }
.feed .f-text { color: rgba(255,255,255,.78); }
.feed .f-text small { display: block; color: rgba(255,255,255,.45); font-size: 12.5px; margin-top: 1px; }
.feed li.wait { box-shadow: 0 0 0 1px rgba(255,140,90,.4) inset; }
.night.is-morning .feed li { background: rgba(255,255,255,.55); color: var(--ink); box-shadow: none; }
.night.is-morning .feed .f-text { color: var(--ink-2); }
.night.is-morning .feed .f-text small, .night.is-morning .feed .f-time { color: var(--ink-3); }

.morning {
  position: absolute; left: 50%; top: 50%; width: min(420px, 100%); transform: translate(-50%, -42%) scale(.96);
  background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-3);
  opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none;
}
.night.is-morning .morning { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.night.is-morning .feed { opacity: .35; filter: blur(2px); transform: scale(.97); }
.feed { transition: opacity .7s var(--ease), filter .7s var(--ease), transform .8s var(--ease); }
.morning-top { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); letter-spacing: -0.03em; }
.sun { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ffd27a, #ff8a3d); box-shadow: 0 0 20px rgba(255,150,60,.6); }
.morning-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.morning-stats div { background: var(--paper); border-radius: 14px; padding: 12px; }
.morning-stats b { display: block; font: 700 28px/1 var(--display); letter-spacing: -0.04em; }
.morning-stats span { font-size: 12.5px; color: var(--ink-3); }
.night.is-morning .night-copy p { color: var(--ink-2); }
.night.is-morning .night-copy h2, .night.is-morning .clock-time { color: var(--ink); }
.night.is-morning .kicker--light { color: var(--ink-3); }
.night.is-morning .clock-bar { background: rgba(17,19,24,.12); }
.night-copy h2, .night-copy p, .clock-time, .kicker--light { transition: color .8s; }

/* ── Workforce ──────────────────────────── */
.workforce { padding: 150px 16px 120px; }
.agents { max-width: 1200px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agent {
  position: relative; background: var(--card); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden;
}
.agent::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; background: radial-gradient(120% 100% at 0% 0%, color-mix(in oklab, var(--c) 16%, transparent), transparent 70%); pointer-events: none; }
.agent:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.agent-top { position: relative; display: flex; align-items: center; gap: 14px; }
.agent-top h3 { font: 700 21px/1.1 var(--display); letter-spacing: -0.03em; }
.agent-top .role { font-size: 13.5px; color: var(--ink-3); }
.agent-status { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); color: var(--done); }
.agent-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 20%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in oklab, currentColor 0%, transparent); } }
.agent { display: flex; flex-direction: column; }
.agent > p { position: relative; margin-top: 14px; font-size: 14.5px; color: var(--ink-2); min-height: 46px; }
.agent-log { position: relative; margin-top: 16px; border-radius: 14px; background: var(--paper); padding: 10px 12px 12px; }
.log-head { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px; }
.log-live { display: inline-flex; gap: 3px; }
.log-live i { width: 4px; height: 4px; border-radius: 50%; background: var(--c); animation: dotUp 1.2s infinite; }
.log-live i:nth-child(2) { animation-delay: .15s; } .log-live i:nth-child(3) { animation-delay: .3s; }
@keyframes dotUp { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.agent-log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.agent-log li { display: grid; grid-template-columns: 22px 1fr 18px; align-items: center; gap: 9px; height: 32px; padding: 0 8px 0 5px; border-radius: 9px; font-size: 13px; color: var(--ink-2); transition: background .4s, opacity .4s, transform .5s var(--ease); }
.log-ico { width: 22px; height: 22px; border-radius: 7px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.log-ico .tlogo { width: 13px; height: 13px; }
.log-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-state { position: relative; width: 18px; height: 18px; display: grid; place-items: center; }
.log-state .ico { width: 15px; height: 15px; color: var(--done); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.log-state .spin { position: absolute; inset: 2px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--c) 22%, transparent); border-top-color: var(--c); animation: spin .8s linear infinite; opacity: 0; transition: opacity .2s; }
.agent-log li.is-done .ico { opacity: 1; transform: none; }
.agent-log li.is-done .log-text { color: var(--ink-3); }
.agent-log li.is-run { background: #fff; box-shadow: 0 1px 2px rgba(17,19,24,.05), 0 4px 12px -4px rgba(17,19,24,.1); color: var(--ink); font-weight: 550; }
.agent-log li.is-run .spin { opacity: 1; }
.agent-log li.is-wait { opacity: .35; transform: translateY(3px); }

.agent-perms { position: relative; margin-top: 14px; display: grid; gap: 7px; font-size: 13px; color: var(--ink-2); }
.agent-perms > div { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 10px; }
.perm { display: inline-flex; align-items: center; gap: 5px; justify-self: start; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.perm::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.perm--alone { background: var(--done-bg); color: var(--done); }
.perm--asks { background: var(--needs-bg); color: var(--needs); }
.agent-learned { position: relative; margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: color-mix(in oklab, var(--c) 8%, white); font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.agent-learned .ico { color: var(--c); margin-top: 2px; }
.agent-learned q { color: var(--ink); font-weight: 550; quotes: "\201C" "\201D"; }
.agent-foot { position: relative; margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); }
.agent-foot .mono { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); }
.logo-stack { display: inline-flex; }
.logo-stack span { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-left: -6px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line), 0 2px 6px rgba(17,19,24,.08); transition: transform .3s var(--ease); }
.logo-stack span:first-child { margin-left: 0; }
.logo-stack .tlogo { width: 15px; height: 15px; }
.agent-tools { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ── Learn ──────────────────────────────── */
.learn { padding: 20px 16px 150px; }
.learn-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: var(--ink-2); }
.rules { background: var(--paper-2); border-radius: 28px; padding: 22px; display: grid; gap: 12px; }
.rules-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 4px 6px 6px; color: var(--ink-2); }
.rules-head .ico { color: var(--select); }
.rule { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-1); transition: transform .5s var(--ease), opacity .5s; }
.rule q { display: block; font: italic 400 19px/1.3 var(--serif); color: var(--ink-3); quotes: none; }
.rule-learned { margin-top: 10px; font-size: 15px; font-weight: 500; display: flex; gap: 10px; align-items: baseline; }
.rule-learned .mono { font-size: 10.5px; color: var(--select); background: #efedff; padding: 3px 6px; border-radius: 5px; flex: none; }
.rule-btns { display: flex; gap: 6px; margin-top: 14px; align-items: center; }
.rule-who { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); }
.rule.kept { box-shadow: 0 0 0 1.5px rgba(47,158,110,.35), var(--shadow-1); }
.rule.kept .rule-btns .btn--ink { background: var(--done); }

/* ── Trust ──────────────────────────────── */
.trust { padding: 0 16px; }
.trust-panel {
  max-width: 1240px; margin: 0 auto; border-radius: 36px; overflow: hidden; position: relative;
  background: radial-gradient(90% 70% at 85% 30%, #262a52 0%, transparent 60%), radial-gradient(60% 60% at 10% 100%, #3a2430 0%, transparent 60%), #0d0e13;
  color: #fff; padding: 88px 72px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.trust-copy > p { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.68); max-width: 520px; }
.trust-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.trust-item .ico { color: #b6bcff; }
.trust-item h4 { margin-top: 10px; font-size: 16px; font-weight: 600; }
.trust-item p { margin-top: 4px; font-size: 14.5px; color: rgba(255,255,255,.58); }

.phone-stage { display: flex; justify-content: center; }
.phone {
  width: 300px; height: 620px; border-radius: 54px; padding: 11px; position: relative;
  background: linear-gradient(145deg, #3a3d45, #15161a 40%, #2b2d33);
  box-shadow: 0 0 0 1.5px #5a5d66 inset, 0 0 0 1px #0a0b0e, 0 50px 100px -20px rgba(0,0,0,.7);
}
.phone::before { content: ""; position: absolute; right: -3px; top: 160px; width: 3px; height: 72px; border-radius: 0 3px 3px 0; background: #3a3d45; }
.phone-screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden; padding: 0 12px;
  background: radial-gradient(80% 50% at 50% 100%, #f7a36c 0%, transparent 70%), radial-gradient(90% 60% at 50% 70%, #8e6fd6 0%, transparent 70%), linear-gradient(#1b2148, #3c3a78 55%, #b77aa0);
}
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; }
.lock-time { text-align: center; padding-top: 64px; color: rgba(255,255,255,.92); }
.lock-date { display: block; font-size: 15px; font-weight: 600; }
.lock-clock { display: block; font: 700 82px/1 var(--display); letter-spacing: -0.04em; margin-top: 2px; }
.notif { margin-top: 160px; border-radius: 22px; padding: 12px 13px; background: rgba(245,245,250,.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.notif--2 { margin-top: 8px; opacity: .85; transform: scale(.97); }
.notif-top { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.notif-ago { margin-left: auto; font-weight: 400; }
.notif-body { display: flex; gap: 10px; margin-top: 8px; align-items: flex-start; }
.notif-body b { font-size: 14px; display: block; }
.notif-body p { font-size: 13px; color: var(--ink-2); line-height: 1.35; margin-top: 1px; }
.notif-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 11px; }
.notif-btns span { text-align: center; padding: 8px; border-radius: 12px; background: rgba(17,19,24,.07); font-size: 13px; font-weight: 600; }
.notif-btns .is-primary { background: var(--ink); color: #fff; }
.home-bar { position: absolute; bottom: 8px; left: 50%; width: 110px; height: 4px; border-radius: 9px; background: rgba(255,255,255,.75); transform: translateX(-50%); }

/* ── Teams ──────────────────────────────── */
.teams { padding: 150px 16px 140px; }
.tabs { display: flex; justify-content: center; gap: 4px; margin: 44px auto 0; padding: 5px; background: var(--paper-2); border-radius: 99px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; overflow: hidden; border: 0; background: transparent; padding: 10px 18px; border-radius: 99px; font: 600 14.5px/1 var(--body); color: var(--ink-3); cursor: pointer; transition: color .2s, background .3s, box-shadow .3s; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.tab-bar { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tabs.is-auto .tab[aria-selected="true"] .tab-bar { opacity: .2; animation: tabFill 6.5s linear forwards; }
@keyframes tabFill { to { transform: scaleX(1); } }
.team-panel { max-width: 1100px; margin: 34px auto 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: stretch; }
.tp-copy { position: relative; overflow: hidden; padding: 32px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); display: flex; flex-direction: column; animation: detailIn .6s var(--ease) both; }
.tp-copy::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; background: radial-gradient(110% 100% at 0% 0%, color-mix(in oklab, var(--c) 16%, transparent), transparent 70%); pointer-events: none; }
.tp-agent { position: relative; display: flex; align-items: center; gap: 14px; }
.tp-agent b { display: block; font: 700 19px/1.1 var(--display); letter-spacing: -0.03em; }
.tp-agent span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.tp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--done); }
.tp-copy h3 { position: relative; margin-top: 26px; font: 700 30px/1.08 var(--display); letter-spacing: -0.035em; }
.tp-copy p { position: relative; margin-top: 12px; color: var(--ink-2); }
.tp-tools { margin-top: auto; padding-top: 26px; }
.tp-tools .mono { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); }
.tp-tools .agent-tools { margin-top: 10px; }
.tp-win { border-radius: var(--r-lg); background: rgba(252,251,249,.9); box-shadow: 0 30px 60px -28px rgba(40,34,70,.3), 0 0 0 1px rgba(17,19,24,.07); overflow: hidden; display: flex; flex-direction: column; }
.tp-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.6); }
.tp-title { font-size: 13px; font-weight: 600; }
.tp-bar .win-live { height: 24px; font-size: 11px; }
.tp-list { padding: 12px; display: grid; gap: 8px; align-content: start; background: rgba(246,244,239,.6); flex: 1; }
.tp-item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; background: rgba(255,255,255,.7); border-radius: 14px; padding: 13px 14px; animation: mailIn .6s var(--ease) both; }
.tp-item--big { background: #fff; box-shadow: 0 1px 2px rgba(17,19,24,.05), 0 10px 26px -10px rgba(17,19,24,.18); position: relative; }
.tp-item--big::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.tp-item:nth-child(2) { animation-delay: .08s; }
.tp-item:nth-child(3) { animation-delay: .16s; }
.tp-item:nth-child(4) { animation-delay: .24s; }
.tp-who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.tp-who b { font-weight: 600; }
.tp-who .pill { margin-left: auto; }
.tp-item strong { display: block; margin-top: 3px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.tp-item small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.tp-actions { display: flex; gap: 6px; margin-top: 12px; }
.tp-actions .d-btn { height: 32px; font-size: 12.5px; padding: 0 13px; }
.tp-actions .d-btn--go { padding-right: 6px; }
.d-btn--ghost { color: var(--ink-3); }

/* ── CTA ────────────────────────────────── */
.cta { position: relative; padding: 170px 16px 180px; text-align: center; overflow: hidden; isolation: isolate; }
.cta-sky { position: absolute; inset: 0; z-index: -1; }
.cta-sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-sky::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(rgba(246,244,239,0), var(--paper)); }
.cta-sky::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 30%; background: linear-gradient(var(--paper), rgba(246,244,239,0)); z-index: 1; }
.cta-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta h2 { margin-top: 28px; font-size: clamp(44px, 7vw, 96px); }
.cta-inner > p { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 520px; }
.demo-form { margin-top: 34px; display: flex; gap: 8px; padding: 7px; border-radius: 99px; background: rgba(255,255,255,.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-2); width: min(620px, 100%); }
.demo-form input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; padding: 0 16px; font: 500 16px/1 var(--body); color: var(--ink); outline: none; border-radius: 99px; }
.demo-form input + input { border-left: 1px solid var(--line); border-radius: 0; }
.demo-form input::placeholder { color: var(--ink-4); }
.demo-form .btn { height: 46px; }
.demo-form.is-done { justify-content: center; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); min-height: 20px; }
.form-note.is-err { color: var(--needs); }

/* ── Footer ─────────────────────────────── */
.foot { max-width: 1200px; margin: 0 auto; padding: 36px 24px 48px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot .brand { color: var(--ink); margin-right: 0; }
.foot nav { margin-left: auto; display: flex; gap: 22px; }
.foot nav a:hover { color: var(--ink); }

/* ── Reveal on scroll ───────────────────── */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.steps .reveal:nth-child(2), .agents .reveal:nth-child(3n+2) { transition-delay: .1s; }
.steps .reveal:nth-child(3), .agents .reveal:nth-child(3n) { transition-delay: .2s; }

/* ════════════ Build intro ════════════ */
#intro { display: none; }
html.is-intro { overflow: hidden; }
html.is-intro body { overflow: hidden; }
html.is-intro #intro { display: block; position: fixed; inset: 0; z-index: 60; pointer-events: none; }
html.is-intro .hero { background: var(--night); }
html.is-intro .hero-sky::after { opacity: 0; }
html.is-intro .sky-dots { opacity: 1; }
html.is-intro .sky-dawn { clip-path: circle(0% at 50% 82%); }
html.is-intro .nav { background: transparent; box-shadow: none; }

.intro-skip { pointer-events: auto; position: absolute; top: 24px; right: 24px; border: 0; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); font: 500 13px/1 var(--body); padding: 9px 14px; border-radius: 99px; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, color .2s, opacity .4s; z-index: 5; }
.intro-skip:hover { background: rgba(255,255,255,.16); color: #fff; }
.intro-skip.on-light { background: rgba(17,19,24,.06); color: var(--ink-3); }

/* Skeleton: a placeholder drawn in dots until an agent builds it */
html.is-intro [data-build] { position: relative; }
html.is-intro [data-build]:not(.built) { color: transparent !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.is-intro [data-build]:not(.built) > * { visibility: hidden; }
html.is-intro [data-build]:not(.built)::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  background-image: radial-gradient(circle, rgba(17,19,24,.34) 1.1px, transparent 1.5px);
  background-size: 6px 6px;
  box-shadow: 0 0 0 1px rgba(17,19,24,.08) inset;
  opacity: 0; transition: opacity .5s;
}
html.is-intro .stage-skel [data-build]:not(.built)::after, html.stage-skel [data-build]:not(.built)::after { opacity: 1; }
html.is-intro .hero-title [data-build]::after { inset: 0.12em 0.04em; border-radius: 12px; }
html.is-intro .nav[data-build]::after, html.is-intro .eyebrow[data-build]::after, html.is-intro .hero-ctas[data-build]::after { border-radius: 99px; }
html.is-intro .window-wrap[data-build]::after { border-radius: 22px; height: 658px; }
html.is-intro .nav[data-build]:not(.built) .brand { visibility: hidden; }
[data-build].built { animation: buildIn .9s var(--ease) both; }
@keyframes buildIn { 0% { opacity: 0; filter: blur(14px); transform: translateY(8px) scale(.985); } 100% { opacity: 1; filter: none; transform: none; } }

/* Incoming Slack message */
.intro-incoming {
  position: absolute; left: 50%; top: 42%; width: min(560px, calc(100vw - 32px));
  opacity: 0; color: #fff;
}
.inc-src { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); color: rgba(255,255,255,.55); margin-bottom: 12px; }
.inc-src .tlogo { width: 14px; height: 14px; }
.inc-msg { display: flex; gap: 12px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 30px 80px -20px rgba(0,0,0,.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.inc-face { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; font: 700 16px/1 var(--display); background: linear-gradient(140deg, #f4b38a, #d9775a); color: #fff; }
.inc-msg b { font-size: 15px; }
.inc-time { font-size: 12px; color: rgba(255,255,255,.4); margin-left: 8px; }
.inc-msg p { font-size: 18px; line-height: 1.4; margin-top: 4px; color: rgba(255,255,255,.92); min-height: 50px; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: #fff; vertical-align: -0.15em; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.inc-triage { margin-top: 12px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 99px; background: rgba(107,92,255,.18); box-shadow: 0 0 0 1px rgba(150,140,255,.35) inset; font-size: 13.5px; color: rgba(255,255,255,.85); opacity: 0; }
.inc-triage b { color: #fff; }
.triage-spark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--select); color: #fff; }

/* Intro inbox */
.intro-inbox {
  position: absolute; left: 50%; top: 50%; width: min(520px, calc(100vw - 32px));
  border-radius: 22px; padding: 10px; opacity: 0;
  background: rgba(22,24,30,.82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 40px 100px -20px rgba(0,0,0,.7); color: #fff;
}
.ii-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 12px; }
.ii-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.ii-meta { font-size: 11px; color: rgba(255,255,255,.4); }
.ii-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ii-rows li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 13px; background: rgba(255,255,255,.04); opacity: 0; transform: translateY(10px); }
.ii-rows .avatar { width: 30px; height: 30px; }
.ii-rows b { font-size: 13.5px; font-weight: 600; }
.ii-rows small { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); }
.ii-state { font: 500 11px/1 var(--mono); color: rgba(255,255,255,.45); display: inline-flex; align-items: center; gap: 6px; }
.ii-state.is-working { color: #b6bcff; }
.ii-state.is-working::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Agent cursors & selection boxes */
.cursor-layer { position: absolute; inset: 0; }
.agent-cursor { position: absolute; left: 0; top: 0; will-change: transform; opacity: 0; }
.agent-cursor svg { width: 22px; height: 22px; fill: var(--c); filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); display: block; }
.agent-cursor .tag { position: absolute; left: 16px; top: 18px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px 4px 5px; border-radius: 99px; background: var(--c); color: #fff; font: 600 11.5px/1 var(--body); white-space: nowrap; box-shadow: 0 4px 12px -2px rgba(0,0,0,.3); }
.agent-cursor .tag .avatar { width: 14px; height: 14px; border-radius: 4px; background: rgba(255,255,255,.25); box-shadow: none; }
.agent-cursor .tag .avatar i { animation: none; }
.user-cursor { position: absolute; left: 0; top: 0; opacity: 0; }
.user-cursor svg { width: 24px; height: 24px; fill: #111; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }

.sel { position: absolute; border: 1.5px solid var(--select); border-radius: 6px; opacity: 0; pointer-events: none; }
.sel::before, .sel::after, .sel i::before, .sel i::after { content: ""; position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--select); border-radius: 2px; }
.sel::before { left: -4.5px; top: -4.5px; }
.sel::after { right: -4.5px; top: -4.5px; }
.sel i::before { left: -4.5px; bottom: -4.5px; }
.sel i::after { right: -4.5px; bottom: -4.5px; }
.sel-tag { position: absolute; left: -1.5px; top: -26px; display: inline-flex; gap: 6px; padding: 4px 8px; border-radius: 6px 6px 6px 0; background: var(--select); color: #fff; font: 600 11.5px/1.2 var(--body); white-space: nowrap; }
.sel-tag span { opacity: .7; font-weight: 500; }
.sel--below .sel-tag { top: auto; bottom: -26px; border-radius: 0 6px 6px 6px; }

/* Approval toast */
.intro-toast {
  position: absolute; left: 50%; bottom: 36px; opacity: 0;
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 20px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(17,19,24,.05); width: min(470px, calc(100vw - 32px));
}
.toast-body { flex: 1; min-width: 0; }
.toast-top { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.toast-text { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.toast-btn { height: 38px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 14px/38px var(--body); transition: transform .15s, background .3s; }
.toast-btn.pressed { transform: scale(.94); }
.toast-btn.ok { background: var(--done); }

/* ── Responsive ─────────────────────────── */
@media (max-width: 1180px) {
  .win-body { grid-template-columns: 56px 316px minmax(0, 1fr); }
  .win-team { display: none; }
  .d-learn { display: none; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .steps, .agents { grid-template-columns: 1fr; max-width: 560px; }
  .night-inner, .learn-grid, .team-panel { grid-template-columns: 1fr; gap: 36px; }
  .night { height: 300vh; }
  .night-feed { min-height: 420px; }
  .night-copy p { font-size: 16px; }
  .trust-panel { grid-template-columns: 1fr; padding: 64px 28px; border-radius: 28px; }
  .learn-grid { max-width: 620px; }
}
@media (max-width: 820px) {
  .win-body { grid-template-columns: 52px 1fr; height: 520px; }
  .win-detail { display: none; }
  .win-search { display: none; }
  html.is-intro .window-wrap[data-build]::after { height: 566px; }
}
@media (max-width: 640px) {
  .d-btn--ghost { display: none; }
  .tp-copy { padding: 24px; }
  .hero { padding-top: 120px; }
  .nav-signin { display: none; }
  .brand { margin-right: 8px; }
  .hero-title { letter-spacing: -0.05em; }
  .window-wrap { margin-top: 48px; }
  .win-body { grid-template-columns: 1fr; }
  .win-rail { display: none; }
  .night-inner { gap: 20px; }
  .night h2 { font-size: 34px; }
  .night-copy p { display: none; }
  .clock { margin-top: 18px; }
  .clock-time { font-size: 24px; min-width: 120px; }
  .feed li { grid-template-columns: 30px 1fr; padding: 11px 13px; font-size: 13px; }
  .feed .f-time { display: none; }
  .night-feed { min-height: 400px; }
  .trust-grid { grid-template-columns: 1fr; }
  .phone { transform: scale(.9); }
  .demo-form { flex-direction: column; border-radius: 24px; }
  .demo-form input + input { border-left: 0; border-top: 1px solid var(--line); }
  .foot nav { margin-left: 0; width: 100%; }
  .in-row { grid-template-columns: 16px 56px 1fr; }
  .in-row em { display: none; }
  .intro-skip { top: 78px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
}
