/* Additions to oftheard.in's home.css for this page: the product panel shows real screenshots instead of the played
   scenes, one at a time, turned by four cards above it. Each card carries the figures of the screen it opens. */
.screenWrap{max-width:1060px}
.screen.shots{padding:0;background:var(--card);line-height:0;max-width:880px;margin:22px auto 0;border-radius:var(--r3)}
.screen.shots .sh{display:none;width:100%;height:auto}
.screen.shots .sh.on{display:block}

.vtabs.vcards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;border:0;border-radius:0;background:none;overflow:visible}
.vcards button{flex-direction:column;align-items:stretch;gap:12px;padding:16px 16px 14px;border:1px solid var(--line);
  border-radius:var(--r3);background:var(--card);color:var(--ink-3);box-shadow:var(--sh1);
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.vcards button:last-child{border-right:1px solid var(--line)}
.vcards button:hover{background:var(--card);border-color:var(--line-2);transform:translateY(-2px)}
.vcards button[aria-selected=true]{border-color:var(--wr);box-shadow:0 0 0 1px var(--wr),var(--sh2)}
.vcards .vc-vh{display:flex;align-items:center;gap:9px;font:600 13.5px/1.2 var(--disp);color:var(--ink)}
.vcards .vc-vrow{display:flex;align-items:center;gap:8px;min-width:0;padding:7px 9px;border-radius:var(--r2);background:var(--card-2);
  font:500 12px/1.3 var(--disp);color:var(--ink-2)}
.vcards .vc-vrow .q{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vcards .vc-vrow em{flex:none;font:600 11px/1 var(--mono);font-style:normal;padding:4px 6px;border-radius:6px}
.vcards .vc-vrow .rk{background:var(--ok-tint);color:var(--ok)}
.vcards .vc-vrow .ok{background:var(--ok-tint);color:var(--ok)}
.vcards .vc-vscore{display:flex;align-items:center;gap:10px;font:500 12px/1.3 var(--disp);color:var(--ink-2)}
.vcards .vc-vscore i{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font:700 11px/1 var(--disp);
  font-style:normal;color:var(--ink);border:3px solid var(--ok)}
.vcards .vc-vbar{display:grid;grid-template-columns:repeat(12,1fr);gap:3px;padding:12px 0}
.vcards .vc-vbar i{height:6px;border-radius:3px;border:1px solid var(--line-2);background:transparent}
.vcards .vc-vbar i.s{background:var(--card-3);border-color:var(--card-3)}
.vcards .vc-vbar i.d{background:var(--ok);border-color:var(--ok)}
.vcards .vc-vbar i.n{background:var(--brand);border-color:var(--brand)}
.vcards .vc-vnums{display:flex;gap:14px;margin-top:auto}
.vcards .vc-vnums > span{display:flex;flex-direction:column;gap:2px;font:400 11px/1.25 var(--disp);color:var(--ink-4)}
.vcards .vc-vnums strong{font:600 15px/1.1 var(--disp);color:var(--ink)}
.vcards .vc-vnums strong.am{color:var(--wr-ink)}
/* the score ring: a drawn circle with the figure in it */
.vcards .vc-vscore i{position:relative;border:0}
.vcards .vc-vscore svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.vcards .vc-vscore circle{fill:none;stroke-width:3.2}
.vcards .vc-vscore .tr{stroke:var(--line)}
.vcards .vc-vscore .arc{stroke:var(--ok);stroke-linecap:round;stroke-dasharray:97.4;stroke-dashoffset:0}
.vcards .vc-vscore i > span{position:relative}
.vcards button{position:relative;overflow:hidden}

/* Motion: the cards come alive once the panel is in view; the open card shows when the next one comes */
@media (prefers-reduced-motion:no-preference){
  .screenWrap.in .vc-vscore .arc{animation:vcRing 1.1s cubic-bezier(.3,.7,.3,1) .3s both}
  .screenWrap.in .vc-vbar i{animation:vcSeg .4s cubic-bezier(.3,.7,.3,1) both;transform-origin:left center}
  .screenWrap.in .vc-vbar i:nth-child(1){animation-delay:.30s}.screenWrap.in .vc-vbar i:nth-child(2){animation-delay:.36s}
  .screenWrap.in .vc-vbar i:nth-child(3){animation-delay:.42s}.screenWrap.in .vc-vbar i:nth-child(4){animation-delay:.48s}
  .screenWrap.in .vc-vbar i:nth-child(5){animation-delay:.54s}.screenWrap.in .vc-vbar i:nth-child(6){animation-delay:.60s}
  .screenWrap.in .vc-vbar i:nth-child(7){animation-delay:.66s}.screenWrap.in .vc-vbar i:nth-child(8){animation-delay:.72s}
  .screenWrap.in .vc-vbar i:nth-child(9){animation-delay:.78s}.screenWrap.in .vc-vbar i:nth-child(10){animation-delay:.84s}
  .screenWrap.in .vc-vbar i:nth-child(11){animation-delay:.90s}.screenWrap.in .vc-vbar i:nth-child(12){animation-delay:.96s}
  .screenWrap.in .vc-vbar i.n{animation:vcSeg .4s cubic-bezier(.3,.7,.3,1) .66s both,vcNow 2.4s ease-in-out 1.2s infinite}
  .screenWrap.in .vc-vrow em{animation:vcPop .45s cubic-bezier(.3,1.4,.5,1) .9s both}
  .vtabs.auto button[aria-selected=true]::after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;
    background:var(--wr);transform-origin:left center;animation:vcTimer 7s linear both}
}
@keyframes vcRing{from{stroke-dashoffset:97.4}to{stroke-dashoffset:0}}
@keyframes vcSeg{from{transform:scaleX(0);opacity:0}to{transform:none;opacity:1}}
@keyframes vcNow{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--brand) 45%,transparent)}50%{box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 0%,transparent)}}
@keyframes vcPop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
@keyframes vcTimer{from{transform:scaleX(0)}to{transform:scaleX(1)}}

