/* =====================================================================
   Get started, in the same look as the app's sign-in.
   Left: a soft glowing panel with the step counter and a paper "company
   profile" slip that fills in as you answer. Right: a frosted card, one
   question at a time.
   ===================================================================== */

.ob-page {
  --paper: #fbf9f4;
  --paper-ink: #1d1c1a;
  --paper-mute: #77736b;
  --paper-line: #e3ded3;
  --marker: #ffe58a;
  --mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 14px;
  --stage: #f7f9fd;
  --glow-blue: rgba(66, 133, 244, 0.42);
  --glow-violet: rgba(161, 66, 244, 0.26);
  --glow-teal: rgba(18, 181, 203, 0.24);
  --glow-green: rgba(52, 168, 83, 0.2);
  --frost: rgba(255, 255, 255, 0.78);
  background: var(--bg);
}
:root[data-theme='dark'] .ob-page {
  --marker: #ffd95a;
  --stage: #16171a;
  --glow-blue: rgba(66, 133, 244, 0.38);
  --glow-violet: rgba(161, 66, 244, 0.3);
  --glow-teal: rgba(18, 181, 203, 0.2);
  --glow-green: rgba(52, 168, 83, 0.22);
  --frost: rgba(35, 36, 40, 0.72);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .ob-page {
    --marker: #ffd95a;
    --stage: #16171a;
    --glow-blue: rgba(66, 133, 244, 0.38);
    --glow-violet: rgba(161, 66, 244, 0.3);
    --glow-teal: rgba(18, 181, 203, 0.2);
    --glow-green: rgba(52, 168, 83, 0.22);
    --frost: rgba(35, 36, 40, 0.72);
  }
}

.ob {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(0, 1.18fr);
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---------------------------------------------------------------- left panel */
.ob-aside {
  position: sticky;
  top: 0;
  top: 12px;
  height: calc(100vh - 24px);
  height: calc(100dvh - 24px);
  margin: 12px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px clamp(28px, 4vw, 52px) 28px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--stage);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  /* lands flat from a slight tilt, like the sign-in */
  transform-origin: 50% 100%;
  animation: obSettle 1100ms var(--ease) both;
}
@keyframes obSettle {
  from {
    opacity: 0;
    transform: perspective(1600px) rotateX(10deg) translateY(40px) scale(0.96);
  }
}
.ob-aside > :not(.ob-glow) {
  position: relative;
  animation: obRise 700ms var(--ease) both;
}
.ob-aside > :nth-child(3) {
  animation-delay: 250ms;
}
.ob-aside > :nth-child(4) {
  animation-delay: 400ms;
}
.ob-aside > :nth-child(5) {
  animation-delay: 550ms;
}
@keyframes obRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Soft drifting glows, as on the home page */
.ob-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.ob-glow i {
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1;
  filter: blur(70px);
  animation: drift 18s ease-in-out infinite alternate;
}
.ob-aside .ob-glow .g1 {
  width: 80%;
  left: -24%;
  top: 6%;
  background: radial-gradient(circle, var(--glow-blue), transparent 66%);
}
.ob-aside .ob-glow .g2 {
  width: 70%;
  right: -22%;
  top: -14%;
  background: radial-gradient(circle, var(--glow-violet), transparent 66%);
  animation-duration: 22s;
}
.ob-aside .ob-glow .g3 {
  width: 76%;
  left: 18%;
  bottom: -30%;
  background: radial-gradient(circle, var(--glow-green), transparent 66%);
  animation-duration: 26s;
}
.ob-main .ob-glow {
  opacity: 0.55;
}
.ob-main .ob-glow .g1 {
  width: 520px;
  right: -180px;
  top: -160px;
  background: radial-gradient(circle, var(--glow-blue), transparent 66%);
}
.ob-main .ob-glow .g2 {
  width: 480px;
  right: -120px;
  bottom: -220px;
  background: radial-gradient(circle, var(--glow-teal), transparent 66%);
  animation-duration: 24s;
}
.ob-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font: 500 21px/1 var(--font);
  letter-spacing: -0.01em;
}
.ob-brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff url('/assets/brand/finixyz-tile.png') center / cover no-repeat;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.2), 0 4px 10px -4px rgba(11, 87, 208, 0.3);
}

