/* /pricing/ coverflow (os-member-plans), shared by the Free, Plus and Max plans (.osm-cf--plans) and the "For teams" band (.osm-cf--teams). The three cards share one grid cell. On the plans every card is stretched to the tallest one's height (Plus has the longest list), and the Teams cards are stretched the same way. Every card is the same size (--s:1), so whichever is in front is the biggest and the side cards are a step down (.9 of it). Reads the pricing page's own tokens (.os-pr).
 * DEV-621: dark cards to match the dark pricing page, and at 1021px and up all three cards side by side (CSS over the same markup; the carousel stays below that width). */
.osm-tb{margin-top:8px}
.osm-cf{position:relative;margin:18px 0}
.osm-cf-stage{display:grid;align-items:end;overflow:hidden;overflow:clip visible;padding:12px 0 44px;touch-action:pan-y}
.osm-cf-it{--s:1;grid-area:1/1;justify-self:center;align-self:end;transform-origin:50% 100%;position:relative;width:min(34%,340px);border:1px solid var(--line2,rgba(255,255,255,.16));border-radius:22px;box-shadow:0 14px 30px rgba(0,0,0,.35);background:linear-gradient(180deg,var(--panel2,#1c2d4a),var(--panel,#16243d));color:var(--tx,#e6edf6);display:flex;flex-direction:column;min-width:0;overflow:hidden;transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .4s,filter .4s,box-shadow .3s;cursor:pointer}
.osm-cf--plans .osm-cf-it,.osm-cf--teams .osm-cf-it{align-self:stretch}
.osm-cf-it[data-pos="0"]{z-index:3;transform:scale(var(--s));box-shadow:0 24px 60px rgba(0,0,0,.45)}
.osm-cf-it[data-pos="-1"]{z-index:2;transform:translateX(-98%) scale(calc(var(--s)*.9));opacity:.92}
.osm-cf-it[data-pos="1"]{z-index:2;transform:translateX(98%) scale(calc(var(--s)*.9));opacity:.92}
.osm-cf-it[data-pos="-1"]:hover,.osm-cf-it[data-pos="1"]:hover{opacity:1}
.osm-cf-hd{padding:20px 22px 0}
.osm-cf-bd{padding:0 22px 22px;display:flex;flex-direction:column;flex:1}
.osm-cf-it h3{font-size:22px;margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.osm-cf-flag{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--c)}
.osm-cf-sub{color:var(--mu,#a7b4c8);font-size:14px}
.osm-cf-price{font-size:clamp(24px,6.5vw,32px);font-weight:800;margin:6px 0 2px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--tx,#e6edf6)}
.osm-cf-price small{font-size:14px;font-weight:600;letter-spacing:0;color:var(--mu,#a7b4c8)}
.osm-cf-it .tag{margin:2px 0 4px;font-size:18px;font-weight:800;letter-spacing:-.01em;color:var(--link,#9cc0ff)}
.osm-cf-it ul{list-style:none;padding:0;margin:14px 0 16px}
.osm-cf-it li{padding:6px 0 6px 28px;position:relative;border-top:1px solid var(--line2,rgba(255,255,255,.16));font-size:15px}
.osm-cf-it li:before{content:"";position:absolute;left:4px;top:12px;width:12px;height:7px;border-left:3px solid var(--up,#4ade80);border-bottom:3px solid var(--up,#4ade80);transform:rotate(-45deg)}
.osm-cf-it li.lead{font-weight:700;padding-left:0}
.osm-cf-it li.lead:before{display:none}
.osm-cf-it .fine{margin:10px 0 0;font-size:14px;color:var(--mu,#a7b4c8)}
.osm-cf-it .fine.osm-cf-note{margin-top:auto;padding-top:14px}
/* The host pricing page makes .os-pr a.os-pr-btn gold and .os-pr a.os-pr-btn.ghost white (specificity 0,3,1, with !important), so the slider names the same chain and two more classes. */
.os-pr .osm-cf a.os-pr-btn.osm-cf-btn{margin-top:auto;align-self:flex-start;width:auto;min-width:0;background:var(--cb);color:var(--ct)!important;box-shadow:inset 0 0 0 2px var(--cbd)}
.os-pr .osm-cf a.os-pr-btn.osm-cf-btn:focus-visible{outline:3px solid var(--gold,#fcb900);outline-offset:3px}
.osm-cf-on .osm-cf-it[data-pos="-1"] .os-pr-btn,.osm-cf-on .osm-cf-it[data-pos="1"] .os-pr-btn{pointer-events:none}
.osm-cf-nav{position:absolute;top:calc(50% - 50px);z-index:5;width:44px;height:44px;border-radius:50%;border:1px solid var(--line2,rgba(255,255,255,.16));background:var(--panel2,#1c2d4a);color:var(--tx,#e6edf6);font-size:26px;line-height:1;cursor:pointer}
.osm-cf-nav:hover{border-color:var(--link,#9cc0ff)}.osm-cf-nav:focus-visible,.osm-cf-dots button:focus-visible,.osm-cf:focus-visible{outline:3px solid var(--gold,#fcb900);outline-offset:2px}
.osm-cf-prev{left:0}.osm-cf-next{right:0}
.osm-cf-dots{display:flex;gap:10px;justify-content:center;margin-top:0}
.osm-cf-dots button{width:10px;height:10px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.32);cursor:pointer;position:relative}
.osm-cf-dots button:after{content:"";position:absolute;inset:-17px -6px}
.osm-cf-dots button[aria-pressed="true"]{background:var(--link,#9cc0ff);width:26px;border-radius:6px}
/* The host sets .os-pr .lede (0,2,0) margin and max-width, which beat a bare .osm-tb-fine and left the block on the left; 0,3,0 wins in either load order. */
.os-pr .lede.osm-tb-fine{text-align:center;max-width:70ch;margin:8px auto 0}
/* Free, Plus and Max on the dark page: Free a dark panel with a light ring button, Plus the featured blue gradient with a gold ring and gold button, Max gold edged with a gold ring button. Every text and button pair is 4.5 to 1 or more on its ground. */
.osm-cf--plans .osm-cf-it[data-i="0"]{--c:var(--link,#9cc0ff);--cb:transparent;--ct:#fff;--cbd:rgba(255,255,255,.4)}
.osm-cf--plans .osm-cf-it[data-i="1"]{--c:var(--gold,#fcb900);--cb:var(--gold,#fcb900);--ct:#1b1500;--cbd:var(--gold,#fcb900);background:linear-gradient(160deg,#17408a,#2a5aa6 60%,#2F62AF);border-color:transparent;box-shadow:0 30px 70px rgba(47,98,175,.5),0 0 0 2px var(--gold,#fcb900)}
.osm-cf--plans .osm-cf-it[data-i="1"] .tag,.osm-cf--plans .osm-cf-it[data-i="1"] .osm-cf-sub,.osm-cf--plans .osm-cf-it[data-i="1"] .osm-cf-price small,.osm-cf--plans .osm-cf-it[data-i="1"] .fine{color:#dbe9ff}
.osm-cf--plans .osm-cf-it[data-i="1"] li{border-top-color:rgba(255,255,255,.2)}
.osm-cf--plans .osm-cf-it[data-i="1"] li:before{border-color:#fff}
.osm-cf--plans .osm-cf-it[data-i="2"]{--c:var(--gold,#fcb900);--cb:transparent;--ct:var(--gold,#fcb900);--cbd:var(--gold,#fcb900);border-color:rgba(252,185,0,.55);box-shadow:0 14px 30px rgba(0,0,0,.35),inset 0 1px 0 rgba(252,185,0,.4)}
.osm-cf--plans .osm-cf-it[data-i="2"] .tag{color:var(--gold,#fcb900)}
.osm-cf--plans .osm-cf-it[data-i="2"] li:before{border-color:var(--gold,#fcb900)}
/* The three ambient animations here (glow, shimmer, shine) run a few cycles and then rest on their base state, so the slider does not repaint for as long as the page is open (DEV-621). */
/* Most popular: a gold pill with a gentle glow, inline in the header on the carousel and on the top edge of the card at 1021px and up. */
.osm-cf--plans .osm-cf-flag{display:inline-block;margin:0 0 10px;padding:4px 12px;border-radius:999px;background:var(--gold,#fcb900);color:#1b1500;font-weight:800;letter-spacing:.08em;white-space:nowrap;box-shadow:0 4px 14px rgba(252,185,0,.45)}
@media (prefers-reduced-motion:no-preference){.osm-cf--plans .osm-cf-flag{animation:osmGlow 2.8s ease-in-out 6 alternate}}
@keyframes osmGlow{from{box-shadow:0 4px 14px rgba(252,185,0,.45)}to{box-shadow:0 4px 24px rgba(252,185,0,.7)}}
/* The Plus and Max shields (the os-member-plans mark: shield icon and word) on the dark cards; the Max one carries a slow gold shimmer. */
.osm-cf .osm-mark--plus{background:rgba(156,192,255,.16);color:var(--link,#9cc0ff);box-shadow:inset 0 0 0 1px rgba(156,192,255,.45)}
.osm-cf--plans .osm-cf-it[data-i="1"] .osm-mark--plus{background:rgba(255,255,255,.16);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.osm-cf .osm-mark--max{background:linear-gradient(110deg,rgba(252,185,0,.16) 40%,rgba(255,226,140,.3) 50%,rgba(252,185,0,.16) 60%) 0 0/250% 100%;color:var(--gold,#fcb900);box-shadow:inset 0 0 0 1px rgba(252,185,0,.6)}
@media (prefers-reduced-motion:no-preference){.osm-cf .osm-mark--max{animation:osmShimmer 3.6s linear 5}}
@keyframes osmShimmer{from{background-position:100% 0}to{background-position:0 0}}
/* A slow shine across the featured Plus card. The band moves inside a layer the size of the card, so nothing spills past its corners. */
.osm-cf--plans .osm-cf-it[data-i="1"]:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.13) 50%,transparent 58%) no-repeat 150% 0/250% 100%}
@media (prefers-reduced-motion:no-preference){.osm-cf--plans .osm-cf-it[data-i="1"]:before{animation:osmShine 7s ease-in-out 1s 3}}
@keyframes osmShine{0%{background-position:150% 0}45%,100%{background-position:-50% 0}}
/* Spotlight under the pointer: coverflow-grid.js sets --mx and --my and the osm-cf-spot class, so without it nothing shows. */
.osm-cf-it:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(320px circle at var(--mx,50%) var(--my,0%),rgba(156,192,255,.12),transparent 60%);opacity:0;transition:opacity .3s}
@media (hover:hover){.osm-cf-spot .osm-cf-it:hover:after{opacity:1}}
/* Teams, option D on the dark page: a solid header band in the plan colour with white text, a dark body, the price in the light text colour, a solid button in the plan colour. The unit sits on its own line. */
.osm-cf--teams .osm-cf-it[data-i="0"]{--c:#0f766e}
.osm-cf--teams .osm-cf-it[data-i="1"]{--c:#2F62AF}
.osm-cf--teams .osm-cf-it[data-i="2"]{--c:#16305c}
.osm-cf--teams .osm-cf-it{--cb:var(--c);--ct:#fff;--cbd:rgba(255,255,255,.5)}
.osm-cf--teams .osm-cf-hd{background:var(--c);color:#fff;padding:20px 22px 16px;margin-bottom:10px}
.osm-cf--teams .osm-cf-hd h3{font-size:23px;color:#fff}
.osm-cf--teams .osm-cf-hd .osm-cf-sub{color:rgba(255,255,255,.9)}
.osm-cf--teams .osm-cf-hd .osm-cf-flag{color:#fff}
.osm-cf--teams .osm-cf-price small{display:block}
/* The teams band is a lifted section of the dark page: full width behind it, a hairline above and below. */
.os-pr .osm-tb{position:relative;isolation:isolate;margin-top:72px;padding:72px 0}
.os-pr .osm-tb:before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:var(--lift,#0f1f37);border-top:1px solid var(--line,rgba(255,255,255,.09));border-bottom:1px solid var(--line,rgba(255,255,255,.09));pointer-events:none}
.os-pr .osm-tb>.os-pr-eye:first-child{margin-top:0}
@media (max-width:620px){.os-pr .osm-tb{margin-top:52px;padding:52px 0}}
/* Below 1080px the arrows would sit on the side cards: the dots, a swipe and a tap on a side plan do the same job. */
@media (max-width:1079px){.osm-cf-nav{display:none}}
@media (max-width:760px){
	.osm-cf-it{width:66%}
	.osm-cf-it[data-pos="-1"]{transform:translateX(-72%) scale(calc(var(--s)*.9))}
	.osm-cf-it[data-pos="1"]{transform:translateX(72%) scale(calc(var(--s)*.9))}
	.osm-cf-hd{padding:18px 18px 0}
	.osm-cf-bd{padding:0 18px 18px}
	.osm-cf--teams .osm-cf-hd{padding:18px 18px 14px}
}
/* 1021px and up: all three cards at once, three equal columns of one height, no arrows or dots. The markup and coverflow.js are unchanged; coverflow-grid.js lets a click on a side card's link go through. Plus is raised and carries its flag on the top edge, so the plans cards do not clip. */
@media (min-width:1021px){
	.osm-cf--plans .osm-cf-stage,.osm-cf--teams .osm-cf-stage{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch;overflow:visible;padding:26px 0 16px}
	.osm-cf--plans .osm-cf-it[data-pos],.osm-cf--teams .osm-cf-it[data-pos]{grid-area:auto;width:auto;justify-self:stretch;align-self:stretch;z-index:1;transform:none;opacity:1;cursor:auto}
	.osm-cf--plans .osm-cf-it[data-pos]{overflow:visible}
	.osm-cf--plans .osm-cf-it[data-i="1"][data-pos]{z-index:2;transform:translateY(-10px)}
	.osm-cf--plans .osm-cf-it[data-i="1"] .osm-cf-hd{padding-top:28px}
	.osm-cf--plans .osm-cf-it[data-i="1"] .osm-cf-flag{position:absolute;top:-14px;left:50%;margin:0;transform:translateX(-50%)}
	.osm-cf--plans .osm-cf-nav,.osm-cf--plans .osm-cf-dots,.osm-cf--teams .osm-cf-nav,.osm-cf--teams .osm-cf-dots{display:none}
	.os-pr .osm-cf-on .osm-cf-it[data-pos] .os-pr-btn{pointer-events:auto}
}
@media (min-width:1021px) and (hover:hover){
	.osm-cf--plans .osm-cf-it[data-pos]:hover,.osm-cf--teams .osm-cf-it[data-pos]:hover{box-shadow:0 24px 60px rgba(0,0,0,.5)}
	.osm-cf--plans .osm-cf-it[data-i="1"][data-pos]:hover{box-shadow:0 34px 80px rgba(47,98,175,.6),0 0 0 2px var(--gold,#fcb900)}
}
@media (prefers-reduced-motion:reduce){.osm-cf-it{transition:none}}
@media (prefers-reduced-motion:reduce){.osm-cf .osm-cf-it:before,.osm-cf .osm-cf-it:after,.osm-cf .osm-cf-flag,.osm-cf .osm-mark{animation:none;transition:none}}
/* Teaching? line under the plan cards: centred like the Teams note. The top margin clears the dots' 17px tap area (it collapses with the slider's 18px bottom margin). */
.os-pr .lede.osm-trainer-link{text-align:center;max-width:70ch;margin:22px auto 28px}