@media (max-width:820px){
  .vtabs.vcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .vcards button{border-bottom:1px solid var(--line)}
  .vcards button[aria-selected=true]{border-color:var(--wr)}
}
@media (max-width:420px){.vcards .vc-vrow,.vcards .vc-vscore span{display:none}}

/* The announcement line above the nav */
.annc{margin:0;padding:9px 16px;text-align:center;font:500 13px/1.4 var(--disp);color:var(--ink-2);
  background:var(--card-2);border-bottom:1px solid var(--line)}
.annc b{display:inline-block;margin-right:10px;padding:2px 7px;border-radius:var(--r1);font:600 11px/1.3 var(--mono);
  letter-spacing:.06em;text-transform:uppercase;background:var(--wr);color:#1a1405}
.annc a{margin-left:8px;color:var(--brand-ink);font-weight:600;text-decoration:none;white-space:nowrap}
.annc a:hover{text-decoration:underline}

/* The engines, as a row under the screens */
.engines{display:block;text-align:center;padding-block:clamp(28px,4vw,44px)}
.engines .engCol + .engCol{margin-top:22px}
.engines .engLab{margin-bottom:16px}
.engines .engList{justify-content:center;gap:14px 30px}
.engines .engList li{font:600 clamp(16px,1.35vw,19px)/1 var(--disp);letter-spacing:-.01em;color:var(--ink-3)}
.engines .engList li::before{display:none}
.engines .engList.crawlers{gap:8px 22px}
.engines .engList.crawlers li{font:500 13px/1 var(--mono);color:var(--ink-4)}
.engines .engList li{gap:10px;transition:color .15s ease}
.engines .engList li:hover{color:var(--ink)}
.engines .brandmark{flex:none;width:20px;height:20px}
.engines .brandmark:not([fill]){fill:currentColor}
.engines .engList.crawlers li{gap:7px}
.engines .engList.crawlers .brandmark{width:15px;height:15px}

/* The 90-second film */
.film{padding:clamp(20px,3vw,36px) 0 clamp(8px,2vw,16px)}
.filmHead{text-align:center;margin:0 auto 22px;max-width:760px}
.filmHead h2{margin:10px 0 0;font:500 clamp(28px,3.2vw,42px)/1.1 var(--serif);font-variation-settings:"opsz" 96;letter-spacing:-.02em;color:var(--ink)}
.filmBox{max-width:960px;margin:0 auto;border-radius:var(--r3);overflow:hidden;border:1px solid var(--line);background:#101521;
  box-shadow:0 28px 60px -44px rgba(20,28,48,.55)}
.filmBox video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#101521}

/* How it works: the steps on the left, the chosen step's panel on the right */
.steps3{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(24px,4vw,56px);align-items:start;margin-top:8px}
.stList{display:flex;flex-direction:column;gap:4px}
.stp{cursor:pointer;padding:18px 20px 18px 22px;border-left:2px solid var(--line);border-radius:0 var(--r2) var(--r2) 0;
  transition:background .15s ease,border-color .15s ease}
.stp:hover{background:var(--card-2)}
.stp:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.stp[aria-selected=true]{border-left-color:var(--wr);background:var(--card)}
.stp .chNum{margin:0 0 8px}
.stp h3{margin:0 0 6px;font:500 clamp(22px,2.2vw,28px)/1.15 var(--serif);font-variation-settings:"opsz" 72;letter-spacing:-.015em;color:var(--ink-3)}
.stp[aria-selected=true] h3{color:var(--ink)}
.stp p{margin:0;font-size:15px;line-height:1.6;color:var(--ink-3);max-width:46ch}
.stp .chNote{display:none;margin-top:10px;font-size:13.5px;color:var(--ink-4)}
.stp[aria-selected=true] .chNote{display:block}
.stFigs.chapter{display:block;padding:0;background:none;border:0;position:sticky;top:24px}
.stFigs .chFig{display:none}
.stFigs .chFig.on{display:flex}
@media (max-width:820px){
  .steps3{grid-template-columns:minmax(0,1fr)}
  .stFigs.chapter{position:static}
}

/* Plans: the amber edge marks Starter; no flag above it */
.pt.best::before{content:none}

/* The closing box's button is a button, not a link; the band before "What is different" starts closer */
.lastCta .ctaBig{text-decoration:none}
.diff.reveal{padding-top:clamp(32px,4vw,52px)}
.diff .secHead{padding-top:0}

/* Phones */
@media (max-width:820px){
  /* each step's example opens right under it */
  .steps3{display:flex;flex-direction:column;gap:4px}
  .stList,.stFigs.chapter{display:contents}
  .stp[data-i="0"]{order:1}.stFigs .chFig[data-i="0"]{order:2}
  .stp[data-i="1"]{order:3}.stFigs .chFig[data-i="1"]{order:4}
  .stp[data-i="2"]{order:5}.stFigs .chFig[data-i="2"]{order:6}
  .stFigs .chFig.on{margin:4px 0 14px;min-height:0}
}
@media (max-width:640px){
  .kicker .kLong{display:none}
  /* the phone crop of each screen: readable, fading out at the right where it is cut */
  .screen.shots .sh{-webkit-mask-image:linear-gradient(90deg,#000 86%,transparent);mask-image:linear-gradient(90deg,#000 86%,transparent)}
}
@media (max-width:460px){
  .figures{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}
  .figures b{font-size:40px}
  .figures > div{padding-left:12px}
  .figures > div > span{font-size:12.5px}
}

/* Blog cards: words only */
.readGrid .rd{padding-top:22px}

.heroForm{display:flex}
.hero.land h1{font-size:clamp(38px,5vw,66px)}
.hero.land .sub{max-width:52ch}