.ob-where {
  margin-top: auto;
}
.ob-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font);
}
.ob-count b {
  font-size: clamp(72px, 7vw, 104px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #0b57d0 0%, #4285f4 22%, #a142f4 42%, #12b5cb 62%, #4285f4 80%, #0b57d0 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
}
:root[data-theme='dark'] .ob-count b {
  background-image: linear-gradient(100deg, #a8c7fa 0%, #7cacf8 22%, #d7aefb 42%, #78d9ec 62%, #7cacf8 80%, #a8c7fa 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .ob-count b {
    background-image: linear-gradient(100deg, #a8c7fa 0%, #7cacf8 22%, #d7aefb 42%, #78d9ec 62%, #7cacf8 80%, #a8c7fa 100%);
  }
}
.ob-count span {
  font: 400 15px/1 var(--mono);
  color: var(--muted);
}
.ob-step-name {
  margin: 14px 0 6px;
  font: 500 22px/1.2 var(--font);
  color: var(--ink);
}
.ob-step-desc {
  margin: 0;
  max-width: 34ch;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  min-height: 3em;
}
.ob-segs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 22px;
  max-width: 340px;
}
.ob-segs i {
  height: 3px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  position: relative;
  overflow: hidden;
}
.ob-segs i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.ob-segs i.done::after {
  transform: scaleX(1);
}
.ob-segs i.on::after {
  transform: scaleX(0.45);
}

/* The paper slip */
.ticket-wrap {
  margin-bottom: auto;
  filter: drop-shadow(0 18px 24px rgba(11, 40, 90, 0.18)) drop-shadow(0 2px 4px rgba(31, 31, 31, 0.08));
}
.ticket {
  position: relative;
  max-width: 420px;
  padding: 20px 22px 16px;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 4px;
  transform: rotate(-1.6deg);
  font-family: var(--text);
  /* torn perforation along the top edge */
  -webkit-mask: radial-gradient(circle 5px at 50% 0, transparent 98%, #000) 0 0 / 16px 100% repeat-x;
  mask: radial-gradient(circle 5px at 50% 0, transparent 98%, #000) 0 0 / 16px 100% repeat-x;
  transition: transform 600ms var(--ease);
}
.ticket.stamped {
  transform: rotate(-0.4deg);
}
.t-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0 14px;
  border-bottom: 1.5px solid var(--paper-ink);
}
.t-logo {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 600 16px/1 var(--font);
  flex: none;
  transition: background 400ms;
}
.t-head small {
  display: block;
  font: 500 10px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--paper-mute);
}
.t-head b {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 500 18px/1.2 var(--font);
}
.t-head .ph {
  color: #b9b3a6;
}
.t-ref {
  align-self: flex-start;
  font: 400 10.5px/1 var(--mono);
  color: var(--paper-mute);
}
.t-body {
  padding: 6px 0;
}
.t-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px dashed var(--paper-line);
  font-size: 13px;
  line-height: 1.4;
}
.t-row:last-child {
  border-bottom: none;
}
.t-k {
  font: 500 9.5px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper-mute);
}
.t-v {
  min-width: 0;
  overflow-wrap: anywhere;
}
.t-v .blank {
  display: inline-block;
  width: 60%;
  height: 1px;
  border-bottom: 1px solid #cfc9bc;
  vertical-align: middle;
}
.t-v em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
  font-style: normal;
  white-space: nowrap;
}
.t-v em::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
}
.t-v .ar {
  color: var(--paper-mute);
}
/* highlighter on the rows the current step fills */
.t-row.mark-on .t-v {
  padding: 0 3px;
  margin-left: -3px;
  background: linear-gradient(transparent 10%, var(--marker) 10%, var(--marker) 90%, transparent 90%) no-repeat 0 0 / 100% 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  animation: marker 600ms var(--ease) both;
}
@keyframes marker {
  from {
    background-size: 0% 100%;
  }
}
.t-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1.5px solid var(--paper-ink);
  font: 400 9.5px/1.4 var(--mono);
  color: var(--paper-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.t-foot span:last-child {
  text-align: right;
}
.stamp {
  position: absolute;
  right: 22px;
  top: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px 6px;
  border: 3px solid #1e8e3e;
  border-radius: 8px;
  color: #1e8e3e;
  font: 700 24px/1 var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-12deg) scale(2.4);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.stamp small {
  margin-top: 3px;
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.1em;
}
.ticket.stamped .stamp {
  animation: stamp 520ms cubic-bezier(0.3, 1.4, 0.5, 1) 3.2s forwards;
}
@keyframes stamp {
  60% {
    opacity: 0.92;
  }
  to {
    opacity: 0.88;
    transform: rotate(-12deg) scale(1);
  }
}

.ob-saved {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.ob-saved .ms {
  font-size: 18px;
}

/* ---------------------------------------------------------------- right side */
.ob-main {
  --field-bg: color-mix(in srgb, var(--card) 60%, transparent);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px clamp(24px, 5vw, 80px) 28px;
  min-width: 0;
}
.ob-top,
.ob-foot {
  align-self: stretch;
  animation: obRise 600ms 200ms var(--ease) both;
}
.ob-top {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
}
.ob-top .ob-brand {
  display: none;
  color: var(--ink);
}
.back-site {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 8px 10px;
  color: var(--ink-2);
  font: 500 14px/1 var(--font);
  text-decoration: none;
  border-radius: 8px;
}
.back-site .ms {
  font-size: 16px;
  transition: transform 200ms var(--ease);
}
.back-site:hover {
  color: var(--ink);
}
.back-site:hover .ms {
  transform: translate(2px, -2px);
}
.ob-mobile-bar {
  display: none;
}

.ob-form {
  width: 100%;
  max-width: 600px;
  margin: auto 0;
  padding: 44px 44px 36px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--frost);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 24px 48px -12px rgba(11, 87, 208, 0.16), 0 8px 16px -8px rgba(31, 31, 31, 0.1);
  animation: obCard 900ms 150ms var(--ease) both;
}
@keyframes obCard {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    filter: blur(8px);
  }
}
/* Each step's contents rise in one after another */
.panel > *,
.panel .fields > * {
  animation: obRise 520ms var(--ease) both;
}
.panel > :nth-child(2) { animation-delay: 50ms; }
.panel > :nth-child(3) { animation-delay: 100ms; }
.panel > :nth-child(4) { animation-delay: 150ms; }
.panel > :nth-child(5) { animation-delay: 200ms; }
.panel > :nth-child(n + 6) { animation-delay: 250ms; }
.panel .fields > :nth-child(1) { animation-delay: 140ms; }
.panel .fields > :nth-child(2) { animation-delay: 185ms; }
.panel .fields > :nth-child(3) { animation-delay: 230ms; }
.panel .fields > :nth-child(4) { animation-delay: 275ms; }
.panel .fields > :nth-child(n + 5) { animation-delay: 320ms; }
.panel-wrap {
  min-height: 380px;
}
.panel {
  animation: panelIn 420ms var(--ease) both;
}
.panel.back {
  animation-name: panelBack;
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes panelBack {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--primary);
  font: 500 13px/1 var(--font);
}
.kicker .sep {
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.panel h2 {
  margin: 0 0 10px;
  font: 500 clamp(30px, 3.2vw, 42px) / 1.08 var(--font);
  letter-spacing: -0.035em;
}
.panel .sub {
  margin: 0 0 32px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16.5px;
}

/* quieter, squarer fields than the rest of the site */
.ob-main .field:not(.art) input,
.ob-main .field:not(.art) select,
.ob-main .field:not(.art) textarea {
  border-radius: var(--r);
}
.ob-main .chips button {
  border-radius: 8px;
}
.hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}
.hint .ms {
  font-size: 17px;
}
.hint.center {
  justify-content: center;
}

