/* officehum.com home page. Light theme only, as designed ("K · Product Tour + Studio"). */

:root {
  /* The design has no dark theme: keep browser-drawn parts light when the system is dark. */
  color-scheme: light;
  --ink: #17162b;
  --ink-2: #23214a;
  --ink-3: #33315a;
  --ground: #fafafd;
  --white: #ffffff;
  --soft: #f6f5fb;
  --line: #eceaf4;
  --line-2: #e2e0ee;
  --muted: #4b4966;
  --dim: #6a6785;
  --accent: #6c4cf5;
  --on-dark: #d8d6ea;
  --on-dark-dim: #b9b5da;
  --eye: #1d1b2e;

  --coral: #ff9e80;
  --coral-t: #ffeae2;
  --sky: #8ec5ff;
  --sky-t: #e6f2ff;
  --mint: #7fd8b0;
  --mint-t: #e1f7ee;
  --sun: #ffd66b;
  --sun-t: #fff5d6;
  --rose: #ff9ec7;
  --rose-t: #ffe7f1;
  --lilac: #b9a6ff;
  --lilac-t: #eee9ff;

  /* System fonts: nothing is loaded from another host, so there are no font files to license. */
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --shadow-lg: 0 40px 80px rgba(23, 22, 43, 0.1), 0 0 0 1px var(--line);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

p,
ul,
ol,
dl,
dd,
figure,
h1,
h2,
h3,
h4 {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
}

code {
  font-family: var(--mono);
}

/* Two attributes outrank the single class that gives each panel its display. */
[data-panel][hidden] {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
  color: var(--white);
}

.page {
  overflow-x: clip;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 480px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.stack-10,
.stack-18,
.stack-22,
.stack-36,
.stack-40 {
  display: flex;
  flex-direction: column;
}

.stack-10 {
  gap: 10px;
}
.stack-18 {
  gap: 18px;
}
.stack-22 {
  gap: 22px;
}
.stack-36 {
  gap: 36px;
}
.stack-40 {
  gap: 40px;
}

/* ---------- Agent tokens ---------- */

.tok {
  --s: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--s);
  height: var(--s);
}

.tok--xs {
  --s: 22px;
}
.tok--s {
  --s: 30px;
}
.tok--m {
  --s: 40px;
}
.tok--ml {
  --s: 56px;
}
.tok--l {
  --s: 66px;
}

.tok--circle {
  border-radius: 50%;
}
.tok--squircle {
  border-radius: 30%;
}
.tok--hex {
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}
.tok--pill {
  width: calc(var(--s) * 1.4);
  height: calc(var(--s) * 0.82);
  border-radius: 999px;
}

.tok--you {
  border-radius: 28%;
  background: var(--eye);
  color: var(--white);
  font-size: calc(var(--s) * 0.28);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tok--xs.tok--you,
.tok--s.tok--you {
  font-size: 10px;
}

.dept--front {
  background: var(--coral);
}
.dept--sales {
  background: var(--sky);
}
.dept--marketing {
  background: var(--rose);
}
.dept--finance {
  background: var(--mint);
}
.dept--ops {
  background: var(--sun);
}
.dept--people {
  background: var(--lilac);
}

.eyes {
  display: flex;
  gap: 9px;
}

.eye {
  display: block;
  width: 6px;
  height: 8px;
  border-radius: 3px;
  background: var(--eye);
}

.tok--xs .eyes,
.tok--s .eyes {
  gap: 5px;
}
.tok--xs .eye,
.tok--s .eye {
  width: 4px;
  height: 5px;
  border-radius: 2px;
}
.tok--ml .eyes,
.tok--l .eyes {
  gap: 15px;
}
.tok--ml .eye,
.tok--l .eye {
  width: 8px;
  height: 12px;
  border-radius: 5px;
}

/* ---------- Motion (only when the visitor has not asked for less) ---------- */

@keyframes blink {
  0%,
  93%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes toast {
  0%,
  8% {
    transform: translateY(16px);
    opacity: 0;
  }
  14%,
  42% {
    transform: none;
    opacity: 1;
  }
  50%,
  100% {
    transform: translateY(-10px);
    opacity: 0;
  }
}

@keyframes rise {
  from {
    transform: translateY(56px);
  }
  to {
    transform: none;
  }
}

@keyframes run {
  from {
    left: 0%;
  }
  to {
    left: 100%;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(108, 76, 245, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(108, 76, 245, 0);
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: none;
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

/* Without motion only the first hand-off note shows; the others would sit on top of it. */
.toast--2,
.toast--3 {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .alive .eye {
    animation: blink 6s infinite;
  }
  .alive .float {
    animation: float 5s ease-in-out infinite;
  }
  .alive .f2 {
    animation-delay: -1.7s;
  }
  .alive .f3 {
    animation-delay: -3.2s;
  }
  .alive .toast {
    display: flex;
    animation: toast 9s ease-in-out infinite;
    opacity: 0;
  }
  .alive .toast--2 {
    animation-delay: 3s;
  }
  .alive .toast--3 {
    animation-delay: 6s;
  }
  .alive .runner {
    animation: run 7s ease-in-out infinite alternate;
  }
  .alive .pulse {
    animation: pulse 2.4s ease-out infinite;
  }
  .note.is-nudged {
    animation: nudge 0.3s ease-in-out 2;
  }
  @supports (animation-timeline: view()) {
    .alive .rise {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}

/* ---------- Type and shared pieces ---------- */

.h1 {
  font-weight: 800;
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h2 {
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h2--big {
  font-size: clamp(38px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.h4 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h4--sm {
  font-size: 17px;
  letter-spacing: 0;
}

.accent {
  color: var(--accent);
}

.kicker {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.muted {
  color: var(--dim);
}

.muted-sm {
  font-size: 13px;
  line-height: 1.5;
  color: var(--dim);
}

.mono-sm {
  font-family: var(--mono);
  font-size: 12px;
}

.mono--accent {
  color: var(--accent);
}
.mono--lilac {
  color: var(--lilac);
}
.mono--dim {
  color: var(--dim);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  text-transform: uppercase;
}

.label--sm {
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.label--warn {
  color: #9a4a2e;
}

.label--gap {
  margin-top: 8px;
}

.head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
}

.head-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.head--split {
  max-width: none;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.head--split .head-main {
  flex: 1 1 560px;
}

.lede--side {
  flex: 1 1 320px;
}

.band {
  padding: 112px 0;
}

.band--white {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.band--soft {
  background: var(--soft);
}

.band--ink {
  background: var(--ink);
  color: var(--white);
}

.band--ink .kicker {
  color: var(--lilac);
}

.band--ink .lede {
  color: var(--on-dark);
}

.band--setup {
  padding-bottom: 0;
}

.band--start {
  padding-bottom: 56px;
}

@media (max-width: 720px) {
  .band {
    padding: 72px 0;
  }
  .band--setup {
    padding-bottom: 0;
  }
  .band--start {
    padding-bottom: 40px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 15px 22px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
}

.btn--sm {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 12px;
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--ink:hover,
.btn--accent:hover {
  color: var(--white);
  filter: brightness(1.15);
}

.btn--ghost {
  background: var(--white);
  border: 1.5px solid var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--accent);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.actions--center {
  justify-content: center;
}

/* Where the hosted office's account action goes; while sign-up is closed, a plain note. */
.hosted-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--dim);
}

.hosted-note--center {
  max-width: 52ch;
}

.tint--front {
  background: var(--coral-t);
  box-shadow: inset 0 0 0 1.5px rgba(255, 158, 128, 0.4);
}
.tint--sales {
  background: var(--sky-t);
  box-shadow: inset 0 0 0 1.5px rgba(142, 197, 255, 0.4);
}
.tint--marketing {
  background: var(--rose-t);
  box-shadow: inset 0 0 0 1.5px rgba(255, 158, 199, 0.4);
}
.tint--finance {
  background: var(--mint-t);
  box-shadow: inset 0 0 0 1.5px rgba(127, 216, 176, 0.4);
}
.tint--ops {
  background: var(--sun-t);
  box-shadow: inset 0 0 0 1.5px rgba(255, 214, 107, 0.4);
}
.tint--people {
  background: var(--lilac-t);
  box-shadow: inset 0 0 0 1.5px rgba(185, 166, 255, 0.4);
}

.ico--coral {
  background: var(--coral);
}
.ico--sky {
  background: var(--sky);
}
.ico--mint {
  background: var(--mint);
}
.ico--sun {
  background: var(--sun);
}
.ico--rose {
  background: var(--rose);
}
.ico--lilac {
  background: var(--lilac);
}

.window {
  position: relative;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.caption,
.illustration-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--dim);
}

.caption {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
}

/* ---------- Header ---------- */

.site-header {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  text-decoration: none;
}

.mark {
  display: inline-flex;
  gap: 3px;
}

.mark-bar {
  width: 12px;
  height: 22px;
  border-radius: 6px;
}

.mark-bar--1 {
  background: var(--coral);
}
.mark-bar--2 {
  background: var(--mint);
}
.mark-bar--3 {
  background: var(--sky);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
}

.nav-link {
  display: inline-block;
  padding: 10px 0;
  text-decoration: none;
}

@media (max-width: 720px) {
  .nav {
    gap: 4px 18px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 56px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

.hero-top .h1 {
  flex: 1 1 620px;
}

.hero-side {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.chip {
  padding: 7px 12px;
  border-radius: 999px;
}

.chip--lilac {
  background: var(--lilac-t);
}
.chip--mint {
  background: var(--mint-t);
}
.chip--peach {
  background: var(--coral-t);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--coral {
  background: var(--coral);
}
.dot--sun {
  background: var(--sun);
}
.dot--mint {
  background: var(--mint);
}

.address {
  margin-left: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  min-width: 0;
  overflow-wrap: anywhere;
}

.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 18px 112px;
  background: var(--soft);
}

.board-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.board-col-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 6px;
}

.board-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--white);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 0 var(--line);
}

.card--waiting {
  box-shadow: 0 0 0 2px var(--lilac);
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.card-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

.card-meta {
  font-size: 12px;
  color: var(--dim);
}

.toasts {
  position: absolute;
  right: 22px;
  bottom: 70px;
  width: 300px;
  height: 76px;
}

.toast {
  position: absolute;
  inset: 0;
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  line-height: 1.35;
}

.toast--2 {
  background: var(--accent);
}

@media (max-width: 960px) {
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .board {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 18px;
  }
  .toasts {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 0 18px 18px;
  }
}

/* ---------- 01 Agents (roster) ---------- */

.roster {
  display: flex;
  flex-wrap: wrap;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}

.roster-list {
  flex: 1 1 280px;
  background: var(--soft);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pick {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 14px;
  text-decoration: none;
}

.pick.is-on {
  background: var(--white);
  box-shadow: 0 0 0 1.5px var(--accent);
}

.pick:hover {
  color: var(--ink);
  background: var(--white);
}

.pick-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.pick-name {
  font-weight: 700;
  font-size: 15px;
}

.pick-meta {
  font-size: 12px;
  color: var(--dim);
}

.roster-detail {
  flex: 999 1 480px;
  min-width: 0;
  background: var(--white);
}

.agent-panel {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

html:not(.js) .agent-panel + .agent-panel {
  border-top: 1px solid var(--line);
}

.agent-panel:focus {
  outline: none;
}

.agent-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.agent-name {
  display: block;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.dept-chip {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.instructions {
  border: 1.5px solid var(--line-2);
  border-radius: 16px;
  padding: 18px;
  font-size: 18px;
  line-height: 1.5;
}

.instructions--edit {
  padding: 16px;
  border-radius: 14px;
  border-color: var(--accent);
  background: var(--soft);
  font-size: 16px;
  line-height: 1.55;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: -3px;
}

.pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
}

.pair-box {
  border-radius: 16px;
  background: var(--soft);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pair-box--warn {
  background: #fff1ec;
}

.pair-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .agent-panel {
    padding: 24px 18px;
  }
  .agent-name {
    font-size: 24px;
  }
}

/* ---------- 02 Departments ---------- */

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 18px;
}

.dept-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
}

.dept-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.dept-name {
  font-weight: 800;
  font-size: 22px;
}

.seats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
}

.seat-name {
  font-weight: 700;
  font-size: 14px;
}

.seat--open {
  background: transparent;
  padding: 10px 14px;
  border: 1.5px dashed rgba(23, 22, 43, 0.3);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- 03 Hand-offs ---------- */

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pill-tab {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: var(--white);
  border: 1.5px solid #3a3860;
}

.pill-tab:hover {
  color: var(--white);
  border-color: var(--lilac);
}

.pill-tab.is-on {
  background: var(--lilac);
  border-color: var(--lilac);
  color: var(--ink);
}

.band--ink :focus-visible {
  outline-color: var(--lilac);
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

html:not(.js) .flow + .flow {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--ink-3);
}

.flow:focus {
  outline: none;
}

.flow-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

.flow-sub {
  font-size: 22px;
  line-height: 1.45;
  max-width: 46ch;
  color: var(--on-dark);
}

.track {
  position: relative;
  padding-top: 18px;
}

.track-line {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 50px;
  height: 3px;
  background: var(--ink-3);
}

.runner {
  position: absolute;
  top: -7px;
  left: 0;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--lilac);
}

.steps {
  position: relative;
  display: grid;
  gap: 20px;
}

.steps-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.steps-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.steps-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.steps-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.step-chip {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink);
}

.chip-bg--front {
  background: var(--coral);
}
.chip-bg--sales {
  background: var(--sky);
}
.chip-bg--marketing {
  background: var(--rose);
}
.chip-bg--finance {
  background: var(--mint);
}
.chip-bg--ops {
  background: var(--sun);
}
.chip-bg--people,
.chip-bg--you {
  background: var(--lilac);
}

.step-text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--on-dark);
}

.shows {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: flex-start;
  background: var(--ink-2);
  border-radius: 20px;
  padding: 22px 24px;
}

.shows-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mint);
  padding-top: 4px;
  text-transform: uppercase;
}

.shows-text {
  flex: 1 1 280px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
}

/* Narrow screens: the hand-off reads top to bottom instead of scrolling sideways. */
@media (max-width: 900px) {
  .track-line {
    left: 32px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 3px;
    height: auto;
  }
  .runner {
    display: none;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 6px;
    align-items: center;
    text-align: left;
  }
  .step .tok {
    grid-row: span 2;
  }
  .step-chip {
    justify-self: start;
  }
  .flow-sub {
    font-size: 19px;
  }
}

/* ---------- 04 Studio ---------- */

.studio {
  border-radius: 26px;
  color: var(--ink);
  text-align: left;
}

.studio-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
}

.studio-brand .muted {
  font-weight: 500;
}

.studio-logo {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent);
}

.health {
  font-family: var(--mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--dim);
  border: 1px solid var(--line);
}

.health-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fb67c;
}

.studio-body {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
}

.studio-side {
  flex: 1 1 240px;
  background: var(--soft);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--line);
}

.side-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  text-decoration: none;
}

.side-tab.is-on {
  background: var(--white);
  box-shadow: 0 0 0 1.5px var(--accent);
}

.side-tab:hover {
  color: var(--ink);
  background: var(--white);
}

.side-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
}

.side-name {
  font-size: 15px;
}

.list-sub {
  font-size: 12.5px;
  color: var(--dim);
}

.side-links {
  margin-top: auto;
  padding: 14px 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.studio-main {
  flex: 999 1 560px;
  min-width: 0;
  padding: 28px;
}

html:not(.js) .studio-panel + .studio-panel {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.studio-panel:focus,
.studio-agent:focus,
.tpl-panel:focus,
.perms:focus {
  outline: none;
}

@media (max-width: 860px) {
  .studio-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .side-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .studio-main {
    padding: 20px 16px;
  }
}

.agent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--line);
}

.agent-chip.is-on {
  border-color: var(--accent);
  background: var(--lilac-t);
}

.agent-chip:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.studio-agent {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

html:not(.js) .studio-agent + .studio-agent {
  margin-top: 22px;
}

.studio-agent-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.studio-agent-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--mint-t);
  color: #2f6e52;
}

.status--practice {
  background: var(--sun-t);
  color: #7a5c0c;
}

.studio-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.studio-shared {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  align-items: end;
}

.list-box {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.list-row:last-child {
  border-bottom: 0;
}

.list-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.tool {
  font-size: 13.5px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.switch {
  width: 44px;
  height: 26px;
  border-radius: 13px;
  position: relative;
  flex-shrink: 0;
  background: var(--line-2);
}

.switch.is-on {
  background: var(--accent);
}

.knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: left 0.2s;
}

.switch.is-on .knob {
  left: 21px;
}

@media (prefers-reduced-motion: reduce) {
  .knob {
    transition: none;
  }
}

.soft-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--lilac-t);
  font-size: 15px;
  line-height: 1.5;
}

.safeguard,
.practice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
}

.safeguard {
  border: 0;
  background: var(--lilac-t);
  font-size: 15px;
  line-height: 1.5;
}

.practice {
  border: 1px solid var(--line);
  background: transparent;
}

.practice-title {
  font-size: 14.5px;
}

.note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--dim);
}

