/* Circlewell landing page */
:root { --lp-bg: #fff; --lp-ink: #251b21; --lp-line: #e6dfe2; --lp-accent: #a62d78; }
body { background: #fff; font-size: 16.5px; line-height: 1.6; }
.xc { --xc-bar: #a62d78; --xc-bar-hi: #83215f; --xc-grid: #ece6e9; --xc-base: #b9adb3; --xc-ink: #251b21; --xc-ink2: #625660; --xc-hover: rgba(166, 45, 120, .07); --xc-tip: #2b1f27; --xc-h: 220px; }
.wrap { width: min(1220px, 100% - 48px); margin-inline: auto; }
h2 { font: 400 clamp(28px, 3.2vw, 40px)/1.2 var(--head); }
h3 { font-size: 17px; font-weight: 800; }
.lead { max-width: 62ch; margin-top: 10px; color: var(--ink-2); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; width: min(1220px, 100% - 48px); margin-inline: auto; }
.top nav { display: flex; align-items: center; gap: 28px; }
.top nav a:not(.btn) { color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--accent); }
.btn { font-weight: 800; }
.btn-big { min-height: 50px; padding: 0 22px; font-size: 16px; }
@media (max-width: 900px) {
  .lp-js .top:not(.menu-open) > nav { display: none; }
  html:not(.lp-js) .top { flex-wrap: wrap; padding-block: 12px; }
  html:not(.lp-js) .top nav { flex-wrap: wrap; gap: 14px; }
  .top nav a.btn { margin: 6px; justify-content: center; color: #fff; }
}

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 44px; align-items: center; padding-block: 44px 72px; }
.hero h1 { margin: 0; font: 400 clamp(32px, 3.5vw, 46px)/1.18 var(--head); text-wrap: balance; }
.hero-copy > p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-copy .hero-note { margin-top: 16px; font-size: 14px; }
.hero-shot { padding: 14px 14px 0; border-radius: 24px; background: var(--accent-tint); }
.hero-shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 50px -30px rgba(76, 18, 55, .55); }
.hero-shot figcaption { padding: 10px 4px 12px; font-size: 13.5px; color: #5a2447; }

section.band { padding-block: 76px; background: #f8f4f6; }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 40px 0 0; padding: 0; }
.flow li { position: relative; }
.flow li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border: 2px solid var(--accent); border-radius: 99px; background: #fff; color: var(--accent); }
.flow li > span .icon { width: 23px; height: 23px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 52px; right: -18px; height: 2px; background: #dfc2d3; }
.flow p { margin-top: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.seatdemo { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 24px 40px; margin-top: 44px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.phases { display: grid; margin-top: 6px; color: var(--ink-2); }
.phases span { grid-area: 1 / 1; }
.phases span:not(:last-child) { visibility: hidden; }
.seats { display: grid; grid-template-columns: repeat(4, 56px); gap: 10px; }
.seat { position: relative; width: 56px; height: 56px; border: 2px dashed #d6bccb; border-radius: 99px; }
.seat b, .line-wait b { display: grid; place-items: center; border-radius: 99px; font-size: 14px; font-weight: 800; }
.seat b { position: absolute; inset: -2px; }
.av-0 { background: #f6dcec; color: #7d1f5a; } .av-1 { background: #f6e6cc; color: #6f4608; } .av-2 { background: #dcebdc; color: #255a31; } .av-3 { background: #dbe9f3; color: #1e5075; } .av-4 { background: #f9ded3; color: #8a3517; }
.seat .in, .line-wait .first { background: var(--accent); color: #fff; }
.seat .out { opacity: 0; }
.line-wait { display: flex; align-items: center; gap: 8px; padding-left: 32px; border-left: 1px solid var(--line); }
.line-wait span { margin-right: 4px; font-weight: 800; font-size: 14.5px; }
.line-wait b { width: 44px; height: 44px; background: var(--soft); }
.line-wait .first { opacity: .25; }
@media (prefers-reduced-motion: no-preference) {
  .flow li > span { animation: step-on 9s ease-in-out infinite; animation-delay: calc(var(--i) * 1.8s); }
  .seat .out { opacity: 1; animation: seat-out 9s ease-in-out infinite; }
  .seat .in { animation: seat-in 9s cubic-bezier(.22, 1, .36, 1) infinite; }
  .line-wait .first { animation: wait-first 9s ease-in-out infinite; }
  .phases span:nth-child(1) { animation: ph1 9s step-end infinite; }
  .phases span:nth-child(2) { animation: ph2 9s step-end infinite; }
  .phases span:nth-child(3) { visibility: hidden; animation: ph3 9s step-end infinite; }
}
@keyframes step-on { 0%, 20%, 100% { background: #fff; color: #a62d78; } 5%, 15% { background: #a62d78; color: #fff; } }
@keyframes seat-out { 0%, 32% { opacity: 1; transform: none; } 44%, 94% { opacity: 0; transform: translateY(-22px) scale(.7); } 100% { opacity: 1; transform: none; } }
@keyframes seat-in { 0%, 55% { opacity: 0; transform: translateX(70px) scale(.7); } 68%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes wait-first { 0%, 55% { opacity: 1; } 68%, 94% { opacity: .25; } 100% { opacity: 1; } }
@keyframes ph1 { 0% { visibility: visible; } 33% { visibility: hidden; } }
@keyframes ph2 { 0% { visibility: hidden; } 33% { visibility: visible; } 62% { visibility: hidden; } }
@keyframes ph3 { 0% { visibility: hidden; } 62% { visibility: visible; } }

.roles-sec { padding-block: 76px; }
.rolecols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.rolecols > li { display: flex; flex-direction: column; align-items: stretch; padding: 28px 22px 22px; border-radius: 24px; background: #f8f4f6; }
.rolecols .dev { width: min(260px, 100%); }
.rolecols h3 { margin-top: 24px; font: 400 21px/1.3 var(--head); }
.rolecols ul { margin-top: 10px; }
.rolecols ul li { display: flex; gap: 9px; padding: 3px 0; }
.rolecols ul .icon { margin-top: 4px; color: var(--accent); }
.limit { display: flex; gap: 9px; margin: 12px 0 18px; padding-top: 12px; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.limit .icon { margin-top: 3px; }
.rolecols .btn { margin-top: auto; min-height: 46px; }

.graphs { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; margin-top: 34px; }
.graphs figure { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; min-width: 0; }
.graphs figcaption { margin-bottom: 14px; font-weight: 800; }
.graphs .xc { --xc-label: minmax(70px, 96px); }

#questions { padding-block: 80px 68px; }
.closing { padding: 52px 32px; border-radius: 28px; background: var(--accent); color: #fff; text-align: center; }
.closing p { max-width: 54ch; margin: 10px auto 0; color: #fdeaf5; }
.closing > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.btn-light { background: #fff; border-color: #fff; color: var(--accent-dark); }
.btn-line { background: transparent; border-color: #fff; color: #fff; }
.btn-line:hover { background: var(--accent-dark); border-color: #fff; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-block: 22px 32px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { max-width: 640px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding-bottom: 22px; }
  .flow li > span { grid-row: 1 / 3; margin: 0; }
  .flow li:not(:last-child)::after { top: 52px; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; }
  .flow p { grid-column: 2; }
  .seatdemo { grid-template-columns: minmax(0, 1fr); justify-items: start; margin-top: 18px; }
  .line-wait { padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); justify-self: stretch; }
  .graphs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .rolecols { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .wrap, .top { width: calc(100% - 32px); }
  .hero { padding-block: 24px 52px; }
  .hero-actions .btn { width: 100%; }
  .hero-shot { padding: 8px 8px 0; border-radius: 16px; }
  .hero-shot img { border-radius: 9px; }
  section.band, .roles-sec { padding-block: 52px; }
  .seatdemo { padding: 20px 16px; }
  .seats { grid-template-columns: repeat(4, 52px); gap: 8px; }
  .seat { width: 52px; height: 52px; }
  .line-wait b { width: 40px; height: 40px; }
  .line-wait { gap: 6px; }
  .rolecols > li { padding: 22px 16px 16px; }
  .graphs figure { padding: 14px 10px; }
  .graphs .xc { --xc-label: 74px; --xc-value: 50px; }
  #questions { padding-block: 56px 48px; }
  .closing { padding: 36px 20px; border-radius: 20px; }
  .closing .btn { width: 100%; }
  .foot { margin-top: 40px; }
}

/* Twelve month labels run together on phones, so show every other one */
@media (max-width: 560px) { .xc-v[style*="--xc-n:12"] .xc-xlabels > :nth-child(odd) { visibility: hidden; } }