.ob-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}
.ob-actions[hidden] {
  display: none;
}
.ob-actions .spacer {
  flex: 1;
}
.ob-actions .btn.primary {
  height: 50px;
  padding: 0 22px 0 26px;
  border-radius: 999px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}
.ob-actions .btn.primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 80%, transparent);
}
.ob-actions .btn.primary:active:not(:disabled) {
  transform: scale(0.97);
  box-shadow: none;
}
/* fields: a soft halo on focus, as on the sign-in */
.ob-main .field:not(.art) input:focus,
.ob-main .field:not(.art) select:focus,
.ob-main .field:not(.art) textarea:focus {
  box-shadow: inset 0 0 0 1px var(--primary), 0 0 0 4px var(--tint-2);
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px 10px 0;
  border: none;
  background: none;
  color: var(--ink-2);
  font: 500 15px/1 var(--font);
  cursor: pointer;
}
.link-btn .ms {
  font-size: 18px;
  transition: transform 200ms var(--ease);
}
.link-btn:hover {
  color: var(--ink);
}
.link-btn:hover .ms {
  transform: translateX(-3px);
}
.ob-foot {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.ob-foot a {
  color: var(--ink-2);
}

/* phone with country code */
.phone-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px;
}

/* country facts: a plain inline list, not pills */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 13.5px;
}
.facts > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.facts .ms {
  font-size: 17px;
  color: var(--green);
}