.segs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.seg {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  background: transparent;
}

.seg.is-on {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.add {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.add-pick {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: 8px;
}

.tpl {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
  border: 1.5px solid var(--line);
}

.tpl.is-on {
  border-color: var(--accent);
  background: var(--lilac-t);
}

.tpl:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.tpl-name {
  font-size: 14px;
}

.add-detail {
  flex: 1 1 340px;
  min-width: 0;
}

.tpl-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
}

html:not(.js) .tpl-panel + .tpl-panel {
  margin-top: 16px;
}

.tpl-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tpl-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tpl-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.tpl-step-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tpl-step-value {
  font-size: 15px;
  line-height: 1.45;
}

.tpl-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.fake-btn {
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 14.5px;
}

.record {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.record-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.record-row:last-child {
  border-bottom: 0;
}

.record-row dt {
  color: var(--dim);
}

.record-row dd {
  font-weight: 700;
}

.facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fact {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.45;
}

.fact::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.bubble {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.bubble--q {
  align-self: flex-end;
  max-width: 90%;
  border-radius: 14px 14px 4px 14px;
  background: var(--accent);
  color: var(--white);
}

.bubble--a {
  border-radius: 14px 14px 14px 4px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.answer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.source {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--dim);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(178px, 100%), 1fr));
  gap: 10px;
}

.app {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  height: 100%;
  padding: 14px;
  border-radius: 16px;
  text-decoration: none;
  border: 1.5px solid var(--line);
}

.app.is-on {
  border-color: var(--accent);
  background: var(--lilac-t);
}

.app:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.app-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--eye);
  background: #e2dff2;
}

