/* the TMS pricing pages: head with the audience switch and the period / currency toggles, the plan
   cards (drawn by pricing.js from Connect's catalogue), the new-authority offer, the questions */

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.nav-links a[aria-current="page"]{color:var(--text)}

/* ---- head ---- */
#pricing{padding-block:40px 24px}
.pc-head{display:grid;gap:18px;justify-items:center;text-align:center;max-width:820px;margin:0 auto 40px}
.pc-head h1{font-size:clamp(36px,4.6vw,60px);line-height:1.05}
.pc-head .lead{margin-inline:auto;max-width:60ch}
.pc-toggles{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px}

/* a pill switch, the contact card's who-switch without the sliding indicator */
.seg{display:inline-flex;padding:4px;border:1px solid var(--line-2);border-radius:999px;background:rgba(3,5,11,.55)}
.seg a,.seg button{border:0;background:none;color:var(--muted);font:inherit;font-weight:500;font-size:14px;padding:8px 16px;min-height:36px;border-radius:999px;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;transition:color .2s,background .2s}
.seg a:hover,.seg button:hover{color:var(--text)}
.seg [aria-pressed="true"],.seg [aria-current="page"]{background:var(--text);color:var(--ink)}
.seg.aud a{padding-inline:20px}
@media (max-width:420px){.seg a,.seg button{padding:8px 12px;font-size:13px}}

/* ---- plans ---- */
.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;position:relative}
.plans::before{content:"";position:absolute;inset:-8%;z-index:-1;background:radial-gradient(closest-side,rgba(59,108,255,.18),transparent);pointer-events:none}
@media (max-width:980px){.plans{grid-template-columns:1fr;max-width:560px;margin-inline:auto}}
.plan{position:relative;display:grid;gap:16px;align-content:start;grid-template-rows:auto auto auto auto auto 1fr;padding:28px;border:1px solid var(--line-2);border-radius:18px;background:linear-gradient(180deg,rgba(18,43,94,.30),rgba(6,12,28,.66));animation:rise .5s var(--ease) both}
.plan:nth-child(2){animation-delay:.06s}.plan:nth-child(3){animation-delay:.12s}
@media (max-width:560px){.plan{padding:22px}}
.plan.feat{border-color:rgba(92,134,255,.75);box-shadow:0 0 0 1px rgba(92,134,255,.5),0 30px 80px -40px rgba(59,108,255,.6);background:linear-gradient(180deg,rgba(30,75,214,.26),rgba(6,12,28,.7))}
.plan .flag{position:absolute;top:-12px;left:26px;padding:4px 11px;border-radius:999px;background:var(--blue);color:#fff;font:500 11px/1.2 var(--mono);letter-spacing:.1em;text-transform:uppercase}
.plan h3{font-size:22px;letter-spacing:-.02em}
.plan .for{font-size:15px;line-height:1.5;min-height:3em;margin-top:-8px}
@media (max-width:980px){.plan .for{min-height:0}}
.price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.price b{color:var(--text);font-weight:600;font-size:40px;line-height:1.1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.price b.ask{font-size:30px}
.price span{font-size:14px}
.price-sub{font-size:14px;min-height:1.5em;margin-top:-10px}
.plan .btn{width:100%}
.plan .ticks li{font-size:14.5px;line-height:1.5}
.plan .ticks li svg{margin-top:4px}
.notinc{padding-top:14px;border-top:1px solid var(--line);font-size:14px;align-self:end}
.notinc b{color:var(--text);font-weight:500}

/* loading: three quiet cards in the grid's place, so the page doesn't jump when prices arrive */
.plan.skel{min-height:520px;animation:skel 1.6s ease-in-out infinite alternate;background:linear-gradient(180deg,rgba(18,43,94,.22),rgba(6,12,28,.5))}
@keyframes skel{from{opacity:.45}to{opacity:.9}}
@media (max-width:980px){.plan.skel{min-height:280px}.plan.skel~.plan.skel{display:none}}

/* catalogue unreachable */
.down{grid-column:1/-1;display:grid;gap:12px;justify-items:center;text-align:center;padding:40px 24px;border:1px solid rgba(244,184,96,.35);border-radius:18px;background:rgba(6,12,28,.7)}
.down h3{font-size:24px}
.down p{max-width:56ch}
.down .ctas{justify-content:center;margin-top:6px}

/* ---- new-authority offer ---- */
.offer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 32px;margin-top:28px;padding:26px 28px;border:1px dashed rgba(92,134,255,.55);border-radius:18px;background:linear-gradient(120deg,rgba(30,75,214,.18),rgba(6,12,28,.6))}
.offer-t{flex:1 1 380px;min-width:0;display:grid;gap:8px}
.offer h3{font-size:22px;letter-spacing:-.02em}
.offer p{font-size:15px;max-width:68ch}
.offer .eyebrow{font-size:11px}
.offer .fine{font-size:13px;color:var(--dim)}
@media (max-width:560px){.offer{padding:22px}.offer .btn{width:100%}}

/* ---- questions ---- */
.faq{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:24px 36px;margin-top:56px;padding-top:36px;border-top:1px solid var(--line)}
.faq h3{font-size:16px;margin-bottom:6px}
.faq p{font-size:15px;line-height:1.55}
#pricing.unavailable .faq{display:none}

/* the contact card sits under the plans here, so it doesn't need a whole screen to itself */
.pricing-page #contact{min-height:0}