/* channels */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.channel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 14px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 500 14.5px/1.2 var(--font);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms, background 160ms;
}
.channel .ic {
  display: grid;
}
.channel .ic .ms {
  font-size: 21px;
  color: var(--c);
}
.channel .tick {
  margin-left: auto;
  font-size: 20px;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 160ms, transform 260ms var(--spring);
}
.channel:hover {
  border-color: var(--muted);
}
.channel.on {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.channel.on .tick {
  opacity: 1;
  transform: scale(1);
}

/* stages */
.stages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.stage-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 0 4px 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font: 500 14px/1 var(--font);
}
.stage-chip button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.stage-chip button .ms {
  font-size: 15px;
}
.stage-chip button:hover {
  background: color-mix(in srgb, var(--red) 10%, transparent);
  color: var(--red);
}
.stages .arrow {
  font-size: 16px;
  color: var(--muted);
}
.add-stage {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 3px 0 12px;
  border-radius: 8px;
  border: 1px dashed var(--muted);
}
.add-stage input {
  width: 104px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: 400 14px/1 var(--text);
}
.add-stage button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.add-stage button .ms {
  font-size: 17px;
}
.add-stage:focus-within {
  border: 1px solid var(--primary);
}

/* invites */
.invites {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px 44px;
  gap: 8px;
  align-items: start;
}
.invite .icon-btn {
  margin-top: 6px;
  border-radius: 10px;
}
.invite .icon-btn:hover {
  background: var(--surface);
  color: var(--red);
}
.ob-main .btn.tonal.sm {
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.role-help {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}
.role-help b {
  color: var(--ink);
  font-weight: 500;
}

/* plan */
.seg.period {
  margin-bottom: 16px;
  border-radius: 10px;
}
.seg.period button {
  border-radius: 8px;
  height: 36px;
}
.plan-pick {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.pp {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 160ms;
}
.pp:last-child {
  border-bottom: none;
}
.pp:hover {
  background: var(--surface);
}
.pp .radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  flex: none;
  position: relative;
}
.pp .radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--primary);
  transform: scale(0);
  transition: transform 260ms var(--spring);
}
.pp.on {
  background: var(--tint-2);
}
.pp.on .radio {
  border-color: var(--primary);
}
.pp.on .radio::after {
  transform: scale(1);
}
.pp .grow {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pp b {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 16.5px/1.3 var(--font);
}
.pp em {
  font: 500 10.5px/1 var(--mono);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.pp small {
  color: var(--muted);
  font-size: 13.5px;
}
.pp-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font: 500 16.5px/1.2 var(--font);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pp-price small {
  font: 400 12px/1.3 var(--text);
}
.bill-box {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 4px 2px;
  font-variant-numeric: tabular-nums;
}
.bill-box > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.bill-box b {
  color: var(--ink);
  font: 500 15px/1.3 var(--font);
}
.bill-box .free span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bill-box .free .ms {
  display: none;
}
.bill-box .free b {
  color: var(--green);
}
.bill-box small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

/* verify */
.badge-icon {
  display: none;
}
.otp {
  display: flex;
  gap: 8px;
  margin: 4px 0 6px;
}
.otp input {
  width: 56px;
  height: 66px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  font: 500 28px/1 var(--mono);
  text-align: center;
  outline: none;
  transition: border-color 160ms, box-shadow 160ms;
}
.otp input:nth-child(3):nth-last-child(4) {
  margin-right: 12px;
}
.otp input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.panel[data-step='verify'] .err.center {
  text-align: left;
}
.resend {
  display: flex;
  gap: 4px;
  margin: 18px 0 0 -14px;
}

/* building & ready */
.panel[data-step='done'] {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.build h2 {
  margin-bottom: 26px;
}
.build-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  font-family: var(--mono);
}
.build-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  color: var(--muted);
  font-size: 13.5px;
  opacity: 0;
  animation: riseIn 360ms var(--ease) forwards;
  animation-delay: calc(var(--k) * 110ms);
  transition: color 240ms;
}
.b-ic {
  position: relative;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: none;
}
.b-ic .ms:first-child {
  display: none;
}
.b-ic::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--primary);
  animation: spin 800ms linear infinite;
}
.b-ic .ok {
  font-size: 20px;
  color: var(--green);
  transform: scale(0);
  transition: transform 300ms var(--spring);
}
.build-list li.ok {
  color: var(--ink);
}
.build-list li.ok .b-ic::after {
  display: none;
}
.build-list li.ok .b-ic .ok {
  transform: scale(1);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ready {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: panelIn 460ms var(--ease) both;
}
.ready[hidden] {
  display: none;
}
.ready .burst {
  display: none;
}
.ready .big-check {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green);
  box-shadow: none;
}
.ready .big-check .ms {
  font-size: 30px;
}
.ready h2 {
  margin: 6px 0 0;
}
.ready .sub {
  margin: 0;
}
.ready .ctas {
  justify-content: flex-start;
  margin-top: 10px;
}
.ready .ctas .btn {
  border-radius: var(--r);
}
.ready .hint.center {
  justify-content: flex-start;
}
.signin-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.signin-card .pv-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 600 17px/1 var(--font);
  flex: none;
}
.signin-card .grow {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.signin-card b {
  font: 500 16px/1.3 var(--font);
}
.signin-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}
.signin-card .flag {
  font-size: 22px;
}