.logo--quickbooks {
  background: var(--mint);
}
.logo--calendar {
  background: var(--sky);
}
.logo--email {
  background: var(--coral);
}
.logo--sms {
  background: var(--rose);
}

.app-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--dim);
  border: 1px solid var(--line);
}

.app-status--on {
  background: var(--mint-t);
  color: #2f6e52;
  border-color: transparent;
}

.app-name {
  font-size: 14.5px;
}

.app-users {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  min-height: 22px;
}

.perms {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

html:not(.js) .perms + .perms {
  margin-top: 10px;
}

.perm-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.perm-role {
  min-width: 130px;
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px;
}

.point {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
  background: var(--ground);
  box-shadow: inset 0 0 0 1px var(--line);
}

.point-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
}

.sq {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}

.point-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 05 Your server ---------- */

.machine {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.io-col {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.io-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.io-list--tight {
  gap: 8px;
}

.io {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: var(--white);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--line);
}

.io--in {
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 15px;
}

.io--out {
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.dash {
  flex-shrink: 0;
  width: 26px;
}

.dash--lilac {
  border-top: 2px dashed var(--lilac);
}

.dash--mint {
  width: 22px;
  border-top: 2px dashed var(--mint);
}

.server {
  flex: 2 1 460px;
  min-width: 0;
  border-radius: 30px;
  background: var(--ink);
  color: var(--white);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 40px 80px rgba(23, 22, 43, 0.25);
}

.server-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.server-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.server-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}

.server .mono--dim {
  color: var(--on-dark-dim);
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 10px;
}

.inside {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: var(--ink-2);
}

.inside-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.sq-sm {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.inside-text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--on-dark-dim);
}

