html {
  background: #010c3d;
}

.pricing-page {
  --pricing-header-height: 80px;
  --pricing-gutter: clamp(24px, calc(12.5vw - 60px), 120px);
  overflow-x: clip;
  background: #010c3d;
}

.pricing-page > site-navbar { display: block; position: relative; z-index: 1000; height: var(--pricing-header-height); }

.pricing-page .site-header {
  position: fixed;
  height: var(--pricing-header-height);
}


@media (max-width: 900px) {
  .pricing-page { --pricing-header-height: 72px; }
}

.pricing-hero {
  position: relative;
  margin-top: calc(-1 * var(--pricing-header-height));
  padding-top: var(--pricing-header-height);
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: calc((100vh - 160px - var(--pricing-header-height)) * 0.7 + var(--pricing-header-height));
  min-height: calc((100svh - 160px - var(--pricing-header-height)) * 0.7 + var(--pricing-header-height));
  overflow: hidden;
  color: #fff;
  background: #010c3d;
}

.pricing-hero__background,
.pricing-hero__background > img,
.pricing-hero__grid {
  position: absolute;
  inset: 0;
}

.pricing-hero__background {
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.pricing-hero__background > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  user-select: none;
}

.pricing-hero__grid {
  background-image:
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(145deg, rgb(255 255 255 / 0.022), transparent 50%, rgb(0 16 74 / 0.055));
  background-position: center top;
  background-size: 60px 60px;
}

.pricing-hero__grid::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(145deg, rgb(255 255 255 / 0.02), transparent 48%, rgb(1 12 61 / 0.08));
  background-size: 60px 60px;
  content: "";
}

.pricing-hero__content {
  display: flex;
  width: min(1200px, calc(100% - 2 * var(--pricing-gutter)));
  margin-inline: auto;
  padding-block: 48px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.pricing-hero__copy {
  display: flex;
  width: min(100%, 761px);
  flex-direction: column;
  gap: 24px;
}

.pricing-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-hero__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-hero h1,
.pricing-hero p {
  margin: 0;
}

.pricing-hero h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 72px;
}

.pricing-hero__heading p {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 32px;
}

