/* Pricing page sections */

/* ---------- Hero + plans ---------- */
/* The source hero carries the header offset as its own top padding */
.pr-hero { margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.pr-hero__head { padding: 60px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.pr-hero__title { max-width: 710px; }
.pr-hero__title .ink { display: block; }
.pr-hero__lead { max-width: 710px; margin-top: -8px; }

.plans { display: grid; grid-template-columns: 314fr 362fr 362fr 362fr; border-top: 1px solid var(--line); }
.plan { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-right: 1px solid var(--line); min-width: 0; }
.plan:last-child { border-right: 0; }
.plan__top { display: flex; flex-direction: column; align-items: flex-start; }
.plan__badge {
  display: inline-flex; padding: 5px 8px; border: 1px solid var(--line); background: var(--white);
  font-size: 12px; line-height: 14px; font-weight: 500; color: var(--ink);
}
.plan__name { margin-top: 16px; font-size: 24px; line-height: 32px; letter-spacing: -1px; font-weight: 500; color: var(--ink); }
.plan__soft { color: var(--ink-60); }
.plan__desc { margin-top: 12px; max-width: 266px; font-size: 14px; line-height: 19px; letter-spacing: -0.28px; font-weight: 400; color: var(--muted); }
.plan__price { margin-top: 32px; display: flex; align-items: flex-end; gap: 4px; }
.plan__amount { font-size: 48px; line-height: 48px; letter-spacing: -1.92px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan__period { font-size: 14px; line-height: 19px; font-weight: 400; color: var(--muted); }
.plan__includes {
  margin-top: 16px; width: 100%; padding: 8px 12px; display: grid; gap: 12px;
  background: var(--surface); border: 1px solid #e5e5e5;
}
.plan__includes li { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 14px; font-weight: 500; color: var(--ink); }
.plan__includes img, .plan__features img { width: 14px; height: 14px; flex: none; }
.plan__features { margin-top: 24px; display: grid; gap: 11px; width: 100%; }
.plan__features li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 17px; font-weight: 400; color: var(--grey); }
.plan__custom { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.plan__custom-note { font-size: 12px; line-height: 14px; font-weight: 500; color: var(--ink); }
.plan__note { margin-top: 8px; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--muted); }
.plan__cta { display: flex; flex-direction: column; gap: 16px; }
.plan__btn { width: 100%; background: var(--surface); border-color: var(--line); color: var(--ink); }
.plan__btn:hover { background: #f2f2f2; border-color: #e2e2e2; }
.plan__btn:active { background: #ebebeb; }
.plan__cta-note { text-align: center; font-size: 12px; line-height: 14px; font-weight: 400; color: var(--muted); }

/* Credit pack dropdown */
.packs { position: relative; width: 100%; margin-top: 28px; }
.packs__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--line); background: var(--white); text-align: left;
  font-size: 16px; line-height: 22px; font-weight: 500; color: var(--ink);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.packs__toggle:hover { background: var(--surface); }
.packs__chev { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.packs__toggle[aria-expanded="true"] .packs__chev { transform: rotate(180deg); }
.packs__list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 5; padding: 4px 0;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.packs__option { padding: 8px 12px; font-size: 14px; line-height: 19px; font-weight: 500; color: var(--grey); cursor: pointer; transition: background-color 0.2s var(--ease); }
.packs__option:hover, .packs__option:focus-visible { background: var(--surface); color: var(--ink); outline-offset: -2px; }
.packs__option[aria-selected="true"] { color: var(--ink); }

.plans__footnote { padding: 16px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; font-size: 14px; line-height: 19px; font-weight: 400; color: var(--muted); }

/* ---------- Add ons ---------- */
.addons .title-wrapper__row .t-h2 { max-width: 550px; }
.addons__stage { background: var(--surface); border-top: 1px solid var(--line); display: flex; justify-content: center; }
.addons__box { width: 100%; max-width: 1000px; background: var(--white); border-inline: 1px solid var(--line); }
.addons__tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.addons__tab {
  position: relative; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 23px; text-align: left;
  border-right: 1px solid var(--line); background: var(--white); transition: background-color 0.2s var(--ease);
}
.addons__tab:last-child { border-right: 0; }
.addons__tab:hover { background: var(--surface); }
.addons__label {
  padding: 5px 8px; border: 1px solid var(--line); background: var(--white);
  font-size: 11px; line-height: 12px; font-weight: 500; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.addons__name { font-size: 24px; line-height: 32px; letter-spacing: -1px; font-weight: 500; color: #a3a3a3; transition: color 0.2s var(--ease); }
.addons__tab[aria-selected="true"] .addons__label { color: var(--ink); border-color: #dcdcdc; }
.addons__tab[aria-selected="true"] .addons__name { color: var(--ink); }
.addons__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--line-2); opacity: 0; }
.addons__bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left center; transform: scaleX(var(--progress, 0)); }
.addons__tab[aria-selected="true"] .addons__bar { opacity: 1; }

.addons__panel { padding: 32px; }
.addons__kicker { display: none; }
.addons__desc { margin-top: 8px; font-size: 14px; line-height: 19px; font-weight: 400; color: var(--muted); }
.addons__detail {
  margin-top: 23px; padding: 24px; background: var(--surface); border: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.addons__list { display: grid; gap: 11px; max-width: 416px; }
.addons__list li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 17px; font-weight: 400; color: var(--grey); }
.addons__list img { width: 14px; height: 14px; flex: none; }
.addons__brands { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.addons__brands img { width: 16px; height: 16px; }
.addons__price { flex: none; width: 196px; display: flex; flex-direction: column; gap: 10px; }
.addons__row { display: flex; align-items: center; gap: 2px; font-size: 14px; line-height: 19px; font-weight: 400; color: var(--muted); }
.addons__amount { font-size: 20px; line-height: 26px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.addons__btn { width: 100%; margin-top: 14px; }

/* ---------- Comparison title ---------- */
.cmp-title { border-top: 1px solid var(--line); }
.cmp-title .title-wrapper__row .t-lead { max-width: 350px; }

/* ---------- Comparison table ---------- */
.cmp { border-top: 1px solid var(--line); overflow: clip; }
.cmp__plans {
  position: sticky; top: var(--header-h); z-index: 4;
  display: grid; grid-template-columns: 280px repeat(4, 1fr); background: var(--white); border-bottom: 1px solid var(--line);
}
.cmp__plan { padding: 32px 24px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--line); background: var(--white); }
.cmp__plan:last-child { border-right: 0; }
.cmp__plan-name { font-size: 14px; line-height: 17px; font-weight: 500; color: var(--ink); }
.cmp__plan-price { font-size: 20px; line-height: 26px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.cmp__btn { width: 100%; background: var(--surface); border-color: var(--line); color: var(--ink); }
.cmp__btn:hover { background: #f2f2f2; border-color: #e2e2e2; }

.cmp__group { border-bottom: 1px solid var(--line); }
.cmp__group:last-child { border-bottom: 0; }
.cmp__heading { font: inherit; }
.cmp__toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; text-align: left;
  font-size: 18px; line-height: 29px; font-weight: 500; color: var(--ink); background: var(--white);
  transition: background-color 0.2s var(--ease);
}
.cmp__toggle:hover { background: var(--surface); }
.cmp__toggle img { width: 12px; height: 5px; flex: none; transition: transform 0.3s var(--ease); }
.cmp__toggle[aria-expanded="false"] img { transform: rotate(-90deg); }
.cmp__body { border-top: 1px solid var(--line); }
.cmp__included { padding: 20px 24px; background: var(--surface); display: flex; flex-direction: column; gap: 24px; border-bottom: 1px solid var(--line); }
.cmp__included-title { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 26px; font-weight: 500; color: var(--ink); }
.cmp__included-title img { width: 20px; height: 20px; }
.cmp__chips { display: flex; flex-wrap: wrap; gap: 20px; }
.cmp__chips li {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 12px; background: var(--white); border: 1px solid var(--line);
  font-size: 16px; line-height: 26px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.cmp__chips img { width: 14px; height: 14px; }
.cmp__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp__table th:first-child { width: 280px; }
.cmp__table tr + tr th, .cmp__table tr + tr td { border-top: 1px solid var(--line); }
.cmp__table th, .cmp__table td { height: 64px; padding: 19px 24px; background: var(--white); }
.cmp__table th {
  position: sticky; left: 0; z-index: 1;
  text-align: left; font-size: 16px; line-height: 26px; font-weight: 500; color: var(--ink);
  border-right: 1px solid var(--line);
}
.cmp__table th img { display: inline-block; width: 14px; height: 14px; margin-right: 12px; vertical-align: -2px; }
.cmp__table td { border-right: 1px solid var(--line); }
.cmp__table td:last-child { border-right: 0; }
.cmp__table td img { margin: 0 auto; }

/* ---------- Testimonials ---------- */
.testimonials { border-top: 1px solid var(--line); }
.testimonials__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.people-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.people-stack img { width: 102px; height: 30px; object-fit: cover; }
.slider { border-top: 1px solid var(--line-2); }
.slide { display: grid; grid-template-columns: 1fr 629px; }
.slide__content { display: flex; flex-direction: column; border-right: 1px solid var(--line-2); }
.slide__quote-wrap { padding: 34px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.slide__mark { font-size: 48px; line-height: 54px; font-weight: 500; color: var(--ink-60); height: 40px; }
.slide__quote { font-size: 32px; line-height: 43px; letter-spacing: -0.64px; font-weight: 500; color: var(--ink); max-width: 700px; }
.slide__person { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.slide__person img { width: 26px; height: 26px; border-radius: 999px; object-fit: cover; }
.slide__name { font-size: 16px; line-height: 18px; font-weight: 500; color: var(--ink); }
.slide__role { font-size: 14px; line-height: 15px; font-weight: 400; color: var(--muted); }
.slide__stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px 34px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.slide__stats li { display: flex; flex-direction: column; gap: 4px; padding-left: 24px; border-left: 1px solid var(--line-2); }
.slide__stats li:first-child { padding-left: 0; border-left: 0; }
.slide__num { font-size: 36px; line-height: 36px; letter-spacing: -0.72px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.slide__label { font-size: 16px; line-height: 18px; font-weight: 400; color: var(--ink-60); }
.slide__link { display: flex; align-items: center; gap: 12px; padding: 28px 34px; font-size: 14px; line-height: 15px; font-weight: 500; color: var(--ink); }
.slide__arrow { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--white); border: 1px solid var(--line-2); transition: background-color 0.2s var(--ease); }
.slide__arrow img { width: 16px; height: 16px; }
.slide__link:hover .slide__arrow { background: var(--surface); }
.slide__visual { position: relative; aspect-ratio: 1 / 1; background: #dde3ea; overflow: hidden; }
.slide__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.slide__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(49, 75, 92, 0.22), rgba(140, 88, 163, 0.12), rgba(217, 138, 84, 0.1)); }
.slider__controls { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-top: 1px solid var(--line-2); }
.slider__dots { display: flex; gap: 6px; align-items: center; }
.slider__dot { width: 4px; height: 4px; border-radius: 999px; background: var(--ink-60); transition: width 0.3s var(--ease), background-color 0.3s var(--ease); }
.slider__dot.is-active { width: 18px; background: var(--ink); }
.slider__buttons { display: flex; gap: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 520px 1fr; border-top: 1px solid var(--line); }
.faq__intro { padding: 80px 60px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq__title { max-width: 400px; }
.faq__title .ink { display: block; }
.faq__list { border-left: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__item h5 { font: inherit; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; text-align: left;
  font-size: 18px; line-height: 29px; font-weight: 500; color: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.faq__q:hover { background: var(--surface); }
.faq__icon { width: 14px; height: 14px; flex: none; transition: transform 0.3s var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 32px 32px; max-width: 760px; font-size: 16px; line-height: 25px; font-weight: 400; color: var(--ink-60); }

/* ---------- Banner ---------- */
.banner { position: relative; overflow: hidden; padding: 120px 60px; display: flex; justify-content: center; border-top: 1px solid var(--line); }
.banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.banner__inner { position: relative; max-width: 500px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.banner__title { font-size: 44px; line-height: 48px; letter-spacing: -1.76px; font-weight: 500; color: var(--ink); }
.banner__text { margin-top: 12px; font-size: 16px; line-height: 21.7px; font-weight: 400; color: var(--ink); }
.banner .btn { margin-top: 32px; }

/* ---------- Footer spacing on this page (source measurements) ---------- */
@media (min-width: 810px) {
  .footer__col { gap: 20px; }
  .footer__links { gap: 12px; }
  .site-footer__legal { margin-top: 80px; }
}

/* ================= Tablet ================= */
@media (max-width: 1199px) {
  .pr-hero__head { padding: 40px 40px 60px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan:nth-child(2) { border-right: 0; }
  .plan:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plan__desc { max-width: none; }
  .plan__name { font-size: 20px; line-height: 27px; }

  .addons__box { max-width: none; border-inline: 0; }
  .addons__name { font-size: 20px; line-height: 27px; }
  .addons__tab { padding: 32px; }
  .addons__amount { font-size: 18px; line-height: 23px; }
  .cmp__toggle { font-size: 16px; line-height: 25px; }
  .cmp__included-title { font-size: 14px; line-height: 22px; }

  .cmp-title { padding: 40px 20px; gap: 20px; }
  .cmp-title .title-wrapper__row .t-lead { max-width: 380px; }
  .site-footer__legal { margin-top: 60px; }

  .cmp__plans { grid-template-columns: 146px repeat(4, 1fr); }
  .cmp__table th:first-child { width: 146px; }
  .cmp__table th { padding: 12px 14px; font-size: 14px; line-height: 22px; }
  .cmp__table th img { display: none; }
  .cmp__plan { padding: 24px 14px; }
  .cmp__plan-price { font-size: 18px; line-height: 23px; }
  .cmp__chips li { font-size: 14px; line-height: 22px; }

  .slide { grid-template-columns: 1fr; }
  .slide__visual { order: -1; }
  .slide__content { border-right: 0; }
  .slide__quote { font-size: 18px; line-height: 24px; letter-spacing: -0.2px; }
  .slide__name { font-size: 13px; line-height: 14px; }
  .slide__role { font-size: 11px; line-height: 12px; }
  .slide__label { font-size: 12px; line-height: 13px; }

  .faq { grid-template-columns: 1fr; }
  .faq__intro { padding: 40px 20px; }
  .faq__list { border-left: 0; border-top: 1px solid var(--line); }
  .faq__q { padding: 19px 20px; }
  .faq__a { padding: 0 20px 20px; }

  .banner__title { font-size: 36px; line-height: 40px; letter-spacing: -1.4px; }
}

/* ================= Phone ================= */
@media (max-width: 809px) {
  .pr-hero__head { padding: 0 20px 60px; gap: 20px; }
  .pr-hero__title { font-size: 40px; line-height: 44px; letter-spacing: -1.6px; }
  .pr-hero__lead { margin-top: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 24px 32px; }
  .plan:last-child { border-bottom: 0; }
  .plan__name { font-size: 20px; line-height: 27px; }
  .plan__features li { font-size: 14px; }
  .plan__btn { font-size: 16px; }

  .addons__stage { background: var(--white); }
  .addons__tabs { display: none; }
  .addons__panel { padding: 0; border-bottom: 1px solid var(--line); }
  .addons__panel:last-child { border-bottom: 0; }
  .addons__head { padding: 20px 20px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; border-bottom: 1px solid var(--line); }
  .addons__kicker {
    display: block; min-width: 158px; padding: 3px 8px; border: 1px solid var(--line);
    font-size: 11px; line-height: 12px; font-weight: 500; color: var(--ink);
  }
  .addons__desc { margin: 20px 20px 0; font-size: 14px; line-height: 19px; }
  .addons__detail { margin: 16px 20px 20px; padding: 16px; flex-direction: column; align-items: stretch; gap: 32px; }
  .addons__list { gap: 12px; }
  .addons__list li { font-size: 12px; line-height: 14px; }
  .addons__price { width: auto; }
  .addons__btn { font-size: 16px; }

  .cmp { overflow: visible; }
  .cmp__scroll { overflow-x: auto; scrollbar-width: none; }
  .cmp__scroll::-webkit-scrollbar { display: none; }
  .cmp__inner { min-width: 910px; }
  .cmp__plans { position: static; grid-template-columns: 150px repeat(4, 1fr); }
  .cmp__table th:first-child { width: 150px; }
  .cmp__table th { position: sticky; left: 0; z-index: 1; padding: 10px 16px; }
  .cmp__toggle { padding: 20px 24px; font-size: 16px; line-height: 19px; }
  .cmp__toggle img { display: none; }
  .cmp__included { padding: 20px 24px; }
  .cmp__chips { flex-wrap: nowrap; gap: 12px; }

  .testimonials__top { align-items: flex-end; }
  .slide__quote-wrap { padding: 24px; }
  .slide__stats { grid-template-columns: 1fr; padding: 0; }
  .slide__stats li { padding: 24px; border-left: 0; border-top: 1px solid var(--line-2); }
  .slide__stats li:first-child { padding-left: 24px; border-top: 0; }
  .slide__link { padding: 24px; font-size: 16px; }

  .faq__intro { padding: 32px 20px 40px; }
  .faq__q { padding: 20px; font-size: 16px; line-height: 19px; }
  .faq__a { padding: 0 20px 20px; font-size: 14px; line-height: 21px; }

  .banner { padding: 36px 20px; }
}
