.bestCardPage{
  padding:0 0 22px;
}
.bestCardWrap{
  width:min(1120px,calc(100% - 40px));
  max-width:1120px;
  margin:0 auto;
}
.bestCardHero{
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,var(--bg-surface) 0%,var(--bg-canvas) 100%);
  padding:48px 0 40px;
}
.bestCardHeroGrid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 250px;
  gap:28px;
  align-items:center;
}
.bestCardHero h1{
  margin:0 0 12px;
  font-size:clamp(36px,5vw,58px);
  line-height:1.02;
  letter-spacing:-.03em;
}
.bestCardHero .kicker{
  margin:0 0 10px;
}
.bestCardHero .lede{
  margin:0 0 20px;
  max-width:760px;
  color:var(--text-2);
}
.bestCardHero .actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 14px;
}
.bestCardFine{
  margin:0;
  font-size:13px;
  line-height:1.5;
  color:var(--text-3);
}
.bestCardHeroIcon{
  margin:0;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--bg-surface);
  box-shadow:var(--shadow);
  padding:24px 16px 20px;
  text-align:center;
}
.bestCardHeroIcon img{
  width:128px;
  height:128px;
  border-radius:28px;
  box-shadow:0 10px 24px rgba(20,32,43,.18);
}
.bestCardHeroIcon figcaption{
  margin-top:12px;
  color:var(--text-2);
  font-size:13px;
  font-weight:650;
}

.bestCardSection{
  padding:40px 0;
}
.bestCardSectionDemo{
  background:var(--bg-surface);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.bestCardSectionLast{
  padding-top:8px;
}
.sectionHead{
  margin-bottom:18px;
}
.sectionHead h2{
  margin:0 0 10px;
  font-size:clamp(30px,3.8vw,46px);
  line-height:1.06;
  letter-spacing:-.03em;
}
.sectionHead p{
  margin:0;
  color:var(--text-2);
  max-width:760px;
}

.bestCardShots{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.bestCardShot{
  margin:0;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--bg-surface);
  box-shadow:var(--shadow);
}
.bestCardShot img{
  display:block;
  width:100%;
  height:auto;
}
.bestCardShot figcaption{
  padding:12px 14px 14px;
  font-size:13px;
  color:var(--text-2);
}

.bestCardDemo{
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--bg-surface);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.bestCardDemoPicker{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:12px;
  background:var(--bg-surface-2);
  border-bottom:1px solid var(--line);
}
.bestCardDemoTopic{
  border:1px solid var(--line);
  border-radius:999px;
  min-height:44px;
  padding:8px 13px;
  background:var(--bg-surface);
  color:var(--text-3);
  font:900 11px/1 var(--font);
  letter-spacing:.01em;
  cursor:pointer;
}
.bestCardDemoTopic[aria-selected="true"]{
  border-color:var(--text-1);
  background:var(--text-1);
  color:var(--bg-canvas);
}
.bestCardDemoStage{
  padding:16px 14px 14px;
  touch-action:pan-y;
}
.bestCardDemoTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.bestCardDemoKind{
  color:var(--accent-text);
  font-size:11px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.bestCardDemoSnap{
  color:var(--text-3);
  font-size:10px;
  font-weight:700;
}
.bestCardDemoStage h3{
  margin:10px 0 0;
  font-size:31px;
  line-height:1.08;
  letter-spacing:-.03em;
}
.bestCardDemoSub{
  margin:8px 0 0;
  color:var(--text-2);
  font-size:14px;
}
.bestCardDemoChat{
  display:grid;
  gap:9px;
  margin-top:16px;
}
.bestCardDemoBubble{
  max-width:93%;
  padding:12px 13px;
  border-radius:16px;
  font-size:13px;
}
.bestCardDemoBubble.user{
  justify-self:end;
  border-bottom-right-radius:5px;
  background:var(--text-1);
  color:var(--bg-canvas);
}
.bestCardDemoBubble.sample{
  border:1px solid var(--line);
  border-bottom-left-radius:5px;
  background:var(--bg-surface-2);
  color:var(--text-1);
}
.bestCardDemoBubble[hidden],.bestCardDemoMath[hidden],.bestCardDemoAnswer[hidden]{
  display:none;
}
.bestCardDemoMath{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius:19px;
  overflow:hidden;
  background:var(--bg-surface);
}
.bestCardDemoMathHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  background:var(--bg-surface-2);
}
.bestCardDemoMathHead b{
  font-size:11px;
}
.bestCardDemoMathHead span{
  color:var(--text-3);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bestCardDemoRows{
  padding:14px 12px;
}
.bestCardDemoRow{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding:8px 0;
  border-top:1px solid var(--line);
}
.bestCardDemoRow:first-child{
  border-top:0;
  padding-top:0;
}
.bestCardDemoRow span{
  color:var(--text-3);
  font-size:11px;
}
.bestCardDemoRow strong{
  font-size:18px;
  line-height:1;
  text-align:right;
}
.bestCardDemoAnswer{
  margin-top:12px;
  border-left:4px solid var(--accent);
  border-radius:6px 15px 15px 6px;
  background:var(--accent-soft);
  color:var(--text-1);
  padding:12px 14px;
  font-size:13px;
  line-height:1.45;
}
.bestCardDemoAnswer strong{
  display:block;
  margin-bottom:4px;
  font-size:18px;
  line-height:1.13;
}
.bestCardDemoFine{
  margin:12px 0 0;
  color:var(--text-3);
  font-size:11px;
  text-align:center;
}

.bestCardTwoCol{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.bestCardCard{
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--bg-surface);
  box-shadow:var(--shadow);
  padding:18px 18px 14px;
}
.bestCardCard h2{
  margin:0 0 10px;
  font-size:24px;
  letter-spacing:-.02em;
}
.bestCardCard ul{
  margin:0;
  padding-left:20px;
  color:var(--text-2);
}
.bestCardCard li{
  margin:8px 0;
}
.bestCardOutro{
  margin:0;
  color:var(--text-2);
  font-size:15px;
}

@media(max-width:980px){
  .bestCardHeroGrid{grid-template-columns:1fr}
  .bestCardHeroIcon{max-width:280px}
}
@media(max-width:840px){
  .bestCardShots,.bestCardTwoCol{grid-template-columns:1fr}
}
@media(max-width:620px){
  .bestCardWrap{width:min(100% - 28px,1120px)}
  .bestCardHero{padding:30px 0 28px}
  .bestCardSection{padding:30px 0}
  .bestCardDemoStage{padding:14px 12px}
  .bestCardDemoStage h3{font-size:27px}
}
