/* Two ways in on the landing page: a quick tour for recruiters and the architecture page for technical visitors. */
.a-arch { --accent: var(--brand-bright); }
.paths { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; padding-top: 18px; padding-bottom: 4px; }
.paths-q { align-self: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); padding-right: 6px; }
.path { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; padding: 12px 16px 12px 18px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--surface-1); color: var(--text-primary); font: inherit; text-decoration: none; cursor: pointer; overflow: hidden; transition: border-color .2s, background .2s; }
.path::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.path b { font-size: 16px; font-weight: 700; font-stretch: 85%; letter-spacing: .01em; }
.path span { grid-column: 1; font-size: 13px; color: var(--text-secondary); line-height: 1.35; }
.path i { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 20px; color: var(--accent); transition: transform .2s var(--ease); }
.path:hover, .path:focus-visible { border-color: var(--accent); background: var(--surface-2); }
.path:hover i, .path:focus-visible i { transform: translateX(3px); }
@media (max-width: 760px) {
  .paths { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 14px; }
  .paths-q { padding: 0; }
}

/* the tour */
.tour { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--hairline); border-radius: 10px; background: var(--bg); color: var(--text-primary); overflow: hidden; }
.tour::backdrop { background: rgba(0, 0, 0, .72); }
.tour[open] { display: flex; flex-direction: column; }
.t-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--hairline); background: var(--bg-deep); }
.t-dots { display: flex; gap: 6px; flex: 1; }
.t-dots button { width: 26px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: var(--surface-2); cursor: pointer; }
.t-dots button[aria-current="step"] { background: var(--brand-bright); }
.t-count { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.t-x { border: 1px solid var(--hairline); background: transparent; color: var(--text-secondary); border-radius: 6px; width: 30px; height: 30px; font-size: 16px; cursor: pointer; }
.t-x:hover, .t-x:focus-visible { color: var(--text-primary); border-color: var(--text-muted); }
.t-body { padding: 22px 22px 8px; overflow-y: auto; flex: 1; }
.t-slide { animation: t-in .28s var(--ease); }
@keyframes t-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .t-slide { animation: none; } .path i { transition: none; } }
.t-slide h2 { margin: 0 0 10px; font-size: clamp(24px, 4.4vw, 34px); line-height: 1.02; font-weight: 800; font-stretch: 72%; text-transform: uppercase; text-wrap: balance; }
.t-slide h2 em { font-style: normal; color: var(--brand-bright); }
.t-slide p { margin: 0 0 14px; color: var(--text-secondary); font-size: 15.5px; line-height: 1.55; max-width: 60ch; }
.t-note { font-size: 13px !important; color: var(--text-muted) !important; border-left: 2px solid var(--hairline); padding-left: 10px; }
.t-big { display: flex; gap: 14px; align-items: baseline; margin: 6px 0 16px; }
.t-big b { font-size: 44px; font-weight: 800; font-stretch: 75%; color: var(--pricing); line-height: 1; }
.t-big span { color: var(--text-secondary); font-size: 14px; max-width: 32ch; }
.t-flow { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; counter-reset: s; }
.t-flow li { counter-increment: s; background: var(--surface-1); border: 1px solid var(--hairline); border-top: 3px solid var(--pricing); border-radius: 6px; padding: 8px 9px; font-size: 12.5px; line-height: 1.3; color: var(--text-secondary); }
.t-flow li::before { content: counter(s); display: block; font-family: var(--mono); font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.t-flow b { display: block; color: var(--text-primary); font-size: 13.5px; }
.t-rows { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 6px; }
.t-rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 10px 12px 10px 14px; border: 1px solid var(--hairline); border-left: 3px solid var(--accent); border-radius: 6px; background: var(--surface-1); color: var(--text-primary); text-decoration: none; }
.t-rows a:hover, .t-rows a:focus-visible { background: var(--surface-2); }
.t-rows .q { font-weight: 600; font-size: 14.5px; }
.t-rows .n { grid-column: 2; grid-row: 1 / 3; font-size: 22px; font-weight: 800; font-stretch: 75%; color: var(--accent); white-space: nowrap; text-align: right; }
.t-rows .d { grid-column: 1; font-size: 12.5px; color: var(--text-muted); }
.t-list { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.t-list li { position: relative; padding-left: 20px; color: var(--text-secondary); font-size: 15px; line-height: 1.45; }
.t-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--brand-bright); }
.t-list b { color: var(--text-primary); }
.t-try { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 14px; }
.t-try a { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--hairline); border-top: 3px solid var(--accent); border-radius: 6px; background: var(--surface-1); color: var(--text-primary); text-decoration: none; }
.t-try a:hover, .t-try a:focus-visible { background: var(--surface-2); }
.t-try b { font-size: 15px; }
.t-try span { font-size: 12.5px; color: var(--text-muted); line-height: 1.35; }
.t-me { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--text-secondary); padding-top: 4px; }
.t-me a { color: var(--text-primary); }
.t-foot { display: flex; gap: 8px; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--hairline); background: var(--bg-deep); }
.t-foot .t-tech { font-size: 13px; color: var(--text-muted); }
.t-foot .t-tech a { color: var(--text-secondary); }
.t-foot .btns { display: flex; gap: 8px; margin-left: auto; }
.t-foot .btn[disabled] { opacity: .35; cursor: default; }
@media (max-width: 600px) {
  .tour { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .t-body { padding: 18px 16px 8px; }
  .t-flow { grid-template-columns: minmax(0, 1fr); }
  .t-flow li { display: flex; gap: 8px; align-items: baseline; }
  .t-flow li::before { margin: 0; }
  .t-flow b { display: inline; }
  .t-try { grid-template-columns: minmax(0, 1fr); }
  .t-foot .t-tech { display: none; }
  .t-big b { font-size: 38px; }
}

/* the 45-second Pricing demo video (video.js) */
.f-act .f-vid { gap: 8px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; }
.f-act .f-vid svg { width: 12px; height: 12px; color: var(--accent); }
.f-act .f-vid span { font: 400 11.5px/1 var(--mono); color: var(--text-muted); }
.f-act .f-vid:hover, .f-act .f-vid:focus-visible { border-color: var(--accent); }
.t-vid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; margin: 0 0 16px; padding: 8px 16px 8px 8px; border: 1px solid var(--hairline); border-left: 3px solid var(--pricing); border-radius: 6px; background: var(--surface-1); color: var(--text-primary); font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.t-vid:hover, .t-vid:focus-visible { background: var(--surface-2); border-color: var(--pricing); }
.t-vid img { display: block; width: 48px; height: 60px; object-fit: cover; border-radius: 3px; }
.t-vid b { display: block; font-size: 15px; }
.t-vid > span > span { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.t-vid i { font-style: normal; color: var(--pricing); font-size: 16px; }
.vid { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--hairline); border-radius: 10px; background: var(--bg-deep); color: var(--text-primary); overflow: hidden; }
.vid::backdrop { background: rgba(0, 0, 0, .8); }
.vid[open] { display: flex; flex-direction: column; }
.v-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--hairline); }
.v-head b { font-size: 14px; }
.v-head span { flex: 1; font: 400 11px/1.3 var(--mono); color: var(--text-muted); }
.v-player { display: block; width: 100%; height: auto; max-height: calc(100dvh - 140px); aspect-ratio: 720 / 900; object-fit: contain; background: #161616; }
.v-foot { display: flex; justify-content: flex-end; padding: 10px 12px; border-top: 1px solid var(--hairline); }
.v-foot .btn.primary { background: var(--pricing); border-color: var(--pricing); color: #111; }
@media (max-width: 600px) { .v-head span { display: none; } .v-head b { flex: 1; } }
.t-pair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; margin: 0 0 16px; }
.t-pair .t-vid { margin: 0; }
.t-app { display: flex; align-items: center; padding: 10px 14px; border: 1px solid var(--hairline); border-top: 3px solid var(--pricing); border-radius: 6px; background: var(--surface-1); color: var(--text-primary); text-decoration: none; transition: background .2s, border-color .2s; }
.t-app:hover, .t-app:focus-visible { background: var(--surface-2); border-color: var(--pricing); }
.t-app b { display: block; font-size: 15px; }
.t-app span span { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 600px) { .t-pair { grid-template-columns: minmax(0, 1fr); } }
