/* Pricing page — aligned to the main marketing page type and spacing system. */
.pricing-hero{
  padding:clamp(56px,5.5vw,72px) 0 24px;
}
.pricing-hero-inner{
  max-width:none;
  text-align:left;
}
.pricing-hero h1{
  max-width:900px;
  margin:10px 0 16px;
  font-size:clamp(3rem,3.2vw,3.4rem);
  line-height:1.04;
}
.pricing-hero .hero-line{display:block}
.pricing-hero p{
  max-width:680px;
  margin:0;
  color:var(--muted);
  font-size:clamp(1.02rem,1rem + .22vw,1.15rem);
  line-height:1.62;
}

.pricing-plans{
  padding:20px 0 var(--section-sm);
}
.capacity-selector{
  display:block;
  width:min(100%,660px);
  margin:0 auto 18px;
}
.capacity-selector>p{
  margin:0 0 10px;
  color:var(--muted);
  font-size:1rem;
  font-weight:500;
  line-height:1.35;
  text-align:center;
}
.capacity-options{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  width:100%;
  padding:5px;
  border:1px solid var(--line2);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  box-sizing:border-box;
}
.capacity-option{
  width:100%;
  min-width:0;
  margin:0;
  padding:10px 16px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:.96rem;
  font-weight:500;
  line-height:1.2;
  text-align:center;
  white-space:nowrap;
  cursor:pointer;
  transition:background-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.capacity-option:hover:not(.is-selected){
  color:var(--text);
  background:rgba(255,255,255,.035);
}
.capacity-option strong{
  color:inherit;
  font-weight:600;
}
.capacity-option.is-selected{
  background:#f4f5f3;
  box-shadow:0 1px 3px rgba(0,0,0,.22);
  color:#11171d;
}
.capacity-option:focus-visible{
  outline:2px solid var(--teal);
  outline-offset:1px;
}
.plan-showcase{overflow:visible}
.plan-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
.pricing-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:26px 24px 24px;
  border:1px solid var(--line2);
  border-radius:var(--r);
  background:rgba(255,255,255,.018);
  box-sizing:border-box;
}
.pricing-card.is-muted{
  opacity:.42;
}
.pricing-card.is-auto-selected{
  border-color:var(--teal);
  background:rgba(75,201,194,.035);
}
.plan-kicker{
  color:var(--teal);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.pricing-card h2{
  margin:10px 0 16px;
  font-size:clamp(1.95rem,1.7rem + .7vw,2.25rem);
  line-height:1.08;
}
.plan-price{
  display:flex;
  align-items:flex-end;
  gap:5px;
  min-height:46px;
  flex-wrap:wrap;
}
.price-prefix{
  align-self:center;
  margin-right:2px;
  color:var(--muted);
  font-size:.78rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.plan-price .currency{
  padding-bottom:6px;
  color:var(--gold);
  font-size:1.05rem;
  font-weight:700;
}
.plan-price strong{
  color:var(--text);
  font-family:"DM Serif Display",serif;
  font-size:clamp(2.55rem,2.25rem + 1vw,3.15rem);
  font-weight:400;
  line-height:.98;
}
.plan-price>span:last-child{
  padding-bottom:6px;
  color:var(--muted);
  font-size:.875rem;
}
.custom-price strong{
  font-size:clamp(2.1rem,1.9rem + .8vw,2.6rem);
}
.custom-price{
  align-items:center;
  min-height:46px;
}
.custom-price [data-enterprise-secret][hidden],
.custom-price [data-enterprise-cta][hidden]{
  display:none!important;
}
.custom-price [data-enterprise-secret]{
  display:inline-flex;
  min-height:46px;
  align-items:center;
  gap:6px;
}
.custom-price [data-enterprise-secret] .currency{
  padding-bottom:0;
}
.enterprise-reels{
  display:inline-flex;
  align-items:center;
  gap:.015em;
  height:1.02em;
  color:#fff;
  font-family:"DM Serif Display",serif;
  font-size:clamp(2.25rem,2rem + .8vw,2.75rem)!important;
  font-weight:400;
  line-height:1;
  letter-spacing:0;
  user-select:none;
}
.price-reel{
  --reel-duration:12s;
  --reel-delay:0s;
  position:relative;
  display:inline-block;
  width:.56em;
  height:1em;
  overflow:hidden;
  border-radius:2px;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 15%,#000 85%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 15%,#000 85%,transparent 100%);
}
.price-reel-track{
  display:flex;
  flex-direction:column;
  width:100%;
  opacity:.9;
  filter:blur(2.8px) brightness(1.5);
  will-change:transform;
  animation:enterprise-digit-roll var(--reel-duration) linear infinite;
  animation-delay:var(--reel-delay);
}
.price-reel-track>span{
  display:block;
  width:100%;
  height:1em;
  min-height:1em;
  line-height:1em;
  text-align:center;
  text-shadow:
    0 0 3px rgba(255,255,255,.95),
    0 0 7px rgba(255,255,255,.82),
    0 0 13px rgba(255,255,255,.58),
    0 0 19px rgba(212,170,88,.28);
}
.price-reel-1{--reel-duration:12.8s;--reel-delay:-2.1s}
.price-reel-2{--reel-duration:11.6s;--reel-delay:-6.4s}
.price-reel-3{--reel-duration:13.7s;--reel-delay:-4.8s}
.price-reel-4{--reel-duration:12.2s;--reel-delay:-8.2s}
.price-reel-5{--reel-duration:14.4s;--reel-delay:-3.3s}
.price-reel-comma{
  display:inline-block;
  margin:0 .025em;
  align-self:flex-end;
  line-height:1;
  transform:translateY(-.03em);
}
@keyframes enterprise-digit-roll{
  from{transform:translateY(0)}
  to{transform:translateY(-10em)}
}
.custom-price [data-enterprise-secret]>span:last-child{
  padding-bottom:0;
  color:var(--muted);
  font-size:.875rem;
}
.custom-price [data-enterprise-cta]{
  min-height:46px;
  padding:0 22px;
  border-color:transparent;
  background:var(--gold)!important;
  color:#241a08!important;
  font-weight:700;
}
.custom-price [data-enterprise-cta]:hover{
  filter:brightness(1.06);
}
.plan-desc{
  min-height:74px;
  margin:18px 0 0;
  color:var(--muted);
  font-size:.95rem;
  line-height:1.6;
}
.plan-features{
  flex:1;
  margin:24px 0 0;
  border-top:1px solid var(--line);
}
.plan-features li{
  position:relative;
  padding:11px 0 11px 21px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:.9rem;
  line-height:1.5;
}
.plan-features li::before{
  content:"";
  position:absolute;
  left:0;
  top:1.15em;
  width:6px;
  height:6px;
  border:1.5px solid var(--teal);
  border-radius:50%;
}

.pricing-fineprint{
  display:grid;
  gap:1px;
  margin:8px 0 0;
  padding-top:3px;
  border-top:1px solid rgba(255,255,255,.05);
  color:var(--muted2);
  font-size:.69rem;
  line-height:1.35;
}
.pricing-fineprint span{
  display:block;
  margin:0;
  padding:0;
}
.pricing-fineprint span:not(:last-child)::after{content:none}
.pricing-fineprint strong{
  color:var(--muted);
  font-weight:600;
}

.feature-compare{
  padding:clamp(64px,7vw,88px) 0;
  border-top:1px solid var(--line);
}
.compare-intro{
  margin:0 0 44px;
  text-align:center;
}
.compare-intro h2{
  margin:0;
  color:var(--text);
  font-family:"DM Sans",sans-serif;
  font-size:clamp(2rem,1.7rem + 1.2vw,2.85rem);
  font-weight:400;
  line-height:1.08;
  letter-spacing:-.035em;
}
.comparison-scroll{
  width:100%;
  overflow-x:auto;
  border-bottom:1px solid var(--line2);
  scrollbar-width:thin;
}
.compare-plan-head{
  display:grid;
  grid-template-columns:repeat(4,25%);
  align-items:end;
  min-width:760px;
  padding:0 0 18px;
  border-bottom:1px solid var(--line2);
}
.compare-plan-spacer{min-height:1px}
.compare-plan-column{
  display:grid;
  gap:10px;
  justify-items:center;
  min-width:0;
  padding:0 12px;
  text-align:center;
}
.compare-plan-name{
  color:var(--text);
  font-size:.96rem;
  font-weight:500;
  line-height:1.2;
}
.compare-plan-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(100%,168px);
  min-height:34px;
  padding:6px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:var(--text);
  font-size:.78rem;
  font-weight:500;
  line-height:1.15;
  text-decoration:none;
  white-space:nowrap;
  box-sizing:border-box;
  transition:background-color .16s ease,border-color .16s ease,filter .16s ease;
}
.compare-plan-btn:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.13);
}
.compare-plan-btn-enterprise{
  border-color:transparent;
  background:var(--gold);
  color:#241a08;
}
.compare-plan-btn-enterprise:hover{
  background:var(--gold);
  filter:brightness(1.06);
}
.comparison-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
  table-layout:fixed;
}
.comparison-table th,
.comparison-table td{width:25%}
.comparison-table thead{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.comparison-table th,
.comparison-table td{
  padding:14px 12px;
  border-bottom:1px solid rgba(255,255,255,.065);
  vertical-align:middle;
}
.comparison-table tbody th{
  padding-left:0;
  color:var(--text);
  font-size:.9rem;
  font-weight:400;
  line-height:1.45;
  text-align:left;
}
.comparison-table td{
  color:var(--muted);
  font-size:.86rem;
  font-weight:400;
  line-height:1.45;
  text-align:center;
}
.feature-check{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  color:var(--text);
  font-size:.98rem;
  font-weight:500;
  line-height:1;
}
.group-row th{
  position:static;
  padding:20px 0 10px!important;
  border-top:1px solid rgba(255,255,255,.085)!important;
  border-bottom:1px solid rgba(255,255,255,.065)!important;
  background:transparent;
  color:var(--text)!important;
  font-size:.82rem!important;
  font-weight:500!important;
  letter-spacing:0;
  line-height:1.3;
  text-transform:none;
}
.comparison-table tbody .group-row:first-child th{
  padding-top:18px!important;
  border-top:0!important;
}
.comparison-table tbody tr:not(.group-row):hover > th,
.comparison-table tbody tr:not(.group-row):hover > td{
  background:rgba(255,255,255,.018);
}
.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td{border-bottom:0}

.cta{
  padding:var(--section-sm) 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

@media(max-width:980px){
  .plan-showcase{max-width:720px;margin:0 auto}
  .plan-grid{grid-template-columns:1fr}
  .pricing-card{width:100%;margin:0}
  .plan-desc{min-height:0}
}

@media(max-width:760px){
  .pricing-hero{padding:44px 0 20px}
  .pricing-hero h1{font-size:clamp(2.55rem,10.5vw,3.1rem)}
  .pricing-plans{padding-top:16px}
  .capacity-selector{
    width:100%;
    margin-bottom:16px;
  }
  .capacity-selector>p{
    margin:0 0 8px;
    font-size:.92rem;
  }
  .capacity-options{
    width:100%;
    padding:4px;
  }
  .capacity-option{
    padding:9px 7px;
    font-size:.78rem;
    white-space:nowrap;
  }
  .pricing-card{padding:24px 20px 20px}
  .pricing-fineprint{
    gap:1px;
    margin-top:7px;
    padding-top:3px;
    font-size:.67rem;
  }
  .feature-compare{
    padding:56px 0;
  }
  .compare-intro{
    margin-bottom:32px;
  }
  .compare-intro h2{
    font-size:1.78rem;
  }
  .compare-plan-head,
  .comparison-table{
    min-width:680px;
  }
  .compare-plan-head{
    padding-bottom:16px;
  }
  .compare-plan-column{
    gap:8px;
    padding:0 8px;
  }
  .compare-plan-name{
    font-size:.86rem;
  }
  .compare-plan-btn{
    width:min(100%,146px);
    min-height:32px;
    padding:6px 10px;
    font-size:.7rem;
  }
  .comparison-table th,
  .comparison-table td{
    padding:12px 8px;
  }
  .comparison-table tbody th{
    padding-left:0;
    font-size:.82rem;
  }
  .comparison-table td{
    font-size:.78rem;
  }
  .group-row th{
    padding:17px 0 9px!important;
    font-size:.76rem!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .price-reel-track{animation:none}
  .price-reel-1 .price-reel-track{transform:translateY(-2em)}
  .price-reel-2 .price-reel-track{transform:translateY(-7em)}
  .price-reel-3 .price-reel-track{transform:translateY(-4em)}
  .price-reel-4 .price-reel-track{transform:translateY(-6em)}
  .price-reel-5 .price-reel-track{transform:translateY(-9em)}
  .enterprise-reels{opacity:1}
}
