@keyframes i18n-reveal-fallback {
  to {
    visibility: visible;
  }
}

html.i18n-pending body {
  visibility: hidden;
  animation: i18n-reveal-fallback 0s 3s forwards;
}

.plans-page {
  background: var(--h2-paper, #faf5f0);
}

.plans {
  padding: 72px max(24px, calc((100vw - 1200px) / 2)) 110px;
}

.plans h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--h2-ink, #282d32);
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 56px;
  text-wrap: balance;
}

.plans h1 span {
  color: var(--h2-orange, #ff5a00);
}

.mock {
  display: none;
  margin: -28px auto 36px;
  font-size: 13px;
  background: #fff7e6;
  border: 1px solid #f0d9a8;
  color: #8a6d1f;
  border-radius: 999px;
  padding: 6px 14px;
  width: max-content;
}

.dgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.dcard {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: clip;
  box-shadow: 0 10px 28px rgba(40, 45, 50, .06);
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 1101px) {
    .dgrid {
      row-gap: 0;
    }

    .dcard {
      grid-template-rows: subgrid;
      grid-row: span 5;
      height: auto;
    }
  }
}

.dc-head {
  margin: 6px 6px 0;
  padding: 16px 14px 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: var(--h2-teal, #286464);
}

.dc-head.autopilot {
  background: var(--h2-orange, #ff5a00);
}

.dc-head.managed {
  background: #20272d;
}

.dc-head strong {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.dc-head span {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  opacity: .95;
}

.dc-intro {
  padding: 8px 10px 0;
}

.dc-price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 36px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.5px;
  padding: 16px 0 8px;
  line-height: 1.1;
}

.dc-price .currency,
.dc-price small,
.dc-price .per {
  font-size: 16px;
  font-weight: 400;
  color: #282d32;
}

.dc-pitch,
.dc-does {
  color: #4d5256;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.dc-brands,
.dc-sub {
  display: block;
  margin: 0 0 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0;
  color: #282d32;
}

.dc-sub {
  margin-bottom: 12px;
}

.dc-feat-head {
  margin: 8px 10px 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #282d32;
  align-self: end;
}

.dc-feat-head:empty {
  min-height: 0;
}

.dc-feats {
  list-style: none;
  margin: 8px 10px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  align-self: start;
}

.dc-feats li {
  position: relative;
  padding-left: 28px;
  color: #4d5256;
  font-size: 13.5px;
  line-height: 1.4;
  background: url("/assets/img/home/choice@2x.png") left 3px / 17px 12px no-repeat;
}

.dc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 160px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  align-self: end;
  justify-self: center;
  padding: 0 22px;
  border: 1.5px solid var(--h2-orange, #ff5a00);
  border-radius: 999px;
  background: transparent;
  color: var(--h2-orange, #ff5a00);
  font: 650 15px/1 Arial, Helvetica, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.dc-cta:hover {
  background: var(--h2-orange, #ff5a00);
  color: #fff;
}

.dcard.hot .dc-cta,
.dc-cta.solid {
  background: var(--h2-orange, #ff5a00);
  color: #fff;
}

.dcard.hot .dc-cta:hover,
.dc-cta.solid:hover {
  /* filter: brightness(.96); */
}

.dc-cta:disabled {
  cursor: default;
  background: #FFFFFF!important;
  border: 1px solid #DCE1E6;
  border-radius: 16px;
  color: #DCE1E6!important;
}

.dc-cta:focus-visible {
  outline: 3px solid #ffcf33;
  outline-offset: 3px;
}

.pricing-dialog[hidden] {
  display: none;
}

.pricing-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.pricing-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 51, .48);
  backdrop-filter: blur(3px);
}

.pricing-dialog-panel {
  position: relative;
  width: min(100%, 640px);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  background: var(--paper2, #faf9f6);
  box-shadow: 0 24px 70px rgba(26, 35, 51, .28);
}

.pricing-dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--mute, #6b7080);
  background: transparent;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.pricing-dialog-close:hover {
  color: var(--ink, #1a2333);
  background: var(--line, #e7e3d9);
}

.pricing-dialog-eyebrow {
  margin: 0 40px 7px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo, #2847c4);
}

.pricing-dialog-panel h2 {
  margin: 0;
  color: var(--ink, #1a2333);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.15;
}

.pricing-dialog-copy {
  margin: 10px 40px 20px 0;
  color: var(--body, #3a4358);
  font-size: 14px;
  line-height: 1.55;
}

.pricing-test-offers {
  display: grid;
  gap: 10px;
}

.pricing-test-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line, #e7e3d9);
  border-radius: 12px;
  background: #fff;
}

.pricing-test-option-name {
  color: var(--ink, #1a2333);
  font-weight: 750;
}

.pricing-test-option-meta {
  margin-top: 3px;
  color: var(--mute, #6b7080);
  font-size: 12px;
}

.pricing-test-option-price {
  margin-top: 8px;
  color: var(--ink, #1a2333);
  font-size: 16px;
  font-weight: 700;
}

.pricing-test-option-price .per {
  color: var(--mute, #6b7080);
  font-size: 12px;
  font-weight: 500;
}

.pricing-test-option .cta {
  min-width: 145px;
  min-height: 44px;
  width: auto;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--h2-orange, #ff5a00);
  color: #fff;
  font: 650 13px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.pricing-test-option-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-test-option-features li {
  color: var(--mute, #6b7080);
  font-size: 11px;
}

.pricing-test-option-features li::before {
  content: "✓";
  margin-right: 4px;
  color: var(--indigo, #2847c4);
}

.pricing-dialog-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line, #e7e3d9);
}

.pricing-dialog-standard {
  border: 0;
  min-height: 44px;
  padding: 6px 0;
  color: var(--indigo, #2847c4);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pricing-dialog-standard:hover {
  text-decoration: underline;
}

html.pricing-dialog-open,
html.pricing-dialog-open body {
  overflow: hidden;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(8px);
  background: var(--ink, #1a2333);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  max-width: min(520px, calc(100vw - 32px));
  border-radius: 11px;
  padding: 13px 20px;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

#toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1100px) {
  .dgrid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .dcard {
    grid-row: auto;
    grid-template-rows: auto auto auto 1fr auto;
    height: 100%;
  }
}

@media (max-width: 700px) {
  .plans {
    padding: 48px 20px 80px;
  }

  .plans h1 {
    font-size: 36px;
    margin-bottom: 36px;
  }

  .dgrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-dialog {
    padding: 14px;
  }

  .pricing-dialog-panel {
    max-height: calc(100vh - 28px);
    padding: 24px 18px 20px;
  }

  .pricing-test-option {
    grid-template-columns: 1fr;
  }

  .pricing-test-option .cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #toast {
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce),
(prefers-contrast: more) {
  .pricing-dialog-backdrop {
    backdrop-filter: none;
    background: rgba(26, 35, 51, .72);
  }
}

@media (prefers-contrast: more) {
  .dc-cta {
    border-width: 2px;
  }

  .dcard {
    box-shadow: none;
    border: 1px solid #282d32;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .pricing-dialog-backdrop {
    backdrop-filter: none;
    background: rgba(26, 35, 51, .72);
  }
}

/* Keep the four-tier pricing grid readable between tablet and the 1440px
 * desktop artboard, while preserving a comfortable single-column phone view. */
@media (min-width: 701px) and (max-width: 1439px) {
  .plans { padding: clamp(48px, 6vw, 72px) max(24px, calc((100vw - 1200px) / 2)) 88px; }
  .plans h1 { max-width: 900px; margin-bottom: 42px; font-size: clamp(38px, 5vw, 60px); }
  .dgrid { width: min(100%, 1120px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .dcard { min-width: 0; padding: 14px;}
  .dc-head { min-height: 126px; }
  .dc-head strong { font-size: clamp(24px, 2.5vw, 28px); }
  .dc-head span, .dc-pitch, .dc-does, .dc-brands, .dc-sub { font-size: 13.5px; }
  .dc-feats li { font-size: 13px; }
}

@media (max-width: 420px) {
  .plans { padding-left: 16px; padding-right: 16px; }
  .plans h1 { font-size: clamp(32px, 10vw, 38px); line-height: 1.08; margin-bottom: 30px; }
  .dgrid { gap: 14px; }
  .dc-head { margin: 5px 5px 0; padding: 15px 13px 13px; }
  .dc-head strong { font-size: 25px; }
  .dc-intro { padding-left: 9px; padding-right: 9px; }
  .dc-price { font-size: 34px; }
  .dc-feats { margin-left: 9px; margin-right: 9px; }
  .dc-cta { width: calc(100% - 28px); min-width: 0; padding-left: 12px; padding-right: 12px; }
}

/* Phones have one card per row, so give each plan more breathing room than
 * the compact desktop grid. */
@media (max-width: 700px) {
  .plans-page .dcard {
    padding: 14px 14px 12px;
  }

  .plans-page .dc-intro {
    padding: 12px 14px 0;
  }

  .plans-page .dc-feat-head,
  .plans-page .dc-feats {
    margin-left: 14px;
    margin-right: 14px;
  }

  .plans-page .dc-feats {
    gap: 12px;
  }
}
