/* ---------- Switch it on: what switching on gives, what it costs, one large green button ---------- */
.phead-ic.so-ic { --rtc: var(--ok); }
.phead-ic.so-ic.so-on { --rtc: var(--brand-text); animation: so-pop .5s cubic-bezier(.2, .8, .2, 1) both; }

.halves.so-halves { grid-template-columns: minmax(0, 1.4fr) minmax(340px, 1fr); }

.so-benefits { list-style: none; margin: 0; display: grid; gap: 4px; }
.so-benefits li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.so-benefits li:first-child { border-top: 0; }
.so-benefits b { display: block; font-size: var(--fs-m); color: var(--ink); }
.so-benefits p { margin: 3px 0 0; color: var(--ink-2); font-size: var(--fs-s); line-height: 1.55; }

.so-buy { display: flex; flex-direction: column; gap: 14px; }
.so-buy-list { display: grid; gap: 10px; }
.so-buy-row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line-soft); border-radius: var(--r-l); background: var(--panel-2); }
.so-buy-row .brandmark { flex: none; }
.so-buy-name { flex: 1; min-width: 0; display: grid; }
.so-buy-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.so-buy-name span { color: var(--ink-3); font-size: var(--fs-xs); }
.so-buy-price { flex: none; font-family: var(--mono); font-weight: 600; color: var(--ink); }

.so-trial { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: var(--r-l); background: var(--ok-soft); color: var(--ink); font-size: var(--fs-s); }
.so-trial svg { width: 18px; height: 18px; flex: none; color: var(--ok); }
.so-terms { margin: 0; color: var(--ink-2); font-size: var(--fs-s); line-height: 1.55; white-space: pre-line; }

/* The one action of the page: large, full width, green. */
.btn.so-go { width: 100%; min-height: 56px; gap: 10px; font-size: var(--fs-l); border-radius: 14px; letter-spacing: -.01em; }
.btn.so-go svg { width: 20px; height: 20px; }
.so-small { display: flex; align-items: center; justify-content: center; gap: 6px; margin: -4px 0 0; color: var(--ink-3); font-size: var(--fs-xs); }
.so-small svg { width: 13px; height: 13px; }
.so-later { align-self: center; color: var(--ink-3); font-size: var(--fs-s); text-decoration: none; }
.so-later:hover { color: var(--brand-text); }

/* Back from the checkout, before the provider has told us. */
.so-wait { display: flex; align-items: center; gap: 18px; padding-top: 28px; padding-bottom: 28px; }
.so-wait h2 { margin: 0; font-size: var(--fs-l); }
.so-wait p { margin: 4px 0 0; color: var(--ink-2); }
.so-spin { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--ok-soft); border-top-color: var(--ok); animation: so-spin .9s linear infinite; }
@keyframes so-spin { to { transform: rotate(360deg); } }

/* Switched on: the free test struck through, the new numbers counting up, row by row, in the brand blue. */
.so-now { --rl-cols: minmax(0, 1fr) 200px minmax(0, 1.5fr); }
.so-now .rl-row { --i: 0; min-height: 60px; }
.so-now .rl-row:nth-child(2 of .rl-row) { --i: 1; }
.so-now .rl-row:nth-child(3 of .rl-row) { --i: 2; }
.so-now .rl-row:nth-child(4 of .rl-row) { --i: 3; }
.so-was { color: var(--ink-4); font-size: var(--fs-s); }
.so-was span { position: relative; display: inline-block; animation: so-fade .4s ease both; animation-delay: calc(var(--i) * 120ms + 300ms); }
.so-was span::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; border-radius: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; animation: so-strike .35s ease forwards; animation-delay: inherit;
}
.so-is { display: flex; align-items: center; gap: 12px; min-width: 0; }
.so-tick { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); animation: so-pop .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 180ms + 750ms); }
.so-tick svg { width: 13px; height: 13px; stroke-width: 3; }
.so-val { flex: none; min-width: 170px; font-weight: 600; color: var(--ink); }
.so-val b { font-family: var(--mono); }
.so-bar { flex: 1; height: 6px; border-radius: var(--r-full); background: var(--panel-2); overflow: hidden; }
.so-bar span { display: block; height: 100%; border-radius: inherit; background: var(--brand-text); transform: scaleX(0); transform-origin: left; animation: so-grow .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 180ms + 650ms); }
.so-now-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 18px; padding-bottom: 20px; color: var(--ink-3); font-size: var(--fs-s); }
@keyframes so-fade { to { opacity: .55; } }
@keyframes so-strike { to { transform: scaleX(1); } }
@keyframes so-pop { 0% { opacity: 0; transform: scale(.5); } 65% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes so-grow { to { transform: scaleX(1); } }

.so-done-do { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

@media (max-width: 1100px) {
  .halves.so-halves { grid-template-columns: minmax(0, 1fr); }
  .halves.so-halves > .zone:first-child { order: 2; --zr: 0px; border-top: 1px solid var(--line); }
  .halves.so-halves > .zone:last-child { order: 1; --zl: 0px; border-left: 0; }
}
@media (max-width: 640px) {
  .so-val { min-width: 0; }
  .so-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .phead-ic.so-ic.so-on, .so-tick { animation: none; }
  .so-was span { animation: none; opacity: .55; }
  .so-was span::after, .so-bar span { animation: none; transform: none; }
  .so-spin { animation: none; }
}
