/* Girderly landing page */
.lp { --lp-bg: #f5f4f0; --lp-ink: #211f1a; --lp-line: #dcd9ce; --lp-accent: #8a6a00; font-size: 17px; }
.lp .demo-bar { justify-content: space-between; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.lp h1, .lp h2, .lp h3 { font-family: var(--head); text-wrap: balance; }
.lp h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.14; }
.lp .btn { min-height: 46px; padding: 0 20px; font-size: 16px; }
.lead { max-width: 62ch; margin-top: 10px; color: var(--ink-2); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.head nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.head nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.head nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.head .btn { min-height: 42px; }
.lp-sticky .brand { flex: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 22px 48px; padding: 52px 0 72px; }
.hero h1 { max-width: 17ch; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; }
.hero-copy p { max-width: 58ch; margin-top: 16px; font-size: 18.5px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.shot { grid-column: 1 / -1; margin-top: 14px; overflow: hidden; border: 1px solid #bdb9aa; border-radius: 14px; background: #2a2620; box-shadow: 0 40px 70px -44px rgba(45, 36, 8, .55); }
.shot img { width: 100%; height: auto; }

.band { padding: 80px 0; background: #fff; border-block: 1px solid var(--lp-line); }
.ripple-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.flow { margin-top: 28px; counter-reset: s; }
.flow li { position: relative; display: grid; gap: 2px; padding: 14px 0 14px 56px; counter-increment: s; }
.flow li::before { content: counter(s); position: absolute; left: 0; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--line-2); border-radius: 6px; background: #fff; font: 700 17px var(--head); transition: background-color .3s, border-color .3s, color .3s; }
.flow li + li::after { content: ""; position: absolute; left: 17px; top: -12px; width: 2px; height: 26px; background: var(--line-2); }
.flow li.is-on::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.flow strong { font-size: 18px; }
.flow span { color: var(--ink-2); font-size: 16px; }
.ripple { padding: 22px; border: 1px solid var(--lp-line); border-radius: 14px; background: var(--lp-bg); }
.ripple figcaption { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--lp-line); }
.ripple figcaption span { color: var(--ink-2); font-size: 15px; }
.ripple li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 58px; border-bottom: 1px solid var(--lp-line); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.track { position: relative; height: 40px; }
.track i { position: absolute; }
.r-bar { top: 8px; height: 18px; left: var(--to); width: var(--w1); border-radius: 3px; background: var(--accent); transition: left .9s cubic-bezier(.3, .8, .25, 1), width .9s cubic-bezier(.3, .8, .25, 1); }
.r-plan { top: 30px; height: 4px; border-radius: 2px; background: #8d887a; }
.r-stone, .r-stone-plan { top: 10px; width: 15px; height: 15px; margin-left: -7px; transform: rotate(45deg); border-radius: 2px; }
.r-stone { left: var(--to); background: var(--ink); transition: left .9s cubic-bezier(.3, .8, .25, 1); }
.r-stone-plan { border: 2px solid #8d887a; }
.ripple li:nth-child(2) :is(.r-bar, .r-stone) { transition-delay: .18s; }
.ripple li:nth-child(3) :is(.r-bar, .r-stone) { transition-delay: .36s; }
.ripple li:nth-child(4) :is(.r-bar, .r-stone) { transition-delay: .54s; }
.is-planned .r-bar { left: var(--from); width: var(--w0); }
.is-planned .r-stone { left: var(--from); }
.r-result { display: grid; margin-top: 16px; font: 700 21px/1.3 var(--head); }
.r-result span { grid-area: 1 / 1; transition: opacity .35s; }
.r-result .r-before { opacity: 0; color: var(--ink-2); }
.r-result .r-after { color: #a52020; }
.is-planned .r-before { opacity: 1; }
.is-planned .r-after { opacity: 0; }

.money { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; padding-block: 84px; }
.money-copy p { max-width: 54ch; margin-top: 16px; color: var(--ink-2); }
.money-card { padding: 26px; border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; }
.money-card h3 { font-size: 22px; line-height: 1.25; }
.money-card > p { color: var(--ink-2); font-size: 15px; }
.money-card dl { margin: 16px 0 20px; }
.money-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--lp-line); }
.money-card dd { font-weight: 700; font-variant-numeric: tabular-nums; }

.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.roles article { display: flex; flex-direction: column; }
.roles .dev { margin-bottom: 26px; }
.roles h3 { font-size: 24px; }
.roles article > p { margin-top: 4px; color: var(--ink-2); }
.roles ul { display: grid; gap: 9px; margin: 16px 0 22px; padding-top: 16px; border-top: 1px solid var(--lp-line); font-size: 15.5px; }
.roles li { display: flex; gap: 10px; }
.roles li .icon { margin-top: 3px; color: var(--accent); }
.roles .btn { margin-top: auto; }

.numbers { padding-block: 84px; }
.charts { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; margin-top: 32px; }
.charts figure { min-width: 0; padding: 22px; border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; }
.charts figcaption { margin-bottom: 16px; font: 700 20px/1.25 var(--head); }
.charts .xc { --xc-bar: #8a6a00; --xc-grid: #e8e6df; --xc-base: #b0ac9e; --xc-ink: #211f1a; --xc-ink2: #57534a; --xc-tip: #2a2620; --xc-h: 250px; }
.charts .xc-v .xc-legend i.s0, .charts .xc-v .xc-colbar.s0 { background: #b9b4a2; }
.charts .xc-v .xc-legend i.s1, .charts .xc-v .xc-colbar.s1 { background: #8a6a00; }

.questions { padding-block: 78px; border-top: 1px solid var(--lp-line); }
.questions summary { font-size: 17.5px; }
.questions details p { color: var(--ink-2); }
.closing { margin-bottom: 72px; }
.closing > div { padding: 52px 48px; border-radius: 14px; background: #2a2620; color: #fff; }
.closing p { max-width: 58ch; margin-top: 12px; color: #d9d5c8; }
.closing .hero-actions { margin-top: 24px; }
.closing .btn-primary { background: #f0d77a; border-color: #f0d77a; color: #2a2100; }
.closing .btn:not(.btn-primary) { background: transparent; border-color: #8c8572; color: #fff; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 26px 0 36px; border-top: 1px solid var(--lp-line); color: var(--ink-2); font-size: 15px; }
.foot p:last-child { display: flex; gap: 20px; }
.foot a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; }

@media (max-width: 1000px) {
  .ripple-grid, .money, .charts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .charts { gap: 16px; }
  .head nav { gap: 18px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .roles { grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 400px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .lp .head { min-height: 62px; }
  .hero { padding: 30px 0 48px; gap: 20px; }
  .hero-actions .btn { flex: 1 1 150px; }
  .shot { border-radius: 10px; }
  .shot img { height: auto; }
  .band { padding: 56px 0; }
  .money, .numbers { padding-block: 56px; }
  .ripple { padding: 16px; }
  .ripple li { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 10px; }
  .questions { padding-block: 52px; }
  .closing { margin-bottom: 48px; }
  .closing > div { padding: 32px 20px; }
  .charts figure { padding: 14px; }
  .charts .xc { --xc-h: 200px; --xc-label: minmax(68px, 92px); --xc-value: 56px; }
  .charts .xc-yaxis b, .charts .xc-ticks b, .charts .xc-axisname, .charts .xc-colbar em, .charts .xc-xlabels span, .charts .xc-legend li { font-size: 12px; }
  .lp .dev-status { font-size: 12.5px; }
}
@media (max-width: 900px) {
  .lp-js .lp-sticky:not(.menu-open) > nav { display: none; }
  .lp-js .head .lp-menu { margin-left: auto; }
  .lp-sticky.menu-open > nav a.btn-primary { justify-content: center; margin-top: 6px; color: #fff; }
}
html:not(.lp-js) .head { flex-wrap: wrap; }
html:not(.lp-js) .head nav { flex-wrap: wrap; }

.closing .hero-actions { flex-wrap: wrap; }
.closing .hero-actions .btn { white-space: nowrap; }