/* ---------------------------------------------------------------- simulated SMS */
.sms-toast {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(360px, calc(100% - 28px));
  padding: 12px 14px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transform: translateY(-140%);
  /* hidden off the top; invisible too, so its shadow doesn't peek in */
  visibility: hidden;
  transition: transform 480ms var(--spring), visibility 0s 480ms;
}
.sms-toast.show {
  transform: translateY(0);
  visibility: visible;
  transition: transform 480ms var(--spring);
}
.sms-toast .ic {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #34c759;
  color: #fff;
  flex: none;
}
.sms-toast .ic .ms {
  font-size: 20px;
}
.sms-toast div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.4;
}
.sms-toast b {
  font: 500 12px/1.3 var(--font);
  color: var(--muted);
}
.sms-toast small {
  color: var(--primary);
  font-size: 12px;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .ob {
    grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  }
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .ob {
    display: block;
  }
  .ob-aside {
    display: none;
  }
  .ob-main {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 12px 20px 24px;
  }
  .ob-top .ob-brand {
    display: inline-flex;
    font-size: 19px;
  }
  .ob-top .ob-brand .mark {
    width: 30px;
    height: 30px;
  }
  .ob-mobile-bar {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font: 500 11.5px/1 var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .ob-mobile-bar .ob-segs {
    max-width: none;
    margin-top: 10px;
  }
  .ob-mobile-bar .ob-segs i {
    background: var(--line);
  }
  .ob-mobile-bar .ob-segs i::after {
    background: var(--primary);
  }
  .ob-mobile-bar .ob-segs i.on::after {
    background: var(--primary);
    opacity: 0.6;
  }
  .ob-form {
    max-width: none;
    margin: 0;
    padding: 28px 0 24px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .ob-main {
    align-items: stretch;
  }
  .ob-main .ob-glow {
    opacity: 1;
  }
  .ob-main .ob-glow .g2 {
    right: auto;
    left: -200px;
  }
  .kicker {
    display: none;
  }
  .panel-wrap {
    min-height: 0;
  }
}
@media (max-width: 560px) {
  .panel h2 {
    font-size: 28px;
  }
  .panel .sub {
    margin-bottom: 24px;
    font-size: 15.5px;
  }
  .phone-row {
    grid-template-columns: 124px minmax(0, 1fr);
  }
  .phone-row .cc select {
    padding-left: 12px;
    padding-right: 30px;
    background-position: calc(100% - 16px) 26px, calc(100% - 11px) 26px;
  }
  .channel-grid {
    grid-template-columns: 1fr 1fr;
  }
  .channel {
    height: 52px;
    gap: 10px;
    padding: 0 12px;
    font-size: 14px;
  }
  .invite {
    grid-template-columns: minmax(0, 1fr) 44px;
  }
  .invite .field.role {
    grid-row: 2;
    grid-column: 1;
  }
  .pp {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 14px;
  }
  .pp .grow {
    flex: 1 1 calc(100% - 40px);
  }
  .pp-price {
    margin-left: 32px;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
  }
  .otp {
    gap: 6px;
  }
  .otp input {
    width: 44px;
    height: 56px;
    font-size: 22px;
  }
  .otp input:nth-child(3):nth-last-child(4) {
    margin-right: 6px;
  }
  .ob-actions {
    margin-top: 28px;
  }
  .ob-actions .btn.primary {
    flex: 1;
  }
  .ob-foot {
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ob-aside,
  .ob-aside > *,
  .ob-glow i,
  .ob-count b,
  .ob-top,
  .ob-foot,
  .ob-form,
  .panel > *,
  .panel .fields > *,
  .panel,
  .panel.back,
  .ready,
  .build-list li,
  .t-row.mark-on .t-v {
    animation: none !important;
    opacity: 1;
  }
  .ticket.stamped .stamp {
    animation: none;
    opacity: 0.88;
    transform: rotate(-12deg);
  }
}

/* ---------------------------------------------------------------- consent (plan step) */
.check.consent {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.5;
}
.check.consent a {
  color: var(--primary);
  font-weight: 500;
}

/* Waiting on the server (sending the code, creating the account). */
#nextBtn.loading { opacity: 0.7; pointer-events: none; }
#nextBtn.loading .label::after { content: '…'; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--primary, #0b57d0); text-decoration: underline; cursor: pointer; }
#apiErr { margin-top: 14px; }

/* Show / hide the password */
.field:not(.art) input#fPassword { padding-right: 52px; }
.pw-eye { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background 160ms, color 160ms; }
.pw-eye:hover { background: var(--tint); color: var(--ink); }
.pw-eye:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.pw-eye .ms { font-size: 22px; }

/* Won / Lost always end the process (after the "Add a stage" box) */
.stage-chip.fixed, .stages .or { order: 2; }
.stage-chip.fixed { gap: 6px; padding: 0 12px 0 10px; color: var(--muted); background: color-mix(in srgb, var(--muted) 8%, transparent); border-style: dashed; }
.stage-chip.fixed .ms { font-size: 17px; }
.stage-chip.fixed.won { color: var(--green, #188038); }
.stages .or { color: var(--muted); font-size: 13px; padding: 0 2px; }
.stage-empty { flex-basis: 100%; color: var(--muted); font-size: 13.5px; margin-bottom: 4px; }

/* The person signing up: always the admin */
.owner-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r, 14px); background: color-mix(in srgb, var(--primary) 5%, transparent); }
.owner-row .grow { flex: 1; min-width: 0; }
.owner-row b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-row small { display: block; color: var(--muted); font-size: 13px; }
.o-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 600; font-size: 13px; flex: none; }
.o-role { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--primary-strong, var(--primary)); font-size: 13px; font-weight: 500; white-space: nowrap; }
.o-role .ms { font-size: 17px; }

/* Who the plan is paying for: you (admin) + the teammates you invited */
.bill-box .who { color: var(--muted); font-size: 14px; }
.bill-box .who span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.bill-box .who .ms { font-size: 18px; }
.bill-box .who em { font-style: normal; font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--primary-strong, var(--primary)); }
.bill-box .who b { font-weight: 500; color: var(--ink); }
.bill-box .who.muted b { color: var(--muted); }
.bill-box .total { padding-top: 10px; border-top: 1px solid var(--line); }