.pricing-hero__description {
  max-width: 680px;
  color: rgb(255 255 255 / 0.92);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.pricing-hero__cta {
  display: inline-flex;
  width: fit-content;
  min-height: 58px;
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 30px;
  color: #fff;
  background: var(--hero-button);
  box-shadow: 0 8px 18px rgb(31 95 232 / 0.22);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.pricing-hero__cta img {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 180ms ease;
}

.pricing-hero__cta:hover {
  background: var(--hero-button-hover);
  box-shadow: 0 12px 26px rgb(31 95 232 / 0.3);
  transform: translateY(-2px);
}

.pricing-hero__cta:hover img {
  transform: translateX(3px);
}

.pricing-hero__cta:focus-visible {
  outline-color: #fff;
}

@media (max-width: 920px) {
  .pricing-hero__copy {
    max-width: 680px;
  }

  .pricing-hero h1 {
    font-size: clamp(52px, 10vw, 64px);
    line-height: 1.1;
  }

  .pricing-hero__heading p {
    font-size: 24px;
    line-height: 1.3;
  }

  .pricing-hero__grid,
  .pricing-hero__grid::after {
    background-size: 52px 52px;
  }
}

@media (max-width: 620px) {

  .pricing-hero__content {
    padding-block: 32px;
  }

  .pricing-hero__copy {
    gap: 24px;
  }

  .pricing-hero h1 {
    font-size: 48px;
    line-height: 56px;
  }

  .pricing-hero__heading p {
    max-width: 12em;
    font-size: 20px;
    line-height: 28px;
  }

  .pricing-hero__description {
    max-width: 34ch;
    font-size: 16px;
    line-height: 24px;
  }

  .pricing-hero__cta {
    min-height: 54px;
    padding: 14px 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .pricing-hero__grid,
  .pricing-hero__grid::after {
    background-size: 48px 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-hero__cta,
  .pricing-hero__cta img {
    transition: none;
  }
}

/* Share the hero content edges across every viewport width. */
.pricing-catalog {
  padding: 32px var(--pricing-gutter) 80px;
  color: #111d44;
  background: #fcfbf6;
}

.pricing-catalog__content {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.pricing-filters,
.pricing-filters__location {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pricing-filters { justify-content: space-between; }
.pricing-field { display: grid; width: 240px; min-width: 0; gap: 8px; flex: 0 1 240px; }
.pricing-field:has(#pricing-currency) { width: 128px; flex-basis: 128px; }
.pricing-field label { padding-left: 16px; color: #53637e; font-size: 14px; font-weight: 500; line-height: 20px; }
.pricing-field select {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 42px 0 18px;
  border: 1px solid #d6dce7;
  border-radius: 24px;
  appearance: none;
  color: #111d44;
  background: #fff url("../assets/figma-contactus/field-chevron.svg") right 16px center / 16px 16px no-repeat;
  font-size: 15px;
  line-height: 22px;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.pricing-field select:hover { border-color: #8bacee; background-color: #f4f7ff; }
.pricing-field select:focus-visible { outline: 3px solid rgb(73 128 255 / .36); outline-offset: 3px; }

.pricing-catalog__heading {
  display: flex;
  margin-top: 72px;
  margin-bottom: 44px;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.pricing-catalog__heading h2,
.pricing-catalog__heading p {
  margin: 0;
}

.pricing-catalog__heading h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 56px;
}

.pricing-catalog__preview {
  color: #53637e;
  font-size: 14px;
  line-height: 22px;
}

.pricing-catalog__footnote,
.pricing-catalog__message {
  max-width: 82ch;
  margin: 24px 0 0;
  color: #59677e;
  font-size: 14px;
  line-height: 22px;
}

.pricing-catalog__message {
  color: #a02a37;
}

@media (max-width: 760px) {
  .pricing-filters { flex-wrap: wrap; gap: 20px; }
  .pricing-filters__location { width: 100%; gap: 12px; }
  .pricing-filters > .pricing-field { width: 100%; flex-basis: 100%; }
  .pricing-filters__location .pricing-field { width: auto; flex: 1 1 0; }
  .pricing-filters__location .pricing-field:has(#pricing-currency) { flex: 0 0 112px; }
  .pricing-catalog__heading { margin-top: 48px; margin-bottom: 32px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .pricing-catalog__heading h2 { font-size: clamp(36px, 6vw, 48px); line-height: 1.15; }
}
@media (prefers-reduced-motion: reduce) { .pricing-field select { transition: none; } }

/* Hero greets visitors with the site-wide staggered reveal. The CTA stays
   opacity-only so its hover and focus states keep working untouched. */
@keyframes pricing-hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pricing-hero-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pricing-hero__heading h1,
.pricing-hero__heading p,
.pricing-hero__description {
  animation: pricing-hero-rise 0.56s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.pricing-hero__heading p {
  animation-delay: 0.1s;
}

.pricing-hero__description {
  animation-delay: 0.18s;
}

.pricing-hero__cta {
  animation: pricing-hero-fade 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.26s both;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-hero__heading h1,
  .pricing-hero__heading p,
  .pricing-hero__description,
  .pricing-hero__cta {
    animation: none;
  }
}

.pricing-faq[hidden],
.pricing-faq-jump[hidden] { display: none; }
.pricing-faq-jump { display: inline-flex; gap: 12px; margin: -12px 0 24px; color: #0344ba; text-decoration: underline; text-underline-offset: 4px; }
.pricing-rates {
  position: relative;
  overflow: clip;
  border: 1px solid #d6dce7;
  border-radius: 12px;
}
.pricing-rates[aria-busy="true"] { opacity: .55; }
.pricing-sales-link {
  display: block;
  padding: 20px 24px;
  color: #0344ba;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pricing-sales-link:focus-visible {
  outline: 3px solid #4980ff;
  outline-offset: -3px;
}
.pricing-table { display: block; width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; }
.pricing-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pricing-table thead, .pricing-table__rows {
  display: block;
  scrollbar-gutter: stable;
}
.pricing-table__rows {
  max-height: min(560px, 60vh);
  overflow-y: auto;
}
.pricing-table:not(:has(tbody tr:nth-child(4))) thead,
.pricing-table:not(:has(tbody tr:nth-child(4))) .pricing-table__rows {
  scrollbar-gutter: auto;
}
.pricing-table tr {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.pricing-table tr > :first-child { width: 44%; text-align: left; }
.pricing-table tr > :nth-child(2):last-child { text-align: right; }
.pricing-table td[colspan]:only-child { width: 100%; padding: 0; }
.pricing-table thead { overflow: hidden; color: #fff; background: #010c3d; }
.pricing-table th, .pricing-table td { padding: 24px 28px; vertical-align: middle; }
.pricing-table thead th { font-weight: 600; }
.pricing-table tbody th { font-weight: 500; }
.pricing-table tbody tr + tr { border-top: 1px solid #d6dce7; }
.pricing-table tbody tr:nth-child(even) { background: #f0f3fa; }
.pricing-table td strong { display: block; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pricing-table td span { display: block; margin-top: 4px; color: #53637e; font-size: 14px; }
.pricing-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; margin-top: 96px; padding-top: 56px; border-top: 1px solid #d6dce7; scroll-margin-top: 120px; }
.pricing-faq h2 { margin: 0; font-size: 32px; line-height: 1.25; letter-spacing: -.02em; }
.pricing-faq__intro p { color: #53637e; line-height: 1.6; margin: 20px 0; }
.pricing-faq__intro a { color: #0344ba; text-decoration: underline; text-underline-offset: 4px; }
.pricing-faq details { border-bottom: 1px solid #d6dce7; }
.pricing-faq summary { padding: 26px 32px 26px 0; position: relative; cursor: pointer; list-style: none; color: #111d44; font-size: 18px; line-height: 1.5; font-weight: 600; }
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary::after { content: ""; position: absolute; right: 4px; top: 34px; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.pricing-faq details[open] summary::after { transform: rotate(225deg); }
.pricing-faq details[open] summary { padding-bottom: 10px; }
.pricing-faq details p { margin: 0; padding: 0 28px 28px 0; color: #53637e; font-size: 16px; font-weight: 400; line-height: 1.75; max-width: 70ch; }
.pricing-faq a:focus-visible, .pricing-faq summary:focus-visible, .pricing-faq-jump:focus-visible { outline: 3px solid #4980ff; outline-offset: 4px; }
@media (max-width: 760px) {
  .pricing-faq { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; padding-top: 40px; }
  .pricing-table th, .pricing-table td { padding: 20px 14px; }
  .pricing-table td strong { font-size: 20px; }
}
@media (max-width: 420px) {
  .pricing-table { font-size: 14px; }
  .pricing-table th, .pricing-table td { padding: 18px 10px; }
  .pricing-table td strong { font-size: 17px; }
  .pricing-table td span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pricing-faq summary::after { transition: none; } }

/* On a cold connection, keep the first painted font instead of swapping late.
   These face overrides apply only to pages loading pricing.css. */
@font-face { font-family: "Geist Sans"; src: url("../assets/fonts/geist-variable.ttf") format("truetype"); font-style: normal; font-weight: 100 900; font-display: optional; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: optional; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: optional; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-800.ttf") format("truetype"); font-style: normal; font-weight: 800; font-display: optional; }

.pricing-field[hidden],
.pricing-field select[hidden] { display: none; }
.pricing-picker { position: relative; min-width: 0; }
.pricing-picker__trigger {
  display: block; width: 100%; height: 46px; padding: 0 42px 0 18px;
  border: 1px solid #d6dce7; border-radius: 24px; text-align: left;
  color: #111d44; background: #fff url("../assets/figma-contactus/field-chevron.svg") right 16px center / 16px 16px no-repeat;
  font: inherit; font-size: 15px; line-height: 22px; cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.pricing-picker__trigger:hover { background-color: #f4f7ff; border-color: #a8bce3; }
.pricing-picker__trigger[aria-expanded="true"] { border-color: #7499e2; background-color: #f8faff; }
.pricing-picker__trigger:focus { outline: none; }
.pricing-picker__trigger:focus-visible { outline: 2px solid #4980ff; outline-offset: -2px; }
.pricing-picker__list {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
  width: 100%; min-width: 100%; max-height: 248px; overflow-y: auto;
  padding: 6px; border-radius: 16px; background: #fff;
  box-shadow: 0 10px 30px rgb(17 29 68 / .13);
  animation: pricing-menu-in 140ms ease-out;
}
.pricing-picker__list[hidden] { display: none; }
.pricing-picker--above .pricing-picker__list { top: auto; bottom: calc(100% + 8px); }
.pricing-picker__option { position: relative; padding: 11px 30px 11px 12px; border-radius: 10px; color: #111d44; font-size: 14px; line-height: 20px; cursor: pointer; overflow-wrap: anywhere; }
.pricing-country { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.pricing-country__flag { display: grid; place-items: center; flex: 0 0 24px; height: 18px; font-size: 18px; line-height: 1; }
.pricing-picker__option[aria-selected="true"] { color: #0344ba; background: #eef3ff; font-weight: 500; }
.pricing-picker__option[aria-selected="true"]::after { content: ""; position: absolute; right: 13px; top: 15px; width: 5px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.pricing-picker__option:hover, .pricing-picker__option.is-active { background: #f0f4fc; }
.pricing-picker__option[aria-selected="true"].is-active { background: #e8efff; }
@keyframes pricing-menu-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .pricing-picker__list { animation: none; } .pricing-picker__trigger { transition: none; } }

.pricing-faq details[data-collapsing] summary::after { transform: rotate(45deg); }
