/* Public rating page ------------------------------------------------------
   The page intentionally uses the same charcoal/blue/soft-paper language as
   the landing page.  These selectors are kept separate from account styles so
   authenticated pages can evolve independently. */
.rating-page-body{background:#f5f5f5;color:#080808}
.rating-page{overflow:hidden}
.rating-hero{position:relative;isolation:isolate;min-height:350px;background:#242424;color:#fff;overflow:hidden}
.rating-hero:before{content:"";position:absolute;z-index:-2;inset:0;background:radial-gradient(ellipse at 83% 52%,rgba(17,186,200,.32),transparent 33%),radial-gradient(ellipse at 73% 110%,rgba(38,114,238,.24),transparent 42%)}
.rating-hero:after{content:"";position:absolute;z-index:-1;width:620px;height:620px;right:-130px;top:-180px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 34px rgba(17,186,200,.05),0 0 0 90px rgba(38,114,238,.045),0 0 0 160px rgba(255,255,255,.025);transform:rotate(-17deg)}
.rating-hero-inner{position:relative;min-height:350px;display:flex;align-items:flex-end;padding-top:28px;padding-bottom:54px}
.rating-hero .breadcrumbs{top:16px;left:0;color:#949499}
.rating-hero .breadcrumbs a:hover{color:#fff}
.rating-hero-copy{position:relative;z-index:2;max-width:760px;padding-top:55px}
.rating-eyebrow{text-transform:uppercase;letter-spacing:.11em;font:700 11px/1.2 SBText,Arial,sans-serif;color:#8fd7e5;margin:0 0 13px}
.rating-eyebrow-dark{color:#7c7c82}
.rating-title{font:600 clamp(52px,6vw,82px)/.98 SBDisplay,Arial,sans-serif;letter-spacing:-.035em;margin:0 0 22px}
.rating-subtitle{max-width:690px;color:#a8a8ad;font:400 clamp(20px,1.8vw,25px)/1.32 SBText,Arial,sans-serif;margin:0}
.rating-hero-orb{position:absolute;border-radius:50%;pointer-events:none}
.rating-hero-orb-one{width:205px;height:205px;right:185px;bottom:-113px;border:1px solid rgba(17,186,200,.32);box-shadow:0 0 0 17px rgba(17,186,200,.06),0 0 0 44px rgba(38,114,238,.055)}
.rating-hero-orb-two{width:13px;height:13px;right:407px;top:110px;background:#fff;box-shadow:0 0 15px 4px rgba(17,186,200,.55)}

.rating-section{background:#f5f5f5;padding:72px 0 84px}
.rating-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:27px}
.rating-section-head h2{font:600 clamp(32px,3.2vw,49px)/1.05 SBDisplay,Arial,sans-serif;letter-spacing:-.025em;margin:0 0 12px}
.rating-section-lead{font-size:18px;line-height:1.4;color:#66666c;margin:0;max-width:610px}
.rating-meta{display:flex;align-items:flex-end;flex-direction:column;gap:10px;flex:none}
.rating-count,.rating-period{display:inline-flex;align-items:center;white-space:nowrap;border-radius:12px;font-size:13px}
.rating-count{gap:9px;color:#505057;background:#fff;border:1px solid #d9d9dc;padding:9px 13px}
.rating-count i{width:8px;height:8px;border-radius:50%;background:#2672ee;box-shadow:0 0 0 3px #e4edff}
.rating-period{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#174a9d;
  background:linear-gradient(115deg,#e9f1ff 0%,#d8e7ff 38%,#f2f7ff 50%,#d8e7ff 62%,#e9f1ff 100%);
  background-size:220% 100%;
  border:1px solid #b9d1fb;
  box-shadow:0 4px 12px rgba(38,114,238,.13);
  padding:8px 11px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.01em;
  animation:rating-period-shimmer 5s ease-in-out infinite;
}
.rating-period:after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-60% -25%;
  background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.64) 50%,transparent 58%);
  transform:translateX(-70%);
  animation:rating-period-glint 5s ease-in-out infinite;
  pointer-events:none;
}
@keyframes rating-period-shimmer{
  0%,100%{background-position:100% 50%}
  50%{background-position:0% 50%}
}
@keyframes rating-period-glint{
  0%,35%{transform:translateX(-70%);opacity:0}
  48%{opacity:.72}
  62%,100%{transform:translateX(70%);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .rating-period,.rating-period:after{animation:none}
}
.rating-card{background:#fff;border-radius:28px;padding:29px 30px 21px;box-shadow:0 10px 28px rgba(8,8,8,.07)}
.rating-controls{background:#fff;border:1px solid #e1e3e8;border-radius:18px;padding:12px 14px 11px;margin:0 0 18px;box-shadow:0 7px 20px rgba(8,8,8,.045)}
.rating-controls .model-tabs{margin-bottom:0}
.provider-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 11px;padding:0 0 12px;border-bottom:1px solid #ececee}
.provider-tab{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:5px 13px 5px 6px;border:1px solid #dfe2e7;border-radius:11px;background:#fff;color:#3f4650;font:600 13px/1 SBText,Arial,sans-serif;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
.provider-tab:hover{border-color:#9cb7e6;background:#f6f9ff;color:#1c5fc8;transform:translateY(-1px)}
.provider-tab.is-active{border-color:#2672ee;background:#2672ee;color:#fff;box-shadow:0 5px 12px rgba(38,114,238,.2)}
.provider-tab:focus-visible,.model-tab:focus-visible{outline:3px solid #8fd7e5;outline-offset:2px}
.provider-tab-logo{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#f6f7f8;overflow:hidden;flex:none}
.provider-tab.is-active .provider-tab-logo{background:#fff}
.provider-tab-logo img{display:block;width:22px;height:22px;object-fit:contain}
.provider-tab[data-provider-tab="chatgpt"] .provider-tab-logo img{width:24px;height:24px}
.provider-tab[data-provider-tab="glm"] .provider-tab-logo img{width:25px;height:20px}
.model-tabs{min-height:31px;margin:0 0 19px}
.model-tab-panel{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.model-tab-panel[hidden]{display:none!important}
.model-tab{min-height:31px;padding:5px 12px;border:1px solid #dfe2e7;border-radius:9px;background:#fff;color:#59616d;font:600 12px/1 SBText,Arial,sans-serif;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
.model-tab:hover{border-color:#9cb7e6;color:#1c5fc8;background:#f6f9ff}
.model-tab.is-active{border-color:#080808;background:#080808;color:#fff;box-shadow:0 3px 8px rgba(8,8,8,.15)}
.rating-empty-row td{text-align:center!important;color:#888!important;font-size:13px!important;padding:28px 10px!important}
.rating-table-wrap{overflow-x:auto;margin:0 -7px}
.rating-table{width:100%;min-width:840px;border-collapse:collapse;text-align:left}
.rating-table th{padding:0 10px 14px;color:#85858b;font:600 11px/1.2 SBText,Arial,sans-serif;white-space:nowrap}
.rating-table td{border-top:1px solid #ececee;padding:14px 10px;color:#5f5f66;font-size:14px;vertical-align:middle}
.rating-table tbody tr{transition:background .16s ease}
.rating-table tbody tr:hover{background:#f7f9ff}
.provider-logo{width:38px;height:38px;border-radius:11px;display:inline-grid;place-items:center;color:#fff;font:700 11px/1 SBText,Arial,sans-serif;letter-spacing:-.2px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.provider-logo img{width:24px;height:24px;object-fit:contain;border-radius:5px}.provider-logo img+span{font-size:11px}
.logo-openai{background:linear-gradient(145deg,#202b28,#53645e)}
.logo-anthropic{background:linear-gradient(145deg,#bd6b48,#e09b75)}
.logo-google{background:linear-gradient(145deg,#4285f4,#34a853)}
.logo-deepseek{background:linear-gradient(145deg,#4c75e8,#6ea8ff)}
.logo-mistral{background:linear-gradient(145deg,#f27838,#f4b23c)}
.logo-cohere{background:linear-gradient(145deg,#7c4fd0,#b77bf2)}
.logo-xai{background:linear-gradient(145deg,#111,#3d4542);font-size:16px}
.logo-generic{background:linear-gradient(145deg,#2672ee,#11bac8)}
.rating-model{display:flex;flex-direction:column;gap:3px;min-width:145px}
.rating-model strong{font:700 14px/1.2 SBText,Arial,sans-serif;color:#080808}
.rating-model span{font:400 12px/1.2 SBText,Arial,sans-serif;color:#89898f}
.provider-link{display:inline-flex;align-items:center;gap:7px;color:#1c5fc8;font-size:13px;font-weight:600;white-space:nowrap}
.provider-link span{font-size:17px;font-weight:400;line-height:1;transition:transform .15s}
.provider-link:hover span{transform:translate(2px,-2px)}
.rating-sites{position:relative;color:#1c5fc8;font-size:13px;font-weight:600;white-space:nowrap}.rating-sites summary{cursor:pointer;list-style:none}.rating-sites summary::-webkit-details-marker{display:none}.rating-sites summary:after{content:'⌄';margin-left:5px}.rating-sites a{display:block;margin-top:6px;font-size:12px;font-weight:400;color:#1c5fc8}
.price-heading,.price-cell{text-align:right}
.price-cell{font-size:14px!important;font-weight:600!important;font-variant-numeric:tabular-nums;white-space:nowrap;color:#263f78!important}
.price-output{color:#1c5fc8!important}.price-cache{color:#5874ad!important}.price-average{color:#111!important;border-left:1px solid #ececee}.price-empty{color:#a2a2a8!important;font-weight:400!important}
.rating-note{margin:17px 4px 0;color:#85858b;font-size:11px;line-height:1.5}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.rating-cta-section{background:#151515;color:#fff;padding:66px 0 72px}
.rating-cta{display:flex;align-items:center;justify-content:space-between;gap:38px}
.rating-cta .rating-eyebrow{color:#8fd7e5}
.rating-cta h2{font:600 clamp(31px,3.2vw,48px)/1.08 SBDisplay,Arial,sans-serif;letter-spacing:-.025em;margin:0 0 14px}
.rating-cta p:not(.rating-eyebrow){color:#a8a8ad;font-size:18px;line-height:1.4;margin:0}
.rating-cta .btn{flex:none;min-width:188px}.rating-cta .btn span{margin-left:7px}

@media (max-width:1023px){
  .rating-hero,.rating-hero-inner{min-height:315px}
  .rating-hero-inner{padding-bottom:44px}
  .rating-hero-copy{padding-top:48px}
  .rating-title{font-size:clamp(48px,8vw,68px)}
  .rating-section{padding:56px 0 66px}
  .rating-section-head{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:23px}
  .rating-meta{align-items:flex-start;flex-direction:row;flex-wrap:wrap}
  .rating-card{border-radius:24px;padding:25px 20px 19px}
  .rating-controls{border-radius:18px;padding:13px 14px 12px;margin-bottom:15px}
  .provider-tabs{gap:8px;margin-bottom:12px;padding-bottom:13px}
  .provider-tab{min-height:46px;padding:6px 12px 6px 7px;border-radius:12px;font-size:13px}
  .provider-tab-logo{width:31px;height:31px;border-radius:8px}
  .provider-tab-logo img{width:23px;height:23px}
  .model-tabs{margin-bottom:16px}
  .rating-cta{align-items:flex-start;flex-direction:column;gap:25px}
}

@media (max-width:639px){
  .rating-hero,.rating-hero-inner{min-height:380px}
  .rating-hero-inner{width:calc(100% - 32px);padding-bottom:42px}
  .rating-hero .breadcrumbs{top:14px;line-height:19px;white-space:normal}
  .rating-hero-copy{padding-top:74px}
  .rating-eyebrow{font-size:10px;margin-bottom:10px}
  .rating-title{font-size:48px;line-height:1;margin-bottom:18px}
  .rating-subtitle{font-size:19px;line-height:1.35}
  .rating-hero:after{width:430px;height:430px;right:-205px;top:-80px}
  .rating-hero-orb-one{right:70px;width:140px;height:140px;bottom:-80px}
  .rating-hero-orb-two{right:125px;top:123px}
  .rating-section{padding:42px 0 50px}
  .rating-section-head{margin-bottom:19px}
  .rating-section-head h2{font-size:34px;margin-bottom:9px}
  .rating-section-lead{font-size:16px;line-height:1.38}
  .rating-meta{gap:7px}
  .rating-count{font-size:12px;padding:8px 11px}
  .rating-period{font-size:10px;padding:8px 9px}
  .rating-card{border-radius:20px;padding:20px 13px 16px}
  .rating-controls{border-radius:16px;padding:11px 10px 10px;margin-bottom:13px}
  .provider-tabs{margin:0 -1px 11px;padding-bottom:11px}
  .provider-tab{flex:1 1 auto;justify-content:center;padding-right:10px;font-size:12px}
  .provider-tab-logo{width:28px;height:28px}
  .provider-tab-logo img{width:21px;height:21px}
  .model-tab-panel{gap:6px}
  .model-tab{padding:7px 10px;font-size:11px}
  .rating-table-wrap{margin:0 -5px}
  .rating-table{min-width:770px}
  .rating-table th{padding:0 8px 11px;font-size:10px}
  .rating-table td{padding:11px 8px;font-size:13px}
  .provider-logo{width:33px;height:33px;border-radius:9px;font-size:10px}
  .rating-model{min-width:142px}.rating-model strong{font-size:13px}.rating-model span{font-size:11px}
  .provider-link{font-size:12px}.provider-link span{font-size:15px}
  .price-cell{font-size:13px!important}
  .rating-note{margin:13px 2px 0;font-size:10px}
  .rating-cta-section{padding:47px 0 54px}
  .rating-cta{gap:22px}
  .rating-cta h2{font-size:32px;line-height:1.08}
  .rating-cta p:not(.rating-eyebrow){font-size:16px}
  .rating-cta .btn{width:100%;min-height:58px}
}
