/* Tallyview landing page */
body.lp { --lp-bg: #f5f2ec; --lp-line: #ddd6c9; --lp-accent: #34424e; --lp-ink: #1e2328; font-size: 16.5px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.lp h1, .lp h2, .lp h3 { font-family: var(--head); letter-spacing: -.022em; text-wrap: balance; }
.lp h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.2; }
.lp h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.lp .demo-bar { justify-content: space-between; }
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.lp-top nav { display: flex; align-items: center; gap: 26px; }
.lp-top nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.lp-top nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
.lp-top .brand { margin-right: auto; }
@media (max-width: 900px) { .lp-js .lp-top nav { display: none; } .lp-top nav { flex-wrap: wrap; gap: 8px 18px; } .lp-sticky.menu-open > nav a.btn { justify-content: center; margin-top: 6px; color: #fff; } }
.btn .icon { width: 17px; height: 17px; }

.hero { padding-block: 40px 70px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 56px; align-items: end; }
.lp .hero h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; }
.hero-copy p { color: var(--ink-2); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-actions .btn { min-height: 48px; padding-inline: 20px; font-size: 15.5px; }
.window { margin-top: 38px; overflow: hidden; border: 1px solid #c9c1b2; border-radius: 14px; background: var(--surface); box-shadow: 0 44px 70px -48px rgba(30, 35, 40, .6); }
.window-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--accent-tint); }
.window-bar i { width: 10px; height: 10px; border-radius: 99px; background: #a9b5bf; }
.window img { width: 100%; height: auto; }
@media (max-width: 820px) { .hero { padding-block: 24px 48px; } .hero-copy { grid-template-columns: minmax(0, 1fr); } .hero-actions .btn { flex: 1 1 180px; } .window { margin-top: 28px; border-radius: 10px; } .window-bar { padding: 6px 10px; } .window-bar i { width: 7px; height: 7px; } }

.band { padding-block: 72px; border-block: 1px solid var(--lp-line); background: #fffdf9; }
.flow-head, .sec-head { display: grid; gap: 8px; }
.flow-head p, .sec-head p { max-width: 62ch; color: var(--ink-2); }

/* The five steps. A marker travels along the line and each step lights as it arrives. */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 38px; padding: 0; }
.flow::before, .flow::after { content: ""; position: absolute; top: 17px; left: 18px; height: 3px; border-radius: 3px; }
.flow::before { right: calc(20% - 31px); background: var(--lp-line); }
.flow::after { width: calc(80% + 3px); background: #b9772b; transform-origin: left; transform: scaleX(1); }
.flow li { display: flex; flex-direction: column; gap: 8px; }
.flow-n { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--accent); border-radius: 99px; background: var(--accent); color: #fff; font: 700 15px/1 var(--head); }
.flow h3 { margin-top: 6px; }
.flow li > p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.chip { display: grid; align-content: start; gap: 2px; margin-top: auto; padding: 11px 12px; border: 1px solid var(--lp-line); border-radius: 10px; background: #f5f2ec; font-size: 13.5px; line-height: 1.4; min-height: 84px; }
.chip b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.chip span { color: var(--ink-2); }
.chip-bad { border-color: #e3b6ab; background: var(--danger-tint); } .chip-bad span { color: var(--danger); font-weight: 700; }
.chip-ok { border-color: #b6d3bc; background: var(--ok-tint); } .chip-ok b { color: var(--ok); }
@media (prefers-reduced-motion: no-preference) {
  .rv.flow.in::after { animation: flow-line 10s linear infinite; }
  .flow.in .chip { animation: flow-chip 10s linear infinite; animation-delay: calc(var(--i) * 1.8s); }
  .flow.in .flow-n { animation: flow-dot 10s linear infinite; animation-delay: calc(var(--i) * 1.8s); }
}
@keyframes flow-line { 0% { transform: scaleX(0); } 72%, 94% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes flow-chip { 0%, 20%, 100% { transform: none; box-shadow: none; } 5%, 15% { transform: translateY(-6px); box-shadow: 0 16px 22px -16px rgba(30, 35, 40, .55); } }
@keyframes flow-dot { 0%, 20%, 100% { box-shadow: 0 0 0 0 rgba(185, 119, 43, 0); } 5%, 15% { box-shadow: 0 0 0 7px rgba(185, 119, 43, .3); } }
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 26px; }
  .flow::before, .flow::after { display: none; }
  .flow li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; position: relative; padding-bottom: 22px; }
  .flow li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 2px; width: 3px; border-radius: 3px; background: #d9b98d; }
  .flow-n { grid-row: span 3; }
  .flow h3 { margin: 6px 0 0; }
  .flow li > p, .flow h3, .chip { grid-column: 2; }
  .chip { min-height: 0; margin-top: 4px; }
}
.flow-shot { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--lp-line); }
.flow-shot h3 { font-size: 24px; }
.flow-shot p { max-width: 58ch; margin-top: 12px; color: var(--ink-2); }
@media (max-width: 760px) { .flow-shot { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 30px; padding-top: 32px; } .flow-shot .btn { width: 100%; text-align: center; } }

.figures { padding-block: 72px; }
.fig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.fig { display: flex; flex-direction: column; min-width: 0; padding: 20px 20px 16px; border: 1px solid var(--lp-line); border-radius: var(--radius-lg); background: var(--surface); }
.fig > p { margin: 2px 0 14px; color: var(--ink-2); font-size: 14.5px; }
.fig > .xc { --xc-h: 260px; margin-top: auto; }
.fig .xc-v .xc-colbar { width: min(30px, 40%); }
.fig .xc-v .xc-colbar.s0 { background: #b3a999; } .fig .xc-v .xc-colbar.s1 { background: #34424e; }
.fig .xc-v .xc-colbar em { font-size: 11px; }
.fig .xc-legend i.s0 { background: #b3a999; } .fig .xc-legend i.s1 { background: #34424e; }
.fig + .fig .xc-v .xc-colbar.s0, .fig + .fig .xc-legend i.s0 { background: #34424e; }
.fig + .fig .xc-v .xc-colbar.s1, .fig + .fig .xc-legend i.s1 { background: #c68a3e; }
.fig + .fig .xc-v .xc-colbar em { display: none; }
@media (max-width: 960px) { .fig-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .fig { padding: 16px 12px; } .fig > .xc { --xc-h: 200px; } }

.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; padding: 0; }
.role-grid > li { display: flex; flex-direction: column; padding: 28px 22px 22px; border: 1px solid var(--lp-line); border-radius: 18px; background: #f5f2ec; }
.role-grid .dev { margin-bottom: 24px; width: min(270px, 100%); }
.role-who { color: var(--ink-2); font-size: 15px; }
.role-grid ul { display: grid; gap: 8px; margin: 14px 0 20px; font-size: 15px; line-height: 1.45; }
.role-grid ul li { display: flex; gap: 9px; }
.role-grid ul .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.role-grid .btn { margin-top: auto; min-height: 48px; }
@media (max-width: 960px) { .role-grid { grid-template-columns: minmax(0, 440px); justify-content: center; } }
@media (max-width: 400px) { .role-grid > li { padding-inline: 14px; } }

.closing { margin-top: 72px; padding: 48px; border-radius: 18px; background: var(--accent); color: #fff; }
.closing p { max-width: 60ch; margin-top: 10px; color: #dde3e8; }
.closing .btn-primary { background: #fff; border-color: #fff; color: #1e2328; }
.closing .btn:not(.btn-primary) { background: transparent; border-color: #9fadb9; color: #fff; }
@media (max-width: 640px) { .closing { margin-top: 48px; padding: 30px 20px; } }
.questions { padding-block: 72px; }
.lp-qa > div > p, .lp-qa details p { color: var(--ink-2); }
.lp-foot { border-top: 1px solid var(--lp-line); padding-block: 24px 34px; color: var(--ink-2); font-size: 14.5px; }
.lp-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.lp-foot a { display: inline-flex; align-items: center; min-height: 32px; margin-right: 20px; font-weight: 600; }
@media (max-width: 760px) { .lp { font-size: 16px; } .band, .figures, .questions { padding-block: 48px; } }
.questions + .closing { margin-top: 0; margin-bottom: 64px; }
@media (max-width: 640px) { .questions + .closing { margin-top: 0; margin-bottom: 40px; } }