/* A plan that can't hold everyone they've added */
.pp:disabled { opacity: 0.5; cursor: not-allowed; }

/* company logo (optional, on the business step) */
.logo-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.logo-field .grow {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.logo-field small {
  color: var(--muted);
  font-size: 12.5px;
}
.logo-tile {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--muted);
  font: 600 18px/1 var(--font);
  overflow: hidden;
}
.logo-tile.has {
  background: #fff;
  border: 1px solid var(--line);
}
.logo-tile img,
.t-logo.img,
.signin-card .pv-logo.img {
  object-fit: contain;
  background: #fff;
}
.logo-tile img {
  width: 100%;
  height: 100%;
  padding: 4px;
  box-sizing: border-box;
}
.t-logo.img,
.signin-card .pv-logo.img {
  padding: 3px;
  box-sizing: border-box;
  border: 1px solid var(--line);
}
@media (max-width: 520px) {
  .logo-field {
    flex-wrap: wrap;
  }
  .logo-field .grow {
    flex-basis: calc(100% - 56px);
  }
}

/* the walkthrough film, from the top bar (the lightbox lives in site.css) */
.ob-film {
  margin-right: 6px;
  font-size: 14px;
}
.ob-film .ms {
  width: 26px;
  height: 26px;
  font-size: 18px;
}
@media (max-width: 520px) {
  .ob-film {
    font-size: 0;
    gap: 0;
  }
}