.vents {
  height: 10px;
  border-radius: 5px;
  background: repeating-linear-gradient(90deg, var(--ink-3) 0 4px, transparent 4px 10px);
}

.mcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}

.mcard,
.ccard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ccard {
  padding: 26px;
  background: var(--ground);
}

.mcard-title {
  font-size: 19px;
  font-weight: 800;
}

.mcard-text {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
}

.ccard-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.bar {
  width: 36px;
  height: 8px;
  border-radius: 999px;
}

/* ---------- 06 Around the clock ---------- */

.day {
  position: relative;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 0 0 1px var(--line);
  padding: 24px;
}

.day-legend,
.day-line,
.day-night,
.day-mid {
  display: none;
}

.day-events {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.day-event {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.day-text {
  font-size: 14px;
  line-height: 1.4;
}

/* Wide screens: the design's 24-hour line, events above and below it. */
@media (min-width: 980px) {
  .day {
    height: 380px;
    padding: 0;
  }
  .day-legend {
    display: block;
    position: absolute;
    left: 4%;
    top: 14px;
  }
  .day-line,
  .day-night {
    display: block;
    position: absolute;
    top: 190px;
    height: 4px;
    border-radius: 4px;
  }
  .day-line {
    left: 4%;
    right: 4%;
    background: var(--line);
  }
  .day-night {
    background: var(--lilac);
  }
  .day-night--am {
    left: 4%;
    width: 26%;
  }
  .day-night--pm {
    right: 4%;
    width: 6%;
  }
  .day-mid {
    display: block;
    position: absolute;
    bottom: 14px;
    color: var(--dim);
  }
  .day-mid--l {
    left: 4%;
  }
  .day-mid--r {
    right: 4%;
  }
  .day-events {
    margin: 0;
  }
  .day-event {
    position: absolute;
    transform: translateX(-50%);
    width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
  .day-event--up {
    bottom: 196px;
  }
  .day-event--down {
    top: 210px;
  }
  .day-text {
    font-size: 13px;
  }
}

/* ---------- 08 Getting started ---------- */

.setup {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.setup::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 23px;
  border-top: 2px dashed #d6d2ea;
}

.setup-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.setup-num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.setup-title {
  font-size: 21px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .setup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
  .setup::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .setup {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Close ---------- */

.start {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
  padding-top: 0;
}

.lineup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.start-lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.5;
}

.site-footer {
  padding-top: 24px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  font-weight: 600;
  font-size: 14px;
}

.foot-link {
  display: inline-block;
  padding: 8px 0;
}

.notfound {
  padding-top: 96px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Generated from copy.ts: where each event sits on the day line. */
@media (min-width: 980px) {
.day-event--1{left:12.3%}
.day-event--2{left:27%}
.day-event--3{left:32.8%}
.day-event--4{left:42.3%}
.day-event--5{left:51.9%}
.day-event--6{left:65.3%}
.day-event--7{left:76.8%}
.day-event--8{left:92.2%}
}
