/* /trial: pick business + apps, live plan recommendation, then build progress. */
.tp .head p { max-width: 62ch; }
.tp-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; align-items: start; margin-top: 30px; }
.tp-main { display: grid; gap: 22px; }
.tp-side { position: sticky; top: 90px; }
.paycard h2.sub { margin-top: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit; font-weight: 700; cursor: pointer; padding: 10px 18px; border-radius: 999px; background: #fff;
  border: 2px solid var(--line); color: var(--ink);
}
.chip:hover { border-color: #CDBEFF; }
.chip[aria-checked="true"] { border-color: var(--purple); background: #F4EEFF; color: var(--purple); box-shadow: 0 6px 16px rgba(109, 40, 255, .14); }
.chips.sm .chip { padding: 7px 16px; min-width: 52px; }
.tp-q { display: grid; gap: 10px; margin-top: 4px; }
.tp-q + .tp-q { margin-top: 18px; }
.tp-q b { color: var(--ink); }
.tp-core-note { margin: 0 0 10px; }
.corechips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.corechip { padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--text); font-size: .9rem; font-weight: 600; }
.corechip::before { content: "✓"; color: var(--teal); margin-inline-end: 6px; font-weight: 900; }

.appgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.app {
  font: inherit; text-align: start; cursor: pointer; position: relative; padding: 16px 16px 14px; border-radius: 16px;
  background: #fff; border: 2px solid var(--line); color: var(--ink); display: grid; gap: 6px;
}
.app:hover { border-color: #CDBEFF; }
.app b { font-size: 1.02rem; padding-inline-end: 34px; }
.app small { color: var(--muted); font-weight: 600; line-height: 1.5; }
.app .tick {
  position: absolute; inset-block-start: 14px; inset-inline-end: 14px; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #CFC7EE; display: grid; place-items: center; color: transparent; font-size: .85rem; font-weight: 900;
}
.app[aria-pressed="true"] { border-color: var(--purple); background: #F4EEFF; box-shadow: 0 6px 18px rgba(109, 40, 255, .16); }
.app[aria-pressed="true"] .tick { background: var(--purple); border-color: var(--purple); color: #fff; }
.app .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.tag { font-size: .74rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.tag.sug { background: #CCFBF1; color: #0F766E; }
.tag.plan { background: #EDE9FE; color: #5B21B6; }

.tp-sum { display: grid; gap: 10px; }
.tp-kicker { color: var(--muted); font-weight: 700; font-size: .9rem; }
.tp-sum h3 { margin: 0; font-size: 1.9rem; font-weight: 900; color: var(--ink); line-height: 1.1; }
.tp-limits { margin: 0; color: var(--text); font-weight: 600; }
.tp-price { display: flex; align-items: baseline; gap: 8px; }
.tp-price b { font-size: 2.2rem; font-weight: 900; color: var(--purple); }
.tp-price small { color: var(--muted); font-weight: 700; }
.tp-periods { display: grid; gap: 4px; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); font-size: .92rem; }
.tp-periods div { display: flex; justify-content: space-between; gap: 10px; color: var(--text); font-weight: 600; }
.tp-periods span:last-child { color: var(--ink); font-weight: 800; }
.tp-why { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--text); font-size: .92rem; }
.tp-why li::before { content: "•"; color: var(--purple); margin-inline-end: 8px; font-weight: 900; }
.tp-vat { margin: 0; }
.tp-sum.loading { opacity: .55; }

.tp-form .tp-chosen { margin: -6px 0 16px; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); color: var(--text); font-weight: 600; }
.tp-form form { max-width: 720px; }
.tp-form .btn { margin-top: 2px; }

.tp-progress { max-width: 640px; margin: 30px auto 0; text-align: center; justify-items: center; display: grid; gap: 6px; }
.tp-progress h2 { justify-content: center; margin-bottom: 4px; font-size: 1.4rem; }
.tp-spin { width: 54px; height: 54px; border-radius: 50%; border: 5px solid #E4DBFF; border-top-color: var(--purple); animation: tpspin 1s linear infinite; margin-bottom: 10px; }
.tp-spin.stop { animation: none; border-color: var(--teal); display: grid; place-items: center; }
.tp-spin.stop::after { content: "✓"; color: var(--teal); font-size: 1.8rem; font-weight: 900; }
.tp-spin.fail { animation: none; border-color: #FCA5A5; }
.tp-spin.fail::after { content: "!"; color: #B91C1C; font-size: 1.8rem; font-weight: 900; display: grid; place-items: center; height: 100%; }
@keyframes tpspin { to { transform: rotate(360deg); } }
.tp-steps { list-style: none; margin: 16px 0 6px; padding: 0; display: grid; gap: 10px; text-align: start; width: min(100%, 420px); }
.tp-steps li { padding-inline-start: 34px; position: relative; color: var(--muted); font-weight: 700; }
.tp-steps li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 2px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #D5CEF0; background: #fff;
}
.tp-steps li.now { color: var(--ink); }
.tp-steps li.now::before { border-color: var(--purple); border-top-color: transparent; animation: tpspin 1s linear infinite; }
.tp-steps li.done { color: var(--ink); }
.tp-steps li.done::before { background: var(--teal); border-color: var(--teal); content: "✓"; color: #fff; font-size: .8rem; font-weight: 900; display: grid; place-items: center; }
.tp-actions { display: grid; gap: 10px; width: min(100%, 420px); margin-top: 10px; }
.tp-actions .note { margin: 0; color: var(--muted); font-size: .92rem; }
.tp-actions .note b { color: var(--ink); direction: ltr; unicode-bidi: embed; }

.tp-bar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(76, 29, 149, .12);
}
.tp-bar div { display: grid; line-height: 1.25; }
.tp-bar b { color: var(--ink); font-weight: 900; }
.tp-bar small { color: var(--purple); font-weight: 800; }

@media (max-width: 900px) {
  .tp-grid { grid-template-columns: 1fr; }
  .tp-side { position: static; }
  .tp-bar:not([hidden]) { display: flex; }
  .tp { padding-bottom: 84px; }
}

/* Landing page #trial: the three steps next to the call to action. */
.trial-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: ts; }
.trial-steps li {
  counter-increment: ts; position: relative; padding: 18px 70px 18px 20px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 4px;
}
.trial-steps li::before {
  content: counter(ts); position: absolute; inset-inline-end: 20px; inset-block-start: 18px; width: 36px; height: 36px;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; display: grid; place-items: center;
}
.trial-steps b { color: var(--ink); font-size: 1.05rem; }
.trial-steps span { color: var(--muted); font-weight: 600; }