/* ---------- How you sell: corporate or a retail shop ---------- */
.btype {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 400 14px/1.4 var(--font);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms var(--spring);
}
.bt:hover {
  border-color: var(--muted);
  transform: translateY(-2px);
}
.bt b {
  font-size: 16px;
  font-weight: 500;
}
.bt small {
  color: var(--muted);
  font-size: 13px;
}
.bt .tick {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 22px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 160ms, transform 300ms var(--spring);
}
.bt.on {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.bt.on .tick {
  opacity: 1;
  transform: scale(1);
}
/* little drawings: a pipeline of deal cards, and a till with a receipt */
.bt-art {
  position: relative;
  width: 100%;
  height: 74px;
  margin-bottom: 6px;
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
}
.bt-art.corp i {
  position: absolute;
  bottom: 12px;
  width: 22%;
  border-radius: 6px;
  background: var(--primary);
  opacity: 0.25;
  animation: barUp 2.6s var(--spring) infinite alternate;
}
.bt-art.corp i:nth-child(1) { left: 6%; height: 26%; }
.bt-art.corp i:nth-child(2) { left: 30%; height: 42%; opacity: 0.4; animation-delay: 0.2s; }
.bt-art.corp i:nth-child(3) { left: 54%; height: 58%; opacity: 0.6; animation-delay: 0.4s; }
.bt-art.corp i:nth-child(4) { left: 78%; height: 72%; opacity: 0.9; animation-delay: 0.6s; background: #188038; }
@keyframes barUp {
  from { transform: scaleY(0.6); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}
.bt-art.shop {
  background: color-mix(in srgb, #e37400 10%, transparent);
  display: grid;
  place-items: center;
}
.bt-art.shop .ms {
  font-size: 36px;
  color: #b06000;
}
.bt-art.shop em {
  position: absolute;
  width: 34px;
  height: 46px;
  border-radius: 4px 4px 0 0;
  background: #fff;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.3);
  top: 14px;
  right: 22%;
  animation: printOut 2.4s ease-in-out infinite;
}
.bt-art.shop em::before {
  content: '';
  position: absolute;
  inset: 8px 6px auto;
  height: 22px;
  background: repeating-linear-gradient(#c9c3b8 0 2px, transparent 2px 6px);
}
.bt-art.shop em:last-child {
  left: 20%;
  right: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #188038;
  animation: coin 2.4s ease-in-out infinite;
}
.bt-art.shop em:last-child::before {
  content: '✓';
  inset: 0;
  height: auto;
  background: none;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
}
@keyframes printOut {
  0%, 20% { transform: translateY(40px); opacity: 0; }
  55%, 100% { transform: translateY(0); opacity: 1; }
}
@keyframes coin {
  0%, 40% { transform: scale(0); }
  60% { transform: scale(1.15); }
  75%, 100% { transform: scale(1); }
}
#btErr.show { display: block; }

.ob-reveal {
  animation: reveal 420ms var(--ease, cubic-bezier(0.2, 0, 0, 1)) both;
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(8px); }
}
.shop-gets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  animation: reveal 420ms calc(var(--k) * 70ms) both;
}
.sg > .ms {
  font-size: 22px;
  color: #b06000;
}
.sg b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.sg small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}
.flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.flow button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 400 14px/1.3 var(--font);
  text-align: left;
  cursor: pointer;
}
.flow button .ms {
  font-size: 22px;
  color: var(--muted);
}
.flow button b {
  display: block;
  font-weight: 500;
}
.flow button small {
  color: var(--muted);
  font-size: 12.5px;
}
.flow button.on {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.flow button.on .ms {
  color: var(--ink);
}
.store-check {
  margin-top: 16px;
  font-size: 14px;
}
.shop-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--r);
  background: color-mix(in srgb, #e37400 9%, transparent);
  animation: reveal 360ms both;
}
.shop-link .ms {
  font-size: 18px;
  color: #b06000;
}
.shop-link code {
  font: 500 13px/1.3 var(--mono);
}
.shop-link .live {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 640px) {
  .btype, .shop-gets, .flow { grid-template-columns: 1fr; }
}

/* the sales stages: the part people must look at, so it gets its own lit card */
.stage-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: 20px;
  border: 1.5px solid color-mix(in srgb, var(--primary) 45%, transparent);
  background: color-mix(in srgb, var(--primary) 6%, transparent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 30%, transparent);
  animation: reveal 420ms both, cardGlow 1.6s 500ms ease-out 2;
}
@keyframes cardGlow {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 35%, transparent); }
  100% { box-shadow: 0 0 0 14px transparent; }
}
.sc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sc-head b {
  display: block;
  font-size: 17px;
  font-weight: 500;
}
.sc-head small {
  color: var(--muted);
  font-size: 13.5px;
}
.sc-ic {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--primary);
  color: #fff;
}
.stage-card .stage-chip {
  height: 40px;
  font-size: 15px;
  background: var(--card);
  animation: reveal 360ms calc(300ms + var(--k, 0) * 90ms) both;
}
.stage-card .stage-chip em {
  font-style: normal;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
}
.stage-card .add-stage {
  height: 40px;
  background: var(--card);
}

/* several branches: one organization per branch */
.branches-card { margin-top: 18px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.branches-card .flow { margin-top: 12px; }
.org-list { display: grid; gap: 8px; margin-top: 12px; }
.org-row { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.org-row > .ms { color: var(--primary); font-size: 20px; }
.org-row.head { padding: 10px 12px; background: var(--tint-2); border-color: transparent; }
.org-row.head small { display: block; color: var(--muted); font-size: 12px; }
.org-row input { flex: 1; min-width: 0; height: 38px; border: none; background: none; color: var(--ink); font: inherit; outline: none; }
.org-list .btn { justify-self: start; }
.price-type { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.type-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font: 500 12px/1 var(--font); }
.type-pill .ms { font-size: 15px; }
.type-pill.retail { background: #e6f4ea; color: #146c2e; }
.type-pill.corporate { background: #f3e8fd; color: #7627bb; }
.type-pill.bundle { background: var(--tint); color: var(--primary); }
