/* One shared usage control, with clear plan fits and optional details. */
.pricing-page { --pricing-line: #dfe4e0; --pricing-muted: #6b746f; }
.pricing-page .container { max-width: 1080px; }
.pricing-intro { text-align: center; padding-block: 48px 38px; }
.pricing-kicker { color: #818880; font-size: 10px; letter-spacing: .1em; }
.pricing-intro h1 { font-size: clamp(42px, 4.4vw, 58px); font-weight: 480; letter-spacing: -.05em; line-height: 1.15; margin-top: 15px; }
.pricing-intro > p { font-size: 15px; color: var(--pricing-muted); line-height: 1.8; margin-top: 17px; }
[data-pricing-controls] { display: none; }
.pricing-ready .pricing-billing-controls { display: flex; }
.pricing-ready .pricing-controls-row { display: grid; }
.pricing-ready .pricing-usage-help { display: block; }
.pricing-page [hidden] { display: none !important; }
.pricing-controls-row { grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 660px; margin: 0 auto; }
.pricing-billing-controls { justify-content: center; justify-self: center; margin: 0; }
.pricing-billing-switch { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; width: 196px; padding: 4px; margin: 0; border: 1px solid #e1e5df; border-radius: 11px; background: #eef0eb; }
.pricing-billing-switch label { position: relative; cursor: pointer; min-width: 0; }
.pricing-billing-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.pricing-billing-option { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; border-radius: 7px; font-size: 13px; color: #67716a; transition: color .22s; }
.pricing-billing-switch input:checked + .pricing-billing-option { color: var(--ink); }
.pricing-billing-thumb { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border: 1px solid #e1e5dd; border-radius: 7px; background: #fff; box-shadow: 0 2px 5px #17203308; transform: translateX(100%); transition: transform .42s cubic-bezier(.22, 1, .36, 1); }
.pricing-billing-switch:has([value="monthly"]:checked) .pricing-billing-thumb { transform: translateX(0); }
.pricing-billing-switch input:focus-visible + .pricing-billing-option { outline: 2px solid var(--blue); outline-offset: 2px; }
.pricing-saving-icon { flex: none; opacity: .65; }
.pricing-yearly-tooltip { position: absolute; z-index: 2; bottom: calc(100% + 9px); left: calc(75% - 2px); width: max-content; padding: 8px 12px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 11px; line-height: 1.5; white-space: nowrap; box-shadow: 0 4px 12px #17203314; opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .18s, transform .18s, visibility .18s; }
.pricing-yearly-tooltip::before { content: ''; position: absolute; inset: 100% 0 -12px; }
.pricing-yearly-tooltip::after { content: ''; position: absolute; top: 100%; left: calc(50% - 4px); border: 4px solid transparent; border-top-color: var(--ink); }
.pricing-billing-switch:not([data-tooltip-dismissed]):has(.pricing-yearly-option:is(:hover, :focus-within)) .pricing-yearly-tooltip,
.pricing-billing-switch:not([data-tooltip-dismissed]) .pricing-yearly-tooltip:hover { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pricing-static-note { font-size: 12px; color: var(--pricing-muted); }


.pricing-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.pricing-plan { min-width: 0; background: #fff; border: 1px solid var(--pricing-line); border-radius: 14px; padding: 26px; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.pricing-plan[data-fit="true"] { border-color: #cbd5cf; }
.pricing-plan.pricing-plan-recommended { background: #f4f7ff; border-color: #aabde9; box-shadow: 0 3px 14px #174ac308; }
.pricing-plan[data-fit="false"] { background: #f5f6f3; }
.pricing-plan[data-fit="false"] h2, .pricing-plan[data-fit="false"] .pricing-plan-price, .pricing-plan[data-fit="false"] dd { color: #78827b; }
.pricing-plan-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 30px; }
.pricing-plan-fit { font-size: 10px; line-height: 1.6; white-space: nowrap; color: #537061; }
.pricing-plan-recommended .pricing-plan-fit { padding: 4px 7px; background: #e7edfc; color: #214eb3; border-radius: 5px; }
.pricing-plan[data-fit="false"] .pricing-plan-fit { color: #768078; }
.pricing-plan h2 { font-size: 22px; font-weight: 520; letter-spacing: -.6px; line-height: 1.3; }
.pricing-plan-description { margin-top: 7px; color: var(--pricing-muted); font-size: 12px; line-height: 1.7; }
.pricing-plan-cost { margin-top: 24px; }
.pricing-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; white-space: nowrap; line-height: 1.1; min-height: 69px; align-content: start; }
.pricing-plan-price [data-card-price-for] { display: flex; align-items: baseline; font-size: 47px; font-weight: 480; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.pricing-price-currency { font-size: 28px; margin-right: 2px; letter-spacing: -.8px; }
.pricing-price-decimal { font-size: 31px; letter-spacing: -1px; }
.pricing-price-unit { font-size: 12px; color: var(--pricing-muted); }
.pricing-plan-billing { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 11px; color: var(--pricing-muted); margin-top: 10px; line-height: 1.6; }
.pricing-price-amounts { display: inline-flex; align-items: baseline; gap: 0; }
.pricing-original-price { display: inline-grid; grid-template-columns: 1fr; margin-left: 10px; color: #90998f; font-size: 17px; font-variant-numeric: tabular-nums; transition: grid-template-columns .4s cubic-bezier(.22, 1, .36, 1), margin-left .4s cubic-bezier(.22, 1, .36, 1), opacity .25s, visibility .4s; }
.pricing-original-clip { min-width: 0; overflow: hidden; }
.pricing-original-price s { text-decoration-thickness: 1px; }
.pricing-original-price[data-hidden] { grid-template-columns: 0fr; margin-left: 0; opacity: 0; visibility: hidden; }
.pricing-plan-button, .pricing-plan-unavailable { margin-block: 23px; min-height: 44px; padding: 11px 15px; font-size: 12px; justify-content: space-between; width: 100%; }
.pricing-plan-unavailable { display: flex; align-items: center; justify-content: center; border: 1px solid #dfe4dd; border-radius: 7px; background: #ecefea; color: #737e75; }
.pricing-button-outline { background: #fff; color: var(--ink); border-color: #d6deda; }
.pricing-button-outline:hover { background: #f7f9fd; border-color: #b2c2df; color: var(--blue); }
.pricing-plan-stats { margin: 0; display: grid; gap: 13px; }
.pricing-plan-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pricing-plan-stats dt { font-size: 12px; color: #69746b; }
.pricing-plan-stats dd { margin: 0; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pricing-plan-comparison > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.pricing-plan-comparison > summary::-webkit-details-marker { display: none; }
.pricing-plan-comparison > summary .icon { width: 15px; height: 15px; transition: transform .2s; }
.pricing-plan-comparison[open] > summary .icon { transform: rotate(45deg); }

.pricing-usage { min-width: 0; }
.pricing-usage-heading { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.pricing-usage-heading label { color: #525f57; font-size: 13px; }
.pricing-usage-heading output { font-size: 24px; font-weight: 480; letter-spacing: -.6px; font-variant-numeric: tabular-nums; line-height: 1.4; }
.pricing-volume-slider { --range-fill: 0%; display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 44px; padding: 0; margin: 5px 0 0; background: transparent; cursor: pointer; border: 0; border-radius: 5px; touch-action: pan-y; }
.pricing-volume-slider::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(to right, var(--blue) 0 var(--range-fill), #dce2db var(--range-fill) 100%); }
.pricing-volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border: 2px solid var(--blue); border-radius: 50%; background: #fff; margin-top: -7px; box-shadow: 0 2px 5px #17203314; }
.pricing-volume-slider::-moz-range-track { height: 10px; border-radius: 10px; background: #dce2db; }
.pricing-volume-slider::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--blue); }
.pricing-volume-slider::-moz-range-thumb { width: 20px; height: 20px; border: 2px solid var(--blue); border-radius: 50%; background: #fff; }
.pricing-volume-slider:focus-visible { outline: 2px solid #95afe5; outline-offset: 3px; }
.pricing-volume-scale { position: relative; height: 21px; margin-inline: 12px; font-size: 10px; color: #748077; font-variant-numeric: tabular-nums; }
.pricing-volume-scale span { position: absolute; left: var(--tick-position); transform: translateX(-50%); }
.pricing-volume-scale span:first-child { transform: none; left: -12px; }
.pricing-volume-scale span:last-child { transform: none; left: auto; right: -12px; }
.pricing-usage-help { text-align: center; color: #5a6d60; font-size: 11px; line-height: 1.7; min-height: 19px; margin: 14px 0 28px; }

.pricing-plan-note { text-align: center; margin: 19px auto 0; color: var(--pricing-muted); font-size: 11px; line-height: 1.8; }
.pricing-included { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 22px; padding-top: 30px; font-size: 12px; }
.pricing-included > span { color: #828a82; }
.pricing-included p { color: #536258; line-height: 1.9; }
.pricing-included p > span { color: #b0b8ae; margin-inline: 10px; }
.pricing-plan-comparison { margin-top: 10px; }
.pricing-plan-comparison > summary { justify-content: center; min-height: 44px; color: #737f76; font-size: 11px; }
.pricing-plan-comparison > summary:hover { color: var(--blue); }
.pricing-comparison-content { padding-top: 16px; }
.pricing-comparison-content table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.pricing-comparison-content th, .pricing-comparison-content td { text-align: center; padding: 16px 12px; border-bottom: 1px solid var(--pricing-line); font-weight: 400; overflow-wrap: break-word; }
.pricing-comparison-content th:first-child { text-align: left; width: 34%; color: var(--pricing-muted); }
.pricing-comparison-content thead th { font-weight: 500; }

.pricing-faq { display: grid; grid-template-columns: .85fr 1.4fr; gap: 70px; padding-block: 58px 64px; }
.pricing-faq h2 { font-size: 27px; font-weight: 480; line-height: 1.3; letter-spacing: -.9px; }
.pricing-faq .faq-list summary { font-size: 13px; padding-block: 19px; font-weight: 450; }
.pricing-faq .faq-answer { font-size: 12px; line-height: 1.9; }
.pricing-faq .faq-list details:first-child summary { padding-top: 4px; }
.pricing-faq details { scroll-margin-top: 115px; }
.pricing-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 900px) and (max-width: 1050px) {
  .pricing-plan-grid { gap: 13px; }
  .pricing-plan h2 { font-size: 21px; }
  .pricing-plan-fit { font-size: 9px; }
  .pricing-plan { padding: 24px 19px; }
  .pricing-plan-price { gap: 7px; }
  .pricing-plan-price [data-card-price-for] { font-size: 42px; }
  .pricing-price-decimal { font-size: 28px; }
  .pricing-plan-billing { font-size: 10px; }
  .pricing-plan-stats dt { font-size: 11px; }
}
@media (max-width: 899px) {
  .pricing-intro { padding-block: 35px 30px; }
  .pricing-intro h1 { font-size: 42px; }
  .pricing-intro > p { font-size: 14px; max-width: 310px; margin-inline: auto; }
  .pricing-controls-row { max-width: 460px; }
  .pricing-usage-help { max-width: 460px; margin: 10px auto 24px; }
  .pricing-plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pricing-plan { padding: 25px; }
  .pricing-plan-price [data-card-price-for] { font-size: 45px; }
  .pricing-plan-cost { margin-top: 20px; }
  .pricing-plan-button, .pricing-plan-unavailable { margin-block: 21px; }
  .pricing-plan-note { max-width: 340px; font-size: 10px; }
  .pricing-included { max-width: 430px; margin-inline: auto; padding-top: 25px; text-align: center; flex-direction: column; gap: 7px; font-size: 11px; }
  .pricing-included p > span { margin-inline: 6px; }
  .pricing-plan-comparison { max-width: 460px; margin-inline: auto; }
  .pricing-comparison-content th, .pricing-comparison-content td { padding: 13px 6px; font-size: 11px; }
  .pricing-page .pricing-faq { max-width: 460px; }
  .pricing-faq { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 44px; }
  .pricing-faq h2 { font-size: 26px; }
  .pricing-faq .faq-list summary { font-size: 12px; line-height: 1.8; }
}
@media (max-width: 374px) {
  .pricing-plan { padding-inline: 21px; }
  .pricing-plan-stats dt { font-size: 11px; }
  .pricing-plan-billing { font-size: 10px; }
  .pricing-usage-heading label { font-size: 12px; }
  .pricing-volume-scale [data-usage-tick="14"] { display: none; }
  .pricing-usage-help { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-page *, .pricing-page *::before, .pricing-page *::after { animation: none !important; transition: none !important; }
}
.motion-paused .pricing-page *, .motion-paused .pricing-page *::before, .motion-paused .pricing-page *::after { animation: none !important; transition: none !important; }

.pricing-faq .faq-list details:first-child { border-top: 0; }
.pricing-faq .faq-list details:last-child { border-bottom: 0; }

/* Animate complete values without separating their digits or punctuation. */
.pricing-rolling { display: inline-block; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; vertical-align: baseline; }
/* Text morph (js/pricing-motion.js, vendored Torph): the rules Torph would inject at runtime, which our CSP blocks. */
[torph-root] {
  display: inline-block;
  position: relative;
  vertical-align: top;
  will-change: width, height;
  white-space: nowrap;
  text-align: inherit;
}
[torph-item]:not(br) {
  display: inline-block;
  position: relative;
  will-change: opacity, transform;
  transform: none;
  opacity: 1;
}
[torph-sr] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: pre;
  user-select: none;
}
[torph-slot] { clip-path: inset(0 -100vw); }
[torph-slot] > span {
  display: inline-block;
  will-change: opacity, transform;
}
@supports (mask-clip: no-clip) or (-webkit-mask-clip: no-clip) {
  [torph-slot] {
    --torph-mask: linear-gradient(to bottom, transparent, #000 var(--torph-fade, 0.15em), #000 calc(100% - var(--torph-fade, 0.15em)), transparent);
    -webkit-mask-image: var(--torph-mask);
    mask-image: var(--torph-mask);
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    -webkit-mask-clip: no-clip;
    mask-clip: no-clip;
  }
}
/* Amounts keep their baseline while they morph; Torph's default top alignment would jolt the split price. */
.pricing-rolling[torph-root] { vertical-align: baseline; }
[data-billing-cycle], [data-usage-recommendation] { display: inline-block; white-space: pre-wrap; }
/* Labels stay on one line while they morph; Torph keeps their spaces itself. */
[data-billing-cycle][torph-root], [data-usage-recommendation][torph-root] { white-space: nowrap; }
